3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-pm use OS/2 Presentation Manager"
66 --with-gtk-prefix=PFX Prefix where GTK is installed"
68 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
70 --with-libpng use libpng (PNG image format)"
72 --with-libjpeg use libjpeg (JPEG file format)"
74 --with-libtiff use libtiff (TIFF file format)"
76 --with-opengl use OpenGL (or Mesa)"
78 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
80 --with-zlib use zlib for LZW compression"
82 --with-odbc use the IODBC and wxODBC classes"
84 --enable-shared create shared library code"
86 --enable-optimise create optimised code"
88 --enable-debug same as debug_flag and debug_info"
90 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
92 --enable-debug_info create code with debugging information"
94 --enable-debug_gdb create code with extra GDB debugging information"
96 --enable-debug_cntxt use wxDebugContext"
98 --enable-mem_tracing create code with memory tracing"
100 --enable-profile create code with profiling information"
102 --enable-no_rtti create code without RTTI information"
104 --enable-no_exceptions create code without exceptions information"
106 --enable-permissive compile code disregarding strict ANSI"
108 --enable-no_deps create code without dependency information"
110 --enable-intl use internationalization system"
112 --enable-config use wxConfig (and derived) classes"
114 --enable-sockets use socket/network classes"
116 --enable-dialupman use dialup network classes"
118 --enable-ipc use interprocess communication (wxSocket etc.)"
120 --enable-apple_ieee use the Apple IEEE codec"
122 --enable-timedate use date/time classes"
124 --enable-wave use wxWave class"
126 --enable-fraction use wxFraction class"
128 --enable-dynlib use wxLibrary class for DLL loading"
130 --enable-longlong use wxLongLong class"
132 --enable-log use logging system"
134 --enable-streams use wxStream etc classes"
136 --enable-file use wxFile classes"
138 --enable-textfile use wxTextFile classes"
140 --enable-unicode compile wxString with Unicode support"
142 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
144 --enable-wxprintfv use wxWindows implementation of vprintf()"
146 --enable-joystick compile in joystick support (Linux only)"
148 --enable-std_iostreams use standard C++ stream classes"
150 --enable-fs_inet use virtual HTTP/FTP filesystems"
152 --enable-fs_zip use virtual ZIP filesystems"
154 --enable-zipstream use wxZipInputStream"
156 --enable-threads use threads"
158 --enable-serial use class serialization"
160 --enable-docview use document view architecture"
162 --enable-help use help (using external browser at present)"
164 --enable-constraints use layout-constraints system"
166 --enable-printarch use printing architecture"
168 --enable-mdi use multiple document interface architecture"
170 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
172 --enable-prologio use Prolog IO library"
174 --enable-resources use wxWindows resources"
176 --enable-xresources use X resources for save (default for gtk+)"
178 --enable-clipboard use wxClipboard classes"
180 --enable-dnd use Drag'n'Drop classes"
182 --enable-wxtree make wxTree library"
184 --enable-controls use all usual controls"
186 --enable-accel use accelerators"
188 --enable-caret use wxCaret class"
190 --enable-bmpbutton use wxBitmapButton class"
192 --enable-checkbox use wxCheckBox class"
194 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
196 --enable-choice use wxChoice class"
198 --enable-combobox use wxComboBox classes"
200 --enable-gauge use wxGauge class"
202 --enable-grid use wxGrid class"
204 --enable-newgrid use new wxGrid class"
206 --enable-imaglist use wxImageList class"
208 --enable-listbox use wxListBox class"
210 --enable-listctrl use wxListCtrl class"
212 --enable-notebook use wxNotebook class"
214 --enable-radiobox use wxRadioBox class"
216 --enable-radiobtn use wxRadioButton class"
218 --enable-sash use wxSashWindow class"
220 --enable-scrollbar use wxScrollBar class and scrollable windows"
222 --enable-slider use wxSlider class"
224 --enable-spinbtn use wxSpinButton class"
226 --enable-spinctrl use wxSpinCtrl class"
228 --enable-splitter use wxSplitterWindow class"
230 --enable-statbmp use wxStaticBitmap class"
232 --enable-statbox use wxStaticBox class"
234 --enable-statline use wxStaticLine class"
236 --enable-statusbar use wxStatusBar class"
238 --enable-tabdialog use wxTabControl class"
240 --enable-toolbar use wxToolBar class"
242 --enable-tbarnative use native wxToolBar class"
244 --enable-tbarsmpl use wxToolBarSimple class"
246 --enable-treectrl use wxTreeCtrl class"
248 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
250 --enable-dirdlg use wxDirDialog"
252 --enable-textdlg use wxTextDialog"
254 --enable-tipdlg use startup tips"
256 --enable-progressdlg use wxProgressDialog"
258 --enable-miniframe use wxMiniFrame class"
260 --enable-html use wxHTML sub-library"
262 --enable-tooltips use wxToolTip class"
264 --enable-splines use spline drawing code"
266 --enable-validators use wxValidator and derived classes"
268 --enable-busyinfo use wxBusyInfo"
270 --enable-plot use wxPlot"
272 --enable-gif use gif images (GIF file format)"
274 --enable-pcx use pcx images (PCX file format)"
276 --enable-pnm use pnm images (PNM file format)"
278 --with-x use the X Window System"
280 # Initialize some variables set by options.
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
284 cache_file
=.
/config.cache
293 program_transform_name
=s
,x
,x
,
301 bindir
='${exec_prefix}/bin'
302 sbindir
='${exec_prefix}/sbin'
303 libexecdir
='${exec_prefix}/libexec'
304 datadir
='${prefix}/share'
305 sysconfdir
='${prefix}/etc'
306 sharedstatedir
='${prefix}/com'
307 localstatedir
='${prefix}/var'
308 libdir
='${exec_prefix}/lib'
309 includedir
='${prefix}/include'
310 oldincludedir
='/usr/include'
311 infodir
='${prefix}/info'
312 mandir
='${prefix}/man'
314 # Initialize some other variables.
317 SHELL
=${CONFIG_SHELL-/bin/sh}
318 # Maximum number of lines to put in a shell here document.
325 # If the previous option needs an argument, assign it.
326 if test -n "$ac_prev"; then
327 eval "$ac_prev=\$ac_option"
333 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
337 # Accept the important Cygnus configure options, so we can diagnose typos.
341 -bindir | --bindir | --bindi | --bind | --bin | --bi)
343 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
344 bindir
="$ac_optarg" ;;
346 -build | --build | --buil | --bui | --bu)
348 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
349 build
="$ac_optarg" ;;
351 -cache-file | --cache-file | --cache-fil | --cache-fi \
352 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
353 ac_prev
=cache_file
;;
354 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
355 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
356 cache_file
="$ac_optarg" ;;
358 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
360 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
362 datadir
="$ac_optarg" ;;
364 -disable-* | --disable-*)
365 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
366 # Reject names that are not valid shell variable names.
367 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
368 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
370 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
371 eval "enable_${ac_feature}=no" ;;
373 -enable-* | --enable-*)
374 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
375 # Reject names that are not valid shell variable names.
376 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
377 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
379 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
384 eval "enable_${ac_feature}='$ac_optarg'" ;;
386 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
387 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
388 | --exec | --exe | --ex)
389 ac_prev
=exec_prefix
;;
390 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
391 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
392 | --exec=* | --exe=* | --ex=*)
393 exec_prefix
="$ac_optarg" ;;
395 -gas | --gas | --ga | --g)
396 # Obsolete; use --with-gas.
399 -help | --help | --hel | --he)
400 # Omit some internal or obsolete options to make the list less imposing.
401 # This message is too long to be a string in the A/UX 3.1 sh.
403 Usage: configure [options] [host]
404 Options: [defaults in brackets after descriptions]
406 --cache-file=FILE cache test results in FILE
407 --help print this message
408 --no-create do not create output files
409 --quiet, --silent do not print \`checking...' messages
410 --version print the version of autoconf that created configure
411 Directory and file names:
412 --prefix=PREFIX install architecture-independent files in PREFIX
414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
416 --bindir=DIR user executables in DIR [EPREFIX/bin]
417 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
418 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
419 --datadir=DIR read-only architecture-independent data in DIR
421 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
422 --sharedstatedir=DIR modifiable architecture-independent data in DIR
424 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
425 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
426 --includedir=DIR C header files in DIR [PREFIX/include]
427 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
428 --infodir=DIR info documentation in DIR [PREFIX/info]
429 --mandir=DIR man documentation in DIR [PREFIX/man]
430 --srcdir=DIR find the sources in DIR [configure dir or ..]
431 --program-prefix=PREFIX prepend PREFIX to installed program names
432 --program-suffix=SUFFIX append SUFFIX to installed program names
433 --program-transform-name=PROGRAM
434 run sed PROGRAM on installed program names
438 --build=BUILD configure for building on BUILD [BUILD=HOST]
439 --host=HOST configure for HOST [guessed]
440 --target=TARGET configure for TARGET [TARGET=HOST]
441 Features and packages:
442 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
443 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
444 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
445 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
446 --x-includes=DIR X include files are in DIR
447 --x-libraries=DIR X library files are in DIR
449 if test -n "$ac_help"; then
450 echo "--enable and --with options recognized:$ac_help"
454 -host | --host | --hos | --ho)
456 -host=* | --host=* | --hos=* | --ho=*)
459 -includedir | --includedir | --includedi | --included | --include \
460 | --includ | --inclu | --incl | --inc)
461 ac_prev
=includedir
;;
462 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
463 | --includ=* | --inclu=* | --incl=* | --inc=*)
464 includedir
="$ac_optarg" ;;
466 -infodir | --infodir | --infodi | --infod | --info | --inf)
468 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
469 infodir
="$ac_optarg" ;;
471 -libdir | --libdir | --libdi | --libd)
473 -libdir=* | --libdir=* | --libdi=* | --libd=*)
474 libdir
="$ac_optarg" ;;
476 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
477 | --libexe | --libex | --libe)
478 ac_prev
=libexecdir
;;
479 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
480 | --libexe=* | --libex=* | --libe=*)
481 libexecdir
="$ac_optarg" ;;
483 -localstatedir | --localstatedir | --localstatedi | --localstated \
484 | --localstate | --localstat | --localsta | --localst \
485 | --locals | --local | --loca | --loc | --lo)
486 ac_prev
=localstatedir
;;
487 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
488 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
489 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
490 localstatedir
="$ac_optarg" ;;
492 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
494 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
495 mandir
="$ac_optarg" ;;
498 # Obsolete; use --without-fp.
501 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
505 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
506 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
509 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
510 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
511 | --oldin | --oldi | --old | --ol | --o)
512 ac_prev
=oldincludedir
;;
513 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
514 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
515 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
516 oldincludedir
="$ac_optarg" ;;
518 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
520 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
521 prefix
="$ac_optarg" ;;
523 -program-prefix | --program-prefix | --program-prefi | --program-pref \
524 | --program-pre | --program-pr | --program-p)
525 ac_prev
=program_prefix
;;
526 -program-prefix=* | --program-prefix=* | --program-prefi=* \
527 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
528 program_prefix
="$ac_optarg" ;;
530 -program-suffix | --program-suffix | --program-suffi | --program-suff \
531 | --program-suf | --program-su | --program-s)
532 ac_prev
=program_suffix
;;
533 -program-suffix=* | --program-suffix=* | --program-suffi=* \
534 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
535 program_suffix
="$ac_optarg" ;;
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 ac_prev
=program_transform_name
;;
545 -program-transform-name=* | --program-transform-name=* \
546 | --program-transform-nam=* | --program-transform-na=* \
547 | --program-transform-n=* | --program-transform-=* \
548 | --program-transform=* | --program-transfor=* \
549 | --program-transfo=* | --program-transf=* \
550 | --program-trans=* | --program-tran=* \
551 | --progr-tra=* | --program-tr=* | --program-t=*)
552 program_transform_name
="$ac_optarg" ;;
554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
555 | -silent | --silent | --silen | --sile | --sil)
558 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
560 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
562 sbindir
="$ac_optarg" ;;
564 -sharedstatedir | --sharedstatedir | --sharedstatedi \
565 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
566 | --sharedst | --shareds | --shared | --share | --shar \
568 ac_prev
=sharedstatedir
;;
569 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
570 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
571 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
573 sharedstatedir
="$ac_optarg" ;;
575 -site | --site | --sit)
577 -site=* | --site=* | --sit=*)
580 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
582 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
583 srcdir
="$ac_optarg" ;;
585 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
586 | --syscon | --sysco | --sysc | --sys | --sy)
587 ac_prev
=sysconfdir
;;
588 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
589 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
590 sysconfdir
="$ac_optarg" ;;
592 -target | --target | --targe | --targ | --tar | --ta | --t)
594 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
595 target
="$ac_optarg" ;;
597 -v | -verbose | --verbose | --verbos | --verbo | --verb)
600 -version | --version | --versio | --versi | --vers)
601 echo "configure generated by autoconf version 2.13"
605 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
606 # Reject names that are not valid shell variable names.
607 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
608 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
610 ac_package
=`echo $ac_package| sed 's/-/_/g'`
615 eval "with_${ac_package}='$ac_optarg'" ;;
617 -without-* | --without-*)
618 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
619 # Reject names that are not valid shell variable names.
620 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
621 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
623 ac_package
=`echo $ac_package| sed 's/-/_/g'`
624 eval "with_${ac_package}=no" ;;
627 # Obsolete; use --with-x.
630 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
631 | --x-incl | --x-inc | --x-in | --x-i)
632 ac_prev
=x_includes
;;
633 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
634 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
635 x_includes
="$ac_optarg" ;;
637 -x-libraries | --x-libraries | --x-librarie | --x-librari \
638 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
639 ac_prev
=x_libraries
;;
640 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
641 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
642 x_libraries
="$ac_optarg" ;;
644 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
648 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
649 echo "configure: warning: $ac_option: invalid host type" 1>&2
651 if test "x$nonopt" != xNONE
; then
652 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
660 if test -n "$ac_prev"; then
661 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
664 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
666 # File descriptor usage:
669 # 2 errors and warnings
670 # 3 some systems may open it to /dev/tty
671 # 4 used on the Kubota Titan
672 # 6 checking for... messages and results
673 # 5 compiler messages saved in config.log
674 if test "$silent" = yes; then
682 This file contains any messages produced by compilers while
683 running configure, to aid debugging if configure makes a mistake.
686 # Strip out --no-create and --no-recursion so they do not pile up.
687 # Also quote any args containing shell metacharacters.
692 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
693 | --no-cr | --no-c) ;;
694 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
695 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
696 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
697 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
698 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
703 # Only set these to C if already set. These must not be set unconditionally
704 # because not all systems understand e.g. LANG=C (notably SCO).
705 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
706 # Non-C LC_CTYPE values break the ctype check.
707 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
708 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
709 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
710 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
713 rm -rf conftest
* confdefs.h
714 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
717 # A filename unique to this package, relative to the directory that
718 # configure is in, which we can look for to find out if srcdir is correct.
719 ac_unique_file
=wx
-config.
in
721 # Find the source files, if location was not specified.
722 if test -z "$srcdir"; then
723 ac_srcdir_defaulted
=yes
724 # Try the directory containing this script, then its parent.
726 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
727 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
729 if test ! -r $srcdir/$ac_unique_file; then
733 ac_srcdir_defaulted
=no
735 if test ! -r $srcdir/$ac_unique_file; then
736 if test "$ac_srcdir_defaulted" = yes; then
737 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
739 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
742 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
744 # Prefer explicitly selected file to automatically selected ones.
745 if test -z "$CONFIG_SITE"; then
746 if test "x$prefix" != xNONE
; then
747 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
749 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
752 for ac_site_file
in $CONFIG_SITE; do
753 if test -r "$ac_site_file"; then
754 echo "loading site script $ac_site_file"
759 if test -r "$cache_file"; then
760 echo "loading cache $cache_file"
763 echo "creating cache $cache_file"
768 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
769 ac_cpp
='$CPP $CPPFLAGS'
770 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
771 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
772 cross_compiling
=$ac_cv_prog_cc_cross
776 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
777 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
778 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
785 ac_n
= ac_c
='\c' ac_t
=
791 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
792 if test -f $ac_dir/install-sh; then
794 ac_install_sh
="$ac_aux_dir/install-sh -c"
796 elif test -f $ac_dir/install.sh
; then
798 ac_install_sh
="$ac_aux_dir/install.sh -c"
802 if test -z "$ac_aux_dir"; then
803 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
805 ac_config_guess
=$ac_aux_dir/config.guess
806 ac_config_sub
=$ac_aux_dir/config.sub
807 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
810 # Do some error checking and defaulting for the host and target type.
812 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
815 # 1. You are not allowed to specify --host, --target, and nonopt at the
817 # 2. Host defaults to nonopt.
818 # 3. If nonopt is not specified, then host defaults to the current host,
819 # as determined by config.guess.
820 # 4. Target and build default to nonopt.
821 # 5. If nonopt is not specified, then target and build default to host.
823 # The aliases save the names the user supplied, while $host etc.
824 # will get canonicalized.
825 case $host---$target---$nonopt in
826 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
827 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
831 # Make sure we can run config.sub.
832 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
833 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
836 echo $ac_n "checking host system type""... $ac_c" 1>&6
837 echo "configure:838: checking host system type" >&5
840 case "$host_alias" in
844 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
845 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
847 *) host_alias
=$nonopt ;;
851 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
852 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
853 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
854 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
855 echo "$ac_t""$host" 1>&6
857 echo $ac_n "checking target system type""... $ac_c" 1>&6
858 echo "configure:859: checking target system type" >&5
861 case "$target_alias" in
864 NONE
) target_alias
=$host_alias ;;
865 *) target_alias
=$nonopt ;;
869 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
870 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
871 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
872 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
873 echo "$ac_t""$target" 1>&6
875 echo $ac_n "checking build system type""... $ac_c" 1>&6
876 echo "configure:877: checking build system type" >&5
879 case "$build_alias" in
882 NONE
) build_alias
=$host_alias ;;
883 *) build_alias
=$nonopt ;;
887 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
888 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
889 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
890 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
891 echo "$ac_t""$build" 1>&6
893 test "$host_alias" != "$target_alias" &&
894 test "$program_prefix$program_suffix$program_transform_name" = \
896 program_prefix
=${target_alias}-
900 WX_MAJOR_VERSION_NUMBER
=2
901 WX_MINOR_VERSION_NUMBER
=1
907 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
909 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
910 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
911 WX_REVISION
=$WX_INTERFACE_AGE
912 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
938 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
940 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
943 DEFAULT_wxUSE_MOTIF
=0
948 DEFAULT_DEFAULT_wxUSE_GTK
=0
949 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
950 DEFAULT_DEFAULT_wxUSE_MSW
=0
951 DEFAULT_DEFAULT_wxUSE_WINE
=0
952 DEFAULT_DEFAULT_wxUSE_PM
=0
957 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
958 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
959 cat >> confdefs.h
<<\EOF
966 cat >> confdefs.h
<<\EOF
971 if test "x$TMP" = "xalpha"; then
973 cat >> confdefs.h
<<\EOF
978 DEFAULT_DEFAULT_wxUSE_GTK
=1
980 *-*-irix5* | *-*-irix6* )
983 cat >> confdefs.h
<<\EOF
987 cat >> confdefs.h
<<\EOF
991 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
997 cat >> confdefs.h
<<\EOF
1001 cat >> confdefs.h
<<\EOF
1002 #define __SOLARIS__ 1
1005 cat >> confdefs.h
<<\EOF
1009 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1010 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1016 cat >> confdefs.h
<<\EOF
1020 cat >> confdefs.h
<<\EOF
1024 cat >> confdefs.h
<<\EOF
1028 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1030 *-*-freebsd* | *-*-netbsd*)
1033 cat >> confdefs.h
<<\EOF
1034 #define __FREEBSD__ 1
1037 cat >> confdefs.h
<<\EOF
1041 DEFAULT_DEFAULT_wxUSE_GTK
=1
1046 cat >> confdefs.h
<<\EOF
1050 cat >> confdefs.h
<<\EOF
1054 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1059 cat >> confdefs.h
<<\EOF
1063 cat >> confdefs.h
<<\EOF
1067 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1072 cat >> confdefs.h
<<\EOF
1076 cat >> confdefs.h
<<\EOF
1080 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1086 cat >> confdefs.h
<<\EOF
1090 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1098 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1101 *-*-cygwin32* | *-*-mingw32* )
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1113 #define __WINDOWS__ 1
1116 cat >> confdefs.h
<<\EOF
1117 #define __GNUWIN32__ 1
1120 cat >> confdefs.h
<<\EOF
1124 cat >> confdefs.h
<<\EOF
1125 #define WINVER 0x0400
1129 DEFAULT_DEFAULT_wxUSE_MSW
=1
1133 cat >> confdefs.h
<<\EOF
1138 DEFAULT_DEFAULT_wxUSE_PM
=1
1143 cat >> confdefs.h
<<\EOF
1150 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1153 if test "$USE_UNIX" = 1 ; then
1155 cat >> confdefs.h
<<\EOF
1160 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1161 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1164 if test "$USE_BEOS" = 1; then
1165 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1166 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1169 if test "$USE_LINUX" = 1; then
1170 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1171 echo "configure:1172: checking for gettext in -lc" >&5
1172 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1174 echo $ac_n "(cached) $ac_c" 1>&6
1176 ac_save_LIBS
="$LIBS"
1178 cat > conftest.
$ac_ext <<EOF
1179 #line 1180 "configure"
1180 #include "confdefs.h"
1181 /* Override any gcc2 internal prototype to avoid an error. */
1182 /* We use char because int might match the return type of a gcc2
1183 builtin and then its argument prototype would still apply. */
1190 if { (eval echo configure
:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1192 eval "ac_cv_lib_$ac_lib_var=yes"
1194 echo "configure: failed program was:" >&5
1195 cat conftest.
$ac_ext >&5
1197 eval "ac_cv_lib_$ac_lib_var=no"
1200 LIBS
="$ac_save_LIBS"
1203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1204 echo "$ac_t""yes" 1>&6
1205 cat >> confdefs.h
<<\EOF
1206 #define wxHAVE_GLIBC2 1
1210 echo "$ac_t""no" 1>&6
1218 wx_arg_cache_file
="configarg.cache"
1219 echo "loading argument cache $wx_arg_cache_file"
1220 rm -f ${wx_arg_cache_file}.tmp
1221 touch ${wx_arg_cache_file}.tmp
1222 touch ${wx_arg_cache_file}
1226 if test $DEBUG_CONFIGURE = 1; then
1227 DEFAULT_wxUSE_THREADS
=yes
1229 DEFAULT_wxUSE_SHARED
=yes
1230 DEFAULT_wxUSE_OPTIMISE
=yes
1231 DEFAULT_wxUSE_PROFILE
=no
1232 DEFAULT_wxUSE_NO_DEPS
=no
1233 DEFAULT_wxUSE_NO_RTTI
=no
1234 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1235 DEFAULT_wxUSE_PERMISSIVE
=no
1236 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1237 DEFAULT_wxUSE_DEBUG_INFO
=yes
1238 DEFAULT_wxUSE_DEBUG_GDB
=yes
1239 DEFAULT_wxUSE_MEM_TRACING
=no
1240 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1241 DEFAULT_wxUSE_DMALLOC
=no
1242 DEFAULT_wxUSE_APPLE_IEEE
=no
1244 DEFAULT_wxUSE_LOG
=yes
1246 DEFAULT_wxUSE_GUI
=yes
1248 DEFAULT_wxUSE_ZLIB
=no
1249 DEFAULT_wxUSE_LIBPNG
=no
1250 DEFAULT_wxUSE_LIBJPEG
=no
1251 DEFAULT_wxUSE_LIBTIFF
=no
1252 DEFAULT_wxUSE_ODBC
=no
1254 DEFAULT_wxUSE_STD_IOSTREAM
=no
1255 DEFAULT_wxUSE_FILE
=no
1256 DEFAULT_wxUSE_TEXTFILE
=no
1257 DEFAULT_wxUSE_TIMEDATE
=no
1258 DEFAULT_wxUSE_WAVE
=no
1259 DEFAULT_wxUSE_INTL
=no
1260 DEFAULT_wxUSE_CONFIG
=no
1261 DEFAULT_wxUSE_STREAMS
=no
1262 DEFAULT_wxUSE_SOCKETS
=no
1263 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1264 DEFAULT_wxUSE_SERIAL
=no
1265 DEFAULT_wxUSE_JOYSTICK
=no
1266 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1267 DEFAULT_wxUSE_LONGLONG
=no
1269 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1270 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1271 DEFAULT_wxUSE_POSTSCRIPT
=no
1273 DEFAULT_wxUSE_X_RESOURCES
=no
1274 DEFAULT_wxUSE_CLIPBOARD
=no
1275 DEFAULT_wxUSE_TOOLTIPS
=no
1276 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1277 DEFAULT_wxUSE_SPLINES
=no
1279 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1280 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1281 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1283 DEFAULT_wxUSE_PROLOGIO
=no
1284 DEFAULT_wxUSE_RESOURCES
=no
1285 DEFAULT_wxUSE_CONSTRAINTS
=no
1286 DEFAULT_wxUSE_IPC
=no
1287 DEFAULT_wxUSE_HELP
=no
1288 DEFAULT_wxUSE_WXTREE
=no
1289 DEFAULT_wxUSE_METAFILE
=no
1291 DEFAULT_wxUSE_COMMONDLGS
=no
1292 DEFAULT_wxUSE_DIRDLG
=no
1293 DEFAULT_wxUSE_TEXTDLG
=no
1294 DEFAULT_wxUSE_STARTUP_TIPS
=no
1295 DEFAULT_wxUSE_PROGRESSDLG
=no
1296 DEFAULT_wxUSE_MINIFRAME
=no
1297 DEFAULT_wxUSE_HTML
=no
1298 DEFAULT_wxUSE_FS_INET
=no
1299 DEFAULT_wxUSE_FS_ZIP
=no
1300 DEFAULT_wxUSE_BUSYINFO
=no
1301 DEFAULT_wxUSE_ZIPSTREAM
=no
1302 DEFAULT_wxUSE_VALIDATORS
=yes
1304 DEFAULT_wxUSE_ACCEL
=no
1305 DEFAULT_wxUSE_CARET
=no
1306 DEFAULT_wxUSE_BMPBUTTON
=no
1307 DEFAULT_wxUSE_CHECKBOX
=no
1308 DEFAULT_wxUSE_CHECKLST
=no
1309 DEFAULT_wxUSE_CHOICE
=yes
1310 DEFAULT_wxUSE_COMBOBOX
=no
1311 DEFAULT_wxUSE_GAUGE
=no
1312 DEFAULT_wxUSE_GRID
=no
1313 DEFAULT_wxUSE_NEW_GRID
=no
1314 DEFAULT_wxUSE_IMAGLIST
=no
1315 DEFAULT_wxUSE_LISTBOX
=no
1316 DEFAULT_wxUSE_LISTCTRL
=no
1317 DEFAULT_wxUSE_NOTEBOOK
=no
1318 DEFAULT_wxUSE_PLOT
=no
1319 DEFAULT_wxUSE_RADIOBOX
=no
1320 DEFAULT_wxUSE_RADIOBTN
=no
1321 DEFAULT_wxUSE_SASH
=no
1322 DEFAULT_wxUSE_SCROLLBAR
=no
1323 DEFAULT_wxUSE_SLIDER
=no
1324 DEFAULT_wxUSE_SPINBTN
=no
1325 DEFAULT_wxUSE_SPINCTRL
=no
1326 DEFAULT_wxUSE_SPLITTER
=no
1327 DEFAULT_wxUSE_STATBMP
=no
1328 DEFAULT_wxUSE_STATBOX
=no
1329 DEFAULT_wxUSE_STATLINE
=no
1330 DEFAULT_wxUSE_STATUSBAR
=yes
1331 DEFAULT_wxUSE_TABDIALOG
=no
1332 DEFAULT_wxUSE_TOOLBAR
=no
1333 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1334 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1335 DEFAULT_wxUSE_TREECTRL
=no
1337 DEFAULT_wxUSE_UNICODE
=no
1338 DEFAULT_wxUSE_WCSRTOMBS
=no
1340 DEFAULT_wxUSE_GIF
=no
1341 DEFAULT_wxUSE_PCX
=no
1342 DEFAULT_wxUSE_PNM
=no
1344 DEFAULT_wxUSE_THREADS
=yes
1346 DEFAULT_wxUSE_SHARED
=yes
1347 DEFAULT_wxUSE_OPTIMISE
=yes
1348 DEFAULT_wxUSE_PROFILE
=no
1349 DEFAULT_wxUSE_NO_DEPS
=no
1350 DEFAULT_wxUSE_NO_RTTI
=no
1351 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1352 DEFAULT_wxUSE_PERMISSIVE
=no
1353 DEFAULT_wxUSE_DEBUG_FLAG
=no
1354 DEFAULT_wxUSE_DEBUG_INFO
=no
1355 DEFAULT_wxUSE_DEBUG_GDB
=no
1356 DEFAULT_wxUSE_MEM_TRACING
=no
1357 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1358 DEFAULT_wxUSE_DMALLOC
=no
1359 DEFAULT_wxUSE_APPLE_IEEE
=yes
1361 DEFAULT_wxUSE_LOG
=yes
1363 DEFAULT_wxUSE_GUI
=yes
1365 DEFAULT_wxUSE_ZLIB
=yes
1366 DEFAULT_wxUSE_LIBPNG
=yes
1367 DEFAULT_wxUSE_LIBJPEG
=yes
1368 DEFAULT_wxUSE_LIBTIFF
=yes
1369 DEFAULT_wxUSE_ODBC
=no
1371 DEFAULT_wxUSE_STD_IOSTREAM
=no
1372 DEFAULT_wxUSE_FILE
=yes
1373 DEFAULT_wxUSE_TEXTFILE
=yes
1374 DEFAULT_wxUSE_TIMEDATE
=yes
1375 DEFAULT_wxUSE_WAVE
=no
1376 DEFAULT_wxUSE_INTL
=yes
1377 DEFAULT_wxUSE_CONFIG
=yes
1378 DEFAULT_wxUSE_STREAMS
=yes
1379 DEFAULT_wxUSE_SOCKETS
=yes
1380 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1381 DEFAULT_wxUSE_SERIAL
=yes
1382 DEFAULT_wxUSE_JOYSTICK
=yes
1383 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1384 DEFAULT_wxUSE_LONGLONG
=yes
1386 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1387 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1388 DEFAULT_wxUSE_POSTSCRIPT
=yes
1390 DEFAULT_wxUSE_X_RESOURCES
=no
1391 DEFAULT_wxUSE_CLIPBOARD
=yes
1392 DEFAULT_wxUSE_TOOLTIPS
=yes
1393 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1394 DEFAULT_wxUSE_SPLINES
=yes
1396 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1397 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1398 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1400 DEFAULT_wxUSE_PROLOGIO
=yes
1401 DEFAULT_wxUSE_RESOURCES
=yes
1402 DEFAULT_wxUSE_CONSTRAINTS
=yes
1403 DEFAULT_wxUSE_IPC
=yes
1404 DEFAULT_wxUSE_HELP
=yes
1405 DEFAULT_wxUSE_WXTREE
=yes
1406 DEFAULT_wxUSE_METAFILE
=yes
1408 DEFAULT_wxUSE_COMMONDLGS
=yes
1409 DEFAULT_wxUSE_DIRDLG
=yes
1410 DEFAULT_wxUSE_TEXTDLG
=yes
1411 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1412 DEFAULT_wxUSE_PROGRESSDLG
=yes
1413 DEFAULT_wxUSE_MINIFRAME
=yes
1414 DEFAULT_wxUSE_HTML
=yes
1415 DEFAULT_wxUSE_FS_INET
=yes
1416 DEFAULT_wxUSE_FS_ZIP
=yes
1417 DEFAULT_wxUSE_BUSYINFO
=yes
1418 DEFAULT_wxUSE_ZIPSTREAM
=yes
1419 DEFAULT_wxUSE_VALIDATORS
=yes
1421 DEFAULT_wxUSE_ACCEL
=yes
1422 DEFAULT_wxUSE_CARET
=yes
1423 DEFAULT_wxUSE_BMPBUTTON
=yes
1424 DEFAULT_wxUSE_CHECKBOX
=yes
1425 DEFAULT_wxUSE_CHECKLST
=yes
1426 DEFAULT_wxUSE_CHOICE
=yes
1427 DEFAULT_wxUSE_COMBOBOX
=yes
1428 DEFAULT_wxUSE_GAUGE
=yes
1429 DEFAULT_wxUSE_GRID
=yes
1430 DEFAULT_wxUSE_NEW_GRID
=no
1431 DEFAULT_wxUSE_IMAGLIST
=yes
1432 DEFAULT_wxUSE_LISTBOX
=yes
1433 DEFAULT_wxUSE_LISTCTRL
=yes
1434 DEFAULT_wxUSE_NOTEBOOK
=yes
1435 DEFAULT_wxUSE_PLOT
=yes
1436 DEFAULT_wxUSE_RADIOBOX
=yes
1437 DEFAULT_wxUSE_RADIOBTN
=yes
1438 DEFAULT_wxUSE_SASH
=yes
1439 DEFAULT_wxUSE_SCROLLBAR
=yes
1440 DEFAULT_wxUSE_SLIDER
=yes
1441 DEFAULT_wxUSE_SPINBTN
=yes
1442 DEFAULT_wxUSE_SPINCTRL
=yes
1443 DEFAULT_wxUSE_SPLITTER
=yes
1444 DEFAULT_wxUSE_STATBMP
=yes
1445 DEFAULT_wxUSE_STATBOX
=yes
1446 DEFAULT_wxUSE_STATLINE
=yes
1447 DEFAULT_wxUSE_STATUSBAR
=yes
1448 DEFAULT_wxUSE_TABDIALOG
=no
1449 DEFAULT_wxUSE_TOOLBAR
=yes
1450 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1451 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1452 DEFAULT_wxUSE_TREECTRL
=yes
1454 DEFAULT_wxUSE_UNICODE
=no
1455 DEFAULT_wxUSE_WCSRTOMBS
=no
1457 DEFAULT_wxUSE_GIF
=yes
1458 DEFAULT_wxUSE_PCX
=yes
1459 DEFAULT_wxUSE_PNM
=yes
1464 for toolkit
in `echo $ALL_TOOLKITS`; do
1465 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1466 if test "x$LINE" != x
; then
1467 has_toolkit_in_cache
=1
1468 eval "DEFAULT_$LINE"
1469 eval "CACHE_$toolkit=1"
1475 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1476 echo "configure:1477: checking "for --enable-gui"" >&5
1478 # Check whether --enable-gui or --disable-gui was given.
1479 if test "${enable_gui+set}" = set; then
1480 enableval
="$enable_gui"
1482 if test "$enableval" = yes; then
1483 ac_cv_use_gui
='wxUSE_GUI=yes'
1485 ac_cv_use_gui
='wxUSE_GUI=no'
1490 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1491 if test "x$LINE" != x
; then
1492 eval "DEFAULT_$LINE"
1497 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1502 eval "$ac_cv_use_gui"
1503 if test "$no_cache" != 1; then
1504 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1507 if test "$wxUSE_GUI" = yes; then
1508 echo "$ac_t""yes" 1>&6
1510 echo "$ac_t""no" 1>&6
1514 if test "$wxUSE_GUI" = "yes"; then
1516 # Check whether --with-gtk or --without-gtk was given.
1517 if test "${with_gtk+set}" = set; then
1519 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1522 # Check whether --with-motif or --without-motif was given.
1523 if test "${with_motif+set}" = set; then
1524 withval
="$with_motif"
1525 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1528 # Check whether --with-wine or --without-wine was given.
1529 if test "${with_wine+set}" = set; then
1530 withval
="$with_wine"
1531 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1534 # Check whether --with-cygwin or --without-cygwin was given.
1535 if test "${with_cygwin+set}" = set; then
1536 withval
="$with_cygwin"
1537 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1540 # Check whether --with-mingw or --without-mingw was given.
1541 if test "${with_mingw+set}" = set; then
1542 withval
="$with_mingw"
1543 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1546 # Check whether --with-pm or --without-pm was given.
1547 if test "${with_pm+set}" = set; then
1549 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1553 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1554 if test "${with_gtk_prefix+set}" = set; then
1555 withval
="$with_gtk_prefix"
1556 gtk_config_prefix
="$withval"
1558 gtk_config_prefix
=""
1561 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1562 if test "${with_gtk_exec_prefix+set}" = set; then
1563 withval
="$with_gtk_exec_prefix"
1564 gtk_config_exec_prefix
="$withval"
1566 gtk_config_exec_prefix
=""
1571 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1572 echo "configure:1573: checking "for --with-libpng"" >&5
1574 # Check whether --with-libpng or --without-libpng was given.
1575 if test "${with_libpng+set}" = set; then
1576 withval
="$with_libpng"
1578 if test "$withval" = yes; then
1579 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1581 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1586 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1587 if test "x$LINE" != x
; then
1588 eval "DEFAULT_$LINE"
1593 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1598 eval "$ac_cv_use_libpng"
1599 if test "$no_cache" != 1; then
1600 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1603 if test "$wxUSE_LIBPNG" = yes; then
1604 echo "$ac_t""yes" 1>&6
1606 echo "$ac_t""no" 1>&6
1610 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1611 echo "configure:1612: checking "for --with-libjpeg"" >&5
1613 # Check whether --with-libjpeg or --without-libjpeg was given.
1614 if test "${with_libjpeg+set}" = set; then
1615 withval
="$with_libjpeg"
1617 if test "$withval" = yes; then
1618 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1620 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1625 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1626 if test "x$LINE" != x
; then
1627 eval "DEFAULT_$LINE"
1632 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1637 eval "$ac_cv_use_libjpeg"
1638 if test "$no_cache" != 1; then
1639 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1642 if test "$wxUSE_LIBJPEG" = yes; then
1643 echo "$ac_t""yes" 1>&6
1645 echo "$ac_t""no" 1>&6
1649 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1650 echo "configure:1651: checking "for --with-libtiff"" >&5
1652 # Check whether --with-libtiff or --without-libtiff was given.
1653 if test "${with_libtiff+set}" = set; then
1654 withval
="$with_libtiff"
1656 if test "$withval" = yes; then
1657 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1659 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1664 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1665 if test "x$LINE" != x
; then
1666 eval "DEFAULT_$LINE"
1671 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1676 eval "$ac_cv_use_libtiff"
1677 if test "$no_cache" != 1; then
1678 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1681 if test "$wxUSE_LIBTIFF" = yes; then
1682 echo "$ac_t""yes" 1>&6
1684 echo "$ac_t""no" 1>&6
1688 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1689 echo "configure:1690: checking "for --with-opengl"" >&5
1691 # Check whether --with-opengl or --without-opengl was given.
1692 if test "${with_opengl+set}" = set; then
1693 withval
="$with_opengl"
1695 if test "$withval" = yes; then
1696 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1698 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1703 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1704 if test "x$LINE" != x
; then
1705 eval "DEFAULT_$LINE"
1710 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1715 eval "$ac_cv_use_opengl"
1716 if test "$no_cache" != 1; then
1717 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1720 if test "$wxUSE_OPENGL" = yes; then
1721 echo "$ac_t""yes" 1>&6
1723 echo "$ac_t""no" 1>&6
1730 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1731 echo "configure:1732: checking "for --with-dmalloc"" >&5
1733 # Check whether --with-dmalloc or --without-dmalloc was given.
1734 if test "${with_dmalloc+set}" = set; then
1735 withval
="$with_dmalloc"
1737 if test "$withval" = yes; then
1738 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1740 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1745 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1746 if test "x$LINE" != x
; then
1747 eval "DEFAULT_$LINE"
1752 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1757 eval "$ac_cv_use_dmalloc"
1758 if test "$no_cache" != 1; then
1759 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1762 if test "$wxUSE_DMALLOC" = yes; then
1763 echo "$ac_t""yes" 1>&6
1765 echo "$ac_t""no" 1>&6
1769 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1770 echo "configure:1771: checking "for --with-zlib"" >&5
1772 # Check whether --with-zlib or --without-zlib was given.
1773 if test "${with_zlib+set}" = set; then
1774 withval
="$with_zlib"
1776 if test "$withval" = yes; then
1777 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1779 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1784 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1785 if test "x$LINE" != x
; then
1786 eval "DEFAULT_$LINE"
1791 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1796 eval "$ac_cv_use_zlib"
1797 if test "$no_cache" != 1; then
1798 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1801 if test "$wxUSE_ZLIB" = yes; then
1802 echo "$ac_t""yes" 1>&6
1804 echo "$ac_t""no" 1>&6
1808 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1809 echo "configure:1810: checking "for --with-odbc"" >&5
1811 # Check whether --with-odbc or --without-odbc was given.
1812 if test "${with_odbc+set}" = set; then
1813 withval
="$with_odbc"
1815 if test "$withval" = yes; then
1816 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1818 ac_cv_use_odbc
='wxUSE_ODBC=no'
1823 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1824 if test "x$LINE" != x
; then
1825 eval "DEFAULT_$LINE"
1830 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1835 eval "$ac_cv_use_odbc"
1836 if test "$no_cache" != 1; then
1837 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1840 if test "$wxUSE_ODBC" = yes; then
1841 echo "$ac_t""yes" 1>&6
1843 echo "$ac_t""no" 1>&6
1850 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1851 echo "configure:1852: checking "for --enable-shared"" >&5
1853 # Check whether --enable-shared or --disable-shared was given.
1854 if test "${enable_shared+set}" = set; then
1855 enableval
="$enable_shared"
1857 if test "$enableval" = yes; then
1858 ac_cv_use_shared
='wxUSE_SHARED=yes'
1860 ac_cv_use_shared
='wxUSE_SHARED=no'
1865 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1866 if test "x$LINE" != x
; then
1867 eval "DEFAULT_$LINE"
1872 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1877 eval "$ac_cv_use_shared"
1878 if test "$no_cache" != 1; then
1879 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1882 if test "$wxUSE_SHARED" = yes; then
1883 echo "$ac_t""yes" 1>&6
1885 echo "$ac_t""no" 1>&6
1889 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1890 echo "configure:1891: checking "for --enable-optimise"" >&5
1892 # Check whether --enable-optimise or --disable-optimise was given.
1893 if test "${enable_optimise+set}" = set; then
1894 enableval
="$enable_optimise"
1896 if test "$enableval" = yes; then
1897 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1899 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1904 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1905 if test "x$LINE" != x
; then
1906 eval "DEFAULT_$LINE"
1911 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1916 eval "$ac_cv_use_optimise"
1917 if test "$no_cache" != 1; then
1918 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1921 if test "$wxUSE_OPTIMISE" = yes; then
1922 echo "$ac_t""yes" 1>&6
1924 echo "$ac_t""no" 1>&6
1928 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1929 echo "configure:1930: checking "for --enable-debug"" >&5
1931 # Check whether --enable-debug or --disable-debug was given.
1932 if test "${enable_debug+set}" = set; then
1933 enableval
="$enable_debug"
1935 if test "$enableval" = yes; then
1936 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1938 ac_cv_use_debug
='wxUSE_DEBUG=no'
1943 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1944 if test "x$LINE" != x
; then
1945 eval "DEFAULT_$LINE"
1950 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1955 eval "$ac_cv_use_debug"
1956 if test "$no_cache" != 1; then
1957 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1960 if test "$wxUSE_DEBUG" = yes; then
1961 echo "$ac_t""yes" 1>&6
1963 echo "$ac_t""no" 1>&6
1967 if test "$wxUSE_DEBUG" = "yes"; then
1968 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1969 DEFAULT_wxUSE_DEBUG_INFO
=yes
1970 elif test "$wxUSE_DEBUG" = "no"; then
1971 DEFAULT_wxUSE_DEBUG_FLAG
=no
1972 DEFAULT_wxUSE_DEBUG_INFO
=no
1976 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1977 echo "configure:1978: checking "for --enable-debug_flag"" >&5
1979 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1980 if test "${enable_debug_flag+set}" = set; then
1981 enableval
="$enable_debug_flag"
1983 if test "$enableval" = yes; then
1984 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1986 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1991 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1992 if test "x$LINE" != x
; then
1993 eval "DEFAULT_$LINE"
1998 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2003 eval "$ac_cv_use_debug_flag"
2004 if test "$no_cache" != 1; then
2005 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2008 if test "$wxUSE_DEBUG_FLAG" = yes; then
2009 echo "$ac_t""yes" 1>&6
2011 echo "$ac_t""no" 1>&6
2015 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2016 echo "configure:2017: checking "for --enable-debug_info"" >&5
2018 # Check whether --enable-debug_info or --disable-debug_info was given.
2019 if test "${enable_debug_info+set}" = set; then
2020 enableval
="$enable_debug_info"
2022 if test "$enableval" = yes; then
2023 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2025 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2030 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2031 if test "x$LINE" != x
; then
2032 eval "DEFAULT_$LINE"
2037 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2042 eval "$ac_cv_use_debug_info"
2043 if test "$no_cache" != 1; then
2044 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2047 if test "$wxUSE_DEBUG_INFO" = yes; then
2048 echo "$ac_t""yes" 1>&6
2050 echo "$ac_t""no" 1>&6
2054 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2055 echo "configure:2056: checking "for --enable-debug_gdb"" >&5
2057 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2058 if test "${enable_debug_gdb+set}" = set; then
2059 enableval
="$enable_debug_gdb"
2061 if test "$enableval" = yes; then
2062 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2064 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2069 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2070 if test "x$LINE" != x
; then
2071 eval "DEFAULT_$LINE"
2076 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2081 eval "$ac_cv_use_debug_gdb"
2082 if test "$no_cache" != 1; then
2083 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2086 if test "$wxUSE_DEBUG_GDB" = yes; then
2087 echo "$ac_t""yes" 1>&6
2089 echo "$ac_t""no" 1>&6
2093 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2094 echo "configure:2095: checking "for --enable-debug_cntxt"" >&5
2096 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2097 if test "${enable_debug_cntxt+set}" = set; then
2098 enableval
="$enable_debug_cntxt"
2100 if test "$enableval" = yes; then
2101 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2103 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2108 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2109 if test "x$LINE" != x
; then
2110 eval "DEFAULT_$LINE"
2115 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2120 eval "$ac_cv_use_debug_cntxt"
2121 if test "$no_cache" != 1; then
2122 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2125 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2126 echo "$ac_t""yes" 1>&6
2128 echo "$ac_t""no" 1>&6
2132 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2133 echo "configure:2134: checking "for --enable-mem_tracing"" >&5
2135 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2136 if test "${enable_mem_tracing+set}" = set; then
2137 enableval
="$enable_mem_tracing"
2139 if test "$enableval" = yes; then
2140 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2142 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2147 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2148 if test "x$LINE" != x
; then
2149 eval "DEFAULT_$LINE"
2154 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2159 eval "$ac_cv_use_mem_tracing"
2160 if test "$no_cache" != 1; then
2161 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2164 if test "$wxUSE_MEM_TRACING" = yes; then
2165 echo "$ac_t""yes" 1>&6
2167 echo "$ac_t""no" 1>&6
2171 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2172 echo "configure:2173: checking "for --enable-profile"" >&5
2174 # Check whether --enable-profile or --disable-profile was given.
2175 if test "${enable_profile+set}" = set; then
2176 enableval
="$enable_profile"
2178 if test "$enableval" = yes; then
2179 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2181 ac_cv_use_profile
='wxUSE_PROFILE=no'
2186 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x
; then
2188 eval "DEFAULT_$LINE"
2193 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2198 eval "$ac_cv_use_profile"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2203 if test "$wxUSE_PROFILE" = yes; then
2204 echo "$ac_t""yes" 1>&6
2206 echo "$ac_t""no" 1>&6
2210 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2211 echo "configure:2212: checking "for --enable-no_rtti"" >&5
2213 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2214 if test "${enable_no_rtti+set}" = set; then
2215 enableval
="$enable_no_rtti"
2217 if test "$enableval" = yes; then
2218 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2220 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2225 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2226 if test "x$LINE" != x
; then
2227 eval "DEFAULT_$LINE"
2232 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2237 eval "$ac_cv_use_no_rtti"
2238 if test "$no_cache" != 1; then
2239 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2242 if test "$wxUSE_NO_RTTI" = yes; then
2243 echo "$ac_t""yes" 1>&6
2245 echo "$ac_t""no" 1>&6
2249 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2250 echo "configure:2251: checking "for --enable-no_exceptions"" >&5
2252 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2253 if test "${enable_no_exceptions+set}" = set; then
2254 enableval
="$enable_no_exceptions"
2256 if test "$enableval" = yes; then
2257 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2259 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2264 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2265 if test "x$LINE" != x
; then
2266 eval "DEFAULT_$LINE"
2271 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2276 eval "$ac_cv_use_no_exceptions"
2277 if test "$no_cache" != 1; then
2278 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2281 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2282 echo "$ac_t""yes" 1>&6
2284 echo "$ac_t""no" 1>&6
2288 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2289 echo "configure:2290: checking "for --enable-permissive"" >&5
2291 # Check whether --enable-permissive or --disable-permissive was given.
2292 if test "${enable_permissive+set}" = set; then
2293 enableval
="$enable_permissive"
2295 if test "$enableval" = yes; then
2296 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2298 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2303 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2304 if test "x$LINE" != x
; then
2305 eval "DEFAULT_$LINE"
2310 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2315 eval "$ac_cv_use_permissive"
2316 if test "$no_cache" != 1; then
2317 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2320 if test "$wxUSE_PERMISSIVE" = yes; then
2321 echo "$ac_t""yes" 1>&6
2323 echo "$ac_t""no" 1>&6
2327 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2328 echo "configure:2329: checking "for --enable-no_deps"" >&5
2330 # Check whether --enable-no_deps or --disable-no_deps was given.
2331 if test "${enable_no_deps+set}" = set; then
2332 enableval
="$enable_no_deps"
2334 if test "$enableval" = yes; then
2335 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2337 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2342 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2343 if test "x$LINE" != x
; then
2344 eval "DEFAULT_$LINE"
2349 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2354 eval "$ac_cv_use_no_deps"
2355 if test "$no_cache" != 1; then
2356 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2359 if test "$wxUSE_NO_DEPS" = yes; then
2360 echo "$ac_t""yes" 1>&6
2362 echo "$ac_t""no" 1>&6
2368 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2369 echo "configure:2370: checking "for --enable-intl"" >&5
2371 # Check whether --enable-intl or --disable-intl was given.
2372 if test "${enable_intl+set}" = set; then
2373 enableval
="$enable_intl"
2375 if test "$enableval" = yes; then
2376 ac_cv_use_intl
='wxUSE_INTL=yes'
2378 ac_cv_use_intl
='wxUSE_INTL=no'
2383 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2384 if test "x$LINE" != x
; then
2385 eval "DEFAULT_$LINE"
2390 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2395 eval "$ac_cv_use_intl"
2396 if test "$no_cache" != 1; then
2397 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2400 if test "$wxUSE_INTL" = yes; then
2401 echo "$ac_t""yes" 1>&6
2403 echo "$ac_t""no" 1>&6
2407 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2408 echo "configure:2409: checking "for --enable-config"" >&5
2410 # Check whether --enable-config or --disable-config was given.
2411 if test "${enable_config+set}" = set; then
2412 enableval
="$enable_config"
2414 if test "$enableval" = yes; then
2415 ac_cv_use_config
='wxUSE_CONFIG=yes'
2417 ac_cv_use_config
='wxUSE_CONFIG=no'
2422 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2423 if test "x$LINE" != x
; then
2424 eval "DEFAULT_$LINE"
2429 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2434 eval "$ac_cv_use_config"
2435 if test "$no_cache" != 1; then
2436 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2439 if test "$wxUSE_CONFIG" = yes; then
2440 echo "$ac_t""yes" 1>&6
2442 echo "$ac_t""no" 1>&6
2446 if test "$wxUSE_GUI" = "yes"; then
2448 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2449 echo "configure:2450: checking "for --enable-sockets"" >&5
2451 # Check whether --enable-sockets or --disable-sockets was given.
2452 if test "${enable_sockets+set}" = set; then
2453 enableval
="$enable_sockets"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2458 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2463 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2475 eval "$ac_cv_use_sockets"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_SOCKETS" = yes; then
2481 echo "$ac_t""yes" 1>&6
2483 echo "$ac_t""no" 1>&6
2491 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2492 echo "configure:2493: checking "for --enable-dialupman"" >&5
2494 # Check whether --enable-dialupman or --disable-dialupman was given.
2495 if test "${enable_dialupman+set}" = set; then
2496 enableval
="$enable_dialupman"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2501 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2506 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2518 eval "$ac_cv_use_dialupman"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2523 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2524 echo "$ac_t""yes" 1>&6
2526 echo "$ac_t""no" 1>&6
2530 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2531 echo "configure:2532: checking "for --enable-ipc"" >&5
2533 # Check whether --enable-ipc or --disable-ipc was given.
2534 if test "${enable_ipc+set}" = set; then
2535 enableval
="$enable_ipc"
2537 if test "$enableval" = yes; then
2538 ac_cv_use_ipc
='wxUSE_IPC=yes'
2540 ac_cv_use_ipc
='wxUSE_IPC=no'
2545 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2546 if test "x$LINE" != x
; then
2547 eval "DEFAULT_$LINE"
2552 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2557 eval "$ac_cv_use_ipc"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_IPC" = yes; then
2563 echo "$ac_t""yes" 1>&6
2565 echo "$ac_t""no" 1>&6
2569 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2570 echo "configure:2571: checking "for --enable-apple_ieee"" >&5
2572 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2573 if test "${enable_apple_ieee+set}" = set; then
2574 enableval
="$enable_apple_ieee"
2576 if test "$enableval" = yes; then
2577 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2579 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2584 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2585 if test "x$LINE" != x
; then
2586 eval "DEFAULT_$LINE"
2591 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2596 eval "$ac_cv_use_apple_ieee"
2597 if test "$no_cache" != 1; then
2598 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2601 if test "$wxUSE_APPLE_IEEE" = yes; then
2602 echo "$ac_t""yes" 1>&6
2604 echo "$ac_t""no" 1>&6
2608 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2609 echo "configure:2610: checking "for --enable-timedate"" >&5
2611 # Check whether --enable-timedate or --disable-timedate was given.
2612 if test "${enable_timedate+set}" = set; then
2613 enableval
="$enable_timedate"
2615 if test "$enableval" = yes; then
2616 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2618 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2623 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2624 if test "x$LINE" != x
; then
2625 eval "DEFAULT_$LINE"
2630 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2635 eval "$ac_cv_use_timedate"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2640 if test "$wxUSE_TIMEDATE" = yes; then
2641 echo "$ac_t""yes" 1>&6
2643 echo "$ac_t""no" 1>&6
2647 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2648 echo "configure:2649: checking "for --enable-wave"" >&5
2650 # Check whether --enable-wave or --disable-wave was given.
2651 if test "${enable_wave+set}" = set; then
2652 enableval
="$enable_wave"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_wave
='wxUSE_WAVE=yes'
2657 ac_cv_use_wave
='wxUSE_WAVE=no'
2662 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2674 eval "$ac_cv_use_wave"
2675 if test "$no_cache" != 1; then
2676 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2679 if test "$wxUSE_WAVE" = yes; then
2680 echo "$ac_t""yes" 1>&6
2682 echo "$ac_t""no" 1>&6
2686 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2687 echo "configure:2688: checking "for --enable-fraction"" >&5
2689 # Check whether --enable-fraction or --disable-fraction was given.
2690 if test "${enable_fraction+set}" = set; then
2691 enableval
="$enable_fraction"
2693 if test "$enableval" = yes; then
2694 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2696 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2701 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x
; then
2703 eval "DEFAULT_$LINE"
2708 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2713 eval "$ac_cv_use_fraction"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_FRACTION" = yes; then
2719 echo "$ac_t""yes" 1>&6
2721 echo "$ac_t""no" 1>&6
2725 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2726 echo "configure:2727: checking "for --enable-dynlib"" >&5
2728 # Check whether --enable-dynlib or --disable-dynlib was given.
2729 if test "${enable_dynlib+set}" = set; then
2730 enableval
="$enable_dynlib"
2732 if test "$enableval" = yes; then
2733 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2735 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2740 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x
; then
2742 eval "DEFAULT_$LINE"
2747 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2752 eval "$ac_cv_use_dynlib"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2757 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2758 echo "$ac_t""yes" 1>&6
2760 echo "$ac_t""no" 1>&6
2764 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2765 echo "configure:2766: checking "for --enable-longlong"" >&5
2767 # Check whether --enable-longlong or --disable-longlong was given.
2768 if test "${enable_longlong+set}" = set; then
2769 enableval
="$enable_longlong"
2771 if test "$enableval" = yes; then
2772 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2774 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2779 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2780 if test "x$LINE" != x
; then
2781 eval "DEFAULT_$LINE"
2786 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2791 eval "$ac_cv_use_longlong"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2796 if test "$wxUSE_LONGLONG" = yes; then
2797 echo "$ac_t""yes" 1>&6
2799 echo "$ac_t""no" 1>&6
2803 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2804 echo "configure:2805: checking "for --enable-log"" >&5
2806 # Check whether --enable-log or --disable-log was given.
2807 if test "${enable_log+set}" = set; then
2808 enableval
="$enable_log"
2810 if test "$enableval" = yes; then
2811 ac_cv_use_log
='wxUSE_LOG=yes'
2813 ac_cv_use_log
='wxUSE_LOG=no'
2818 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x
; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2830 eval "$ac_cv_use_log"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_LOG" = yes; then
2836 echo "$ac_t""yes" 1>&6
2838 echo "$ac_t""no" 1>&6
2842 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2843 echo "configure:2844: checking "for --enable-streams"" >&5
2845 # Check whether --enable-streams or --disable-streams was given.
2846 if test "${enable_streams+set}" = set; then
2847 enableval
="$enable_streams"
2849 if test "$enableval" = yes; then
2850 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2852 ac_cv_use_streams
='wxUSE_STREAMS=no'
2857 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2869 eval "$ac_cv_use_streams"
2870 if test "$no_cache" != 1; then
2871 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2874 if test "$wxUSE_STREAMS" = yes; then
2875 echo "$ac_t""yes" 1>&6
2877 echo "$ac_t""no" 1>&6
2881 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2882 echo "configure:2883: checking "for --enable-file"" >&5
2884 # Check whether --enable-file or --disable-file was given.
2885 if test "${enable_file+set}" = set; then
2886 enableval
="$enable_file"
2888 if test "$enableval" = yes; then
2889 ac_cv_use_file
='wxUSE_FILE=yes'
2891 ac_cv_use_file
='wxUSE_FILE=no'
2896 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x
; then
2898 eval "DEFAULT_$LINE"
2903 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2908 eval "$ac_cv_use_file"
2909 if test "$no_cache" != 1; then
2910 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2913 if test "$wxUSE_FILE" = yes; then
2914 echo "$ac_t""yes" 1>&6
2916 echo "$ac_t""no" 1>&6
2920 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2921 echo "configure:2922: checking "for --enable-textfile"" >&5
2923 # Check whether --enable-textfile or --disable-textfile was given.
2924 if test "${enable_textfile+set}" = set; then
2925 enableval
="$enable_textfile"
2927 if test "$enableval" = yes; then
2928 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2930 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2935 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2936 if test "x$LINE" != x
; then
2937 eval "DEFAULT_$LINE"
2942 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2947 eval "$ac_cv_use_textfile"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_TEXTFILE" = yes; then
2953 echo "$ac_t""yes" 1>&6
2955 echo "$ac_t""no" 1>&6
2959 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2960 echo "configure:2961: checking "for --enable-unicode"" >&5
2962 # Check whether --enable-unicode or --disable-unicode was given.
2963 if test "${enable_unicode+set}" = set; then
2964 enableval
="$enable_unicode"
2966 if test "$enableval" = yes; then
2967 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2969 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2974 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x
; then
2976 eval "DEFAULT_$LINE"
2981 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2986 eval "$ac_cv_use_unicode"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_UNICODE" = yes; then
2992 echo "$ac_t""yes" 1>&6
2994 echo "$ac_t""no" 1>&6
2998 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2999 echo "configure:3000: checking "for --enable-wcsrtombs"" >&5
3001 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3002 if test "${enable_wcsrtombs+set}" = set; then
3003 enableval
="$enable_wcsrtombs"
3005 if test "$enableval" = yes; then
3006 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3008 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3013 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3025 eval "$ac_cv_use_wcsrtombs"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_WCSRTOMBS" = yes; then
3031 echo "$ac_t""yes" 1>&6
3033 echo "$ac_t""no" 1>&6
3037 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3038 echo "configure:3039: checking "for --enable-wxprintfv"" >&5
3040 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3041 if test "${enable_wxprintfv+set}" = set; then
3042 enableval
="$enable_wxprintfv"
3044 if test "$enableval" = yes; then
3045 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3047 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3052 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3053 if test "x$LINE" != x
; then
3054 eval "DEFAULT_$LINE"
3059 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3064 eval "$ac_cv_use_wxprintfv"
3065 if test "$no_cache" != 1; then
3066 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3069 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3070 echo "$ac_t""yes" 1>&6
3072 echo "$ac_t""no" 1>&6
3076 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3077 echo "configure:3078: checking "for --enable-joystick"" >&5
3079 # Check whether --enable-joystick or --disable-joystick was given.
3080 if test "${enable_joystick+set}" = set; then
3081 enableval
="$enable_joystick"
3083 if test "$enableval" = yes; then
3084 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3086 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3091 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3092 if test "x$LINE" != x
; then
3093 eval "DEFAULT_$LINE"
3098 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3103 eval "$ac_cv_use_joystick"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_JOYSTICK" = yes; then
3109 echo "$ac_t""yes" 1>&6
3111 echo "$ac_t""no" 1>&6
3115 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3116 echo "configure:3117: checking "for --enable-std_iostreams"" >&5
3118 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3119 if test "${enable_std_iostreams+set}" = set; then
3120 enableval
="$enable_std_iostreams"
3122 if test "$enableval" = yes; then
3123 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3125 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3130 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x
; then
3132 eval "DEFAULT_$LINE"
3137 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3142 eval "$ac_cv_use_std_iostreams"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_STD_IOSTREAM" = yes; then
3148 echo "$ac_t""yes" 1>&6
3150 echo "$ac_t""no" 1>&6
3154 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3155 echo "configure:3156: checking "for --enable-fs_inet"" >&5
3157 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3158 if test "${enable_fs_inet+set}" = set; then
3159 enableval
="$enable_fs_inet"
3161 if test "$enableval" = yes; then
3162 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3164 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3169 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x
; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3181 eval "$ac_cv_use_fs_inet"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_FS_INET" = yes; then
3187 echo "$ac_t""yes" 1>&6
3189 echo "$ac_t""no" 1>&6
3193 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3194 echo "configure:3195: checking "for --enable-fs_zip"" >&5
3196 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3197 if test "${enable_fs_zip+set}" = set; then
3198 enableval
="$enable_fs_zip"
3200 if test "$enableval" = yes; then
3201 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3203 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3208 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x
; then
3210 eval "DEFAULT_$LINE"
3215 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3220 eval "$ac_cv_use_fs_zip"
3221 if test "$no_cache" != 1; then
3222 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3225 if test "$wxUSE_FS_ZIP" = yes; then
3226 echo "$ac_t""yes" 1>&6
3228 echo "$ac_t""no" 1>&6
3232 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3233 echo "configure:3234: checking "for --enable-zipstream"" >&5
3235 # Check whether --enable-zipstream or --disable-zipstream was given.
3236 if test "${enable_zipstream+set}" = set; then
3237 enableval
="$enable_zipstream"
3239 if test "$enableval" = yes; then
3240 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3242 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3247 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x
; then
3249 eval "DEFAULT_$LINE"
3254 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3259 eval "$ac_cv_use_zipstream"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3264 if test "$wxUSE_ZIPSTREAM" = yes; then
3265 echo "$ac_t""yes" 1>&6
3267 echo "$ac_t""no" 1>&6
3273 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3274 echo "configure:3275: checking "for --enable-threads"" >&5
3276 # Check whether --enable-threads or --disable-threads was given.
3277 if test "${enable_threads+set}" = set; then
3278 enableval
="$enable_threads"
3280 if test "$enableval" = yes; then
3281 ac_cv_use_threads
='wxUSE_THREADS=yes'
3283 ac_cv_use_threads
='wxUSE_THREADS=no'
3288 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3300 eval "$ac_cv_use_threads"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3305 if test "$wxUSE_THREADS" = yes; then
3306 echo "$ac_t""yes" 1>&6
3308 echo "$ac_t""no" 1>&6
3312 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3313 echo "configure:3314: checking "for --enable-serial"" >&5
3315 # Check whether --enable-serial or --disable-serial was given.
3316 if test "${enable_serial+set}" = set; then
3317 enableval
="$enable_serial"
3319 if test "$enableval" = yes; then
3320 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3322 ac_cv_use_serial
='wxUSE_SERIAL=no'
3327 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x
; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3339 eval "$ac_cv_use_serial"
3340 if test "$no_cache" != 1; then
3341 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3344 if test "$wxUSE_SERIAL" = yes; then
3345 echo "$ac_t""yes" 1>&6
3347 echo "$ac_t""no" 1>&6
3351 if test "$wxUSE_GUI" = "yes"; then
3355 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3356 echo "configure:3357: checking "for --enable-docview"" >&5
3358 # Check whether --enable-docview or --disable-docview was given.
3359 if test "${enable_docview+set}" = set; then
3360 enableval
="$enable_docview"
3362 if test "$enableval" = yes; then
3363 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3365 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3370 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3371 if test "x$LINE" != x
; then
3372 eval "DEFAULT_$LINE"
3377 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3382 eval "$ac_cv_use_docview"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3388 echo "$ac_t""yes" 1>&6
3390 echo "$ac_t""no" 1>&6
3394 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3395 echo "configure:3396: checking "for --enable-help"" >&5
3397 # Check whether --enable-help or --disable-help was given.
3398 if test "${enable_help+set}" = set; then
3399 enableval
="$enable_help"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_help
='wxUSE_HELP=yes'
3404 ac_cv_use_help
='wxUSE_HELP=no'
3409 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3421 eval "$ac_cv_use_help"
3422 if test "$no_cache" != 1; then
3423 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3426 if test "$wxUSE_HELP" = yes; then
3427 echo "$ac_t""yes" 1>&6
3429 echo "$ac_t""no" 1>&6
3433 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3434 echo "configure:3435: checking "for --enable-constraints"" >&5
3436 # Check whether --enable-constraints or --disable-constraints was given.
3437 if test "${enable_constraints+set}" = set; then
3438 enableval
="$enable_constraints"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3443 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3448 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3460 eval "$ac_cv_use_constraints"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_CONSTRAINTS" = yes; then
3466 echo "$ac_t""yes" 1>&6
3468 echo "$ac_t""no" 1>&6
3472 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3473 echo "configure:3474: checking "for --enable-printarch"" >&5
3475 # Check whether --enable-printarch or --disable-printarch was given.
3476 if test "${enable_printarch+set}" = set; then
3477 enableval
="$enable_printarch"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3482 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3487 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x
; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3499 eval "$ac_cv_use_printarch"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3504 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3505 echo "$ac_t""yes" 1>&6
3507 echo "$ac_t""no" 1>&6
3511 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3512 echo "configure:3513: checking "for --enable-mdi"" >&5
3514 # Check whether --enable-mdi or --disable-mdi was given.
3515 if test "${enable_mdi+set}" = set; then
3516 enableval
="$enable_mdi"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3521 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3526 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3538 eval "$ac_cv_use_mdi"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3544 echo "$ac_t""yes" 1>&6
3546 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3552 echo "configure:3553: checking "for --enable-postscript"" >&5
3554 # Check whether --enable-postscript or --disable-postscript was given.
3555 if test "${enable_postscript+set}" = set; then
3556 enableval
="$enable_postscript"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3561 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3566 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3578 eval "$ac_cv_use_postscript"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_POSTSCRIPT" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3592 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3593 echo "configure:3594: checking "for --enable-prologio"" >&5
3595 # Check whether --enable-prologio or --disable-prologio was given.
3596 if test "${enable_prologio+set}" = set; then
3597 enableval
="$enable_prologio"
3599 if test "$enableval" = yes; then
3600 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3602 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3607 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3619 eval "$ac_cv_use_prologio"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_PROLOGIO" = yes; then
3625 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3631 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3632 echo "configure:3633: checking "for --enable-resources"" >&5
3634 # Check whether --enable-resources or --disable-resources was given.
3635 if test "${enable_resources+set}" = set; then
3636 enableval
="$enable_resources"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3641 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3646 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x
; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3658 eval "$ac_cv_use_resources"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_RESOURCES" = yes; then
3664 echo "$ac_t""yes" 1>&6
3666 echo "$ac_t""no" 1>&6
3671 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3672 echo "configure:3673: checking "for --enable-xresources"" >&5
3674 # Check whether --enable-xresources or --disable-xresources was given.
3675 if test "${enable_xresources+set}" = set; then
3676 enableval
="$enable_xresources"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3681 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3686 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x
; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3698 eval "$ac_cv_use_xresources"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3703 if test "$wxUSE_X_RESOURCES" = yes; then
3704 echo "$ac_t""yes" 1>&6
3706 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3713 echo "configure:3714: checking "for --enable-clipboard"" >&5
3715 # Check whether --enable-clipboard or --disable-clipboard was given.
3716 if test "${enable_clipboard+set}" = set; then
3717 enableval
="$enable_clipboard"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3727 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3739 eval "$ac_cv_use_clipboard"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_CLIPBOARD" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3751 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3752 echo "configure:3753: checking "for --enable-dnd"" >&5
3754 # Check whether --enable-dnd or --disable-dnd was given.
3755 if test "${enable_dnd+set}" = set; then
3756 enableval
="$enable_dnd"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3761 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3766 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3778 eval "$ac_cv_use_dnd"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3784 echo "$ac_t""yes" 1>&6
3786 echo "$ac_t""no" 1>&6
3791 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3792 echo "configure:3793: checking "for --enable-wxtree"" >&5
3794 # Check whether --enable-wxtree or --disable-wxtree was given.
3795 if test "${enable_wxtree+set}" = set; then
3796 enableval
="$enable_wxtree"
3798 if test "$enableval" = yes; then
3799 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3801 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3806 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3807 if test "x$LINE" != x
; then
3808 eval "DEFAULT_$LINE"
3813 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3818 eval "$ac_cv_use_wxtree"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_WXTREE" = yes; then
3824 echo "$ac_t""yes" 1>&6
3826 echo "$ac_t""no" 1>&6
3832 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3833 echo "configure:3834: checking "for --enable-controls"" >&5
3835 # Check whether --enable-controls or --disable-controls was given.
3836 if test "${enable_controls+set}" = set; then
3837 enableval
="$enable_controls"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3842 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3847 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3859 eval "$ac_cv_use_controls"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_CONTROLS" = yes; then
3865 echo "$ac_t""yes" 1>&6
3867 echo "$ac_t""no" 1>&6
3871 if test "$wxUSE_CONTROLS" = "yes"; then
3872 DEFAULT_wxUSE_ACCEL
=yes
3873 DEFAULT_wxUSE_CARET
=yes
3874 DEFAULT_wxUSE_COMBOBOX
=yes
3875 DEFAULT_wxUSE_BMPBUTTON
=yes
3876 DEFAULT_wxUSE_CHECKBOX
=yes
3877 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3878 DEFAULT_wxUSE_CHOICE
=yes
3879 DEFAULT_wxUSE_GAUGE
=yes
3880 DEFAULT_wxUSE_GRID
=yes
3881 DEFAULT_wxUSE_NEW_GRID
=no
3882 DEFAULT_wxUSE_IMAGLIST
=yes
3883 DEFAULT_wxUSE_LISTBOX
=yes
3884 DEFAULT_wxUSE_LISTCTRL
=yes
3885 DEFAULT_wxUSE_NOTEBOOK
=yes
3886 DEFAULT_wxUSE_RADIOBOX
=yes
3887 DEFAULT_wxUSE_RADIOBTN
=yes
3888 DEFAULT_wxUSE_SASH
=yes
3889 DEFAULT_wxUSE_SCROLLBAR
=yes
3890 DEFAULT_wxUSE_SLIDER
=yes
3891 DEFAULT_wxUSE_SPINBTN
=yes
3892 DEFAULT_wxUSE_SPINCTRL
=yes
3893 DEFAULT_wxUSE_SPLITTER
=yes
3894 DEFAULT_wxUSE_STATBMP
=yes
3895 DEFAULT_wxUSE_STATBOX
=yes
3896 DEFAULT_wxUSE_STATLINE
=yes
3897 DEFAULT_wxUSE_STATUSBAR
=yes
3898 DEFAULT_wxUSE_TAB_DIALOG
=yes
3899 DEFAULT_wxUSE_TOOLBAR
=yes
3900 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3901 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3902 DEFAULT_wxUSE_TOOLTIPS
=yes
3903 DEFAULT_wxUSE_TREECTRL
=yes
3904 elif test "$wxUSE_CONTROLS" = "no"; then
3905 DEFAULT_wxUSE_ACCEL
=no
3906 DEFAULT_wxUSE_CARET
=no
3907 DEFAULT_wxUSE_COMBOBOX
=no
3908 DEFAULT_wxUSE_BMPBUTTON
=no
3909 DEFAULT_wxUSE_CHECKBOX
=no
3910 DEFAULT_wxUSE_CHECKLISTBOX
=no
3911 DEFAULT_wxUSE_CHOICE
=no
3912 DEFAULT_wxUSE_GAUGE
=no
3913 DEFAULT_wxUSE_GRID
=no
3914 DEFAULT_wxUSE_NEW_GRID
=no
3915 DEFAULT_wxUSE_IMAGLIST
=no
3916 DEFAULT_wxUSE_LISTBOX
=no
3917 DEFAULT_wxUSE_LISTCTRL
=no
3918 DEFAULT_wxUSE_NOTEBOOK
=no
3919 DEFAULT_wxUSE_RADIOBOX
=no
3920 DEFAULT_wxUSE_RADIOBTN
=no
3921 DEFAULT_wxUSE_SASH
=no
3922 DEFAULT_wxUSE_SCROLLBAR
=no
3923 DEFAULT_wxUSE_SLIDER
=no
3924 DEFAULT_wxUSE_SPINBTN
=no
3925 DEFAULT_wxUSE_SPINCTRL
=no
3926 DEFAULT_wxUSE_SPLITTER
=no
3927 DEFAULT_wxUSE_STATBMP
=no
3928 DEFAULT_wxUSE_STATBOX
=no
3929 DEFAULT_wxUSE_STATLINE
=no
3930 DEFAULT_wxUSE_STATUSBAR
=no
3931 DEFAULT_wxUSE_TAB_DIALOG
=no
3932 DEFAULT_wxUSE_TOOLBAR
=no
3933 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3934 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3935 DEFAULT_wxUSE_TOOLTIPS
=no
3936 DEFAULT_wxUSE_TREECTRL
=no
3940 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3941 echo "configure:3942: checking "for --enable-accel"" >&5
3943 # Check whether --enable-accel or --disable-accel was given.
3944 if test "${enable_accel+set}" = set; then
3945 enableval
="$enable_accel"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3950 ac_cv_use_accel
='wxUSE_ACCEL=no'
3955 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x
; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3967 eval "$ac_cv_use_accel"
3968 if test "$no_cache" != 1; then
3969 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3972 if test "$wxUSE_ACCEL" = yes; then
3973 echo "$ac_t""yes" 1>&6
3975 echo "$ac_t""no" 1>&6
3979 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3980 echo "configure:3981: checking "for --enable-caret"" >&5
3982 # Check whether --enable-caret or --disable-caret was given.
3983 if test "${enable_caret+set}" = set; then
3984 enableval
="$enable_caret"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_caret
='wxUSE_CARET=yes'
3989 ac_cv_use_caret
='wxUSE_CARET=no'
3994 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x
; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4006 eval "$ac_cv_use_caret"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4011 if test "$wxUSE_CARET" = yes; then
4012 echo "$ac_t""yes" 1>&6
4014 echo "$ac_t""no" 1>&6
4018 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4019 echo "configure:4020: checking "for --enable-bmpbutton"" >&5
4021 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4022 if test "${enable_bmpbutton+set}" = set; then
4023 enableval
="$enable_bmpbutton"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4028 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4033 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4045 eval "$ac_cv_use_bmpbutton"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_BMPBUTTON" = yes; then
4051 echo "$ac_t""yes" 1>&6
4053 echo "$ac_t""no" 1>&6
4057 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4058 echo "configure:4059: checking "for --enable-checkbox"" >&5
4060 # Check whether --enable-checkbox or --disable-checkbox was given.
4061 if test "${enable_checkbox+set}" = set; then
4062 enableval
="$enable_checkbox"
4064 if test "$enableval" = yes; then
4065 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4067 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4072 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x
; then
4074 eval "DEFAULT_$LINE"
4079 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4084 eval "$ac_cv_use_checkbox"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_CHECKBOX" = yes; then
4090 echo "$ac_t""yes" 1>&6
4092 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4097 echo "configure:4098: checking "for --enable-checklst"" >&5
4099 # Check whether --enable-checklst or --disable-checklst was given.
4100 if test "${enable_checklst+set}" = set; then
4101 enableval
="$enable_checklst"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4106 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4111 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x
; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4123 eval "$ac_cv_use_checklst"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_CHECKLST" = yes; then
4129 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4136 echo "configure:4137: checking "for --enable-choice"" >&5
4138 # Check whether --enable-choice or --disable-choice was given.
4139 if test "${enable_choice+set}" = set; then
4140 enableval
="$enable_choice"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4145 ac_cv_use_choice
='wxUSE_CHOICE=no'
4150 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4162 eval "$ac_cv_use_choice"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_CHOICE" = yes; then
4168 echo "$ac_t""yes" 1>&6
4170 echo "$ac_t""no" 1>&6
4174 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4175 echo "configure:4176: checking "for --enable-combobox"" >&5
4177 # Check whether --enable-combobox or --disable-combobox was given.
4178 if test "${enable_combobox+set}" = set; then
4179 enableval
="$enable_combobox"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4184 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4189 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4201 eval "$ac_cv_use_combobox"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_COMBOBOX" = yes; then
4207 echo "$ac_t""yes" 1>&6
4209 echo "$ac_t""no" 1>&6
4213 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4214 echo "configure:4215: checking "for --enable-gauge"" >&5
4216 # Check whether --enable-gauge or --disable-gauge was given.
4217 if test "${enable_gauge+set}" = set; then
4218 enableval
="$enable_gauge"
4220 if test "$enableval" = yes; then
4221 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4223 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4228 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x
; then
4230 eval "DEFAULT_$LINE"
4235 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4240 eval "$ac_cv_use_gauge"
4241 if test "$no_cache" != 1; then
4242 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4245 if test "$wxUSE_GAUGE" = yes; then
4246 echo "$ac_t""yes" 1>&6
4248 echo "$ac_t""no" 1>&6
4252 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4253 echo "configure:4254: checking "for --enable-grid"" >&5
4255 # Check whether --enable-grid or --disable-grid was given.
4256 if test "${enable_grid+set}" = set; then
4257 enableval
="$enable_grid"
4259 if test "$enableval" = yes; then
4260 ac_cv_use_grid
='wxUSE_GRID=yes'
4262 ac_cv_use_grid
='wxUSE_GRID=no'
4267 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4268 if test "x$LINE" != x
; then
4269 eval "DEFAULT_$LINE"
4274 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4279 eval "$ac_cv_use_grid"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4284 if test "$wxUSE_GRID" = yes; then
4285 echo "$ac_t""yes" 1>&6
4287 echo "$ac_t""no" 1>&6
4291 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4292 echo "configure:4293: checking "for --enable-newgrid"" >&5
4294 # Check whether --enable-newgrid or --disable-newgrid was given.
4295 if test "${enable_newgrid+set}" = set; then
4296 enableval
="$enable_newgrid"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4301 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4306 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4318 eval "$ac_cv_use_newgrid"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_NEW_GRID" = yes; then
4324 echo "$ac_t""yes" 1>&6
4326 echo "$ac_t""no" 1>&6
4330 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4331 echo "configure:4332: checking "for --enable-imaglist"" >&5
4333 # Check whether --enable-imaglist or --disable-imaglist was given.
4334 if test "${enable_imaglist+set}" = set; then
4335 enableval
="$enable_imaglist"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4340 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4345 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4357 eval "$ac_cv_use_imaglist"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4362 if test "$wxUSE_IMAGLIST" = yes; then
4363 echo "$ac_t""yes" 1>&6
4365 echo "$ac_t""no" 1>&6
4369 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4370 echo "configure:4371: checking "for --enable-listbox"" >&5
4372 # Check whether --enable-listbox or --disable-listbox was given.
4373 if test "${enable_listbox+set}" = set; then
4374 enableval
="$enable_listbox"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4379 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4384 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4396 eval "$ac_cv_use_listbox"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_LISTBOX" = yes; then
4402 echo "$ac_t""yes" 1>&6
4404 echo "$ac_t""no" 1>&6
4408 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4409 echo "configure:4410: checking "for --enable-listctrl"" >&5
4411 # Check whether --enable-listctrl or --disable-listctrl was given.
4412 if test "${enable_listctrl+set}" = set; then
4413 enableval
="$enable_listctrl"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4418 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4423 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4435 eval "$ac_cv_use_listctrl"
4436 if test "$no_cache" != 1; then
4437 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4440 if test "$wxUSE_LISTCTRL" = yes; then
4441 echo "$ac_t""yes" 1>&6
4443 echo "$ac_t""no" 1>&6
4447 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4448 echo "configure:4449: checking "for --enable-notebook"" >&5
4450 # Check whether --enable-notebook or --disable-notebook was given.
4451 if test "${enable_notebook+set}" = set; then
4452 enableval
="$enable_notebook"
4454 if test "$enableval" = yes; then
4455 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4457 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4462 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x
; then
4464 eval "DEFAULT_$LINE"
4469 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4474 eval "$ac_cv_use_notebook"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_NOTEBOOK" = yes; then
4480 echo "$ac_t""yes" 1>&6
4482 echo "$ac_t""no" 1>&6
4486 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4487 echo "configure:4488: checking "for --enable-radiobox"" >&5
4489 # Check whether --enable-radiobox or --disable-radiobox was given.
4490 if test "${enable_radiobox+set}" = set; then
4491 enableval
="$enable_radiobox"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4496 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4501 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4513 eval "$ac_cv_use_radiobox"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_RADIOBOX" = yes; then
4519 echo "$ac_t""yes" 1>&6
4521 echo "$ac_t""no" 1>&6
4525 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4526 echo "configure:4527: checking "for --enable-radiobtn"" >&5
4528 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4529 if test "${enable_radiobtn+set}" = set; then
4530 enableval
="$enable_radiobtn"
4532 if test "$enableval" = yes; then
4533 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4535 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4540 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x
; then
4542 eval "DEFAULT_$LINE"
4547 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4552 eval "$ac_cv_use_radiobtn"
4553 if test "$no_cache" != 1; then
4554 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4557 if test "$wxUSE_RADIOBTN" = yes; then
4558 echo "$ac_t""yes" 1>&6
4560 echo "$ac_t""no" 1>&6
4564 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4565 echo "configure:4566: checking "for --enable-sash"" >&5
4567 # Check whether --enable-sash or --disable-sash was given.
4568 if test "${enable_sash+set}" = set; then
4569 enableval
="$enable_sash"
4571 if test "$enableval" = yes; then
4572 ac_cv_use_sash
='wxUSE_SASH=yes'
4574 ac_cv_use_sash
='wxUSE_SASH=no'
4579 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4580 if test "x$LINE" != x
; then
4581 eval "DEFAULT_$LINE"
4586 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4591 eval "$ac_cv_use_sash"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4596 if test "$wxUSE_SASH" = yes; then
4597 echo "$ac_t""yes" 1>&6
4599 echo "$ac_t""no" 1>&6
4603 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4604 echo "configure:4605: checking "for --enable-scrollbar"" >&5
4606 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4607 if test "${enable_scrollbar+set}" = set; then
4608 enableval
="$enable_scrollbar"
4610 if test "$enableval" = yes; then
4611 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4613 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4618 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x
; then
4620 eval "DEFAULT_$LINE"
4625 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4630 eval "$ac_cv_use_scrollbar"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4635 if test "$wxUSE_SCROLLBAR" = yes; then
4636 echo "$ac_t""yes" 1>&6
4638 echo "$ac_t""no" 1>&6
4642 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4643 echo "configure:4644: checking "for --enable-slider"" >&5
4645 # Check whether --enable-slider or --disable-slider was given.
4646 if test "${enable_slider+set}" = set; then
4647 enableval
="$enable_slider"
4649 if test "$enableval" = yes; then
4650 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4652 ac_cv_use_slider
='wxUSE_SLIDER=no'
4657 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x
; then
4659 eval "DEFAULT_$LINE"
4664 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4669 eval "$ac_cv_use_slider"
4670 if test "$no_cache" != 1; then
4671 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4674 if test "$wxUSE_SLIDER" = yes; then
4675 echo "$ac_t""yes" 1>&6
4677 echo "$ac_t""no" 1>&6
4681 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4682 echo "configure:4683: checking "for --enable-spinbtn"" >&5
4684 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4685 if test "${enable_spinbtn+set}" = set; then
4686 enableval
="$enable_spinbtn"
4688 if test "$enableval" = yes; then
4689 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4691 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4696 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x
; then
4698 eval "DEFAULT_$LINE"
4703 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4708 eval "$ac_cv_use_spinbtn"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4713 if test "$wxUSE_SPINBTN" = yes; then
4714 echo "$ac_t""yes" 1>&6
4716 echo "$ac_t""no" 1>&6
4720 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4721 echo "configure:4722: checking "for --enable-spinctrl"" >&5
4723 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4724 if test "${enable_spinctrl+set}" = set; then
4725 enableval
="$enable_spinctrl"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4730 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4735 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4747 eval "$ac_cv_use_spinctrl"
4748 if test "$no_cache" != 1; then
4749 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4752 if test "$wxUSE_SPINCTRL" = yes; then
4753 echo "$ac_t""yes" 1>&6
4755 echo "$ac_t""no" 1>&6
4759 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4760 echo "configure:4761: checking "for --enable-splitter"" >&5
4762 # Check whether --enable-splitter or --disable-splitter was given.
4763 if test "${enable_splitter+set}" = set; then
4764 enableval
="$enable_splitter"
4766 if test "$enableval" = yes; then
4767 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4769 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4774 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x
; then
4776 eval "DEFAULT_$LINE"
4781 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4786 eval "$ac_cv_use_splitter"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4791 if test "$wxUSE_SPLITTER" = yes; then
4792 echo "$ac_t""yes" 1>&6
4794 echo "$ac_t""no" 1>&6
4798 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4799 echo "configure:4800: checking "for --enable-statbmp"" >&5
4801 # Check whether --enable-statbmp or --disable-statbmp was given.
4802 if test "${enable_statbmp+set}" = set; then
4803 enableval
="$enable_statbmp"
4805 if test "$enableval" = yes; then
4806 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4808 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4813 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4814 if test "x$LINE" != x
; then
4815 eval "DEFAULT_$LINE"
4820 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4825 eval "$ac_cv_use_statbmp"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4830 if test "$wxUSE_STATBMP" = yes; then
4831 echo "$ac_t""yes" 1>&6
4833 echo "$ac_t""no" 1>&6
4837 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4838 echo "configure:4839: checking "for --enable-statbox"" >&5
4840 # Check whether --enable-statbox or --disable-statbox was given.
4841 if test "${enable_statbox+set}" = set; then
4842 enableval
="$enable_statbox"
4844 if test "$enableval" = yes; then
4845 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4847 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4852 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x
; then
4854 eval "DEFAULT_$LINE"
4859 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4864 eval "$ac_cv_use_statbox"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4869 if test "$wxUSE_STATBOX" = yes; then
4870 echo "$ac_t""yes" 1>&6
4872 echo "$ac_t""no" 1>&6
4876 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4877 echo "configure:4878: checking "for --enable-statline"" >&5
4879 # Check whether --enable-statline or --disable-statline was given.
4880 if test "${enable_statline+set}" = set; then
4881 enableval
="$enable_statline"
4883 if test "$enableval" = yes; then
4884 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4886 ac_cv_use_statline
='wxUSE_STATLINE=no'
4891 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4892 if test "x$LINE" != x
; then
4893 eval "DEFAULT_$LINE"
4898 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4903 eval "$ac_cv_use_statline"
4904 if test "$no_cache" != 1; then
4905 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4908 if test "$wxUSE_STATLINE" = yes; then
4909 echo "$ac_t""yes" 1>&6
4911 echo "$ac_t""no" 1>&6
4915 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4916 echo "configure:4917: checking "for --enable-statusbar"" >&5
4918 # Check whether --enable-statusbar or --disable-statusbar was given.
4919 if test "${enable_statusbar+set}" = set; then
4920 enableval
="$enable_statusbar"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4925 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4930 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x
; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4942 eval "$ac_cv_use_statusbar"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_STATUSBAR" = yes; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4954 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4955 echo "configure:4956: checking "for --enable-tabdialog"" >&5
4957 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4958 if test "${enable_tabdialog+set}" = set; then
4959 enableval
="$enable_tabdialog"
4961 if test "$enableval" = yes; then
4962 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4964 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4969 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x
; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4981 eval "$ac_cv_use_tabdialog"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_TABDIALOG" = yes; then
4987 echo "$ac_t""yes" 1>&6
4989 echo "$ac_t""no" 1>&6
4993 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4994 echo "configure:4995: checking "for --enable-toolbar"" >&5
4996 # Check whether --enable-toolbar or --disable-toolbar was given.
4997 if test "${enable_toolbar+set}" = set; then
4998 enableval
="$enable_toolbar"
5000 if test "$enableval" = yes; then
5001 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5003 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5008 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x
; then
5010 eval "DEFAULT_$LINE"
5015 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5020 eval "$ac_cv_use_toolbar"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5025 if test "$wxUSE_TOOLBAR" = yes; then
5026 echo "$ac_t""yes" 1>&6
5028 echo "$ac_t""no" 1>&6
5032 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5033 echo "configure:5034: checking "for --enable-tbarnative"" >&5
5035 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5036 if test "${enable_tbarnative+set}" = set; then
5037 enableval
="$enable_tbarnative"
5039 if test "$enableval" = yes; then
5040 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5042 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5047 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5048 if test "x$LINE" != x
; then
5049 eval "DEFAULT_$LINE"
5054 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5059 eval "$ac_cv_use_tbarnative"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5064 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5065 echo "$ac_t""yes" 1>&6
5067 echo "$ac_t""no" 1>&6
5071 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5072 echo "configure:5073: checking "for --enable-tbarsmpl"" >&5
5074 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5075 if test "${enable_tbarsmpl+set}" = set; then
5076 enableval
="$enable_tbarsmpl"
5078 if test "$enableval" = yes; then
5079 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5081 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5086 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5087 if test "x$LINE" != x
; then
5088 eval "DEFAULT_$LINE"
5093 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5098 eval "$ac_cv_use_tbarsmpl"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5103 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5104 echo "$ac_t""yes" 1>&6
5106 echo "$ac_t""no" 1>&6
5110 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5111 echo "configure:5112: checking "for --enable-treectrl"" >&5
5113 # Check whether --enable-treectrl or --disable-treectrl was given.
5114 if test "${enable_treectrl+set}" = set; then
5115 enableval
="$enable_treectrl"
5117 if test "$enableval" = yes; then
5118 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5120 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5125 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x
; then
5127 eval "DEFAULT_$LINE"
5132 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5137 eval "$ac_cv_use_treectrl"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5142 if test "$wxUSE_TREECTRL" = yes; then
5143 echo "$ac_t""yes" 1>&6
5145 echo "$ac_t""no" 1>&6
5151 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5152 echo "configure:5153: checking "for --enable-commondlg"" >&5
5154 # Check whether --enable-commondlg or --disable-commondlg was given.
5155 if test "${enable_commondlg+set}" = set; then
5156 enableval
="$enable_commondlg"
5158 if test "$enableval" = yes; then
5159 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5161 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5166 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x
; then
5168 eval "DEFAULT_$LINE"
5173 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5178 eval "$ac_cv_use_commondlg"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_COMMONDLGS" = yes; then
5184 echo "$ac_t""yes" 1>&6
5186 echo "$ac_t""no" 1>&6
5190 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5191 echo "configure:5192: checking "for --enable-dirdlg"" >&5
5193 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5194 if test "${enable_dirdlg+set}" = set; then
5195 enableval
="$enable_dirdlg"
5197 if test "$enableval" = yes; then
5198 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5200 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5205 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5206 if test "x$LINE" != x
; then
5207 eval "DEFAULT_$LINE"
5212 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5217 eval "$ac_cv_use_dirdlg"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5222 if test "$wxUSE_DIRDLG" = yes; then
5223 echo "$ac_t""yes" 1>&6
5225 echo "$ac_t""no" 1>&6
5229 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5230 echo "configure:5231: checking "for --enable-textdlg"" >&5
5232 # Check whether --enable-textdlg or --disable-textdlg was given.
5233 if test "${enable_textdlg+set}" = set; then
5234 enableval
="$enable_textdlg"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5239 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5244 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5256 eval "$ac_cv_use_textdlg"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_TEXTDLG" = yes; then
5262 echo "$ac_t""yes" 1>&6
5264 echo "$ac_t""no" 1>&6
5268 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5269 echo "configure:5270: checking "for --enable-tipdlg"" >&5
5271 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5272 if test "${enable_tipdlg+set}" = set; then
5273 enableval
="$enable_tipdlg"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5278 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5283 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x
; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5295 eval "$ac_cv_use_tipdlg"
5296 if test "$no_cache" != 1; then
5297 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5300 if test "$wxUSE_STARTUP_TIPS" = yes; then
5301 echo "$ac_t""yes" 1>&6
5303 echo "$ac_t""no" 1>&6
5307 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5308 echo "configure:5309: checking "for --enable-progressdlg"" >&5
5310 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5311 if test "${enable_progressdlg+set}" = set; then
5312 enableval
="$enable_progressdlg"
5314 if test "$enableval" = yes; then
5315 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5317 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5322 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x
; then
5324 eval "DEFAULT_$LINE"
5329 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5334 eval "$ac_cv_use_progressdlg"
5335 if test "$no_cache" != 1; then
5336 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5339 if test "$wxUSE_PROGRESSDLG" = yes; then
5340 echo "$ac_t""yes" 1>&6
5342 echo "$ac_t""no" 1>&6
5346 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5347 echo "configure:5348: checking "for --enable-miniframe"" >&5
5349 # Check whether --enable-miniframe or --disable-miniframe was given.
5350 if test "${enable_miniframe+set}" = set; then
5351 enableval
="$enable_miniframe"
5353 if test "$enableval" = yes; then
5354 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5356 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5361 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5362 if test "x$LINE" != x
; then
5363 eval "DEFAULT_$LINE"
5368 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5373 eval "$ac_cv_use_miniframe"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5378 if test "$wxUSE_MINIFRAME" = yes; then
5379 echo "$ac_t""yes" 1>&6
5381 echo "$ac_t""no" 1>&6
5385 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5386 echo "configure:5387: checking "for --enable-html"" >&5
5388 # Check whether --enable-html or --disable-html was given.
5389 if test "${enable_html+set}" = set; then
5390 enableval
="$enable_html"
5392 if test "$enableval" = yes; then
5393 ac_cv_use_html
='wxUSE_HTML=yes'
5395 ac_cv_use_html
='wxUSE_HTML=no'
5400 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5401 if test "x$LINE" != x
; then
5402 eval "DEFAULT_$LINE"
5407 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5412 eval "$ac_cv_use_html"
5413 if test "$no_cache" != 1; then
5414 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5417 if test "$wxUSE_HTML" = yes; then
5418 echo "$ac_t""yes" 1>&6
5420 echo "$ac_t""no" 1>&6
5424 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5425 echo "configure:5426: checking "for --enable-tooltips"" >&5
5427 # Check whether --enable-tooltips or --disable-tooltips was given.
5428 if test "${enable_tooltips+set}" = set; then
5429 enableval
="$enable_tooltips"
5431 if test "$enableval" = yes; then
5432 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5434 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5439 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x
; then
5441 eval "DEFAULT_$LINE"
5446 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5451 eval "$ac_cv_use_tooltips"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5456 if test "$wxUSE_TOOLTIPS" = yes; then
5457 echo "$ac_t""yes" 1>&6
5459 echo "$ac_t""no" 1>&6
5463 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5464 echo "configure:5465: checking "for --enable-splines"" >&5
5466 # Check whether --enable-splines or --disable-splines was given.
5467 if test "${enable_splines+set}" = set; then
5468 enableval
="$enable_splines"
5470 if test "$enableval" = yes; then
5471 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5473 ac_cv_use_splines
='wxUSE_SPLINES=no'
5478 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x
; then
5480 eval "DEFAULT_$LINE"
5485 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5490 eval "$ac_cv_use_splines"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5495 if test "$wxUSE_SPLINES" = yes; then
5496 echo "$ac_t""yes" 1>&6
5498 echo "$ac_t""no" 1>&6
5502 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5503 echo "configure:5504: checking "for --enable-validators"" >&5
5505 # Check whether --enable-validators or --disable-validators was given.
5506 if test "${enable_validators+set}" = set; then
5507 enableval
="$enable_validators"
5509 if test "$enableval" = yes; then
5510 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5512 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5517 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x
; then
5519 eval "DEFAULT_$LINE"
5524 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5529 eval "$ac_cv_use_validators"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5534 if test "$wxUSE_VALIDATORS" = yes; then
5535 echo "$ac_t""yes" 1>&6
5537 echo "$ac_t""no" 1>&6
5541 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5542 echo "configure:5543: checking "for --enable-busyinfo"" >&5
5544 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5545 if test "${enable_busyinfo+set}" = set; then
5546 enableval
="$enable_busyinfo"
5548 if test "$enableval" = yes; then
5549 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5551 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5556 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5557 if test "x$LINE" != x
; then
5558 eval "DEFAULT_$LINE"
5563 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5568 eval "$ac_cv_use_busyinfo"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_BUSYINFO" = yes; then
5574 echo "$ac_t""yes" 1>&6
5576 echo "$ac_t""no" 1>&6
5580 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5581 echo "configure:5582: checking "for --enable-plot"" >&5
5583 # Check whether --enable-plot or --disable-plot was given.
5584 if test "${enable_plot+set}" = set; then
5585 enableval
="$enable_plot"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_plot
='wxUSE_PLOT=yes'
5590 ac_cv_use_plot
='wxUSE_PLOT=no'
5595 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x
; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5607 eval "$ac_cv_use_plot"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_PLOT" = yes; then
5613 echo "$ac_t""yes" 1>&6
5615 echo "$ac_t""no" 1>&6
5621 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5622 echo "configure:5623: checking "for --enable-gif"" >&5
5624 # Check whether --enable-gif or --disable-gif was given.
5625 if test "${enable_gif+set}" = set; then
5626 enableval
="$enable_gif"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_gif
='wxUSE_GIF=yes'
5631 ac_cv_use_gif
='wxUSE_GIF=no'
5636 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x
; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5648 eval "$ac_cv_use_gif"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_GIF" = yes; then
5654 echo "$ac_t""yes" 1>&6
5656 echo "$ac_t""no" 1>&6
5660 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5661 echo "configure:5662: checking "for --enable-pcx"" >&5
5663 # Check whether --enable-pcx or --disable-pcx was given.
5664 if test "${enable_pcx+set}" = set; then
5665 enableval
="$enable_pcx"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_pcx
='wxUSE_PCX=yes'
5670 ac_cv_use_pcx
='wxUSE_PCX=no'
5675 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5687 eval "$ac_cv_use_pcx"
5688 if test "$no_cache" != 1; then
5689 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5692 if test "$wxUSE_PCX" = yes; then
5693 echo "$ac_t""yes" 1>&6
5695 echo "$ac_t""no" 1>&6
5699 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5700 echo "configure:5701: checking "for --enable-pnm"" >&5
5702 # Check whether --enable-pnm or --disable-pnm was given.
5703 if test "${enable_pnm+set}" = set; then
5704 enableval
="$enable_pnm"
5706 if test "$enableval" = yes; then
5707 ac_cv_use_pnm
='wxUSE_PNM=yes'
5709 ac_cv_use_pnm
='wxUSE_PNM=no'
5714 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5715 if test "x$LINE" != x
; then
5716 eval "DEFAULT_$LINE"
5721 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5726 eval "$ac_cv_use_pnm"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5731 if test "$wxUSE_PNM" = yes; then
5732 echo "$ac_t""yes" 1>&6
5734 echo "$ac_t""no" 1>&6
5741 echo "saving argument cache $wx_arg_cache_file"
5742 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5746 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5747 echo "configure:5748: checking for toolkit" >&5
5749 if test "$wxUSE_GUI" = "yes"; then
5751 if test "$USE_BEOS" = 1; then
5752 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5755 if test "$TOOLKIT_GIVEN" = 1; then
5756 for toolkit
in `echo $ALL_TOOLKITS`; do
5758 eval "value=\$${var}"
5759 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5762 for toolkit
in `echo $ALL_TOOLKITS`; do
5763 if test "$has_toolkit_in_cache" != 1; then
5764 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5766 var
=DEFAULT_wxUSE_
$toolkit
5768 eval "wxUSE_$toolkit=\$${var}"
5772 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5776 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5777 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5787 case "$NUM_TOOLKITS" in
5791 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5794 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5797 for toolkit
in `echo $ALL_TOOLKITS`; do
5799 eval "value=\$${var}"
5800 if test "x$value" != x
; then
5801 cache_var
=CACHE_
$toolkit
5802 eval "cache=\$${cache_var}"
5803 if test "$cache" = 1; then
5804 echo "$var=$value" >> ${wx_arg_cache_file}
5806 if test "$value" = 1; then
5807 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5814 echo "$ac_t""base only" 1>&6
5818 cat > confcache
<<\EOF
5819 # This file is a shell script that caches the results of configure
5820 # tests run on this system so they can be shared between configure
5821 # scripts and configure runs. It is not useful on other systems.
5822 # If it contains results you don't want to keep, you may remove or edit it.
5824 # By default, configure uses ./config.cache as the cache file,
5825 # creating it if it does not exist already. You can give configure
5826 # the --cache-file=FILE option to use a different cache file; that is
5827 # what configure does when it calls configure scripts in
5828 # subdirectories, so they share the cache.
5829 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5830 # config.status only pays attention to the cache file if you give it the
5831 # --recheck option to rerun configure.
5834 # The following way of writing the cache mishandles newlines in values,
5835 # but we know of no workaround that is simple, portable, and efficient.
5836 # So, don't put newlines in cache variables' values.
5837 # Ultrix sh set writes to stderr and can't be redirected directly,
5838 # and sets the high bit in the cache file unless we assign to the vars.
5840 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5842 # `set' does not quote correctly, so add quotes (double-quote substitution
5843 # turns \\\\ into \\, and sed turns \\ into \).
5845 -e "s/'/'\\\\''/g" \
5846 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5849 # `set' quotes correctly as required by POSIX, so do not add quotes.
5850 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5853 if cmp -s $cache_file confcache
; then
5856 if test -w $cache_file; then
5857 echo "updating cache $cache_file"
5858 cat confcache
> $cache_file
5860 echo "not updating unwritable cache $cache_file"
5866 if eval "test $host != $build"; then
5867 if eval "test $host_alias != NONE"; then
5871 RANLIB
=$host_alias-ranlib
5872 DLLTOOL
=$host_alias-dlltool
5875 STRIP
=$host_alias-strip
5879 # Extract the first word of "gcc", so it can be a program name with args.
5880 set dummy gcc
; ac_word
=$2
5881 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5882 echo "configure:5883: checking for $ac_word" >&5
5883 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5884 echo $ac_n "(cached) $ac_c" 1>&6
5886 if test -n "$CC"; then
5887 ac_cv_prog_CC
="$CC" # Let the user override the test.
5889 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5891 for ac_dir
in $ac_dummy; do
5892 test -z "$ac_dir" && ac_dir
=.
5893 if test -f $ac_dir/$ac_word; then
5902 if test -n "$CC"; then
5903 echo "$ac_t""$CC" 1>&6
5905 echo "$ac_t""no" 1>&6
5908 if test -z "$CC"; then
5909 # Extract the first word of "cc", so it can be a program name with args.
5910 set dummy cc
; ac_word
=$2
5911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5912 echo "configure:5913: checking for $ac_word" >&5
5913 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5914 echo $ac_n "(cached) $ac_c" 1>&6
5916 if test -n "$CC"; then
5917 ac_cv_prog_CC
="$CC" # Let the user override the test.
5919 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5922 for ac_dir
in $ac_dummy; do
5923 test -z "$ac_dir" && ac_dir
=.
5924 if test -f $ac_dir/$ac_word; then
5925 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5926 ac_prog_rejected
=yes
5934 if test $ac_prog_rejected = yes; then
5935 # We found a bogon in the path, so make sure we never use it.
5936 set dummy
$ac_cv_prog_CC
5938 if test $# -gt 0; then
5939 # We chose a different compiler from the bogus one.
5940 # However, it has the same basename, so the bogon will be chosen
5941 # first if we set CC to just the basename; use the full file name.
5943 set dummy
"$ac_dir/$ac_word" "$@"
5951 if test -n "$CC"; then
5952 echo "$ac_t""$CC" 1>&6
5954 echo "$ac_t""no" 1>&6
5957 if test -z "$CC"; then
5958 case "`uname -s`" in
5960 # Extract the first word of "cl", so it can be a program name with args.
5961 set dummy cl
; ac_word
=$2
5962 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5963 echo "configure:5964: checking for $ac_word" >&5
5964 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5965 echo $ac_n "(cached) $ac_c" 1>&6
5967 if test -n "$CC"; then
5968 ac_cv_prog_CC
="$CC" # Let the user override the test.
5970 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5972 for ac_dir
in $ac_dummy; do
5973 test -z "$ac_dir" && ac_dir
=.
5974 if test -f $ac_dir/$ac_word; then
5983 if test -n "$CC"; then
5984 echo "$ac_t""$CC" 1>&6
5986 echo "$ac_t""no" 1>&6
5991 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5994 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5995 echo "configure:5996: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5999 ac_cpp
='$CPP $CPPFLAGS'
6000 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6001 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6002 cross_compiling
=$ac_cv_prog_cc_cross
6004 cat > conftest.
$ac_ext << EOF
6006 #line 6007 "configure"
6007 #include "confdefs.h"
6011 if { (eval echo configure
:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6012 ac_cv_prog_cc_works
=yes
6013 # If we can't run a trivial program, we are probably using a cross compiler.
6014 if (.
/conftest
; exit) 2>/dev
/null
; then
6015 ac_cv_prog_cc_cross
=no
6017 ac_cv_prog_cc_cross
=yes
6020 echo "configure: failed program was:" >&5
6021 cat conftest.
$ac_ext >&5
6022 ac_cv_prog_cc_works
=no
6026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6027 ac_cpp
='$CPP $CPPFLAGS'
6028 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6029 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6030 cross_compiling
=$ac_cv_prog_cc_cross
6032 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6033 if test $ac_cv_prog_cc_works = no
; then
6034 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6036 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6037 echo "configure:6038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6038 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6039 cross_compiling
=$ac_cv_prog_cc_cross
6041 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6042 echo "configure:6043: checking whether we are using GNU C" >&5
6043 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6044 echo $ac_n "(cached) $ac_c" 1>&6
6046 cat > conftest.c
<<EOF
6051 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6058 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6060 if test $ac_cv_prog_gcc = yes; then
6066 ac_test_CFLAGS
="${CFLAGS+set}"
6067 ac_save_CFLAGS
="$CFLAGS"
6069 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6070 echo "configure:6071: checking whether ${CC-cc} accepts -g" >&5
6071 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6072 echo $ac_n "(cached) $ac_c" 1>&6
6074 echo 'void f(){}' > conftest.c
6075 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6084 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6085 if test "$ac_test_CFLAGS" = set; then
6086 CFLAGS
="$ac_save_CFLAGS"
6087 elif test $ac_cv_prog_cc_g = yes; then
6088 if test "$GCC" = yes; then
6094 if test "$GCC" = yes; then
6102 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6104 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6105 echo "configure:6106: checking how to run the C preprocessor" >&5
6106 # On Suns, sometimes $CPP names a directory.
6107 if test -n "$CPP" && test -d "$CPP"; then
6110 if test -z "$CPP"; then
6111 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6112 echo $ac_n "(cached) $ac_c" 1>&6
6114 # This must be in double quotes, not single quotes, because CPP may get
6115 # substituted into the Makefile and "${CC-cc}" will confuse make.
6117 # On the NeXT, cc -E runs the code through the compiler's parser,
6118 # not just through cpp.
6119 cat > conftest.
$ac_ext <<EOF
6120 #line 6121 "configure"
6121 #include "confdefs.h"
6125 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6126 { (eval echo configure
:6127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6127 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6128 if test -z "$ac_err"; then
6132 echo "configure: failed program was:" >&5
6133 cat conftest.
$ac_ext >&5
6135 CPP
="${CC-cc} -E -traditional-cpp"
6136 cat > conftest.
$ac_ext <<EOF
6137 #line 6138 "configure"
6138 #include "confdefs.h"
6142 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6143 { (eval echo configure
:6144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6144 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6145 if test -z "$ac_err"; then
6149 echo "configure: failed program was:" >&5
6150 cat conftest.
$ac_ext >&5
6152 CPP
="${CC-cc} -nologo -E"
6153 cat > conftest.
$ac_ext <<EOF
6154 #line 6155 "configure"
6155 #include "confdefs.h"
6159 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6160 { (eval echo configure
:6161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6161 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6162 if test -z "$ac_err"; then
6166 echo "configure: failed program was:" >&5
6167 cat conftest.
$ac_ext >&5
6176 ac_cv_prog_CPP
="$CPP"
6178 CPP
="$ac_cv_prog_CPP"
6180 ac_cv_prog_CPP
="$CPP"
6182 echo "$ac_t""$CPP" 1>&6
6185 if test $ac_cv_prog_gcc = yes; then
6186 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6187 echo "configure:6188: checking whether ${CC-cc} needs -traditional" >&5
6188 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6189 echo $ac_n "(cached) $ac_c" 1>&6
6191 ac_pattern
="Autoconf.*'x'"
6192 cat > conftest.
$ac_ext <<EOF
6193 #line 6194 "configure"
6194 #include "confdefs.h"
6198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6199 egrep "$ac_pattern" >/dev
/null
2>&1; then
6201 ac_cv_prog_gcc_traditional
=yes
6204 ac_cv_prog_gcc_traditional
=no
6209 if test $ac_cv_prog_gcc_traditional = no
; then
6210 cat > conftest.
$ac_ext <<EOF
6211 #line 6212 "configure"
6212 #include "confdefs.h"
6216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6217 egrep "$ac_pattern" >/dev
/null
2>&1; then
6219 ac_cv_prog_gcc_traditional
=yes
6226 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6227 if test $ac_cv_prog_gcc_traditional = yes; then
6228 CC
="$CC -traditional"
6235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6236 ac_cpp
='$CXXCPP $CPPFLAGS'
6237 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6238 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6239 cross_compiling
=$ac_cv_prog_cxx_cross
6242 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6244 # Extract the first word of "$ac_prog", so it can be a program name with args.
6245 set dummy
$ac_prog; ac_word
=$2
6246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6247 echo "configure:6248: checking for $ac_word" >&5
6248 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6249 echo $ac_n "(cached) $ac_c" 1>&6
6251 if test -n "$CXX"; then
6252 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6254 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6256 for ac_dir
in $ac_dummy; do
6257 test -z "$ac_dir" && ac_dir
=.
6258 if test -f $ac_dir/$ac_word; then
6259 ac_cv_prog_CXX
="$ac_prog"
6266 CXX
="$ac_cv_prog_CXX"
6267 if test -n "$CXX"; then
6268 echo "$ac_t""$CXX" 1>&6
6270 echo "$ac_t""no" 1>&6
6273 test -n "$CXX" && break
6275 test -n "$CXX" || CXX
="gcc"
6278 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6279 echo "configure:6280: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6283 ac_cpp
='$CXXCPP $CPPFLAGS'
6284 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6285 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6286 cross_compiling
=$ac_cv_prog_cxx_cross
6288 cat > conftest.
$ac_ext << EOF
6290 #line 6291 "configure"
6291 #include "confdefs.h"
6293 int main(){return(0);}
6295 if { (eval echo configure
:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6296 ac_cv_prog_cxx_works
=yes
6297 # If we can't run a trivial program, we are probably using a cross compiler.
6298 if (.
/conftest
; exit) 2>/dev
/null
; then
6299 ac_cv_prog_cxx_cross
=no
6301 ac_cv_prog_cxx_cross
=yes
6304 echo "configure: failed program was:" >&5
6305 cat conftest.
$ac_ext >&5
6306 ac_cv_prog_cxx_works
=no
6310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6311 ac_cpp
='$CXXCPP $CPPFLAGS'
6312 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6313 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6314 cross_compiling
=$ac_cv_prog_cxx_cross
6316 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6317 if test $ac_cv_prog_cxx_works = no
; then
6318 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6320 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6321 echo "configure:6322: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6322 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6323 cross_compiling
=$ac_cv_prog_cxx_cross
6325 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6326 echo "configure:6327: checking whether we are using GNU C++" >&5
6327 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6328 echo $ac_n "(cached) $ac_c" 1>&6
6330 cat > conftest.C
<<EOF
6335 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6342 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6344 if test $ac_cv_prog_gxx = yes; then
6350 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6351 ac_save_CXXFLAGS
="$CXXFLAGS"
6353 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6354 echo "configure:6355: checking whether ${CXX-g++} accepts -g" >&5
6355 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6356 echo $ac_n "(cached) $ac_c" 1>&6
6358 echo 'void f(){}' > conftest.cc
6359 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6360 ac_cv_prog_cxx_g
=yes
6368 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6369 if test "$ac_test_CXXFLAGS" = set; then
6370 CXXFLAGS
="$ac_save_CXXFLAGS"
6371 elif test $ac_cv_prog_cxx_g = yes; then
6372 if test "$GXX" = yes; then
6378 if test "$GXX" = yes; then
6386 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6387 echo "configure:6388: checking how to run the C++ preprocessor" >&5
6388 if test -z "$CXXCPP"; then
6389 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6390 echo $ac_n "(cached) $ac_c" 1>&6
6393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6394 ac_cpp
='$CXXCPP $CPPFLAGS'
6395 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6396 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6397 cross_compiling
=$ac_cv_prog_cxx_cross
6398 CXXCPP
="${CXX-g++} -E"
6399 cat > conftest.
$ac_ext <<EOF
6400 #line 6401 "configure"
6401 #include "confdefs.h"
6404 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6405 { (eval echo configure
:6406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6406 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6407 if test -z "$ac_err"; then
6411 echo "configure: failed program was:" >&5
6412 cat conftest.
$ac_ext >&5
6417 ac_cv_prog_CXXCPP
="$CXXCPP"
6419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6420 ac_cpp
='$CXXCPP $CPPFLAGS'
6421 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6422 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6423 cross_compiling
=$ac_cv_prog_cxx_cross
6426 CXXCPP
="$ac_cv_prog_CXXCPP"
6427 echo "$ac_t""$CXXCPP" 1>&6
6430 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6434 ac_cpp
='$CPP $CPPFLAGS'
6435 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6436 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6437 cross_compiling
=$ac_cv_prog_cc_cross
6440 # Extract the first word of "ranlib", so it can be a program name with args.
6441 set dummy ranlib
; ac_word
=$2
6442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6443 echo "configure:6444: checking for $ac_word" >&5
6444 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6445 echo $ac_n "(cached) $ac_c" 1>&6
6447 if test -n "$RANLIB"; then
6448 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6450 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6452 for ac_dir
in $ac_dummy; do
6453 test -z "$ac_dir" && ac_dir
=.
6454 if test -f $ac_dir/$ac_word; then
6455 ac_cv_prog_RANLIB
="ranlib"
6460 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6463 RANLIB
="$ac_cv_prog_RANLIB"
6464 if test -n "$RANLIB"; then
6465 echo "$ac_t""$RANLIB" 1>&6
6467 echo "$ac_t""no" 1>&6
6471 # Extract the first word of "ar", so it can be a program name with args.
6472 set dummy
ar; ac_word
=$2
6473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6474 echo "configure:6475: checking for $ac_word" >&5
6475 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6476 echo $ac_n "(cached) $ac_c" 1>&6
6478 if test -n "$AR"; then
6479 ac_cv_prog_AR
="$AR" # Let the user override the test.
6481 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6483 for ac_dir
in $ac_dummy; do
6484 test -z "$ac_dir" && ac_dir
=.
6485 if test -f $ac_dir/$ac_word; then
6491 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6495 if test -n "$AR"; then
6496 echo "$ac_t""$AR" 1>&6
6498 echo "$ac_t""no" 1>&6
6502 # Find a good install program. We prefer a C program (faster),
6503 # so one script is as good as another. But avoid the broken or
6504 # incompatible versions:
6505 # SysV /etc/install, /usr/sbin/install
6506 # SunOS /usr/etc/install
6507 # IRIX /sbin/install
6509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6512 # ./install, which can be erroneously created by make from ./install.sh.
6513 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6514 echo "configure:6515: checking for a BSD compatible install" >&5
6515 if test -z "$INSTALL"; then
6516 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6517 echo $ac_n "(cached) $ac_c" 1>&6
6519 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6520 for ac_dir
in $PATH; do
6521 # Account for people who put trailing slashes in PATH elements.
6523 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6525 # OSF1 and SCO ODT 3.0 have their own names for install.
6526 # Don't use installbsd from OSF since it installs stuff as root
6528 for ac_prog
in ginstall scoinst
install; do
6529 if test -f $ac_dir/$ac_prog; then
6530 if test $ac_prog = install &&
6531 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6532 # AIX install. It has an incompatible calling convention.
6535 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6546 if test "${ac_cv_path_install+set}" = set; then
6547 INSTALL
="$ac_cv_path_install"
6549 # As a last resort, use the slow shell script. We don't cache a
6550 # path for INSTALL within a source directory, because that will
6551 # break other packages using the cache if that directory is
6552 # removed, or if the path is relative.
6553 INSTALL
="$ac_install_sh"
6556 echo "$ac_t""$INSTALL" 1>&6
6558 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6559 # It thinks the first close brace ends the variable substitution.
6560 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6562 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6564 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6567 # Extract the first word of "strip", so it can be a program name with args.
6568 set dummy strip
; ac_word
=$2
6569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6570 echo "configure:6571: checking for $ac_word" >&5
6571 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6572 echo $ac_n "(cached) $ac_c" 1>&6
6574 if test -n "$STRIP"; then
6575 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6579 for ac_dir
in $ac_dummy; do
6580 test -z "$ac_dir" && ac_dir
=.
6581 if test -f $ac_dir/$ac_word; then
6582 ac_cv_prog_STRIP
="strip"
6587 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6590 STRIP
="$ac_cv_prog_STRIP"
6591 if test -n "$STRIP"; then
6592 echo "$ac_t""$STRIP" 1>&6
6594 echo "$ac_t""no" 1>&6
6598 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6599 echo "configure:6600: checking "make for VPATH support
"" >&5
6600 cat - << EOF > confMake
6606 if test ! -d sub
; then
6609 echo dummy
> sub
/file
6610 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6612 rm -f sub
/file check final_file confMake
6614 if test "$RESULT" = 0; then
6615 echo "$ac_t""yes" 1>&6
6617 echo "$ac_t""no" 1>&6
6618 { echo "configure: error: You need a make-utility that is able to use the variable
6620 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6623 for ac_prog
in 'bison -y' byacc
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy
$ac_prog; ac_word
=$2
6627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6628 echo "configure:6629: checking for $ac_word" >&5
6629 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6630 echo $ac_n "(cached) $ac_c" 1>&6
6632 if test -n "$YACC"; then
6633 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6635 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6637 for ac_dir
in $ac_dummy; do
6638 test -z "$ac_dir" && ac_dir
=.
6639 if test -f $ac_dir/$ac_word; then
6640 ac_cv_prog_YACC
="$ac_prog"
6647 YACC
="$ac_cv_prog_YACC"
6648 if test -n "$YACC"; then
6649 echo "$ac_t""$YACC" 1>&6
6651 echo "$ac_t""no" 1>&6
6654 test -n "$YACC" && break
6656 test -n "$YACC" || YACC
="yacc"
6659 # Extract the first word of "flex", so it can be a program name with args.
6660 set dummy flex
; ac_word
=$2
6661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6662 echo "configure:6663: checking for $ac_word" >&5
6663 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6664 echo $ac_n "(cached) $ac_c" 1>&6
6666 if test -n "$LEX"; then
6667 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6669 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6671 for ac_dir
in $ac_dummy; do
6672 test -z "$ac_dir" && ac_dir
=.
6673 if test -f $ac_dir/$ac_word; then
6674 ac_cv_prog_LEX
="flex"
6679 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6682 LEX
="$ac_cv_prog_LEX"
6683 if test -n "$LEX"; then
6684 echo "$ac_t""$LEX" 1>&6
6686 echo "$ac_t""no" 1>&6
6689 if test -z "$LEXLIB"
6695 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6696 echo "configure:6697: checking for yywrap in -l$ac_lib" >&5
6697 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6698 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6699 echo $ac_n "(cached) $ac_c" 1>&6
6701 ac_save_LIBS
="$LIBS"
6702 LIBS
="-l$ac_lib $LIBS"
6703 cat > conftest.
$ac_ext <<EOF
6704 #line 6705 "configure"
6705 #include "confdefs.h"
6706 /* Override any gcc2 internal prototype to avoid an error. */
6707 /* We use char because int might match the return type of a gcc2
6708 builtin and then its argument prototype would still apply. */
6715 if { (eval echo configure
:6716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6717 eval "ac_cv_lib_$ac_lib_var=yes"
6719 echo "configure: failed program was:" >&5
6720 cat conftest.
$ac_ext >&5
6722 eval "ac_cv_lib_$ac_lib_var=no"
6725 LIBS
="$ac_save_LIBS"
6728 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6729 echo "$ac_t""yes" 1>&6
6732 echo "$ac_t""no" 1>&6
6738 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6739 echo "configure:6740: checking whether ln -s works" >&5
6740 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6741 echo $ac_n "(cached) $ac_c" 1>&6
6744 if ln -s X conftestdata
2>/dev
/null
6747 ac_cv_prog_LN_S
="ln -s"
6752 LN_S
="$ac_cv_prog_LN_S"
6753 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6754 echo "$ac_t""yes" 1>&6
6756 echo "$ac_t""no" 1>&6
6762 /usr/local/include \
6764 /usr/Motif-1.2/include \
6765 /usr/Motif-2.1/include \
6767 /usr/include/Motif1.2 \
6768 /opt/xpm/include/X11 \
6769 /opt/GBxpm/include/ \
6770 /opt/GBxpm/X11/include/ \
6772 /usr/Motif1.2/include \
6774 /usr/openwin/include \
6778 /usr/X11R6/include \
6779 /usr/X11R6.4/include \
6780 /usr/X11R5/include \
6781 /usr/X11R4/include \
6783 /usr/include/X11R6 \
6784 /usr/include/X11R5 \
6785 /usr/include/X11R4 \
6787 /usr/local/X11R6/include \
6788 /usr/local/X11R5/include \
6789 /usr/local/X11R4/include \
6791 /usr/local/include/X11R6 \
6792 /usr/local/include/X11R5 \
6793 /usr/local/include/X11R4 \
6797 /usr/local/X11/include \
6798 /usr/local/include/X11 \
6802 /usr/XFree86/include/X11 \
6804 X:/XFree86/include \
6805 X:/XFree86/include/X11 \
6808 /usr/local/include/gtk \
6810 /usr/local/include/glib \
6813 /usr/local/include/qt \
6815 /usr/include/windows \
6817 /usr/local/include/wine \
6819 /usr/unsupported/include \
6820 /usr/athena/include \
6821 /usr/local/x11r5/include \
6822 /usr/lpp/Xamples/include \
6824 /usr/openwin/share/include \
6828 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6831 cat > confcache
<<\EOF
6832 # This file is a shell script that caches the results of configure
6833 # tests run on this system so they can be shared between configure
6834 # scripts and configure runs. It is not useful on other systems.
6835 # If it contains results you don't want to keep, you may remove or edit it.
6837 # By default, configure uses ./config.cache as the cache file,
6838 # creating it if it does not exist already. You can give configure
6839 # the --cache-file=FILE option to use a different cache file; that is
6840 # what configure does when it calls configure scripts in
6841 # subdirectories, so they share the cache.
6842 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6843 # config.status only pays attention to the cache file if you give it the
6844 # --recheck option to rerun configure.
6847 # The following way of writing the cache mishandles newlines in values,
6848 # but we know of no workaround that is simple, portable, and efficient.
6849 # So, don't put newlines in cache variables' values.
6850 # Ultrix sh set writes to stderr and can't be redirected directly,
6851 # and sets the high bit in the cache file unless we assign to the vars.
6853 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6855 # `set' does not quote correctly, so add quotes (double-quote substitution
6856 # turns \\\\ into \\, and sed turns \\ into \).
6858 -e "s/'/'\\\\''/g" \
6859 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6862 # `set' quotes correctly as required by POSIX, so do not add quotes.
6863 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6866 if cmp -s $cache_file confcache
; then
6869 if test -w $cache_file; then
6870 echo "updating cache $cache_file"
6871 cat confcache
> $cache_file
6873 echo "not updating unwritable cache $cache_file"
6882 if test "$wxUSE_GUI" = "yes"; then
6901 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6902 if test "$cross_compiling" = "yes" ; then
6903 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6905 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6906 echo "configure:6907: checking for Windows headers" >&5
6909 for ac_dir
in $SEARCH_INCLUDE;
6911 if test -f "$ac_dir/windows.h"; then
6912 ac_find_includes
=$ac_dir
6917 if test "$ac_find_includes" != "" ; then
6918 echo "$ac_t""found $ac_find_includes" 1>&6
6919 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6921 echo "$ac_t""no" 1>&6
6922 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6926 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6927 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6929 if test "$wxUSE_MINGW" = 1; then
6930 LDFLAGS
="$LDFLAGS -mwindows"
6935 GUIOBJS
="\$(MSW_GUIOBJS)"
6936 GUIHEADERS
="\$(MSW_HEADERS)"
6937 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6938 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6943 if test "$wxUSE_GTK" = 1; then
6945 if test x
$gtk_config_exec_prefix != x
; then
6946 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6947 if test x
${GTK_CONFIG+set} != xset
; then
6948 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6951 if test x
$gtk_config_prefix != x
; then
6952 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6953 if test x
${GTK_CONFIG+set} != xset
; then
6954 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6958 # Extract the first word of "gtk-config", so it can be a program name with args.
6959 set dummy gtk
-config; ac_word
=$2
6960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6961 echo "configure:6962: checking for $ac_word" >&5
6962 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6963 echo $ac_n "(cached) $ac_c" 1>&6
6965 case "$GTK_CONFIG" in
6967 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6970 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6973 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6975 for ac_dir
in $ac_dummy; do
6976 test -z "$ac_dir" && ac_dir
=.
6977 if test -f $ac_dir/$ac_word; then
6978 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6983 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6987 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6988 if test -n "$GTK_CONFIG"; then
6989 echo "$ac_t""$GTK_CONFIG" 1>&6
6991 echo "$ac_t""no" 1>&6
6994 min_gtk_version
=1.2.3
6995 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6996 echo "configure:6997: checking for GTK - version >= $min_gtk_version" >&5
6998 if test "$GTK_CONFIG" != "no" ; then
6999 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7000 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7001 ac_save_CFLAGS
="$CFLAGS"
7002 ac_save_LIBS
="$LIBS"
7003 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7004 LIBS
="$LIBS $GTK_LIBS"
7005 if test "$cross_compiling" = yes; then
7006 echo $ac_n "cross compiling; assumed OK... $ac_c"
7008 cat > conftest.
$ac_ext <<EOF
7009 #line 7010 "configure"
7010 #include "confdefs.h"
7012 #include <gtk/gtk.h>
7013 #include <gtk/gtkfeatures.h>
7019 int major, minor, micro;
7021 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7022 printf("%s, bad version string\n", "$min_gtk_version");
7026 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7027 (GTK_MINOR_VERSION != gtk_minor_version) ||
7028 (GTK_MICRO_VERSION != gtk_micro_version)) {
7029 printf("Headers vs. library version mismatch!\n");
7033 if (gtk_minor_version == 1) return FALSE;
7035 return !((gtk_major_version > major) ||
7036 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7037 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7041 if { (eval echo configure
:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7045 echo "configure: failed program was:" >&5
7046 cat conftest.
$ac_ext >&5
7053 CFLAGS
="$ac_save_CFLAGS"
7054 LIBS
="$ac_save_LIBS"
7058 if test "x$no_gtk" = x
; then
7059 echo "$ac_t""yes" 1>&6
7062 echo "$ac_t""no" 1>&6
7071 if test "$WXGTK12" != 1; then
7072 { echo "configure: error:
7073 Please check that gtk-config is in path, the directory
7074 where GTK+ libraries are installed (returned by
7075 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7076 equivalent variable and GTK+ is version 1.2.3 or above.
7081 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7084 GUI_TK_LIBRARY
="$GTK_LIBS"
7088 AFMINSTALL
=afminstall
7090 GUIOBJS
="\$(GTK_GUIOBJS)"
7091 GUIHEADERS
="\$(GTK_HEADERS)"
7092 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7093 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7094 GUIDEPS
="\$(GTK_GUIDEPS)"
7095 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7096 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7097 UNIXOBJS
="\$(UNIX_OBJS)"
7098 UNIXDEPS
="\$(UNIX_DEPS)"
7101 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7102 echo "configure:7103: checking for gdk_im_open in -lgdk" >&5
7103 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7104 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7105 echo $ac_n "(cached) $ac_c" 1>&6
7107 ac_save_LIBS
="$LIBS"
7109 cat > conftest.
$ac_ext <<EOF
7110 #line 7111 "configure"
7111 #include "confdefs.h"
7112 /* Override any gcc2 internal prototype to avoid an error. */
7113 /* We use char because int might match the return type of a gcc2
7114 builtin and then its argument prototype would still apply. */
7121 if { (eval echo configure
:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7123 eval "ac_cv_lib_$ac_lib_var=yes"
7125 echo "configure: failed program was:" >&5
7126 cat conftest.
$ac_ext >&5
7128 eval "ac_cv_lib_$ac_lib_var=no"
7131 LIBS
="$ac_save_LIBS"
7134 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7135 echo "$ac_t""yes" 1>&6
7136 cat >> confdefs.h
<<\EOF
7141 echo "$ac_t""no" 1>&6
7146 if test "$wxUSE_WINE" = 1; then
7147 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7148 echo "configure:7149: checking for WINE includes" >&5
7151 for ac_dir
in $SEARCH_INCLUDE;
7153 if test -f "$ac_dir/windows.h"; then
7154 ac_find_includes
=$ac_dir
7159 if test "$ac_find_includes" != "" ; then
7160 echo "$ac_t""found $ac_find_includes" 1>&6
7161 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7163 echo "$ac_t""no" 1>&6
7164 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7168 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7169 echo "configure:7170: checking for Xpm library" >&5
7172 for ac_dir
in $SEARCH_LIB;
7174 for ac_extension
in a so sl
; do
7175 if test -f "$ac_dir/libXpm.$ac_extension"; then
7176 ac_find_libraries
=$ac_dir
7182 if test "$ac_find_libraries" != "" ; then
7183 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7185 cat >> confdefs.h
<<\EOF
7186 #define wxHAVE_LIB_XPM 1
7189 echo "$ac_t""found at $ac_find_libraries" 1>&6
7191 echo "$ac_t""no" 1>&6
7192 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7196 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7197 echo "configure:7198: checking for Mesa library" >&5
7200 for ac_dir
in $SEARCH_LIB;
7202 for ac_extension
in a so sl
; do
7203 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7204 ac_find_libraries
=$ac_dir
7210 if test "$ac_find_libraries" != "" ; then
7211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7212 MESA_LINK
="-lMesaGL"
7213 echo "$ac_t""found at $ac_find_libraries" 1>&6
7215 { echo "configure: error: no" 1>&2; exit 1; }
7218 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7219 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7223 GUIHEADERS
="\$(MSW_HEADERS)"
7224 GUIOBJS
="\$(MSW_GUIOBJS)"
7225 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7226 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7227 GUIDEPS
="\$(MSW_GUIDEPS)"
7228 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7229 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7230 UNIXOBJS
="\$(UNIX_OBJS)"
7231 UNIXDEPS
="\$(UNIX_DEPS)"
7235 if test "$wxUSE_MOTIF" = 1; then
7236 # If we find X, set shell vars x_includes and x_libraries to the
7237 # paths, otherwise set no_x=yes.
7238 # Uses ac_ vars as temps to allow command line to override cache and checks.
7239 # --without-x overrides everything else, but does not touch the cache.
7240 echo $ac_n "checking for X""... $ac_c" 1>&6
7241 echo "configure:7242: checking for X" >&5
7243 # Check whether --with-x or --without-x was given.
7244 if test "${with_x+set}" = set; then
7249 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7250 if test "x$with_x" = xno
; then
7251 # The user explicitly disabled X.
7254 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7255 # Both variables are already set.
7258 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7259 echo $ac_n "(cached) $ac_c" 1>&6
7261 # One or both of the vars are not set, and there is no cached value.
7262 ac_x_includes
=NO ac_x_libraries
=NO
7264 if mkdir conftestdir
; then
7266 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7267 cat > Imakefile
<<'EOF'
7269 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7271 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7272 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7273 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7274 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7275 for ac_extension
in a so sl
; do
7276 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7277 test -f $ac_im_libdir/libX11.
$ac_extension; then
7278 ac_im_usrlibdir
=$ac_im_libdir; break
7281 # Screen out bogus values from the imake configuration. They are
7282 # bogus both because they are the default anyway, and because
7283 # using them would break gcc on systems where it needs fixed includes.
7284 case "$ac_im_incroot" in
7286 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7288 case "$ac_im_usrlibdir" in
7290 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7297 if test "$ac_x_includes" = NO
; then
7298 # Guess where to find include files, by looking for this one X11 .h file.
7299 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7301 # First, try using that file with no special directory specified.
7302 cat > conftest.
$ac_ext <<EOF
7303 #line 7304 "configure"
7304 #include "confdefs.h"
7305 #include <$x_direct_test_include>
7307 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7308 { (eval echo configure
:7309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7309 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7310 if test -z "$ac_err"; then
7312 # We can compile using X headers with no special include directory.
7316 echo "configure: failed program was:" >&5
7317 cat conftest.
$ac_ext >&5
7319 # Look for the header file in a standard set of common directories.
7320 # Check X11 before X11Rn because it is often a symlink to the current release.
7323 /usr
/X
11R
6/include \
7324 /usr
/X
11R
5/include \
7325 /usr
/X
11R
4/include \
7328 /usr
/include
/X11R6 \
7329 /usr
/include
/X11R5 \
7330 /usr
/include
/X11R4 \
7332 /usr
/local
/X
11/include \
7333 /usr
/local
/X
11R
6/include \
7334 /usr
/local
/X
11R
5/include \
7335 /usr
/local
/X
11R
4/include \
7337 /usr
/local
/include
/X11 \
7338 /usr
/local
/include
/X11R6 \
7339 /usr
/local
/include
/X11R5 \
7340 /usr
/local
/include
/X11R4 \
7344 /usr
/XFree
86/include
/X11 \
7347 /usr
/local
/include \
7348 /usr
/unsupported
/include \
7349 /usr
/athena
/include \
7350 /usr
/local
/x
11r
5/include \
7351 /usr
/lpp
/Xamples
/include \
7353 /usr
/openwin
/include \
7354 /usr
/openwin
/share
/include \
7357 if test -r "$ac_dir/$x_direct_test_include"; then
7358 ac_x_includes
=$ac_dir
7364 fi # $ac_x_includes = NO
7366 if test "$ac_x_libraries" = NO
; then
7367 # Check for the libraries.
7369 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7370 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7372 # See if we find them without any special options.
7373 # Don't add to $LIBS permanently.
7374 ac_save_LIBS
="$LIBS"
7375 LIBS
="-l$x_direct_test_library $LIBS"
7376 cat > conftest.
$ac_ext <<EOF
7377 #line 7378 "configure"
7378 #include "confdefs.h"
7381 ${x_direct_test_function}()
7384 if { (eval echo configure
:7385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7386 LIBS
="$ac_save_LIBS"
7387 # We can link X programs with no special library path.
7390 echo "configure: failed program was:" >&5
7391 cat conftest.
$ac_ext >&5
7393 LIBS
="$ac_save_LIBS"
7394 # First see if replacing the include by lib works.
7395 # Check X11 before X11Rn because it is often a symlink to the current release.
7396 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7407 /usr
/local
/X
11/lib \
7408 /usr
/local
/X
11R
6/lib \
7409 /usr
/local
/X
11R
5/lib \
7410 /usr
/local
/X
11R
4/lib \
7412 /usr
/local
/lib
/X11 \
7413 /usr
/local
/lib
/X11R6 \
7414 /usr
/local
/lib
/X11R5 \
7415 /usr
/local
/lib
/X11R4 \
7419 /usr
/XFree
86/lib
/X11 \
7423 /usr
/unsupported
/lib \
7425 /usr
/local
/x
11r
5/lib \
7426 /usr
/lpp
/Xamples
/lib \
7430 /usr
/openwin
/share
/lib \
7433 for ac_extension
in a so sl
; do
7434 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7435 ac_x_libraries
=$ac_dir
7442 fi # $ac_x_libraries = NO
7444 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7445 # Didn't find X anywhere. Cache the known absence of X.
7446 ac_cv_have_x
="have_x=no"
7448 # Record where we found X for the cache.
7449 ac_cv_have_x
="have_x=yes \
7450 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7454 eval "$ac_cv_have_x"
7457 if test "$have_x" != yes; then
7458 echo "$ac_t""$have_x" 1>&6
7461 # If each of the values was on the command line, it overrides each guess.
7462 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7463 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7464 # Update the cache value to reflect the command line values.
7465 ac_cv_have_x
="have_x=yes \
7466 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7467 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7470 if test "$no_x" = yes; then
7471 # Not all programs may use this symbol, but it does not hurt to define it.
7472 cat >> confdefs.h
<<\EOF
7473 #define X_DISPLAY_MISSING 1
7476 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7478 if test -n "$x_includes"; then
7479 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7482 # It would also be nice to do this for all -L options, not just this one.
7483 if test -n "$x_libraries"; then
7484 X_LIBS
="$X_LIBS -L$x_libraries"
7485 # For Solaris; some versions of Sun CC require a space after -R and
7486 # others require no space. Words are not sufficient . . . .
7487 case "`(uname -sr) 2>/dev/null`" in
7489 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7490 echo "configure:7491: checking whether -R must be followed by a space" >&5
7491 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7492 cat > conftest.
$ac_ext <<EOF
7493 #line 7494 "configure"
7494 #include "confdefs.h"
7500 if { (eval echo configure
:7501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7504 echo "configure: failed program was:" >&5
7505 cat conftest.
$ac_ext >&5
7510 if test $ac_R_nospace = yes; then
7511 echo "$ac_t""no" 1>&6
7512 X_LIBS
="$X_LIBS -R$x_libraries"
7514 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7515 cat > conftest.
$ac_ext <<EOF
7516 #line 7517 "configure"
7517 #include "confdefs.h"
7523 if { (eval echo configure
:7524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7527 echo "configure: failed program was:" >&5
7528 cat conftest.
$ac_ext >&5
7533 if test $ac_R_space = yes; then
7534 echo "$ac_t""yes" 1>&6
7535 X_LIBS
="$X_LIBS -R $x_libraries"
7537 echo "$ac_t""neither works" 1>&6
7540 LIBS
="$ac_xsave_LIBS"
7544 # Check for system-dependent libraries X programs must link with.
7545 # Do this before checking for the system-independent R6 libraries
7546 # (-lICE), since we may need -lsocket or whatever for X linking.
7548 if test "$ISC" = yes; then
7549 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7551 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7552 # libraries were built with DECnet support. And karl@cs.umb.edu says
7553 # the Alpha needs dnet_stub (dnet does not exist).
7554 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7555 echo "configure:7556: checking for dnet_ntoa in -ldnet" >&5
7556 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7557 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7558 echo $ac_n "(cached) $ac_c" 1>&6
7560 ac_save_LIBS
="$LIBS"
7562 cat > conftest.
$ac_ext <<EOF
7563 #line 7564 "configure"
7564 #include "confdefs.h"
7565 /* Override any gcc2 internal prototype to avoid an error. */
7566 /* We use char because int might match the return type of a gcc2
7567 builtin and then its argument prototype would still apply. */
7574 if { (eval echo configure
:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7576 eval "ac_cv_lib_$ac_lib_var=yes"
7578 echo "configure: failed program was:" >&5
7579 cat conftest.
$ac_ext >&5
7581 eval "ac_cv_lib_$ac_lib_var=no"
7584 LIBS
="$ac_save_LIBS"
7587 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7588 echo "$ac_t""yes" 1>&6
7589 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7591 echo "$ac_t""no" 1>&6
7594 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7595 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7596 echo "configure:7597: checking for dnet_ntoa in -ldnet_stub" >&5
7597 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7599 echo $ac_n "(cached) $ac_c" 1>&6
7601 ac_save_LIBS
="$LIBS"
7602 LIBS
="-ldnet_stub $LIBS"
7603 cat > conftest.
$ac_ext <<EOF
7604 #line 7605 "configure"
7605 #include "confdefs.h"
7606 /* Override any gcc2 internal prototype to avoid an error. */
7607 /* We use char because int might match the return type of a gcc2
7608 builtin and then its argument prototype would still apply. */
7615 if { (eval echo configure
:7616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7617 eval "ac_cv_lib_$ac_lib_var=yes"
7619 echo "configure: failed program was:" >&5
7620 cat conftest.
$ac_ext >&5
7622 eval "ac_cv_lib_$ac_lib_var=no"
7625 LIBS
="$ac_save_LIBS"
7628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7629 echo "$ac_t""yes" 1>&6
7630 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7632 echo "$ac_t""no" 1>&6
7637 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7638 # to get the SysV transport functions.
7639 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7641 # The nsl library prevents programs from opening the X display
7642 # on Irix 5.2, according to dickey@clark.net.
7643 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7644 echo "configure:7645: checking for gethostbyname" >&5
7645 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7646 echo $ac_n "(cached) $ac_c" 1>&6
7648 cat > conftest.
$ac_ext <<EOF
7649 #line 7650 "configure"
7650 #include "confdefs.h"
7651 /* System header to define __stub macros and hopefully few prototypes,
7652 which can conflict with char gethostbyname(); below. */
7654 /* Override any gcc2 internal prototype to avoid an error. */
7655 /* We use char because int might match the return type of a gcc2
7656 builtin and then its argument prototype would still apply. */
7657 char gethostbyname();
7661 /* The GNU C library defines this for functions which it implements
7662 to always fail with ENOSYS. Some functions are actually named
7663 something starting with __ and the normal name is an alias. */
7664 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7672 if { (eval echo configure
:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7674 eval "ac_cv_func_gethostbyname=yes"
7676 echo "configure: failed program was:" >&5
7677 cat conftest.
$ac_ext >&5
7679 eval "ac_cv_func_gethostbyname=no"
7684 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7685 echo "$ac_t""yes" 1>&6
7688 echo "$ac_t""no" 1>&6
7691 if test $ac_cv_func_gethostbyname = no
; then
7692 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7693 echo "configure:7694: checking for gethostbyname in -lnsl" >&5
7694 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7695 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7696 echo $ac_n "(cached) $ac_c" 1>&6
7698 ac_save_LIBS
="$LIBS"
7700 cat > conftest.
$ac_ext <<EOF
7701 #line 7702 "configure"
7702 #include "confdefs.h"
7703 /* Override any gcc2 internal prototype to avoid an error. */
7704 /* We use char because int might match the return type of a gcc2
7705 builtin and then its argument prototype would still apply. */
7706 char gethostbyname();
7712 if { (eval echo configure
:7713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7714 eval "ac_cv_lib_$ac_lib_var=yes"
7716 echo "configure: failed program was:" >&5
7717 cat conftest.
$ac_ext >&5
7719 eval "ac_cv_lib_$ac_lib_var=no"
7722 LIBS
="$ac_save_LIBS"
7725 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7726 echo "$ac_t""yes" 1>&6
7727 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7729 echo "$ac_t""no" 1>&6
7734 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7735 # socket/setsockopt and other routines are undefined under SCO ODT
7736 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7737 # on later versions), says simon@lia.di.epfl.ch: it contains
7738 # gethostby* variants that don't use the nameserver (or something).
7739 # -lsocket must be given before -lnsl if both are needed.
7740 # We assume that if connect needs -lnsl, so does gethostbyname.
7741 echo $ac_n "checking for connect""... $ac_c" 1>&6
7742 echo "configure:7743: checking for connect" >&5
7743 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7744 echo $ac_n "(cached) $ac_c" 1>&6
7746 cat > conftest.
$ac_ext <<EOF
7747 #line 7748 "configure"
7748 #include "confdefs.h"
7749 /* System header to define __stub macros and hopefully few prototypes,
7750 which can conflict with char connect(); below. */
7752 /* Override any gcc2 internal prototype to avoid an error. */
7753 /* We use char because int might match the return type of a gcc2
7754 builtin and then its argument prototype would still apply. */
7759 /* The GNU C library defines this for functions which it implements
7760 to always fail with ENOSYS. Some functions are actually named
7761 something starting with __ and the normal name is an alias. */
7762 #if defined (__stub_connect) || defined (__stub___connect)
7770 if { (eval echo configure
:7771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7772 eval "ac_cv_func_connect=yes"
7774 echo "configure: failed program was:" >&5
7775 cat conftest.
$ac_ext >&5
7777 eval "ac_cv_func_connect=no"
7782 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7783 echo "$ac_t""yes" 1>&6
7786 echo "$ac_t""no" 1>&6
7789 if test $ac_cv_func_connect = no
; then
7790 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7791 echo "configure:7792: checking for connect in -lsocket" >&5
7792 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7793 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7794 echo $ac_n "(cached) $ac_c" 1>&6
7796 ac_save_LIBS
="$LIBS"
7797 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7798 cat > conftest.
$ac_ext <<EOF
7799 #line 7800 "configure"
7800 #include "confdefs.h"
7801 /* Override any gcc2 internal prototype to avoid an error. */
7802 /* We use char because int might match the return type of a gcc2
7803 builtin and then its argument prototype would still apply. */
7810 if { (eval echo configure
:7811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7812 eval "ac_cv_lib_$ac_lib_var=yes"
7814 echo "configure: failed program was:" >&5
7815 cat conftest.
$ac_ext >&5
7817 eval "ac_cv_lib_$ac_lib_var=no"
7820 LIBS
="$ac_save_LIBS"
7823 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7824 echo "$ac_t""yes" 1>&6
7825 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7827 echo "$ac_t""no" 1>&6
7832 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7833 echo $ac_n "checking for remove""... $ac_c" 1>&6
7834 echo "configure:7835: checking for remove" >&5
7835 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7836 echo $ac_n "(cached) $ac_c" 1>&6
7838 cat > conftest.
$ac_ext <<EOF
7839 #line 7840 "configure"
7840 #include "confdefs.h"
7841 /* System header to define __stub macros and hopefully few prototypes,
7842 which can conflict with char remove(); below. */
7844 /* Override any gcc2 internal prototype to avoid an error. */
7845 /* We use char because int might match the return type of a gcc2
7846 builtin and then its argument prototype would still apply. */
7851 /* The GNU C library defines this for functions which it implements
7852 to always fail with ENOSYS. Some functions are actually named
7853 something starting with __ and the normal name is an alias. */
7854 #if defined (__stub_remove) || defined (__stub___remove)
7862 if { (eval echo configure
:7863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7864 eval "ac_cv_func_remove=yes"
7866 echo "configure: failed program was:" >&5
7867 cat conftest.
$ac_ext >&5
7869 eval "ac_cv_func_remove=no"
7874 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7875 echo "$ac_t""yes" 1>&6
7878 echo "$ac_t""no" 1>&6
7881 if test $ac_cv_func_remove = no
; then
7882 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7883 echo "configure:7884: checking for remove in -lposix" >&5
7884 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7886 echo $ac_n "(cached) $ac_c" 1>&6
7888 ac_save_LIBS
="$LIBS"
7889 LIBS
="-lposix $LIBS"
7890 cat > conftest.
$ac_ext <<EOF
7891 #line 7892 "configure"
7892 #include "confdefs.h"
7893 /* Override any gcc2 internal prototype to avoid an error. */
7894 /* We use char because int might match the return type of a gcc2
7895 builtin and then its argument prototype would still apply. */
7902 if { (eval echo configure
:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7904 eval "ac_cv_lib_$ac_lib_var=yes"
7906 echo "configure: failed program was:" >&5
7907 cat conftest.
$ac_ext >&5
7909 eval "ac_cv_lib_$ac_lib_var=no"
7912 LIBS
="$ac_save_LIBS"
7915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7916 echo "$ac_t""yes" 1>&6
7917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7919 echo "$ac_t""no" 1>&6
7924 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7925 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7926 echo "configure:7927: checking for shmat" >&5
7927 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7928 echo $ac_n "(cached) $ac_c" 1>&6
7930 cat > conftest.
$ac_ext <<EOF
7931 #line 7932 "configure"
7932 #include "confdefs.h"
7933 /* System header to define __stub macros and hopefully few prototypes,
7934 which can conflict with char shmat(); below. */
7936 /* Override any gcc2 internal prototype to avoid an error. */
7937 /* We use char because int might match the return type of a gcc2
7938 builtin and then its argument prototype would still apply. */
7943 /* The GNU C library defines this for functions which it implements
7944 to always fail with ENOSYS. Some functions are actually named
7945 something starting with __ and the normal name is an alias. */
7946 #if defined (__stub_shmat) || defined (__stub___shmat)
7954 if { (eval echo configure
:7955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7956 eval "ac_cv_func_shmat=yes"
7958 echo "configure: failed program was:" >&5
7959 cat conftest.
$ac_ext >&5
7961 eval "ac_cv_func_shmat=no"
7966 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7967 echo "$ac_t""yes" 1>&6
7970 echo "$ac_t""no" 1>&6
7973 if test $ac_cv_func_shmat = no
; then
7974 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7975 echo "configure:7976: checking for shmat in -lipc" >&5
7976 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7978 echo $ac_n "(cached) $ac_c" 1>&6
7980 ac_save_LIBS
="$LIBS"
7982 cat > conftest.
$ac_ext <<EOF
7983 #line 7984 "configure"
7984 #include "confdefs.h"
7985 /* Override any gcc2 internal prototype to avoid an error. */
7986 /* We use char because int might match the return type of a gcc2
7987 builtin and then its argument prototype would still apply. */
7994 if { (eval echo configure
:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7996 eval "ac_cv_lib_$ac_lib_var=yes"
7998 echo "configure: failed program was:" >&5
7999 cat conftest.
$ac_ext >&5
8001 eval "ac_cv_lib_$ac_lib_var=no"
8004 LIBS
="$ac_save_LIBS"
8007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8008 echo "$ac_t""yes" 1>&6
8009 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8011 echo "$ac_t""no" 1>&6
8017 # Check for libraries that X11R6 Xt/Xaw programs need.
8018 ac_save_LDFLAGS
="$LDFLAGS"
8019 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8020 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8021 # check for ICE first), but we must link in the order -lSM -lICE or
8022 # we get undefined symbols. So assume we have SM if we have ICE.
8023 # These have to be linked with before -lX11, unlike the other
8024 # libraries we check for below, so use a different variable.
8025 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8026 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8027 echo "configure:8028: checking for IceConnectionNumber in -lICE" >&5
8028 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8029 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8030 echo $ac_n "(cached) $ac_c" 1>&6
8032 ac_save_LIBS
="$LIBS"
8033 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8034 cat > conftest.
$ac_ext <<EOF
8035 #line 8036 "configure"
8036 #include "confdefs.h"
8037 /* Override any gcc2 internal prototype to avoid an error. */
8038 /* We use char because int might match the return type of a gcc2
8039 builtin and then its argument prototype would still apply. */
8040 char IceConnectionNumber();
8043 IceConnectionNumber()
8046 if { (eval echo configure
:8047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8048 eval "ac_cv_lib_$ac_lib_var=yes"
8050 echo "configure: failed program was:" >&5
8051 cat conftest.
$ac_ext >&5
8053 eval "ac_cv_lib_$ac_lib_var=no"
8056 LIBS
="$ac_save_LIBS"
8059 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8060 echo "$ac_t""yes" 1>&6
8061 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8063 echo "$ac_t""no" 1>&6
8066 LDFLAGS
="$ac_save_LDFLAGS"
8071 if test "$no_x" = "yes"; then
8072 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8075 GUI_TK_LIBRARY
="$X_LIBS"
8076 TOOLKIT_INCLUDE
="$X_CFLAGS"
8078 AFMINSTALL
=afminstall
8081 COMPILED_X_PROGRAM
=0
8083 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8084 echo "configure:8085: checking for Motif/Lesstif headers" >&5
8087 for ac_dir
in $SEARCH_INCLUDE;
8089 if test -f "$ac_dir/Xm/Xm.h"; then
8090 ac_find_includes
=$ac_dir
8095 if test "$ac_find_includes" != "" ; then
8096 echo "$ac_t""found $ac_find_includes" 1>&6
8098 cat > conftest.
$ac_ext <<EOF
8099 #line 8100 "configure"
8100 #include "confdefs.h"
8108 version = xmUseVersion;
8112 if { (eval echo configure
:8113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8115 echo "$ac_t""found in default search path" 1>&6
8116 COMPILED_X_PROGRAM
=1
8119 echo "configure: failed program was:" >&5
8120 cat conftest.
$ac_ext >&5
8123 echo "$ac_t""no" 1>&6
8124 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8131 if test "$COMPILED_X_PROGRAM" = 0; then
8132 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8133 echo "configure:8134: checking for Motif/Lesstif library" >&5
8136 for ac_dir
in $SEARCH_LIB;
8138 for ac_extension
in a so sl
; do
8139 if test -f "$ac_dir/libXm.$ac_extension"; then
8140 ac_find_libraries
=$ac_dir
8146 if test "$ac_find_libraries" != "" ; then
8148 ac_path_to_include
=$ac_find_includes
8149 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8151 if test $result = 0; then
8152 ac_path_to_include
=""
8154 ac_path_to_include
="-I$ac_find_includes"
8158 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8160 if test $result = 0; then
8163 ac_path_to_link
="-L$ac_find_libraries"
8167 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8168 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8169 echo "$ac_t""found at $ac_find_libraries" 1>&6
8171 cat > conftest.
$ac_ext <<EOF
8172 #line 8173 "configure"
8173 #include "confdefs.h"
8181 version = xmUseVersion;
8185 if { (eval echo configure
:8186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8188 echo "$ac_t""found in default search path" 1>&6
8189 COMPILED_X_PROGRAM
=1
8192 echo "configure: failed program was:" >&5
8193 cat conftest.
$ac_ext >&5
8196 echo "$ac_t""no" 1>&6
8197 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8207 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8208 echo "configure:8209: checking for Xpm library" >&5
8211 for ac_dir
in $SEARCH_LIB;
8213 for ac_extension
in a so sl
; do
8214 if test -f "$ac_dir/libXpm.$ac_extension"; then
8215 ac_find_libraries
=$ac_dir
8221 if test "$ac_find_libraries" != "" ; then
8223 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8225 if test $result = 0; then
8228 ac_path_to_link
="-L$ac_find_libraries"
8231 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8233 cat >> confdefs.h
<<\EOF
8234 #define wxHAVE_LIB_XPM 1
8237 echo "$ac_t""found at $ac_find_libraries" 1>&6
8239 cat > conftest.
$ac_ext <<EOF
8240 #line 8241 "configure"
8241 #include "confdefs.h"
8243 #include <X11/xpm.h>
8249 version = XpmLibraryVersion();
8253 if { (eval echo configure
:8254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8257 cat >> confdefs.h
<<\EOF
8258 #define wxHAVE_LIB_XPM 1
8261 echo "$ac_t""found in default search path" 1>&6
8262 COMPILED_X_PROGRAM
=0
8265 echo "configure: failed program was:" >&5
8266 cat conftest.
$ac_ext >&5
8269 echo "$ac_t""no" 1>&6
8270 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8277 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8278 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8281 GUIHEADERS
="\$(MOTIF_HEADERS)"
8282 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8283 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8284 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8285 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8286 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8287 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8288 UNIXOBJS
="\$(UNIX_OBJS)"
8289 UNIXDEPS
="\$(UNIX_DEPS)"
8293 if test "$wxUSE_PM" = 1; then
8296 GUIOBJS
="\$(PM_GUIOBJS)"
8297 GUIHEADERS
="\$(PM_HEADERS)"
8298 COMMONOBJS
="\$(PM_COMMONOBJS)"
8299 GENERICOBJS
="\$(PM_GENERICOBJS)"
8300 GUIDEPS
="\$(PM_GUIDEPS)"
8301 COMMONDEPS
="\$(PM_COMMONDEPS)"
8302 GENERICDEPS
="\$(PM_GENERICDEPS)"
8308 if test "$TOOLKIT" != "PM" ; then
8309 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8314 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8316 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8318 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS)"
8320 if test "$TOOLKIT" != "MSW"; then
8321 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8324 if test "$wxUSE_LIBJPEG" = "yes" ; then
8325 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8327 if test "$wxUSE_LIBTIFF" = "yes" ; then
8328 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8330 if test "$wxUSE_LIBPNG" = "yes" ; then
8331 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8333 if test "$wxUSE_ZLIB" = "yes" ; then
8334 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8336 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8338 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8339 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8340 RPM_SPEC
="wx\$(TOOLKIT).spec"
8342 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8343 DISTDIR
="wx\$(TOOLKIT)"
8348 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8349 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8353 PORT_FILES
="src/files.lst"
8354 RPM_FILES
="src/rpmfiles.lst"
8355 RPM_SPEC
="wxBase.spec"
8361 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8363 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8365 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8367 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8368 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8369 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8378 if test "$wxUSE_SHARED" = "yes"; then
8381 if test "$GCC" = yes ; then
8382 SHARED_LD
="${CC} -shared -fPIC -o"
8385 SHARED_LD
="${CXX} -b -o"
8388 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8389 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8393 SHARED_LD
="${CC} -shared -o"
8395 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8396 WX_ALL
="CREATE_LINKS"
8398 *-*-irix5* | *-*-irix6* )
8399 if test "$GCC" = yes ; then
8400 SHARED_LD
="${CC} -shared -o"
8403 SHARED_LD
="${CXX} -shared -o"
8405 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8406 WX_ALL
="CREATE_LINKS"
8409 if test "$GCC" = yes ; then
8410 SHARED_LD
="${CC} -shared -o"
8413 SHARED_LD
="${CXX} -G -o"
8416 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8417 WX_ALL
="CREATE_LINKS"
8420 SHARED_LD
="${CC} -shared -o"
8422 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8423 WX_ALL
="CREATE_LINKS"
8425 *-*-freebsd* | *-*-netbsd*)
8426 SHARED_LD
="${CC} -shared -o"
8428 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8429 WX_ALL
="CREATE_LINKS"
8432 SHARED_LD
="${CXX} -shared -o"
8434 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8435 WX_ALL
="CREATE_LINKS"
8438 SHARED_LD
="${CXX} -shared -o"
8440 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8441 WX_ALL
="CREATE_LINKS"
8444 SHARED_LD
="${CC} -shared -o"
8446 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8447 WX_ALL
="CREATE_LINKS"
8450 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8451 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8454 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8455 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8458 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8459 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8462 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8463 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8466 SHARED_LD
="${LD} -shared -o"
8468 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8469 WX_ALL
="CREATE_LINKS"
8472 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8475 if test "x$WX_TARGET_LIBRARY" = "x"; then
8476 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8479 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8480 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8484 for ac_hdr
in strings.h
8486 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8487 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8488 echo "configure:8489: checking for $ac_hdr" >&5
8489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8490 echo $ac_n "(cached) $ac_c" 1>&6
8492 cat > conftest.
$ac_ext <<EOF
8493 #line 8494 "configure"
8494 #include "confdefs.h"
8497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8498 { (eval echo configure
:8499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8500 if test -z "$ac_err"; then
8502 eval "ac_cv_header_$ac_safe=yes"
8505 echo "configure: failed program was:" >&5
8506 cat conftest.
$ac_ext >&5
8508 eval "ac_cv_header_$ac_safe=no"
8512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8513 echo "$ac_t""yes" 1>&6
8514 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8515 cat >> confdefs.h
<<EOF
8516 #define $ac_tr_hdr 1
8520 echo "$ac_t""no" 1>&6
8524 for ac_hdr
in unistd.h
8526 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8527 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8528 echo "configure:8529: checking for $ac_hdr" >&5
8529 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8530 echo $ac_n "(cached) $ac_c" 1>&6
8532 cat > conftest.
$ac_ext <<EOF
8533 #line 8534 "configure"
8534 #include "confdefs.h"
8537 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8538 { (eval echo configure
:8539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8539 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8540 if test -z "$ac_err"; then
8542 eval "ac_cv_header_$ac_safe=yes"
8545 echo "configure: failed program was:" >&5
8546 cat conftest.
$ac_ext >&5
8548 eval "ac_cv_header_$ac_safe=no"
8552 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8553 echo "$ac_t""yes" 1>&6
8554 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8555 cat >> confdefs.h
<<EOF
8556 #define $ac_tr_hdr 1
8560 echo "$ac_t""no" 1>&6
8564 for ac_hdr
in wchar.h
8566 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8567 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8568 echo "configure:8569: checking for $ac_hdr" >&5
8569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8570 echo $ac_n "(cached) $ac_c" 1>&6
8572 cat > conftest.
$ac_ext <<EOF
8573 #line 8574 "configure"
8574 #include "confdefs.h"
8577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8578 { (eval echo configure
:8579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8580 if test -z "$ac_err"; then
8582 eval "ac_cv_header_$ac_safe=yes"
8585 echo "configure: failed program was:" >&5
8586 cat conftest.
$ac_ext >&5
8588 eval "ac_cv_header_$ac_safe=no"
8592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8593 echo "$ac_t""yes" 1>&6
8594 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8595 cat >> confdefs.h
<<EOF
8596 #define $ac_tr_hdr 1
8600 echo "$ac_t""no" 1>&6
8604 for ac_hdr
in wcstr.h
8606 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8607 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8608 echo "configure:8609: checking for $ac_hdr" >&5
8609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
8617 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8618 { (eval echo configure
:8619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8619 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8620 if test -z "$ac_err"; then
8622 eval "ac_cv_header_$ac_safe=yes"
8625 echo "configure: failed program was:" >&5
8626 cat conftest.
$ac_ext >&5
8628 eval "ac_cv_header_$ac_safe=no"
8632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8633 echo "$ac_t""yes" 1>&6
8634 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8635 cat >> confdefs.h
<<EOF
8636 #define $ac_tr_hdr 1
8640 echo "$ac_t""no" 1>&6
8644 for ac_hdr
in fnmatch.h
8646 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8647 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8648 echo "configure:8649: checking for $ac_hdr" >&5
8649 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8650 echo $ac_n "(cached) $ac_c" 1>&6
8652 cat > conftest.
$ac_ext <<EOF
8653 #line 8654 "configure"
8654 #include "confdefs.h"
8657 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8658 { (eval echo configure
:8659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8659 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8660 if test -z "$ac_err"; then
8662 eval "ac_cv_header_$ac_safe=yes"
8665 echo "configure: failed program was:" >&5
8666 cat conftest.
$ac_ext >&5
8668 eval "ac_cv_header_$ac_safe=no"
8672 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8673 echo "$ac_t""yes" 1>&6
8674 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8675 cat >> confdefs.h
<<EOF
8676 #define $ac_tr_hdr 1
8680 echo "$ac_t""no" 1>&6
8685 if test "$wxUSE_GUI" = "yes"; then
8686 for ac_hdr
in X
11/XKBlib.h
8688 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8689 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8690 echo "configure:8691: checking for $ac_hdr" >&5
8691 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8692 echo $ac_n "(cached) $ac_c" 1>&6
8694 cat > conftest.
$ac_ext <<EOF
8695 #line 8696 "configure"
8696 #include "confdefs.h"
8699 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8700 { (eval echo configure
:8701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8701 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8702 if test -z "$ac_err"; then
8704 eval "ac_cv_header_$ac_safe=yes"
8707 echo "configure: failed program was:" >&5
8708 cat conftest.
$ac_ext >&5
8710 eval "ac_cv_header_$ac_safe=no"
8714 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8715 echo "$ac_t""yes" 1>&6
8716 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8717 cat >> confdefs.h
<<EOF
8718 #define $ac_tr_hdr 1
8722 echo "$ac_t""no" 1>&6
8729 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8730 echo "configure:8731: checking for ANSI C header files" >&5
8731 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8732 echo $ac_n "(cached) $ac_c" 1>&6
8734 cat > conftest.
$ac_ext <<EOF
8735 #line 8736 "configure"
8736 #include "confdefs.h"
8742 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8743 { (eval echo configure
:8744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8744 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8745 if test -z "$ac_err"; then
8747 ac_cv_header_stdc
=yes
8750 echo "configure: failed program was:" >&5
8751 cat conftest.
$ac_ext >&5
8753 ac_cv_header_stdc
=no
8757 if test $ac_cv_header_stdc = yes; then
8758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8759 cat > conftest.
$ac_ext <<EOF
8760 #line 8761 "configure"
8761 #include "confdefs.h"
8764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8765 egrep "memchr" >/dev
/null
2>&1; then
8769 ac_cv_header_stdc
=no
8775 if test $ac_cv_header_stdc = yes; then
8776 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8777 cat > conftest.
$ac_ext <<EOF
8778 #line 8779 "configure"
8779 #include "confdefs.h"
8782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8783 egrep "free" >/dev
/null
2>&1; then
8787 ac_cv_header_stdc
=no
8793 if test $ac_cv_header_stdc = yes; then
8794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8795 if test "$cross_compiling" = yes; then
8798 cat > conftest.
$ac_ext <<EOF
8799 #line 8800 "configure"
8800 #include "confdefs.h"
8802 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8803 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8805 int main () { int i; for (i = 0; i < 256; i++)
8806 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8810 if { (eval echo configure
:8811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8814 echo "configure: failed program was:" >&5
8815 cat conftest.
$ac_ext >&5
8817 ac_cv_header_stdc
=no
8825 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8826 if test $ac_cv_header_stdc = yes; then
8827 cat >> confdefs.h
<<\EOF
8828 #define STDC_HEADERS 1
8833 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8834 echo "configure:8835: checking for mode_t" >&5
8835 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8836 echo $ac_n "(cached) $ac_c" 1>&6
8838 cat > conftest.
$ac_ext <<EOF
8839 #line 8840 "configure"
8840 #include "confdefs.h"
8841 #include <sys/types.h>
8847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8848 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8850 ac_cv_type_mode_t
=yes
8853 ac_cv_type_mode_t
=no
8858 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8859 if test $ac_cv_type_mode_t = no
; then
8860 cat >> confdefs.h
<<\EOF
8866 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8867 echo "configure:8868: checking for off_t" >&5
8868 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8869 echo $ac_n "(cached) $ac_c" 1>&6
8871 cat > conftest.
$ac_ext <<EOF
8872 #line 8873 "configure"
8873 #include "confdefs.h"
8874 #include <sys/types.h>
8880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8881 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8883 ac_cv_type_off_t
=yes
8891 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8892 if test $ac_cv_type_off_t = no
; then
8893 cat >> confdefs.h
<<\EOF
8899 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8900 echo "configure:8901: checking for pid_t" >&5
8901 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8902 echo $ac_n "(cached) $ac_c" 1>&6
8904 cat > conftest.
$ac_ext <<EOF
8905 #line 8906 "configure"
8906 #include "confdefs.h"
8907 #include <sys/types.h>
8913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8914 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8916 ac_cv_type_pid_t
=yes
8924 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8925 if test $ac_cv_type_pid_t = no
; then
8926 cat >> confdefs.h
<<\EOF
8932 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8933 echo "configure:8934: checking for size_t" >&5
8934 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8935 echo $ac_n "(cached) $ac_c" 1>&6
8937 cat > conftest.
$ac_ext <<EOF
8938 #line 8939 "configure"
8939 #include "confdefs.h"
8940 #include <sys/types.h>
8946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8947 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8949 ac_cv_type_size_t
=yes
8952 ac_cv_type_size_t
=no
8957 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8958 if test $ac_cv_type_size_t = no
; then
8959 cat >> confdefs.h
<<\EOF
8960 #define size_t unsigned
8965 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8966 echo "configure:8967: checking for uid_t in sys/types.h" >&5
8967 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8968 echo $ac_n "(cached) $ac_c" 1>&6
8970 cat > conftest.
$ac_ext <<EOF
8971 #line 8972 "configure"
8972 #include "confdefs.h"
8973 #include <sys/types.h>
8975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8976 egrep "uid_t" >/dev
/null
2>&1; then
8978 ac_cv_type_uid_t
=yes
8987 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8988 if test $ac_cv_type_uid_t = no
; then
8989 cat >> confdefs.h
<<\EOF
8993 cat >> confdefs.h
<<\EOF
9001 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9002 echo "configure:9003: checking for pw_gecos in struct passwd" >&5
9003 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9004 echo $ac_n "(cached) $ac_c" 1>&6
9007 cat > conftest.
$ac_ext <<EOF
9008 #line 9009 "configure"
9009 #include "confdefs.h"
9019 if { (eval echo configure
:9020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9022 wx_cv_struct_pw_gecos
=yes
9023 cat >> confdefs.h
<<\EOF
9024 #define HAVE_PW_GECOS 1
9029 echo "configure: failed program was:" >&5
9030 cat conftest.
$ac_ext >&5
9033 wx_cv_struct_pw_gecos
=no
9042 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9045 echo $ac_n "checking for working const""... $ac_c" 1>&6
9046 echo "configure:9047: checking for working const" >&5
9047 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9048 echo $ac_n "(cached) $ac_c" 1>&6
9050 cat > conftest.
$ac_ext <<EOF
9051 #line 9052 "configure"
9052 #include "confdefs.h"
9056 /* Ultrix mips cc rejects this. */
9057 typedef int charset[2]; const charset x;
9058 /* SunOS 4.1.1 cc rejects this. */
9059 char const *const *ccp;
9061 /* NEC SVR4.0.2 mips cc rejects this. */
9062 struct point {int x, y;};
9063 static struct point const zero = {0,0};
9064 /* AIX XL C 1.02.0.0 rejects this.
9065 It does not let you subtract one const X* pointer from another in an arm
9066 of an if-expression whose if-part is not a constant expression */
9067 const char *g = "string";
9068 ccp = &g + (g ? g-g : 0);
9069 /* HPUX 7.0 cc rejects these. */
9072 ccp = (char const *const *) p;
9073 { /* SCO 3.2v4 cc rejects this. */
9075 char const *s = 0 ? (char *) 0 : (char const *) 0;
9079 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9081 const int *foo = &x[0];
9084 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9085 typedef const int *iptr;
9089 { /* AIX XL C 1.02.0.0 rejects this saying
9090 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9091 struct s { int j; const int *ap[3]; };
9092 struct s *b; b->j = 5;
9094 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9100 if { (eval echo configure
:9101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9104 echo "configure: failed program was:" >&5
9105 cat conftest.
$ac_ext >&5
9112 echo "$ac_t""$ac_cv_c_const" 1>&6
9113 if test $ac_cv_c_const = no
; then
9114 cat >> confdefs.h
<<\EOF
9120 echo $ac_n "checking for inline""... $ac_c" 1>&6
9121 echo "configure:9122: checking for inline" >&5
9122 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9123 echo $ac_n "(cached) $ac_c" 1>&6
9126 for ac_kw
in inline __inline__ __inline
; do
9127 cat > conftest.
$ac_ext <<EOF
9128 #line 9129 "configure"
9129 #include "confdefs.h"
9135 if { (eval echo configure
:9136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9137 ac_cv_c_inline
=$ac_kw; break
9139 echo "configure: failed program was:" >&5
9140 cat conftest.
$ac_ext >&5
9147 echo "$ac_t""$ac_cv_c_inline" 1>&6
9148 case "$ac_cv_c_inline" in
9150 no
) cat >> confdefs.h
<<\EOF
9154 *) cat >> confdefs.h
<<EOF
9155 #define inline $ac_cv_c_inline
9161 echo $ac_n "checking size of char""... $ac_c" 1>&6
9162 echo "configure:9163: checking size of char" >&5
9163 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9164 echo $ac_n "(cached) $ac_c" 1>&6
9166 if test "$cross_compiling" = yes; then
9169 cat > conftest.
$ac_ext <<EOF
9170 #line 9171 "configure"
9171 #include "confdefs.h"
9175 FILE *f=fopen("conftestval", "w");
9177 fprintf(f, "%d\n", sizeof(char));
9181 if { (eval echo configure
:9182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9183 ac_cv_sizeof_char
=`cat conftestval`
9185 echo "configure: failed program was:" >&5
9186 cat conftest.
$ac_ext >&5
9194 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9195 cat >> confdefs.h
<<EOF
9196 #define SIZEOF_CHAR $ac_cv_sizeof_char
9200 echo $ac_n "checking size of short""... $ac_c" 1>&6
9201 echo "configure:9202: checking size of short" >&5
9202 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9203 echo $ac_n "(cached) $ac_c" 1>&6
9205 if test "$cross_compiling" = yes; then
9206 ac_cv_sizeof_short
=2
9208 cat > conftest.
$ac_ext <<EOF
9209 #line 9210 "configure"
9210 #include "confdefs.h"
9214 FILE *f=fopen("conftestval", "w");
9216 fprintf(f, "%d\n", sizeof(short));
9220 if { (eval echo configure
:9221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9222 ac_cv_sizeof_short
=`cat conftestval`
9224 echo "configure: failed program was:" >&5
9225 cat conftest.
$ac_ext >&5
9227 ac_cv_sizeof_short
=0
9233 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9234 cat >> confdefs.h
<<EOF
9235 #define SIZEOF_SHORT $ac_cv_sizeof_short
9239 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9240 echo "configure:9241: checking size of int *" >&5
9241 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9242 echo $ac_n "(cached) $ac_c" 1>&6
9244 if test "$cross_compiling" = yes; then
9245 ac_cv_sizeof_int_p
=4
9247 cat > conftest.
$ac_ext <<EOF
9248 #line 9249 "configure"
9249 #include "confdefs.h"
9253 FILE *f=fopen("conftestval", "w");
9255 fprintf(f, "%d\n", sizeof(int *));
9259 if { (eval echo configure
:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9261 ac_cv_sizeof_int_p
=`cat conftestval`
9263 echo "configure: failed program was:" >&5
9264 cat conftest.
$ac_ext >&5
9266 ac_cv_sizeof_int_p
=0
9272 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9273 cat >> confdefs.h
<<EOF
9274 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9278 echo $ac_n "checking size of int""... $ac_c" 1>&6
9279 echo "configure:9280: checking size of int" >&5
9280 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9283 if test "$cross_compiling" = yes; then
9286 cat > conftest.
$ac_ext <<EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9292 FILE *f=fopen("conftestval", "w");
9294 fprintf(f, "%d\n", sizeof(int));
9298 if { (eval echo configure
:9299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9300 ac_cv_sizeof_int
=`cat conftestval`
9302 echo "configure: failed program was:" >&5
9303 cat conftest.
$ac_ext >&5
9311 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9312 cat >> confdefs.h
<<EOF
9313 #define SIZEOF_INT $ac_cv_sizeof_int
9317 echo $ac_n "checking size of long""... $ac_c" 1>&6
9318 echo "configure:9319: checking size of long" >&5
9319 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9320 echo $ac_n "(cached) $ac_c" 1>&6
9322 if test "$cross_compiling" = yes; then
9325 cat > conftest.
$ac_ext <<EOF
9326 #line 9327 "configure"
9327 #include "confdefs.h"
9331 FILE *f=fopen("conftestval", "w");
9333 fprintf(f, "%d\n", sizeof(long));
9337 if { (eval echo configure
:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9339 ac_cv_sizeof_long
=`cat conftestval`
9341 echo "configure: failed program was:" >&5
9342 cat conftest.
$ac_ext >&5
9350 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9351 cat >> confdefs.h
<<EOF
9352 #define SIZEOF_LONG $ac_cv_sizeof_long
9356 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9357 echo "configure:9358: checking size of long long" >&5
9358 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9359 echo $ac_n "(cached) $ac_c" 1>&6
9361 if test "$cross_compiling" = yes; then
9362 ac_cv_sizeof_long_long
=0
9364 cat > conftest.
$ac_ext <<EOF
9365 #line 9366 "configure"
9366 #include "confdefs.h"
9370 FILE *f=fopen("conftestval", "w");
9372 fprintf(f, "%d\n", sizeof(long long));
9376 if { (eval echo configure
:9377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9378 ac_cv_sizeof_long_long
=`cat conftestval`
9380 echo "configure: failed program was:" >&5
9381 cat conftest.
$ac_ext >&5
9383 ac_cv_sizeof_long_long
=0
9389 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9390 cat >> confdefs.h
<<EOF
9391 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9396 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9397 echo "configure:9398: checking whether byte ordering is bigendian" >&5
9398 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9399 echo $ac_n "(cached) $ac_c" 1>&6
9401 ac_cv_c_bigendian
=unknown
9402 # See if sys/param.h defines the BYTE_ORDER macro.
9403 cat > conftest.
$ac_ext <<EOF
9404 #line 9405 "configure"
9405 #include "confdefs.h"
9406 #include <sys/types.h>
9407 #include <sys/param.h>
9410 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9415 if { (eval echo configure
:9416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9417 # It does; now see whether it defined to BIG_ENDIAN or not.
9418 cat > conftest.
$ac_ext <<EOF
9419 #line 9420 "configure"
9420 #include "confdefs.h"
9421 #include <sys/types.h>
9422 #include <sys/param.h>
9425 #if BYTE_ORDER != BIG_ENDIAN
9430 if { (eval echo configure
:9431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9432 ac_cv_c_bigendian
=yes
9434 echo "configure: failed program was:" >&5
9435 cat conftest.
$ac_ext >&5
9437 ac_cv_c_bigendian
=no
9441 echo "configure: failed program was:" >&5
9442 cat conftest.
$ac_ext >&5
9445 if test $ac_cv_c_bigendian = unknown
; then
9446 if test "$cross_compiling" = yes; then
9447 ac_cv_c_bigendian
=unknown
9449 cat > conftest.
$ac_ext <<EOF
9450 #line 9451 "configure"
9451 #include "confdefs.h"
9453 /* Are we little or big endian? From Harbison&Steele. */
9457 char c[sizeof (long)];
9460 exit (u.c[sizeof (long) - 1] == 1);
9463 if { (eval echo configure
:9464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9465 ac_cv_c_bigendian
=no
9467 echo "configure: failed program was:" >&5
9468 cat conftest.
$ac_ext >&5
9470 ac_cv_c_bigendian
=yes
9478 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9479 if test $ac_cv_c_bigendian = unknown
; then
9480 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
9482 if test $ac_cv_c_bigendian = yes; then
9483 cat >> confdefs.h
<<\EOF
9484 #define WORDS_BIGENDIAN 1
9491 if test "$cross_compiling" = "yes"; then
9492 cat >> confdefs.h
<<\EOF
9493 #define wxUSE_IOSTREAMH 1
9499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9500 ac_cpp
='$CXXCPP $CPPFLAGS'
9501 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9502 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9503 cross_compiling
=$ac_cv_prog_cxx_cross
9506 for ac_hdr
in iostream
9508 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9509 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9510 echo "configure:9511: checking for $ac_hdr" >&5
9511 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9512 echo $ac_n "(cached) $ac_c" 1>&6
9514 cat > conftest.
$ac_ext <<EOF
9515 #line 9516 "configure"
9516 #include "confdefs.h"
9519 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9520 { (eval echo configure
:9521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9521 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9522 if test -z "$ac_err"; then
9524 eval "ac_cv_header_$ac_safe=yes"
9527 echo "configure: failed program was:" >&5
9528 cat conftest.
$ac_ext >&5
9530 eval "ac_cv_header_$ac_safe=no"
9534 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9535 echo "$ac_t""yes" 1>&6
9536 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9537 cat >> confdefs.h
<<EOF
9538 #define $ac_tr_hdr 1
9542 echo "$ac_t""no" 1>&6
9547 if test "x$HAVE_IOSTREAM" = x
; then
9548 cat >> confdefs.h
<<\EOF
9549 #define wxUSE_IOSTREAMH 1
9557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9558 ac_cpp
='$CPP $CPPFLAGS'
9559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9561 cross_compiling
=$ac_cv_prog_cc_cross
9567 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9568 echo "configure:9569: checking if C++ compiler supports bool" >&5
9569 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9570 echo $ac_n "(cached) $ac_c" 1>&6
9575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9576 ac_cpp
='$CXXCPP $CPPFLAGS'
9577 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9578 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9579 cross_compiling
=$ac_cv_prog_cxx_cross
9582 cat > conftest.
$ac_ext <<EOF
9583 #line 9584 "configure"
9584 #include "confdefs.h"
9595 if { (eval echo configure
:9596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9598 cat >> confdefs.h
<<\EOF
9605 echo "configure: failed program was:" >&5
9606 cat conftest.
$ac_ext >&5
9616 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9617 ac_cpp
='$CPP $CPPFLAGS'
9618 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9619 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9620 cross_compiling
=$ac_cv_prog_cc_cross
9625 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9627 if test "$wx_cv_cpp_bool" = "yes"; then
9628 cat >> confdefs.h
<<\EOF
9636 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9637 echo "configure:9638: checking if you need GNU extensions" >&5
9638 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9642 cat > conftest.
$ac_ext <<EOF
9643 #line 9644 "configure"
9644 #include "confdefs.h"
9645 #include <features.h>
9649 #ifndef __GNU_LIBRARY__
9650 Compile error wanted
9656 if { (eval echo configure
:9657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9658 wx_cv_gnu_extensions
=yes
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 wx_cv_gnu_extensions
=no
9670 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9671 if test "$wx_cv_gnu_extensions" = "yes"; then
9672 cat >> confdefs.h
<<EOF
9673 #define _GNU_SOURCE 1
9680 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9681 echo "configure:9682: checking for wcslen in -lc" >&5
9682 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9686 ac_save_LIBS
="$LIBS"
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* Override any gcc2 internal prototype to avoid an error. */
9692 /* We use char because int might match the return type of a gcc2
9693 builtin and then its argument prototype would still apply. */
9700 if { (eval echo configure
:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9702 eval "ac_cv_lib_$ac_lib_var=yes"
9704 echo "configure: failed program was:" >&5
9705 cat conftest.
$ac_ext >&5
9707 eval "ac_cv_lib_$ac_lib_var=no"
9710 LIBS
="$ac_save_LIBS"
9713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9714 echo "$ac_t""yes" 1>&6
9716 cat >> confdefs.h
<<\EOF
9717 #define HAVE_WCSLEN 1
9723 echo "$ac_t""no" 1>&6
9725 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9726 echo "configure:9727: checking for wcslen in -lw" >&5
9727 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9729 echo $ac_n "(cached) $ac_c" 1>&6
9731 ac_save_LIBS
="$LIBS"
9733 cat > conftest.
$ac_ext <<EOF
9734 #line 9735 "configure"
9735 #include "confdefs.h"
9736 /* Override any gcc2 internal prototype to avoid an error. */
9737 /* We use char because int might match the return type of a gcc2
9738 builtin and then its argument prototype would still apply. */
9745 if { (eval echo configure
:9746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9747 eval "ac_cv_lib_$ac_lib_var=yes"
9749 echo "configure: failed program was:" >&5
9750 cat conftest.
$ac_ext >&5
9752 eval "ac_cv_lib_$ac_lib_var=no"
9755 LIBS
="$ac_save_LIBS"
9758 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9759 echo "$ac_t""yes" 1>&6
9761 cat >> confdefs.h
<<\EOF
9762 #define HAVE_WCSLEN 1
9768 echo "$ac_t""no" 1>&6
9775 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9776 echo "configure:9777: checking for vprintf" >&5
9777 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9780 cat > conftest.
$ac_ext <<EOF
9781 #line 9782 "configure"
9782 #include "confdefs.h"
9783 /* System header to define __stub macros and hopefully few prototypes,
9784 which can conflict with char vprintf(); below. */
9786 /* Override any gcc2 internal prototype to avoid an error. */
9787 /* We use char because int might match the return type of a gcc2
9788 builtin and then its argument prototype would still apply. */
9793 /* The GNU C library defines this for functions which it implements
9794 to always fail with ENOSYS. Some functions are actually named
9795 something starting with __ and the normal name is an alias. */
9796 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9804 if { (eval echo configure
:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9806 eval "ac_cv_func_vprintf=yes"
9808 echo "configure: failed program was:" >&5
9809 cat conftest.
$ac_ext >&5
9811 eval "ac_cv_func_vprintf=no"
9816 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9817 echo "$ac_t""yes" 1>&6
9818 cat >> confdefs.h
<<\EOF
9819 #define HAVE_VPRINTF 1
9823 echo "$ac_t""no" 1>&6
9826 if test "$ac_cv_func_vprintf" != yes; then
9827 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9828 echo "configure:9829: checking for _doprnt" >&5
9829 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 cat > conftest.
$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char _doprnt(); below. */
9838 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9845 /* The GNU C library defines this for functions which it implements
9846 to always fail with ENOSYS. Some functions are actually named
9847 something starting with __ and the normal name is an alias. */
9848 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9856 if { (eval echo configure
:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9858 eval "ac_cv_func__doprnt=yes"
9860 echo "configure: failed program was:" >&5
9861 cat conftest.
$ac_ext >&5
9863 eval "ac_cv_func__doprnt=no"
9868 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6
9870 cat >> confdefs.h
<<\EOF
9871 #define HAVE_DOPRNT 1
9875 echo "$ac_t""no" 1>&6
9881 for ac_func
in vsnprintf
9883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9884 echo "configure:9885: checking for $ac_func" >&5
9885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9886 echo $ac_n "(cached) $ac_c" 1>&6
9888 cat > conftest.
$ac_ext <<EOF
9889 #line 9890 "configure"
9890 #include "confdefs.h"
9891 /* System header to define __stub macros and hopefully few prototypes,
9892 which can conflict with char $ac_func(); below. */
9894 /* Override any gcc2 internal prototype to avoid an error. */
9895 /* We use char because int might match the return type of a gcc2
9896 builtin and then its argument prototype would still apply. */
9901 /* The GNU C library defines this for functions which it implements
9902 to always fail with ENOSYS. Some functions are actually named
9903 something starting with __ and the normal name is an alias. */
9904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9912 if { (eval echo configure
:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9914 eval "ac_cv_func_$ac_func=yes"
9916 echo "configure: failed program was:" >&5
9917 cat conftest.
$ac_ext >&5
9919 eval "ac_cv_func_$ac_func=no"
9924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9925 echo "$ac_t""yes" 1>&6
9926 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9927 cat >> confdefs.h
<<EOF
9928 #define $ac_tr_func 1
9930 cat >> confdefs.h
<<\EOF
9931 #define HAVE_VSNPRINTF 1
9935 echo "$ac_t""no" 1>&6
9936 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9944 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9945 ac_cpp
='$CXXCPP $CPPFLAGS'
9946 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9947 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9948 cross_compiling
=$ac_cv_prog_cxx_cross
9951 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9952 echo "configure:9953: checking for vsscanf" >&5
9953 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9954 echo $ac_n "(cached) $ac_c" 1>&6
9957 if test "$cross_compiling" = yes; then
9958 wx_cv_func_vsscanf
=no
9961 cat > conftest.
$ac_ext <<EOF
9962 #line 9963 "configure"
9963 #include "confdefs.h"
9965 extern "C" void exit(int);
9971 int try_vsscanf(const char *format, ...)
9974 va_start(ap, format);
9976 vsscanf("17", format, ap);
9984 try_vsscanf("%d", &i);
9985 return i == 17 ? 0 : 1;
9989 if { (eval echo configure
:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9992 cat >> confdefs.h
<<\EOF
9993 #define HAVE_VSSCANF 1
9996 wx_cv_func_vsscanf
=yes
9999 echo "configure: failed program was:" >&5
10000 cat conftest.
$ac_ext >&5
10002 wx_cv_func_vsscanf
=no
10010 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10013 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10014 ac_cpp
='$CPP $CPPFLAGS'
10015 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10016 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10017 cross_compiling
=$ac_cv_prog_cc_cross
10020 if test "$TOOLKIT" != "MSW"; then
10022 for ac_func
in vfork
10024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10025 echo "configure:10026: checking for $ac_func" >&5
10026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10027 echo $ac_n "(cached) $ac_c" 1>&6
10029 cat > conftest.
$ac_ext <<EOF
10030 #line 10031 "configure"
10031 #include "confdefs.h"
10032 /* System header to define __stub macros and hopefully few prototypes,
10033 which can conflict with char $ac_func(); below. */
10034 #include <assert.h>
10035 /* Override any gcc2 internal prototype to avoid an error. */
10036 /* We use char because int might match the return type of a gcc2
10037 builtin and then its argument prototype would still apply. */
10042 /* The GNU C library defines this for functions which it implements
10043 to always fail with ENOSYS. Some functions are actually named
10044 something starting with __ and the normal name is an alias. */
10045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10053 if { (eval echo configure
:10054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10055 eval "ac_cv_func_$ac_func=yes"
10057 echo "configure: failed program was:" >&5
10058 cat conftest.
$ac_ext >&5
10060 eval "ac_cv_func_$ac_func=no"
10065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10066 echo "$ac_t""yes" 1>&6
10067 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10068 cat >> confdefs.h
<<EOF
10069 #define $ac_tr_func 1
10073 echo "$ac_t""no" 1>&6
10078 for ac_func
in timegm
10080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10081 echo "configure:10082: checking for $ac_func" >&5
10082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10083 echo $ac_n "(cached) $ac_c" 1>&6
10085 cat > conftest.
$ac_ext <<EOF
10086 #line 10087 "configure"
10087 #include "confdefs.h"
10088 /* System header to define __stub macros and hopefully few prototypes,
10089 which can conflict with char $ac_func(); below. */
10090 #include <assert.h>
10091 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10098 /* The GNU C library defines this for functions which it implements
10099 to always fail with ENOSYS. Some functions are actually named
10100 something starting with __ and the normal name is an alias. */
10101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10109 if { (eval echo configure
:10110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10111 eval "ac_cv_func_$ac_func=yes"
10113 echo "configure: failed program was:" >&5
10114 cat conftest.
$ac_ext >&5
10116 eval "ac_cv_func_$ac_func=no"
10121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10122 echo "$ac_t""yes" 1>&6
10123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10124 cat >> confdefs.h
<<EOF
10125 #define $ac_tr_func 1
10129 echo "$ac_t""no" 1>&6
10134 HAVE_SOME_SLEEP_FUNC
=0
10135 if test "$USE_BEOS" = 1; then
10136 cat >> confdefs.h
<<\EOF
10137 #define HAVE_SLEEP 1
10140 HAVE_SOME_SLEEP_FUNC
=1
10143 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10145 for ac_func
in nanosleep
10147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10148 echo "configure:10149: checking for $ac_func" >&5
10149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10150 echo $ac_n "(cached) $ac_c" 1>&6
10152 cat > conftest.
$ac_ext <<EOF
10153 #line 10154 "configure"
10154 #include "confdefs.h"
10155 /* System header to define __stub macros and hopefully few prototypes,
10156 which can conflict with char $ac_func(); below. */
10157 #include <assert.h>
10158 /* Override any gcc2 internal prototype to avoid an error. */
10159 /* We use char because int might match the return type of a gcc2
10160 builtin and then its argument prototype would still apply. */
10165 /* The GNU C library defines this for functions which it implements
10166 to always fail with ENOSYS. Some functions are actually named
10167 something starting with __ and the normal name is an alias. */
10168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10176 if { (eval echo configure
:10177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10178 eval "ac_cv_func_$ac_func=yes"
10180 echo "configure: failed program was:" >&5
10181 cat conftest.
$ac_ext >&5
10183 eval "ac_cv_func_$ac_func=no"
10188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10189 echo "$ac_t""yes" 1>&6
10190 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10191 cat >> confdefs.h
<<EOF
10192 #define $ac_tr_func 1
10194 cat >> confdefs.h
<<\EOF
10195 #define HAVE_NANOSLEEP 1
10199 echo "$ac_t""no" 1>&6
10200 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10201 echo "configure:10202: checking for nanosleep in -lposix4" >&5
10202 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10204 echo $ac_n "(cached) $ac_c" 1>&6
10206 ac_save_LIBS
="$LIBS"
10207 LIBS
="-lposix4 $LIBS"
10208 cat > conftest.
$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10211 /* Override any gcc2 internal prototype to avoid an error. */
10212 /* We use char because int might match the return type of a gcc2
10213 builtin and then its argument prototype would still apply. */
10220 if { (eval echo configure
:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10222 eval "ac_cv_lib_$ac_lib_var=yes"
10224 echo "configure: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10227 eval "ac_cv_lib_$ac_lib_var=no"
10230 LIBS
="$ac_save_LIBS"
10233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10234 echo "$ac_t""yes" 1>&6
10236 cat >> confdefs.h
<<\EOF
10237 #define HAVE_NANOSLEEP 1
10240 POSIX4_LINK
="-lposix4"
10243 echo "$ac_t""no" 1>&6
10245 for ac_func
in usleep
10247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10248 echo "configure:10249: checking for $ac_func" >&5
10249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10252 cat > conftest.
$ac_ext <<EOF
10253 #line 10254 "configure"
10254 #include "confdefs.h"
10255 /* System header to define __stub macros and hopefully few prototypes,
10256 which can conflict with char $ac_func(); below. */
10257 #include <assert.h>
10258 /* Override any gcc2 internal prototype to avoid an error. */
10259 /* We use char because int might match the return type of a gcc2
10260 builtin and then its argument prototype would still apply. */
10265 /* The GNU C library defines this for functions which it implements
10266 to always fail with ENOSYS. Some functions are actually named
10267 something starting with __ and the normal name is an alias. */
10268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10276 if { (eval echo configure
:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10278 eval "ac_cv_func_$ac_func=yes"
10280 echo "configure: failed program was:" >&5
10281 cat conftest.
$ac_ext >&5
10283 eval "ac_cv_func_$ac_func=no"
10288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10289 echo "$ac_t""yes" 1>&6
10290 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10291 cat >> confdefs.h
<<EOF
10292 #define $ac_tr_func 1
10296 echo "$ac_t""no" 1>&6
10300 echo "configure: warning: wxSleep() function will not work" 1>&2
10312 for ac_func
in uname gethostname
10314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10315 echo "configure:10316: checking for $ac_func" >&5
10316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10317 echo $ac_n "(cached) $ac_c" 1>&6
10319 cat > conftest.
$ac_ext <<EOF
10320 #line 10321 "configure"
10321 #include "confdefs.h"
10322 /* System header to define __stub macros and hopefully few prototypes,
10323 which can conflict with char $ac_func(); below. */
10324 #include <assert.h>
10325 /* Override any gcc2 internal prototype to avoid an error. */
10326 /* We use char because int might match the return type of a gcc2
10327 builtin and then its argument prototype would still apply. */
10332 /* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10343 if { (eval echo configure
:10344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10345 eval "ac_cv_func_$ac_func=yes"
10347 echo "configure: failed program was:" >&5
10348 cat conftest.
$ac_ext >&5
10350 eval "ac_cv_func_$ac_func=no"
10355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10356 echo "$ac_t""yes" 1>&6
10357 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10358 cat >> confdefs.h
<<EOF
10359 #define $ac_tr_func 1
10363 echo "$ac_t""no" 1>&6
10368 for ac_func
in strtok_r
10370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10371 echo "configure:10372: checking for $ac_func" >&5
10372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10373 echo $ac_n "(cached) $ac_c" 1>&6
10375 cat > conftest.
$ac_ext <<EOF
10376 #line 10377 "configure"
10377 #include "confdefs.h"
10378 /* System header to define __stub macros and hopefully few prototypes,
10379 which can conflict with char $ac_func(); below. */
10380 #include <assert.h>
10381 /* Override any gcc2 internal prototype to avoid an error. */
10382 /* We use char because int might match the return type of a gcc2
10383 builtin and then its argument prototype would still apply. */
10388 /* The GNU C library defines this for functions which it implements
10389 to always fail with ENOSYS. Some functions are actually named
10390 something starting with __ and the normal name is an alias. */
10391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10399 if { (eval echo configure
:10400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10401 eval "ac_cv_func_$ac_func=yes"
10403 echo "configure: failed program was:" >&5
10404 cat conftest.
$ac_ext >&5
10406 eval "ac_cv_func_$ac_func=no"
10411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10412 echo "$ac_t""yes" 1>&6
10413 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10414 cat >> confdefs.h
<<EOF
10415 #define $ac_tr_func 1
10419 echo "$ac_t""no" 1>&6
10425 for ac_func
in inet_addr
10427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10428 echo "configure:10429: checking for $ac_func" >&5
10429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10430 echo $ac_n "(cached) $ac_c" 1>&6
10432 cat > conftest.
$ac_ext <<EOF
10433 #line 10434 "configure"
10434 #include "confdefs.h"
10435 /* System header to define __stub macros and hopefully few prototypes,
10436 which can conflict with char $ac_func(); below. */
10437 #include <assert.h>
10438 /* Override any gcc2 internal prototype to avoid an error. */
10439 /* We use char because int might match the return type of a gcc2
10440 builtin and then its argument prototype would still apply. */
10445 /* The GNU C library defines this for functions which it implements
10446 to always fail with ENOSYS. Some functions are actually named
10447 something starting with __ and the normal name is an alias. */
10448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10456 if { (eval echo configure
:10457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10458 eval "ac_cv_func_$ac_func=yes"
10460 echo "configure: failed program was:" >&5
10461 cat conftest.
$ac_ext >&5
10463 eval "ac_cv_func_$ac_func=no"
10468 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10469 echo "$ac_t""yes" 1>&6
10470 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10471 cat >> confdefs.h
<<EOF
10472 #define $ac_tr_func 1
10474 cat >> confdefs.h
<<\EOF
10475 #define HAVE_INET_ADDR 1
10479 echo "$ac_t""no" 1>&6
10480 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10481 echo "configure:10482: checking for inet_addr in -lnsl" >&5
10482 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10483 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10484 echo $ac_n "(cached) $ac_c" 1>&6
10486 ac_save_LIBS
="$LIBS"
10488 cat > conftest.
$ac_ext <<EOF
10489 #line 10490 "configure"
10490 #include "confdefs.h"
10491 /* Override any gcc2 internal prototype to avoid an error. */
10492 /* We use char because int might match the return type of a gcc2
10493 builtin and then its argument prototype would still apply. */
10500 if { (eval echo configure
:10501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10502 eval "ac_cv_lib_$ac_lib_var=yes"
10504 echo "configure: failed program was:" >&5
10505 cat conftest.
$ac_ext >&5
10507 eval "ac_cv_lib_$ac_lib_var=no"
10510 LIBS
="$ac_save_LIBS"
10513 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10514 echo "$ac_t""yes" 1>&6
10517 echo "$ac_t""no" 1>&6
10518 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10519 echo "configure:10520: checking for inet_addr in -lresolv" >&5
10520 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10521 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10522 echo $ac_n "(cached) $ac_c" 1>&6
10524 ac_save_LIBS
="$LIBS"
10525 LIBS
="-lresolv $LIBS"
10526 cat > conftest.
$ac_ext <<EOF
10527 #line 10528 "configure"
10528 #include "confdefs.h"
10529 /* Override any gcc2 internal prototype to avoid an error. */
10530 /* We use char because int might match the return type of a gcc2
10531 builtin and then its argument prototype would still apply. */
10538 if { (eval echo configure
:10539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10540 eval "ac_cv_lib_$ac_lib_var=yes"
10542 echo "configure: failed program was:" >&5
10543 cat conftest.
$ac_ext >&5
10545 eval "ac_cv_lib_$ac_lib_var=no"
10548 LIBS
="$ac_save_LIBS"
10551 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10552 echo "$ac_t""yes" 1>&6
10556 echo "$ac_t""no" 1>&6
10568 for ac_func
in inet_aton
10570 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10571 echo "configure:10572: checking for $ac_func" >&5
10572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10573 echo $ac_n "(cached) $ac_c" 1>&6
10575 cat > conftest.
$ac_ext <<EOF
10576 #line 10577 "configure"
10577 #include "confdefs.h"
10578 /* System header to define __stub macros and hopefully few prototypes,
10579 which can conflict with char $ac_func(); below. */
10580 #include <assert.h>
10581 /* Override any gcc2 internal prototype to avoid an error. */
10582 /* We use char because int might match the return type of a gcc2
10583 builtin and then its argument prototype would still apply. */
10588 /* The GNU C library defines this for functions which it implements
10589 to always fail with ENOSYS. Some functions are actually named
10590 something starting with __ and the normal name is an alias. */
10591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10599 if { (eval echo configure
:10600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10601 eval "ac_cv_func_$ac_func=yes"
10603 echo "configure: failed program was:" >&5
10604 cat conftest.
$ac_ext >&5
10606 eval "ac_cv_func_$ac_func=no"
10611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10612 echo "$ac_t""yes" 1>&6
10613 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10614 cat >> confdefs.h
<<EOF
10615 #define $ac_tr_func 1
10617 cat >> confdefs.h
<<\EOF
10618 #define HAVE_INET_ATON 1
10622 echo "$ac_t""no" 1>&6
10623 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10624 echo "configure:10625: checking for inet_aton in -l$INET_LINK" >&5
10625 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10627 echo $ac_n "(cached) $ac_c" 1>&6
10629 ac_save_LIBS
="$LIBS"
10630 LIBS
="-l$INET_LINK $LIBS"
10631 cat > conftest.
$ac_ext <<EOF
10632 #line 10633 "configure"
10633 #include "confdefs.h"
10634 /* Override any gcc2 internal prototype to avoid an error. */
10635 /* We use char because int might match the return type of a gcc2
10636 builtin and then its argument prototype would still apply. */
10643 if { (eval echo configure
:10644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10645 eval "ac_cv_lib_$ac_lib_var=yes"
10647 echo "configure: failed program was:" >&5
10648 cat conftest.
$ac_ext >&5
10650 eval "ac_cv_lib_$ac_lib_var=no"
10653 LIBS
="$ac_save_LIBS"
10656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10657 echo "$ac_t""yes" 1>&6
10658 cat >> confdefs.h
<<\EOF
10659 #define HAVE_INET_ATON 1
10663 echo "$ac_t""no" 1>&6
10671 if test "x$INET_LINK" != "x"; then
10672 cat >> confdefs.h
<<\EOF
10673 #define HAVE_INET_ADDR 1
10676 INET_LINK
="-l$INET_LINK"
10682 cat > confcache
<<\EOF
10683 # This file is a shell script that caches the results of configure
10684 # tests run on this system so they can be shared between configure
10685 # scripts and configure runs. It is not useful on other systems.
10686 # If it contains results you don't want to keep, you may remove or edit it.
10688 # By default, configure uses ./config.cache as the cache file,
10689 # creating it if it does not exist already. You can give configure
10690 # the --cache-file=FILE option to use a different cache file; that is
10691 # what configure does when it calls configure scripts in
10692 # subdirectories, so they share the cache.
10693 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10694 # config.status only pays attention to the cache file if you give it the
10695 # --recheck option to rerun configure.
10698 # The following way of writing the cache mishandles newlines in values,
10699 # but we know of no workaround that is simple, portable, and efficient.
10700 # So, don't put newlines in cache variables' values.
10701 # Ultrix sh set writes to stderr and can't be redirected directly,
10702 # and sets the high bit in the cache file unless we assign to the vars.
10704 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10706 # `set' does not quote correctly, so add quotes (double-quote substitution
10707 # turns \\\\ into \\, and sed turns \\ into \).
10709 -e "s/'/'\\\\''/g" \
10710 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10713 # `set' quotes correctly as required by POSIX, so do not add quotes.
10714 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10717 if cmp -s $cache_file confcache
; then
10720 if test -w $cache_file; then
10721 echo "updating cache $cache_file"
10722 cat confcache
> $cache_file
10724 echo "not updating unwritable cache $cache_file"
10731 if test "$TOOLKIT" != "MSW"; then
10737 if test "$wxUSE_THREADS" = "yes" ; then
10738 if test "$wxUSE_WINE" = 1 ; then
10739 echo "configure: warning: Threads are not supported under WINE" 1>&2
10741 elif test "$USE_BEOS" = 1; then
10742 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10747 if test "$wxUSE_THREADS" = "yes" ; then
10749 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10750 echo "configure:10751: checking for pthread_create in -lpthread" >&5
10751 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10752 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10753 echo $ac_n "(cached) $ac_c" 1>&6
10755 ac_save_LIBS
="$LIBS"
10756 LIBS
="-lpthread $LIBS"
10757 cat > conftest.
$ac_ext <<EOF
10758 #line 10759 "configure"
10759 #include "confdefs.h"
10760 /* Override any gcc2 internal prototype to avoid an error. */
10761 /* We use char because int might match the return type of a gcc2
10762 builtin and then its argument prototype would still apply. */
10763 char pthread_create();
10769 if { (eval echo configure
:10770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10771 eval "ac_cv_lib_$ac_lib_var=yes"
10773 echo "configure: failed program was:" >&5
10774 cat conftest.
$ac_ext >&5
10776 eval "ac_cv_lib_$ac_lib_var=no"
10779 LIBS
="$ac_save_LIBS"
10782 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10783 echo "$ac_t""yes" 1>&6
10785 THREADS_OBJ
="threadpsx.lo"
10786 THREADS_LINK
="pthread"
10789 echo "$ac_t""no" 1>&6
10791 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10792 echo "configure:10793: checking for pthread_create in -lc_r" >&5
10793 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10795 echo $ac_n "(cached) $ac_c" 1>&6
10797 ac_save_LIBS
="$LIBS"
10799 cat > conftest.
$ac_ext <<EOF
10800 #line 10801 "configure"
10801 #include "confdefs.h"
10802 /* Override any gcc2 internal prototype to avoid an error. */
10803 /* We use char because int might match the return type of a gcc2
10804 builtin and then its argument prototype would still apply. */
10805 char pthread_create();
10811 if { (eval echo configure
:10812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10813 eval "ac_cv_lib_$ac_lib_var=yes"
10815 echo "configure: failed program was:" >&5
10816 cat conftest.
$ac_ext >&5
10818 eval "ac_cv_lib_$ac_lib_var=no"
10821 LIBS
="$ac_save_LIBS"
10824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10825 echo "$ac_t""yes" 1>&6
10827 THREADS_OBJ
="threadpsx.lo"
10831 echo "$ac_t""no" 1>&6
10833 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10834 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10835 echo "configure:10836: checking for sys/prctl.h" >&5
10836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10837 echo $ac_n "(cached) $ac_c" 1>&6
10839 cat > conftest.
$ac_ext <<EOF
10840 #line 10841 "configure"
10841 #include "confdefs.h"
10842 #include <sys/prctl.h>
10844 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10845 { (eval echo configure
:10846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10846 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10847 if test -z "$ac_err"; then
10849 eval "ac_cv_header_$ac_safe=yes"
10852 echo "configure: failed program was:" >&5
10853 cat conftest.
$ac_ext >&5
10855 eval "ac_cv_header_$ac_safe=no"
10859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10860 echo "$ac_t""yes" 1>&6
10862 THREADS_OBJ
="threadsgi.lo"
10865 echo "$ac_t""no" 1>&6
10875 if test -z "$THREADS_OBJ" ; then
10877 echo "configure: warning: No thread support on this system" 1>&2
10881 if test "$wxUSE_THREADS" = "yes" ; then
10882 for ac_func
in thr_setconcurrency
10884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10885 echo "configure:10886: checking for $ac_func" >&5
10886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10887 echo $ac_n "(cached) $ac_c" 1>&6
10889 cat > conftest.
$ac_ext <<EOF
10890 #line 10891 "configure"
10891 #include "confdefs.h"
10892 /* System header to define __stub macros and hopefully few prototypes,
10893 which can conflict with char $ac_func(); below. */
10894 #include <assert.h>
10895 /* Override any gcc2 internal prototype to avoid an error. */
10896 /* We use char because int might match the return type of a gcc2
10897 builtin and then its argument prototype would still apply. */
10902 /* The GNU C library defines this for functions which it implements
10903 to always fail with ENOSYS. Some functions are actually named
10904 something starting with __ and the normal name is an alias. */
10905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10913 if { (eval echo configure
:10914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10915 eval "ac_cv_func_$ac_func=yes"
10917 echo "configure: failed program was:" >&5
10918 cat conftest.
$ac_ext >&5
10920 eval "ac_cv_func_$ac_func=no"
10925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10926 echo "$ac_t""yes" 1>&6
10927 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10928 cat >> confdefs.h
<<EOF
10929 #define $ac_tr_func 1
10933 echo "$ac_t""no" 1>&6
10939 for ac_hdr
in sched.h
10941 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10942 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10943 echo "configure:10944: checking for $ac_hdr" >&5
10944 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10945 echo $ac_n "(cached) $ac_c" 1>&6
10947 cat > conftest.
$ac_ext <<EOF
10948 #line 10949 "configure"
10949 #include "confdefs.h"
10952 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10953 { (eval echo configure
:10954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10954 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10955 if test -z "$ac_err"; then
10957 eval "ac_cv_header_$ac_safe=yes"
10960 echo "configure: failed program was:" >&5
10961 cat conftest.
$ac_ext >&5
10963 eval "ac_cv_header_$ac_safe=no"
10967 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10968 echo "$ac_t""yes" 1>&6
10969 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10970 cat >> confdefs.h
<<EOF
10971 #define $ac_tr_hdr 1
10975 echo "$ac_t""no" 1>&6
10980 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10981 echo "configure:10982: checking for sched_yield in -l$THREADS_LINK" >&5
10982 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10984 echo $ac_n "(cached) $ac_c" 1>&6
10986 ac_save_LIBS
="$LIBS"
10987 LIBS
="-l$THREADS_LINK $LIBS"
10988 cat > conftest.
$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 /* Override any gcc2 internal prototype to avoid an error. */
10992 /* We use char because int might match the return type of a gcc2
10993 builtin and then its argument prototype would still apply. */
10994 char sched_yield();
11000 if { (eval echo configure
:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11002 eval "ac_cv_lib_$ac_lib_var=yes"
11004 echo "configure: failed program was:" >&5
11005 cat conftest.
$ac_ext >&5
11007 eval "ac_cv_lib_$ac_lib_var=no"
11010 LIBS
="$ac_save_LIBS"
11013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11014 echo "$ac_t""yes" 1>&6
11015 cat >> confdefs.h
<<\EOF
11016 #define HAVE_SCHED_YIELD 1
11020 echo "$ac_t""no" 1>&6
11021 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11022 echo "configure:11023: checking for sched_yield in -l"posix4
"" >&5
11023 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11025 echo $ac_n "(cached) $ac_c" 1>&6
11027 ac_save_LIBS
="$LIBS"
11028 LIBS
="-l"posix4
" $LIBS"
11029 cat > conftest.
$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11032 /* Override any gcc2 internal prototype to avoid an error. */
11033 /* We use char because int might match the return type of a gcc2
11034 builtin and then its argument prototype would still apply. */
11035 char sched_yield();
11041 if { (eval echo configure
:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11043 eval "ac_cv_lib_$ac_lib_var=yes"
11045 echo "configure: failed program was:" >&5
11046 cat conftest.
$ac_ext >&5
11048 eval "ac_cv_lib_$ac_lib_var=no"
11051 LIBS
="$ac_save_LIBS"
11054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11055 echo "$ac_t""yes" 1>&6
11056 cat >> confdefs.h
<<\EOF
11057 #define HAVE_SCHED_YIELD 1
11059 POSIX4_LINK
="-lposix4"
11061 echo "$ac_t""no" 1>&6
11062 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11070 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11071 echo "configure:11072: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11072 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11074 echo $ac_n "(cached) $ac_c" 1>&6
11076 ac_save_LIBS
="$LIBS"
11077 LIBS
="-l$THREADS_LINK $LIBS"
11078 cat > conftest.
$ac_ext <<EOF
11079 #line 11080 "configure"
11080 #include "confdefs.h"
11081 /* Override any gcc2 internal prototype to avoid an error. */
11082 /* We use char because int might match the return type of a gcc2
11083 builtin and then its argument prototype would still apply. */
11084 char pthread_attr_getschedpolicy();
11087 pthread_attr_getschedpolicy()
11090 if { (eval echo configure
:11091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11092 eval "ac_cv_lib_$ac_lib_var=yes"
11094 echo "configure: failed program was:" >&5
11095 cat conftest.
$ac_ext >&5
11097 eval "ac_cv_lib_$ac_lib_var=no"
11100 LIBS
="$ac_save_LIBS"
11103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11104 echo "$ac_t""yes" 1>&6
11105 cat >> confdefs.h
<<\EOF
11106 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11110 echo "$ac_t""no" 1>&6
11111 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11112 echo "configure:11113: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11113 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11114 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11115 echo $ac_n "(cached) $ac_c" 1>&6
11117 ac_save_LIBS
="$LIBS"
11118 LIBS
="-l"posix4
" $LIBS"
11119 cat > conftest.
$ac_ext <<EOF
11120 #line 11121 "configure"
11121 #include "confdefs.h"
11122 /* Override any gcc2 internal prototype to avoid an error. */
11123 /* We use char because int might match the return type of a gcc2
11124 builtin and then its argument prototype would still apply. */
11125 char pthread_attr_getschedpolicy();
11128 pthread_attr_getschedpolicy()
11131 if { (eval echo configure
:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11133 eval "ac_cv_lib_$ac_lib_var=yes"
11135 echo "configure: failed program was:" >&5
11136 cat conftest.
$ac_ext >&5
11138 eval "ac_cv_lib_$ac_lib_var=no"
11141 LIBS
="$ac_save_LIBS"
11144 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11145 echo "$ac_t""yes" 1>&6
11146 cat >> confdefs.h
<<\EOF
11147 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11149 POSIX4_LINK
="-lposix4"
11151 echo "$ac_t""no" 1>&6
11152 echo "configure: warning: Setting thread priority will not work" 1>&2
11160 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11161 echo "configure:11162: checking for pthread_cancel in -l$THREADS_LINK" >&5
11162 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11164 echo $ac_n "(cached) $ac_c" 1>&6
11166 ac_save_LIBS
="$LIBS"
11167 LIBS
="-l$THREADS_LINK $LIBS"
11168 cat > conftest.
$ac_ext <<EOF
11169 #line 11170 "configure"
11170 #include "confdefs.h"
11171 /* Override any gcc2 internal prototype to avoid an error. */
11172 /* We use char because int might match the return type of a gcc2
11173 builtin and then its argument prototype would still apply. */
11174 char pthread_cancel();
11180 if { (eval echo configure
:11181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11182 eval "ac_cv_lib_$ac_lib_var=yes"
11184 echo "configure: failed program was:" >&5
11185 cat conftest.
$ac_ext >&5
11187 eval "ac_cv_lib_$ac_lib_var=no"
11190 LIBS
="$ac_save_LIBS"
11193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11194 echo "$ac_t""yes" 1>&6
11195 cat >> confdefs.h
<<\EOF
11196 #define HAVE_PTHREAD_CANCEL 1
11200 echo "$ac_t""no" 1>&6
11201 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11205 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11206 echo "configure:11207: checking for pthread_cleanup_push/pop" >&5
11207 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11208 echo $ac_n "(cached) $ac_c" 1>&6
11211 cat > conftest.
$ac_ext <<EOF
11212 #line 11213 "configure"
11213 #include "confdefs.h"
11214 #include <pthread.h>
11217 pthread_cleanup_push(NULL, NULL);
11218 pthread_cleanup_pop(0);
11222 if { (eval echo configure
:11223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11225 wx_cv_func_pthread_cleanup_push
=yes
11226 cat >> confdefs.h
<<\EOF
11227 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11232 echo "configure: failed program was:" >&5
11233 cat conftest.
$ac_ext >&5
11236 wx_cv_func_pthread_cleanup_push
=no
11243 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11245 THREADS_LINK
="-l$THREADS_LINK"
11250 if test "$wxUSE_THREADS" = "yes"; then
11251 cat >> confdefs.h
<<\EOF
11252 #define wxUSE_THREADS 1
11256 CFLAGS
="${CFLAGS} -D_REENTRANT"
11257 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11261 if test "$ac_cv_func_strtok_r" = "yes"; then
11262 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11263 echo "configure:11264: checking if -D_REENTRANT is needed" >&5
11264 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11265 CFLAGS
="${CFLAGS} -D_REENTRANT"
11266 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11267 echo "$ac_t""yes" 1>&6
11269 echo "$ac_t""no" 1>&6
11274 if test "$WXGTK13" = 1 ; then
11275 cat >> confdefs.h
<<EOF
11276 #define __WXGTK13__ $WXGTK13
11282 if test "$WXGTK12" = 1 ; then
11283 cat >> confdefs.h
<<EOF
11284 #define __WXGTK12__ $WXGTK12
11289 if test "$WXWINE" = 1 ; then
11290 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11293 if test "$wxUSE_CYGWIN" = 1 ; then
11294 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11299 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11304 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11305 wxUSE_DEBUG_INFO
=yes
11309 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11310 cat >> confdefs.h
<<\EOF
11314 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11316 if test "$wxUSE_GTK" = 1 ; then
11317 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11321 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11322 cat >> confdefs.h
<<\EOF
11323 #define wxUSE_MEMORY_TRACING 1
11326 cat >> confdefs.h
<<\EOF
11327 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11330 cat >> confdefs.h
<<\EOF
11331 #define wxUSE_DEBUG_NEW_ALWAYS 1
11334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11337 if test "$wxUSE_DMALLOC" = "yes" ; then
11338 DMALLOC_LINK
="-ldmalloc"
11342 if test "$wxUSE_PROFILE" = "yes" ; then
11348 if test "$GCC" = yes ; then
11349 if test "$wxUSE_NO_RTTI" = "yes" ; then
11350 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11352 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11353 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11355 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11356 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11358 if test "$wxUSE_NO_DEPS" = "no" ; then
11359 DEP_INFO_FLAGS
="-MMD"
11364 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11365 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11366 if test "$wxUSE_OPTIMISE" = "no" ; then
11369 if test "$GCC" = yes ; then
11372 i586
-*-*|i686
-*-* )
11373 OPTIMISE
="${OPTIMISE} "
11383 if test "$wxUSE_ZLIB" = "yes" ; then
11384 cat >> confdefs.h
<<\EOF
11385 #define wxUSE_ZLIB 1
11388 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11392 if test "$wxUSE_LIBPNG" = "yes" ; then
11393 cat >> confdefs.h
<<\EOF
11394 #define wxUSE_LIBPNG 1
11397 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11402 if test "$wxUSE_LIBJPEG" = "yes" ; then
11403 cat >> confdefs.h
<<\EOF
11404 #define wxUSE_LIBJPEG 1
11407 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11411 if test "$wxUSE_LIBTIFF" = "yes" ; then
11412 cat >> confdefs.h
<<\EOF
11413 #define wxUSE_LIBTIFF 1
11416 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11419 if test "$wxUSE_OPENGL" = "yes"; then
11420 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11421 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11422 echo "configure:11423: checking for GL/gl.h" >&5
11423 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11424 echo $ac_n "(cached) $ac_c" 1>&6
11426 cat > conftest.
$ac_ext <<EOF
11427 #line 11428 "configure"
11428 #include "confdefs.h"
11431 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11432 { (eval echo configure
:11433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11433 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11434 if test -z "$ac_err"; then
11436 eval "ac_cv_header_$ac_safe=yes"
11439 echo "configure: failed program was:" >&5
11440 cat conftest.
$ac_ext >&5
11442 eval "ac_cv_header_$ac_safe=no"
11446 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11447 echo "$ac_t""yes" 1>&6
11449 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11450 echo "configure:11451: checking for glInitNames in -lGL" >&5
11451 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11452 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11453 echo $ac_n "(cached) $ac_c" 1>&6
11455 ac_save_LIBS
="$LIBS"
11456 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11457 cat > conftest.
$ac_ext <<EOF
11458 #line 11459 "configure"
11459 #include "confdefs.h"
11460 /* Override any gcc2 internal prototype to avoid an error. */
11461 /* We use char because int might match the return type of a gcc2
11462 builtin and then its argument prototype would still apply. */
11463 char glInitNames();
11469 if { (eval echo configure
:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11471 eval "ac_cv_lib_$ac_lib_var=yes"
11473 echo "configure: failed program was:" >&5
11474 cat conftest.
$ac_ext >&5
11476 eval "ac_cv_lib_$ac_lib_var=no"
11479 LIBS
="$ac_save_LIBS"
11482 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11483 echo "$ac_t""yes" 1>&6
11486 cat >> confdefs.h
<<\EOF
11487 #define wxUSE_OPENGL 1
11490 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11493 echo "$ac_t""no" 1>&6
11495 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11496 echo "configure:11497: checking for glInitNames in -lMesaGL" >&5
11497 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11499 echo $ac_n "(cached) $ac_c" 1>&6
11501 ac_save_LIBS
="$LIBS"
11502 LIBS
="-lMesaGL $LIBS"
11503 cat > conftest.
$ac_ext <<EOF
11504 #line 11505 "configure"
11505 #include "confdefs.h"
11506 /* Override any gcc2 internal prototype to avoid an error. */
11507 /* We use char because int might match the return type of a gcc2
11508 builtin and then its argument prototype would still apply. */
11509 char glInitNames();
11515 if { (eval echo configure
:11516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11517 eval "ac_cv_lib_$ac_lib_var=yes"
11519 echo "configure: failed program was:" >&5
11520 cat conftest.
$ac_ext >&5
11522 eval "ac_cv_lib_$ac_lib_var=no"
11525 LIBS
="$ac_save_LIBS"
11528 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11529 echo "$ac_t""yes" 1>&6
11531 OPENGL_LINK
="-lMesaGL"
11532 cat >> confdefs.h
<<\EOF
11533 #define wxUSE_OPENGL 1
11536 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11539 echo "$ac_t""no" 1>&6
11548 echo "$ac_t""no" 1>&6
11555 if test "$wxUSE_GUI" = "yes"; then
11556 cat >> confdefs.h
<<\EOF
11557 #define wxUSE_GUI 1
11562 cat >> confdefs.h
<<\EOF
11563 #define wxUSE_NOGUI 1
11569 if test "$wxUSE_UNIX" = "yes"; then
11570 cat >> confdefs.h
<<\EOF
11571 #define wxUSE_UNIX 1
11577 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11578 cat >> confdefs.h
<<\EOF
11579 #define wxUSE_APPLE_IEEE 1
11584 if test "$wxUSE_WAVE" = "yes"; then
11585 cat >> confdefs.h
<<\EOF
11586 #define wxUSE_WAVE 1
11591 if test "$wxUSE_FILE" = "yes"; then
11592 cat >> confdefs.h
<<\EOF
11593 #define wxUSE_FILE 1
11598 if test "$wxUSE_FS_INET" = "yes"; then
11599 cat >> confdefs.h
<<\EOF
11600 #define wxUSE_FS_INET 1
11605 if test "$wxUSE_FS_ZIP" = "yes"; then
11606 cat >> confdefs.h
<<\EOF
11607 #define wxUSE_FS_ZIP 1
11612 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11613 cat >> confdefs.h
<<\EOF
11614 #define wxUSE_ZIPSTREAM 1
11619 if test "$wxUSE_BUSYINFO" = "yes"; then
11620 cat >> confdefs.h
<<\EOF
11621 #define wxUSE_BUSYINFO 1
11626 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11627 cat >> confdefs.h
<<\EOF
11628 #define wxUSE_STD_IOSTREAM 1
11633 if test "$wxUSE_TEXTFILE" = "yes"; then
11634 if test "$wxUSE_FILE" != "yes"; then
11635 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11637 cat >> confdefs.h
<<\EOF
11638 #define wxUSE_TEXTFILE 1
11644 if test "$wxUSE_CONFIG" = "yes" ; then
11645 if test "$wxUSE_TEXTFILE" != "yes"; then
11646 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11648 cat >> confdefs.h
<<\EOF
11649 #define wxUSE_CONFIG 1
11652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11656 if test "$wxUSE_INTL" = "yes" ; then
11657 if test "$wxUSE_FILE" != "yes"; then
11658 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11660 cat >> confdefs.h
<<\EOF
11661 #define wxUSE_INTL 1
11664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11668 if test "$wxUSE_LOG" = "yes"; then
11669 cat >> confdefs.h
<<\EOF
11670 #define wxUSE_LOG 1
11675 if test "$wxUSE_LONGLONG" = "yes"; then
11676 cat >> confdefs.h
<<\EOF
11677 #define wxUSE_LONGLONG 1
11682 if test "$wxUSE_PLOT" = "yes"; then
11683 cat >> confdefs.h
<<\EOF
11684 #define wxUSE_PLOT 1
11689 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11690 cat >> confdefs.h
<<\EOF
11691 #define wxUSE_DIALUP_MANAGER 1
11694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11697 if test "$wxUSE_STREAMS" = "yes" ; then
11698 cat >> confdefs.h
<<\EOF
11699 #define wxUSE_STREAMS 1
11705 if test "$wxUSE_TIMEDATE" = "yes"; then
11706 for ac_func
in strptime
11708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11709 echo "configure:11710: checking for $ac_func" >&5
11710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11711 echo $ac_n "(cached) $ac_c" 1>&6
11713 cat > conftest.
$ac_ext <<EOF
11714 #line 11715 "configure"
11715 #include "confdefs.h"
11716 /* System header to define __stub macros and hopefully few prototypes,
11717 which can conflict with char $ac_func(); below. */
11718 #include <assert.h>
11719 /* Override any gcc2 internal prototype to avoid an error. */
11720 /* We use char because int might match the return type of a gcc2
11721 builtin and then its argument prototype would still apply. */
11726 /* The GNU C library defines this for functions which it implements
11727 to always fail with ENOSYS. Some functions are actually named
11728 something starting with __ and the normal name is an alias. */
11729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11737 if { (eval echo configure
:11738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11739 eval "ac_cv_func_$ac_func=yes"
11741 echo "configure: failed program was:" >&5
11742 cat conftest.
$ac_ext >&5
11744 eval "ac_cv_func_$ac_func=no"
11749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11750 echo "$ac_t""yes" 1>&6
11751 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11752 cat >> confdefs.h
<<EOF
11753 #define $ac_tr_func 1
11757 echo "$ac_t""no" 1>&6
11762 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11763 echo "configure:11764: checking for timezone variable in <time.h>" >&5
11764 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11765 echo $ac_n "(cached) $ac_c" 1>&6
11768 cat > conftest.
$ac_ext <<EOF
11769 #line 11770 "configure"
11770 #include "confdefs.h"
11781 if { (eval echo configure
:11782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11784 wx_cv_var_timezone
=__timezone
11787 echo "configure: failed program was:" >&5
11788 cat conftest.
$ac_ext >&5
11791 cat > conftest.
$ac_ext <<EOF
11792 #line 11793 "configure"
11793 #include "confdefs.h"
11804 if { (eval echo configure
:11805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11807 wx_cv_var_timezone
=_timezone
11810 echo "configure: failed program was:" >&5
11811 cat conftest.
$ac_ext >&5
11814 cat > conftest.
$ac_ext <<EOF
11815 #line 11816 "configure"
11816 #include "confdefs.h"
11827 if { (eval echo configure
:11828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11830 wx_cv_var_timezone
=timezone
11833 echo "configure: failed program was:" >&5
11834 cat conftest.
$ac_ext >&5
11836 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11852 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11854 cat >> confdefs.h
<<EOF
11855 #define WX_TIMEZONE $wx_cv_var_timezone
11859 for ac_func
in localtime
11861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11862 echo "configure:11863: checking for $ac_func" >&5
11863 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11864 echo $ac_n "(cached) $ac_c" 1>&6
11866 cat > conftest.
$ac_ext <<EOF
11867 #line 11868 "configure"
11868 #include "confdefs.h"
11869 /* System header to define __stub macros and hopefully few prototypes,
11870 which can conflict with char $ac_func(); below. */
11871 #include <assert.h>
11872 /* Override any gcc2 internal prototype to avoid an error. */
11873 /* We use char because int might match the return type of a gcc2
11874 builtin and then its argument prototype would still apply. */
11879 /* The GNU C library defines this for functions which it implements
11880 to always fail with ENOSYS. Some functions are actually named
11881 something starting with __ and the normal name is an alias. */
11882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11890 if { (eval echo configure
:11891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11892 eval "ac_cv_func_$ac_func=yes"
11894 echo "configure: failed program was:" >&5
11895 cat conftest.
$ac_ext >&5
11897 eval "ac_cv_func_$ac_func=no"
11902 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11903 echo "$ac_t""yes" 1>&6
11904 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11905 cat >> confdefs.h
<<EOF
11906 #define $ac_tr_func 1
11910 echo "$ac_t""no" 1>&6
11915 if test "$ac_cv_func_localtime" = "yes"; then
11916 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11917 echo "configure:11918: checking for tm_gmtoff in struct tm" >&5
11918 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11919 echo $ac_n "(cached) $ac_c" 1>&6
11922 cat > conftest.
$ac_ext <<EOF
11923 #line 11924 "configure"
11924 #include "confdefs.h"
11935 if { (eval echo configure
:11936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11938 wx_cv_struct_tm_has_gmtoff
=yes
11939 cat >> confdefs.h
<<\EOF
11940 #define WX_GMTOFF_IN_TM 1
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 wx_cv_struct_tm_has_gmtoff
=no
11955 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11958 for ac_func
in gettimeofday ftime
11960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11961 echo "configure:11962: checking for $ac_func" >&5
11962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11963 echo $ac_n "(cached) $ac_c" 1>&6
11965 cat > conftest.
$ac_ext <<EOF
11966 #line 11967 "configure"
11967 #include "confdefs.h"
11968 /* System header to define __stub macros and hopefully few prototypes,
11969 which can conflict with char $ac_func(); below. */
11970 #include <assert.h>
11971 /* Override any gcc2 internal prototype to avoid an error. */
11972 /* We use char because int might match the return type of a gcc2
11973 builtin and then its argument prototype would still apply. */
11978 /* The GNU C library defines this for functions which it implements
11979 to always fail with ENOSYS. Some functions are actually named
11980 something starting with __ and the normal name is an alias. */
11981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11989 if { (eval echo configure
:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11991 eval "ac_cv_func_$ac_func=yes"
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 eval "ac_cv_func_$ac_func=no"
12001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12002 echo "$ac_t""yes" 1>&6
12003 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12004 cat >> confdefs.h
<<EOF
12005 #define $ac_tr_func 1
12009 echo "$ac_t""no" 1>&6
12014 if test "$ac_cv_func_gettimeofday" = "yes"; then
12015 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12016 echo "configure:12017: checking whether gettimeofday takes two arguments" >&5
12017 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12018 echo $ac_n "(cached) $ac_c" 1>&6
12023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12024 ac_cpp
='$CXXCPP $CPPFLAGS'
12025 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12026 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12027 cross_compiling
=$ac_cv_prog_cxx_cross
12030 cat > conftest.
$ac_ext <<EOF
12031 #line 12032 "configure"
12032 #include "confdefs.h"
12034 #include <sys/time.h>
12035 #include <unistd.h>
12040 struct timezone tz;
12041 gettimeofday(&tv, &tz);
12045 if { (eval echo configure
:12046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12047 wx_cv_func_gettimeofday_has_2_args
=yes
12049 echo "configure: failed program was:" >&5
12050 cat conftest.
$ac_ext >&5
12052 cat > conftest.
$ac_ext <<EOF
12053 #line 12054 "configure"
12054 #include "confdefs.h"
12056 #include <sys/time.h>
12057 #include <unistd.h>
12066 if { (eval echo configure
:12067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12068 wx_cv_func_gettimeofday_has_2_args
=no
12070 echo "configure: failed program was:" >&5
12071 cat conftest.
$ac_ext >&5
12073 wx_cv_func_gettimeofday_has_2_args
=unknown
12081 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12082 ac_cpp
='$CPP $CPPFLAGS'
12083 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12084 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12085 cross_compiling
=$ac_cv_prog_cc_cross
12090 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12092 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12093 cat >> confdefs.h
<<\EOF
12094 #define WX_GETTIMEOFDAY_NO_TZ 1
12100 cat >> confdefs.h
<<\EOF
12101 #define wxUSE_TIMEDATE 1
12104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12108 if test "$TOOLKIT" != "MSW"; then
12110 if test "$wxUSE_SOCKETS" = "yes"; then
12111 echo $ac_n "checking for socket""... $ac_c" 1>&6
12112 echo "configure:12113: checking for socket" >&5
12113 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12114 echo $ac_n "(cached) $ac_c" 1>&6
12116 cat > conftest.
$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12119 /* System header to define __stub macros and hopefully few prototypes,
12120 which can conflict with char socket(); below. */
12121 #include <assert.h>
12122 /* Override any gcc2 internal prototype to avoid an error. */
12123 /* We use char because int might match the return type of a gcc2
12124 builtin and then its argument prototype would still apply. */
12129 /* The GNU C library defines this for functions which it implements
12130 to always fail with ENOSYS. Some functions are actually named
12131 something starting with __ and the normal name is an alias. */
12132 #if defined (__stub_socket) || defined (__stub___socket)
12140 if { (eval echo configure
:12141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12142 eval "ac_cv_func_socket=yes"
12144 echo "configure: failed program was:" >&5
12145 cat conftest.
$ac_ext >&5
12147 eval "ac_cv_func_socket=no"
12152 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12153 echo "$ac_t""yes" 1>&6
12156 echo "$ac_t""no" 1>&6
12157 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12158 echo "configure:12159: checking for socket in -lsocket" >&5
12159 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12163 ac_save_LIBS
="$LIBS"
12164 LIBS
="-lsocket $LIBS"
12165 cat > conftest.
$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12168 /* Override any gcc2 internal prototype to avoid an error. */
12169 /* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
12177 if { (eval echo configure
:12178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12179 eval "ac_cv_lib_$ac_lib_var=yes"
12181 echo "configure: failed program was:" >&5
12182 cat conftest.
$ac_ext >&5
12184 eval "ac_cv_lib_$ac_lib_var=no"
12187 LIBS
="$ac_save_LIBS"
12190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12191 echo "$ac_t""yes" 1>&6
12192 INET_LINK
="$INET_LINK -lsocket"
12194 echo "$ac_t""no" 1>&6
12196 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12209 if test "$wxUSE_SOCKETS" = "yes" ; then
12210 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12211 echo "configure:12212: checking what is the type of the third argument of getsockname" >&5
12212 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12213 echo $ac_n "(cached) $ac_c" 1>&6
12218 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12219 ac_cpp
='$CXXCPP $CPPFLAGS'
12220 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12221 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12222 cross_compiling
=$ac_cv_prog_cxx_cross
12225 cat > conftest.
$ac_ext <<EOF
12226 #line 12227 "configure"
12227 #include "confdefs.h"
12229 #include <sys/types.h>
12230 #include <sys/socket.h>
12235 getsockname(0, 0, &len);
12239 if { (eval echo configure
:12240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12241 wx_cv_type_getsockname3
=socklen_t
12243 echo "configure: failed program was:" >&5
12244 cat conftest.
$ac_ext >&5
12246 cat > conftest.
$ac_ext <<EOF
12247 #line 12248 "configure"
12248 #include "confdefs.h"
12250 #include <sys/types.h>
12251 #include <sys/socket.h>
12256 getsockname(0, 0, &len);
12260 if { (eval echo configure
:12261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12262 wx_cv_type_getsockname3
=size_t
12264 echo "configure: failed program was:" >&5
12265 cat conftest.
$ac_ext >&5
12267 cat > conftest.
$ac_ext <<EOF
12268 #line 12269 "configure"
12269 #include "confdefs.h"
12271 #include <sys/types.h>
12272 #include <sys/socket.h>
12277 getsockname(0, 0, &len);
12281 if { (eval echo configure
:12282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12283 wx_cv_type_getsockname3
=int
12285 echo "configure: failed program was:" >&5
12286 cat conftest.
$ac_ext >&5
12288 wx_cv_type_getsockname3
=unknown
12300 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12301 ac_cpp
='$CPP $CPPFLAGS'
12302 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12303 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12304 cross_compiling
=$ac_cv_prog_cc_cross
12309 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12311 if test "$wx_cv_type_getsockname3" = "unknown"; then
12313 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12315 cat >> confdefs.h
<<EOF
12316 #define SOCKLEN_T $wx_cv_type_getsockname3
12322 if test "$wxUSE_SOCKETS" = "yes" ; then
12323 cat >> confdefs.h
<<\EOF
12324 #define wxUSE_SOCKETS 1
12327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12328 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12332 if test "$TOOLKIT" != "MSW"; then
12334 if test "$wxUSE_JOYSTICK" = 1; then
12335 for ac_hdr
in linux
/joystick.h
12337 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12338 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12339 echo "configure:12340: checking for $ac_hdr" >&5
12340 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12341 echo $ac_n "(cached) $ac_c" 1>&6
12343 cat > conftest.
$ac_ext <<EOF
12344 #line 12345 "configure"
12345 #include "confdefs.h"
12348 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12349 { (eval echo configure
:12350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12350 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12351 if test -z "$ac_err"; then
12353 eval "ac_cv_header_$ac_safe=yes"
12356 echo "configure: failed program was:" >&5
12357 cat conftest.
$ac_ext >&5
12359 eval "ac_cv_header_$ac_safe=no"
12363 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12364 echo "$ac_t""yes" 1>&6
12365 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12366 cat >> confdefs.h
<<EOF
12367 #define $ac_tr_hdr 1
12371 echo "$ac_t""no" 1>&6
12375 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12377 echo "configure: warning: Joystick not supported yb this system" 1>&2
12383 if test "$wxUSE_JOYSTICK" = 1; then
12384 cat >> confdefs.h
<<\EOF
12385 #define wxUSE_JOYSTICK 1
12388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12392 if test "$TOOLKIT" != "MSW"; then
12396 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12397 for ac_func
in dlopen
12399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12400 echo "configure:12401: checking for $ac_func" >&5
12401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12402 echo $ac_n "(cached) $ac_c" 1>&6
12404 cat > conftest.
$ac_ext <<EOF
12405 #line 12406 "configure"
12406 #include "confdefs.h"
12407 /* System header to define __stub macros and hopefully few prototypes,
12408 which can conflict with char $ac_func(); below. */
12409 #include <assert.h>
12410 /* Override any gcc2 internal prototype to avoid an error. */
12411 /* We use char because int might match the return type of a gcc2
12412 builtin and then its argument prototype would still apply. */
12417 /* The GNU C library defines this for functions which it implements
12418 to always fail with ENOSYS. Some functions are actually named
12419 something starting with __ and the normal name is an alias. */
12420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12428 if { (eval echo configure
:12429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12430 eval "ac_cv_func_$ac_func=yes"
12432 echo "configure: failed program was:" >&5
12433 cat conftest.
$ac_ext >&5
12435 eval "ac_cv_func_$ac_func=no"
12440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12441 echo "$ac_t""yes" 1>&6
12442 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12443 cat >> confdefs.h
<<EOF
12444 #define $ac_tr_func 1
12447 cat >> confdefs.h
<<\EOF
12448 #define HAVE_DLOPEN 1
12454 echo "$ac_t""no" 1>&6
12455 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12456 echo "configure:12457: checking for dlopen in -ldl" >&5
12457 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12459 echo $ac_n "(cached) $ac_c" 1>&6
12461 ac_save_LIBS
="$LIBS"
12463 cat > conftest.
$ac_ext <<EOF
12464 #line 12465 "configure"
12465 #include "confdefs.h"
12466 /* Override any gcc2 internal prototype to avoid an error. */
12467 /* We use char because int might match the return type of a gcc2
12468 builtin and then its argument prototype would still apply. */
12475 if { (eval echo configure
:12476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12477 eval "ac_cv_lib_$ac_lib_var=yes"
12479 echo "configure: failed program was:" >&5
12480 cat conftest.
$ac_ext >&5
12482 eval "ac_cv_lib_$ac_lib_var=no"
12485 LIBS
="$ac_save_LIBS"
12488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12489 echo "$ac_t""yes" 1>&6
12491 cat >> confdefs.h
<<\EOF
12492 #define HAVE_DLOPEN 1
12499 echo "$ac_t""no" 1>&6
12501 for ac_func
in shl_load
12503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12504 echo "configure:12505: checking for $ac_func" >&5
12505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12506 echo $ac_n "(cached) $ac_c" 1>&6
12508 cat > conftest.
$ac_ext <<EOF
12509 #line 12510 "configure"
12510 #include "confdefs.h"
12511 /* System header to define __stub macros and hopefully few prototypes,
12512 which can conflict with char $ac_func(); below. */
12513 #include <assert.h>
12514 /* Override any gcc2 internal prototype to avoid an error. */
12515 /* We use char because int might match the return type of a gcc2
12516 builtin and then its argument prototype would still apply. */
12521 /* The GNU C library defines this for functions which it implements
12522 to always fail with ENOSYS. Some functions are actually named
12523 something starting with __ and the normal name is an alias. */
12524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12532 if { (eval echo configure
:12533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12534 eval "ac_cv_func_$ac_func=yes"
12536 echo "configure: failed program was:" >&5
12537 cat conftest.
$ac_ext >&5
12539 eval "ac_cv_func_$ac_func=no"
12544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12545 echo "$ac_t""yes" 1>&6
12546 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12547 cat >> confdefs.h
<<EOF
12548 #define $ac_tr_func 1
12551 cat >> confdefs.h
<<\EOF
12552 #define HAVE_SHL_LOAD 1
12558 echo "$ac_t""no" 1>&6
12570 if test "$HAVE_DL_FUNCS" = 0; then
12571 if test "$HAVE_SHL_FUNCS" = 0; then
12572 if test "$USE_UNIX" = 1; then
12573 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12574 wxUSE_DYNLIB_CLASS
=no
12576 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12584 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12585 cat >> confdefs.h
<<\EOF
12586 #define wxUSE_DYNLIB_CLASS 1
12595 if test "$wxUSE_UNICODE" = "yes" ; then
12596 cat >> confdefs.h
<<\EOF
12597 #define wxUSE_UNICODE 1
12602 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12603 cat >> confdefs.h
<<\EOF
12604 #define wxUSE_WCSRTOMBS 1
12609 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12610 cat >> confdefs.h
<<\EOF
12611 #define wxUSE_EXPERIMENTAL_PRINTF 1
12617 if test "$wxUSE_SERIAL" = "yes" ; then
12618 cat >> confdefs.h
<<\EOF
12619 #define wxUSE_SERIAL 1
12626 if test "$wxUSE_ODBC" = "yes" ; then
12627 cat >> confdefs.h
<<\EOF
12628 #define wxUSE_ODBC 1
12631 WXODBCFLAG
="-D_IODBC_"
12632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12633 IODBCOBJS
="\$(IODBC_OBJS)"
12639 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12640 cat >> confdefs.h
<<\EOF
12641 #define wxUSE_POSTSCRIPT 1
12646 cat >> confdefs.h
<<\EOF
12647 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12651 cat >> confdefs.h
<<\EOF
12652 #define wxUSE_NORMALIZED_PS_FONTS 1
12657 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12658 cat >> confdefs.h
<<\EOF
12659 #define wxUSE_CONSTRAINTS 1
12662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12665 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12666 cat >> confdefs.h
<<\EOF
12667 #define wxUSE_MDI_ARCHITECTURE 1
12670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12673 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12674 cat >> confdefs.h
<<\EOF
12675 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12679 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12684 if test "$wxUSE_HELP" = "yes"; then
12685 cat >> confdefs.h
<<\EOF
12686 #define wxUSE_HELP 1
12689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12692 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12693 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12694 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12696 cat >> confdefs.h
<<\EOF
12697 #define wxUSE_PRINTING_ARCHITECTURE 1
12701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12704 if test "$wxUSE_PROLOGIO" = "yes" ; then
12705 cat >> confdefs.h
<<\EOF
12706 #define wxUSE_PROLOGIO 1
12711 if test "$wxUSE_RESOURCES" = "yes" ; then
12712 if test "$wxUSE_PROLOGIO" = "yes" ; then
12713 cat >> confdefs.h
<<\EOF
12714 #define wxUSE_RESOURCES 1
12717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12719 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12723 if test "$wxUSE_X_RESOURCES" = "yes"; then
12724 cat >> confdefs.h
<<\EOF
12725 #define wxUSE_X_RESOURCES 1
12731 if test "$wxUSE_IPC" = "yes"; then
12732 cat >> confdefs.h
<<\EOF
12733 #define wxUSE_IPC 1
12738 if test "$wxUSE_CLIPBOARD" = "yes"; then
12739 cat >> confdefs.h
<<\EOF
12740 #define wxUSE_CLIPBOARD 1
12745 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12746 if test "$wxUSE_GTK" = 1; then
12747 if test "$WXGTK12" != 1; then
12748 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12749 wxUSE_DRAG_AND_DROP
=no
12753 if test "$wxUSE_MOTIF" = 1; then
12754 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12755 wxUSE_DRAG_AND_DROP
=no
12758 if test "$USE_WIN32" = 1; then
12759 for ac_hdr
in ole2.h
12761 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12762 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12763 echo "configure:12764: checking for $ac_hdr" >&5
12764 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12767 cat > conftest.
$ac_ext <<EOF
12768 #line 12769 "configure"
12769 #include "confdefs.h"
12772 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12773 { (eval echo configure
:12774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12774 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12775 if test -z "$ac_err"; then
12777 eval "ac_cv_header_$ac_safe=yes"
12780 echo "configure: failed program was:" >&5
12781 cat conftest.
$ac_ext >&5
12783 eval "ac_cv_header_$ac_safe=no"
12787 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12788 echo "$ac_t""yes" 1>&6
12789 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12790 cat >> confdefs.h
<<EOF
12791 #define $ac_tr_hdr 1
12795 echo "$ac_t""no" 1>&6
12799 if test "x$HAVE_OLE2_H" = x
; then
12800 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12801 wxUSE_DRAG_AND_DROP
=no
12805 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12806 cat >> confdefs.h
<<\EOF
12807 #define wxUSE_DRAG_AND_DROP 1
12810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12815 if test "$wxUSE_SPLINES" = "yes" ; then
12816 cat >> confdefs.h
<<\EOF
12817 #define wxUSE_SPLINES 1
12823 if test "$wxUSE_ACCEL" = "yes"; then
12824 cat >> confdefs.h
<<\EOF
12825 #define wxUSE_ACCEL 1
12830 if test "$wxUSE_CARET" = "yes"; then
12831 cat >> confdefs.h
<<\EOF
12832 #define wxUSE_CARET 1
12835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12838 if test "$wxUSE_COMBOBOX" = "yes"; then
12839 cat >> confdefs.h
<<\EOF
12840 #define wxUSE_COMBOBOX 1
12845 if test "$wxUSE_CHOICE" = "yes"; then
12846 cat >> confdefs.h
<<\EOF
12847 #define wxUSE_CHOICE 1
12852 if test "$wxUSE_BMPBUTTON" = "yes"; then
12853 cat >> confdefs.h
<<\EOF
12854 #define wxUSE_BMPBUTTON 1
12859 if test "$wxUSE_CHECKBOX" = "yes"; then
12860 cat >> confdefs.h
<<\EOF
12861 #define wxUSE_CHECKBOX 1
12866 if test "$wxUSE_CHECKLST" = "yes"; then
12867 cat >> confdefs.h
<<\EOF
12868 #define wxUSE_CHECKLISTBOX 1
12871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12874 if test "$wxUSE_GAUGE" = "yes"; then
12875 cat >> confdefs.h
<<\EOF
12876 #define wxUSE_GAUGE 1
12881 if test "$wxUSE_GRID" = "yes"; then
12882 cat >> confdefs.h
<<\EOF
12883 #define wxUSE_GRID 1
12886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12889 if test "$wxUSE_NEW_GRID" = "yes"; then
12890 cat >> confdefs.h
<<\EOF
12891 #define wxUSE_NEW_GRID 1
12894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12897 if test "$wxUSE_IMAGLIST" = "yes"; then
12898 cat >> confdefs.h
<<\EOF
12899 #define wxUSE_IMAGLIST 1
12904 if test "$wxUSE_LISTBOX" = "yes"; then
12905 cat >> confdefs.h
<<\EOF
12906 #define wxUSE_LISTBOX 1
12911 if test "$wxUSE_LISTCTRL" = "yes"; then
12912 if test "$wxUSE_IMAGLIST" = "yes"; then
12913 cat >> confdefs.h
<<\EOF
12914 #define wxUSE_LISTCTRL 1
12917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12919 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12923 if test "$wxUSE_NOTEBOOK" = "yes"; then
12924 cat >> confdefs.h
<<\EOF
12925 #define wxUSE_NOTEBOOK 1
12928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12931 if test "$wxUSE_RADIOBOX" = "yes"; then
12932 cat >> confdefs.h
<<\EOF
12933 #define wxUSE_RADIOBOX 1
12938 if test "$wxUSE_RADIOBTN" = "yes"; then
12939 cat >> confdefs.h
<<\EOF
12940 #define wxUSE_RADIOBTN 1
12945 if test "$wxUSE_SASH" = "yes"; then
12946 cat >> confdefs.h
<<\EOF
12947 #define wxUSE_SASH 1
12950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12953 if test "$wxUSE_SCROLLBAR" = "yes"; then
12954 cat >> confdefs.h
<<\EOF
12955 #define wxUSE_SCROLLBAR 1
12958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12961 if test "$wxUSE_SLIDER" = "yes"; then
12962 cat >> confdefs.h
<<\EOF
12963 #define wxUSE_SLIDER 1
12968 if test "$wxUSE_SPINBTN" = "yes"; then
12969 cat >> confdefs.h
<<\EOF
12970 #define wxUSE_SPINBTN 1
12975 if test "$wxUSE_SPINCTRL" = "yes"; then
12976 cat >> confdefs.h
<<\EOF
12977 #define wxUSE_SPINCTRL 1
12982 if test "$wxUSE_SPLITTER" = "yes"; then
12983 cat >> confdefs.h
<<\EOF
12984 #define wxUSE_SPLITTER 1
12987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12990 if test "$wxUSE_STATBMP" = "yes"; then
12991 cat >> confdefs.h
<<\EOF
12992 #define wxUSE_STATBMP 1
12997 if test "$wxUSE_STATBOX" = "yes"; then
12998 cat >> confdefs.h
<<\EOF
12999 #define wxUSE_STATBOX 1
13004 if test "$wxUSE_STATLINE" = "yes"; then
13005 if test "$wxUSE_WINE" = 1 ; then
13006 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13008 cat >> confdefs.h
<<\EOF
13009 #define wxUSE_STATLINE 1
13015 if test "$wxUSE_STATUSBAR" = "yes"; then
13016 cat >> confdefs.h
<<\EOF
13017 #define wxUSE_STATUSBAR 1
13021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13024 if test "$wxUSE_TABDIALOG" = "yes"; then
13025 cat >> confdefs.h
<<\EOF
13026 #define wxUSE_TAB_DIALOG 1
13029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13032 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13033 cat >> confdefs.h
<<\EOF
13034 #define wxUSE_TOOLBAR_SIMPLE 1
13037 wxUSE_TOOLBAR
="yes"
13040 if test "$wxUSE_TOOLBAR" = "yes"; then
13041 cat >> confdefs.h
<<\EOF
13042 #define wxUSE_TOOLBAR 1
13046 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13047 wxUSE_TOOLBAR_NATIVE
="yes"
13050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13053 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13054 cat >> confdefs.h
<<\EOF
13055 #define wxUSE_TOOLBAR_NATIVE 1
13060 if test "$wxUSE_TOOLTIPS" = "yes"; then
13061 if test "$wxUSE_MOTIF" = 1; then
13062 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13064 if test "$wxUSE_WINE" = 1; then
13065 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13067 cat >> confdefs.h
<<\EOF
13068 #define wxUSE_TOOLTIPS 1
13075 if test "$wxUSE_TREECTRL" = "yes"; then
13076 if test "$wxUSE_IMAGLIST" = "yes"; then
13077 cat >> confdefs.h
<<\EOF
13078 #define wxUSE_TREECTRL 1
13081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13083 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13089 if test "$wxUSE_METAFILE" = "yes"; then
13090 cat >> confdefs.h
<<\EOF
13091 #define wxUSE_METAFILE 1
13096 if test "$wxUSE_DIRDLG" = "yes"; then
13097 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13098 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13100 if test "$wxUSE_TREECTRL" != "yes"; then
13101 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13103 cat >> confdefs.h
<<\EOF
13104 #define wxUSE_DIRDLG 1
13111 if test "$wxUSE_TEXTDLG" = "yes"; then
13112 cat >> confdefs.h
<<\EOF
13113 #define wxUSE_TEXTDLG 1
13118 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13119 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13120 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13122 cat >> confdefs.h
<<\EOF
13123 #define wxUSE_STARTUP_TIPS 1
13129 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13130 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13131 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13133 cat >> confdefs.h
<<\EOF
13134 #define wxUSE_PROGRESSDLG 1
13140 if test "$wxUSE_MINIFRAME" = "yes"; then
13141 cat >> confdefs.h
<<\EOF
13142 #define wxUSE_MINIFRAME 1
13145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13148 if test "$wxUSE_HTML" = "yes"; then
13149 cat >> confdefs.h
<<\EOF
13150 #define wxUSE_HTML 1
13153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13154 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13157 if test "$wxUSE_VALIDATORS" = "yes"; then
13158 cat >> confdefs.h
<<\EOF
13159 #define wxUSE_VALIDATORS 1
13162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13165 if test "$wxUSE_GIF" = "yes" ; then
13166 cat >> confdefs.h
<<\EOF
13167 #define wxUSE_GIF 1
13172 if test "$wxUSE_PCX" = "yes" ; then
13173 cat >> confdefs.h
<<\EOF
13174 #define wxUSE_PCX 1
13179 if test "$wxUSE_PNM" = "yes" ; then
13180 cat >> confdefs.h
<<\EOF
13181 #define wxUSE_PNM 1
13187 OSINFO
=`uname -s -r -m`
13188 OSINFO
="\"$OSINFO\""
13189 cat >> confdefs.h
<<EOF
13190 #define WXWIN_OS_DESCRIPTION $OSINFO
13195 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
13197 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13198 if test "$wxUSE_GUI" = "yes"; then
13199 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13202 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13204 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13206 if test "$GXX" = yes ; then
13207 CXXWARNINGS
="-Wall"
13209 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13211 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13212 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13214 LDFLAGS
="$LDFLAGS $PROFILE"
13216 if test "$wxUSE_GUI" = "yes"; then
13218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
13219 font fractal image minimal richedit"
13221 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS)"
13226 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13294 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13295 echo "configure:13296: checking whether ${MAKE-make} sets \${MAKE}" >&5
13296 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13297 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13298 echo $ac_n "(cached) $ac_c" 1>&6
13300 cat > conftestmake
<<\EOF
13302 @
echo 'ac_maketemp="${MAKE}"'
13304 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13305 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13306 if test -n "$ac_maketemp"; then
13307 eval ac_cv_prog_make_
${ac_make}_set
=yes
13309 eval ac_cv_prog_make_
${ac_make}_set
=no
13313 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13314 echo "$ac_t""yes" 1>&6
13317 echo "$ac_t""no" 1>&6
13318 SET_MAKE
="MAKE=${MAKE-make}"
13324 if test "$wxUSE_GUI" = "yes"; then
13325 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13326 echo "configure:13327: checking glcanvas subdirectory to use" >&5
13327 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13328 echo $ac_n "(cached) $ac_c" 1>&6
13331 if test "${TOOLKIT_DIR}" = "msw" ; then
13332 wx_cv_path_glcanvas
="win"
13334 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13339 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13341 GL_TOOLKIT_DIR
=$wx_cv_path_glcanvas
13344 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13345 subdirs
="demos samples utils"
13350 cat > confcache
<<\EOF
13351 # This file is a shell script that caches the results of configure
13352 # tests run on this system so they can be shared between configure
13353 # scripts and configure runs. It is not useful on other systems.
13354 # If it contains results you don't want to keep, you may remove or edit it.
13356 # By default, configure uses ./config.cache as the cache file,
13357 # creating it if it does not exist already. You can give configure
13358 # the --cache-file=FILE option to use a different cache file; that is
13359 # what configure does when it calls configure scripts in
13360 # subdirectories, so they share the cache.
13361 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13362 # config.status only pays attention to the cache file if you give it the
13363 # --recheck option to rerun configure.
13366 # The following way of writing the cache mishandles newlines in values,
13367 # but we know of no workaround that is simple, portable, and efficient.
13368 # So, don't put newlines in cache variables' values.
13369 # Ultrix sh set writes to stderr and can't be redirected directly,
13370 # and sets the high bit in the cache file unless we assign to the vars.
13372 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13374 # `set' does not quote correctly, so add quotes (double-quote substitution
13375 # turns \\\\ into \\, and sed turns \\ into \).
13377 -e "s/'/'\\\\''/g" \
13378 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13381 # `set' quotes correctly as required by POSIX, so do not add quotes.
13382 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13385 if cmp -s $cache_file confcache
; then
13388 if test -w $cache_file; then
13389 echo "updating cache $cache_file"
13390 cat confcache
> $cache_file
13392 echo "not updating unwritable cache $cache_file"
13397 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13399 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13400 # Let make expand exec_prefix.
13401 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13403 # Any assignment to VPATH causes Sun make to only execute
13404 # the first set of double-colon rules, so remove it if not needed.
13405 # If there is a colon in the path, we need to keep it.
13406 if test "x$srcdir" = x.
; then
13407 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13410 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13412 DEFS
=-DHAVE_CONFIG_H
13414 # Without the "./", some shells look in PATH for config.status.
13415 : ${CONFIG_STATUS=./config.status}
13417 echo creating
$CONFIG_STATUS
13418 rm -f $CONFIG_STATUS
13419 cat > $CONFIG_STATUS <<EOF
13421 # Generated automatically by configure.
13422 # Run this file to recreate the current configuration.
13423 # This directory was configured as follows,
13424 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13426 # $0 $ac_configure_args
13428 # Compiler output produced by configure, useful for debugging
13429 # configure, is in ./config.log if it exists.
13431 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13434 case "\$ac_option" in
13435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13436 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13437 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13438 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13439 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13441 -help | --help | --hel | --he | --h)
13442 echo "\$ac_cs_usage"; exit 0 ;;
13443 *) echo "\$ac_cs_usage"; exit 1 ;;
13447 ac_given_srcdir=$srcdir
13448 ac_given_INSTALL="$INSTALL"
13450 trap 'rm -fr `echo "
13456 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13458 cat >> $CONFIG_STATUS <<EOF
13460 # Protect against being on the right side of a sed subst in config.status.
13461 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13462 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13466 s%@CFLAGS@%$CFLAGS%g
13467 s%@CPPFLAGS@%$CPPFLAGS%g
13468 s%@CXXFLAGS@%$CXXFLAGS%g
13469 s%@FFLAGS@%$FFLAGS%g
13471 s%@LDFLAGS@%$LDFLAGS%g
13473 s%@exec_prefix@%$exec_prefix%g
13474 s%@prefix@%$prefix%g
13475 s%@program_transform_name@%$program_transform_name%g
13476 s%@bindir@%$bindir%g
13477 s%@sbindir@%$sbindir%g
13478 s%@libexecdir@%$libexecdir%g
13479 s%@datadir@%$datadir%g
13480 s%@sysconfdir@%$sysconfdir%g
13481 s%@sharedstatedir@%$sharedstatedir%g
13482 s%@localstatedir@%$localstatedir%g
13483 s%@libdir@%$libdir%g
13484 s%@includedir@%$includedir%g
13485 s%@oldincludedir@%$oldincludedir%g
13486 s%@infodir@%$infodir%g
13487 s%@mandir@%$mandir%g
13489 s%@host_alias@%$host_alias%g
13490 s%@host_cpu@%$host_cpu%g
13491 s%@host_vendor@%$host_vendor%g
13492 s%@host_os@%$host_os%g
13493 s%@target@%$target%g
13494 s%@target_alias@%$target_alias%g
13495 s%@target_cpu@%$target_cpu%g
13496 s%@target_vendor@%$target_vendor%g
13497 s%@target_os@%$target_os%g
13499 s%@build_alias@%$build_alias%g
13500 s%@build_cpu@%$build_cpu%g
13501 s%@build_vendor@%$build_vendor%g
13502 s%@build_os@%$build_os%g
13506 s%@CXXCPP@%$CXXCPP%g
13507 s%@RANLIB@%$RANLIB%g
13509 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13510 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13511 s%@INSTALL_DATA@%$INSTALL_DATA%g
13515 s%@LEXLIB@%$LEXLIB%g
13517 s%@GTK_CONFIG@%$GTK_CONFIG%g
13518 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13519 s%@GTK_LIBS@%$GTK_LIBS%g
13520 s%@X_CFLAGS@%$X_CFLAGS%g
13521 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13522 s%@X_LIBS@%$X_LIBS%g
13523 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13524 s%@LEX_STEM@%$LEX_STEM%g
13525 s%@PATH_IFS@%$PATH_IFS%g
13526 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13527 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13528 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13529 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13530 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13531 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13532 s%@WX_LIBRARY@%$WX_LIBRARY%g
13533 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13534 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13535 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13536 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13537 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13538 s%@WX_ALL@%$WX_ALL%g
13539 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13540 s%@SHARED_LD@%$SHARED_LD%g
13541 s%@PIC_FLAG@%$PIC_FLAG%g
13542 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13543 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13544 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13545 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13546 s%@USE_GUI@%$USE_GUI%g
13547 s%@AFMINSTALL@%$AFMINSTALL%g
13548 s%@TOOLKIT@%$TOOLKIT%g
13549 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13550 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13551 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13552 s%@GUIHEADERS@%$GUIHEADERS%g
13553 s%@GUIOBJS@%$GUIOBJS%g
13554 s%@COMMONOBJS@%$COMMONOBJS%g
13555 s%@GENERICOBJS@%$GENERICOBJS%g
13556 s%@GUIDEPS@%$GUIDEPS%g
13557 s%@COMMONDEPS@%$COMMONDEPS%g
13558 s%@GENERICDEPS@%$GENERICDEPS%g
13559 s%@IODBCOBJS@%$IODBCOBJS%g
13560 s%@UNIXOBJS@%$UNIXOBJS%g
13561 s%@UNIXDEPS@%$UNIXDEPS%g
13562 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13563 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13564 s%@GUIDIST@%$GUIDIST%g
13565 s%@PORT_FILES@%$PORT_FILES%g
13566 s%@DISTDIR@%$DISTDIR%g
13567 s%@RPM_SPEC@%$RPM_SPEC%g
13568 s%@RPM_FILES@%$RPM_FILES%g
13569 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13570 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13571 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13572 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13573 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13574 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13575 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13576 s%@EXTRADEFS@%$EXTRADEFS%g
13577 s%@LD_LIBS@%$LD_LIBS%g
13578 s%@SET_MAKE@%$SET_MAKE%g
13579 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13580 s%@subdirs@%$subdirs%g
13585 cat >> $CONFIG_STATUS <<\EOF
13587 # Split the substitutions into bite-sized pieces for seds with
13588 # small command number limits, like on Digital OSF/1 and HP-UX.
13589 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13590 ac_file
=1 # Number of current file.
13591 ac_beg
=1 # First line for current file.
13592 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13595 while $ac_more_lines; do
13596 if test $ac_beg -gt 1; then
13597 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13599 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13601 if test ! -s conftest.s
$ac_file; then
13602 ac_more_lines
=false
13603 rm -f conftest.s
$ac_file
13605 if test -z "$ac_sed_cmds"; then
13606 ac_sed_cmds
="sed -f conftest.s$ac_file"
13608 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13610 ac_file
=`expr $ac_file + 1`
13612 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13615 if test -z "$ac_sed_cmds"; then
13620 cat >> $CONFIG_STATUS <<EOF
13622 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13629 cat >> $CONFIG_STATUS <<\EOF
13630 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13633 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13634 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13635 *) ac_file_in
="${ac_file}.in" ;;
13638 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13640 # Remove last slash and all that follows it. Not all systems have dirname.
13641 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13642 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13643 # The file is in a subdirectory.
13644 test ! -d "$ac_dir" && mkdir "$ac_dir"
13645 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13646 # A "../" for each directory in $ac_dir_suffix.
13647 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13649 ac_dir_suffix
= ac_dots
=
13652 case "$ac_given_srcdir" in
13654 if test -z "$ac_dots"; then top_srcdir
=.
13655 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13656 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13657 *) # Relative path.
13658 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13659 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13662 case "$ac_given_INSTALL" in
13663 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13664 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13667 echo creating
"$ac_file"
13669 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13671 *Makefile
*) ac_comsub
="1i\\
13672 # $configure_input" ;;
13676 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13678 s%@configure_input@%$configure_input%g
13679 s%@srcdir@%$srcdir%g
13680 s%@top_srcdir@%$top_srcdir%g
13681 s%@INSTALL@%$INSTALL%g
13682 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13686 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13687 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13689 # ac_d sets the value in "#define NAME VALUE" lines.
13690 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13691 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13694 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13695 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13696 ac_uB
='\([ ]\)%\1#\2define\3'
13699 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13700 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13701 ac_eB
='$%\1#\2define\3'
13705 if test "${CONFIG_HEADERS+set}" != set; then
13707 cat >> $CONFIG_STATUS <<EOF
13708 CONFIG_HEADERS="setup.h:setup.h.in"
13710 cat >> $CONFIG_STATUS <<\EOF
13712 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13715 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13716 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13717 *) ac_file_in
="${ac_file}.in" ;;
13720 echo creating
$ac_file
13722 rm -f conftest.frag conftest.
in conftest.out
13723 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13724 cat $ac_file_inputs > conftest.
in
13728 # Transform confdefs.h into a sed script conftest.vals that substitutes
13729 # the proper values into config.h.in to produce config.h. And first:
13730 # Protect against being on the right side of a sed subst in config.status.
13731 # Protect against being in an unquoted here document in config.status.
13732 rm -f conftest.vals
13733 cat > conftest.hdr
<<\EOF
13736 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13740 sed -n -f conftest.hdr confdefs.h > conftest.vals
13743 # This sed command replaces #undef with comments. This is necessary, for
13744 # example, in the case of _POSIX_SOURCE, which is predefined and required
13745 # on some systems where configure will not decide to define it.
13746 cat >> conftest.vals <<\EOF
13747 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13750 # Break up conftest.vals because some shells have a limit on
13751 # the size of here documents, and old seds have small limits too.
13753 rm -f conftest.tail
13756 ac_lines=`grep -c . conftest.vals
`
13757 # grep -c gives empty output for an empty file on some AIX systems.
13758 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13759 # Write a limited-size here document to conftest.frag.
13760 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13761 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13763 sed -f conftest.frag conftest.in > conftest.out
13765 mv conftest.out conftest.in
13766 ' >> $CONFIG_STATUS
13767 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13768 rm -f conftest.vals
13769 mv conftest.tail conftest.vals
13771 rm -f conftest.vals
13773 cat >> $CONFIG_STATUS <<\EOF
13774 rm -f conftest.frag conftest.h
13775 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13776 cat conftest.in >> conftest.h
13778 if cmp -s $ac_file conftest.h 2>/dev/null; then
13779 echo "$ac_file is unchanged"
13782 # Remove last slash and all that follows it. Not all systems have dirname.
13783 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13784 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13785 # The file is in a subdirectory.
13786 test ! -d "$ac_dir" && mkdir "$ac_dir"
13789 mv conftest.h $ac_file
13794 cat >> $CONFIG_STATUS <<EOF
13796 TOOLKIT_DIR="${TOOLKIT_DIR}"
13800 cat >> $CONFIG_STATUS <<\EOF
13803 if test ! -d include; then
13806 if test ! -d include/wx; then
13809 if test ! -d include/wx/${TOOLKIT_DIR}; then
13810 mkdir include/wx/${TOOLKIT_DIR}
13812 if test -f setup.h; then
13813 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13818 chmod +x $CONFIG_STATUS
13819 rm -fr confdefs* $ac_clean_files
13820 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13822 if test "$no_recursion" != yes; then
13824 # Remove --cache-file and --srcdir arguments so they do not pile up.
13825 ac_sub_configure_args=
13827 for ac_arg in $ac_configure_args; do
13828 if test -n "$ac_prev"; then
13833 -cache-file | --cache-file | --cache-fil | --cache-fi \
13834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13835 ac_prev=cache_file ;;
13836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13839 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13841 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13843 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13847 for ac_config_dir in demos samples utils; do
13849 # Do not complain, so a configure script can configure whichever
13850 # parts of a large source tree are present.
13851 if test ! -d $srcdir/$ac_config_dir; then
13855 echo configuring in $ac_config_dir
13860 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
13862 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
13870 # A "../" for each directory in /$ac_config_dir.
13871 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
13874 .) # No --srcdir option. We are building in place.
13875 ac_sub_srcdir=$srcdir ;;
13876 /*) # Absolute path.
13877 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
13878 *) # Relative path.
13879 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
13882 # Check for guested configure; otherwise get Cygnus style configure.
13883 if test -f $ac_sub_srcdir/configure; then
13884 ac_sub_configure=$ac_sub_srcdir/configure
13885 elif test -f $ac_sub_srcdir/configure.in; then
13886 ac_sub_configure=$ac_configure
13888 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
13892 # The recursion is here.
13893 if test -n "$ac_sub_configure"; then
13895 # Make the cache file name correct relative to the subdirectory.
13896 case "$cache_file" in
13897 /*) ac_sub_cache_file=$cache_file ;;
13898 *) # Relative path.
13899 ac_sub_cache_file="$ac_dots$cache_file" ;;
13901 case "$ac_given_INSTALL" in
13902 [/$]*) INSTALL="$ac_given_INSTALL" ;;
13903 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
13906 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
13907 # The eval makes quoting arguments work.
13908 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
13911 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }