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-gif use gif images (GIF file format)"
272 --enable-pcx use pcx images (PCX file format)"
274 --enable-pnm use pnm images (PNM file format)"
276 --with-x use the X Window System"
278 # Initialize some variables set by options.
279 # The variables have the same names as the options, with
280 # dashes changed to underlines.
282 cache_file
=.
/config.cache
291 program_transform_name
=s
,x
,x
,
299 bindir
='${exec_prefix}/bin'
300 sbindir
='${exec_prefix}/sbin'
301 libexecdir
='${exec_prefix}/libexec'
302 datadir
='${prefix}/share'
303 sysconfdir
='${prefix}/etc'
304 sharedstatedir
='${prefix}/com'
305 localstatedir
='${prefix}/var'
306 libdir
='${exec_prefix}/lib'
307 includedir
='${prefix}/include'
308 oldincludedir
='/usr/include'
309 infodir
='${prefix}/info'
310 mandir
='${prefix}/man'
312 # Initialize some other variables.
315 SHELL
=${CONFIG_SHELL-/bin/sh}
316 # Maximum number of lines to put in a shell here document.
323 # If the previous option needs an argument, assign it.
324 if test -n "$ac_prev"; then
325 eval "$ac_prev=\$ac_option"
331 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
335 # Accept the important Cygnus configure options, so we can diagnose typos.
339 -bindir | --bindir | --bindi | --bind | --bin | --bi)
341 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
342 bindir
="$ac_optarg" ;;
344 -build | --build | --buil | --bui | --bu)
346 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
347 build
="$ac_optarg" ;;
349 -cache-file | --cache-file | --cache-fil | --cache-fi \
350 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
351 ac_prev
=cache_file
;;
352 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
353 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
354 cache_file
="$ac_optarg" ;;
356 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
358 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
360 datadir
="$ac_optarg" ;;
362 -disable-* | --disable-*)
363 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
364 # Reject names that are not valid shell variable names.
365 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
366 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
368 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
369 eval "enable_${ac_feature}=no" ;;
371 -enable-* | --enable-*)
372 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
373 # Reject names that are not valid shell variable names.
374 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
375 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
377 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
382 eval "enable_${ac_feature}='$ac_optarg'" ;;
384 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
385 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
386 | --exec | --exe | --ex)
387 ac_prev
=exec_prefix
;;
388 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
389 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
390 | --exec=* | --exe=* | --ex=*)
391 exec_prefix
="$ac_optarg" ;;
393 -gas | --gas | --ga | --g)
394 # Obsolete; use --with-gas.
397 -help | --help | --hel | --he)
398 # Omit some internal or obsolete options to make the list less imposing.
399 # This message is too long to be a string in the A/UX 3.1 sh.
401 Usage: configure [options] [host]
402 Options: [defaults in brackets after descriptions]
404 --cache-file=FILE cache test results in FILE
405 --help print this message
406 --no-create do not create output files
407 --quiet, --silent do not print \`checking...' messages
408 --version print the version of autoconf that created configure
409 Directory and file names:
410 --prefix=PREFIX install architecture-independent files in PREFIX
412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
414 --bindir=DIR user executables in DIR [EPREFIX/bin]
415 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
416 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
417 --datadir=DIR read-only architecture-independent data in DIR
419 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
420 --sharedstatedir=DIR modifiable architecture-independent data in DIR
422 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
423 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
424 --includedir=DIR C header files in DIR [PREFIX/include]
425 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
426 --infodir=DIR info documentation in DIR [PREFIX/info]
427 --mandir=DIR man documentation in DIR [PREFIX/man]
428 --srcdir=DIR find the sources in DIR [configure dir or ..]
429 --program-prefix=PREFIX prepend PREFIX to installed program names
430 --program-suffix=SUFFIX append SUFFIX to installed program names
431 --program-transform-name=PROGRAM
432 run sed PROGRAM on installed program names
436 --build=BUILD configure for building on BUILD [BUILD=HOST]
437 --host=HOST configure for HOST [guessed]
438 --target=TARGET configure for TARGET [TARGET=HOST]
439 Features and packages:
440 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
441 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
444 --x-includes=DIR X include files are in DIR
445 --x-libraries=DIR X library files are in DIR
447 if test -n "$ac_help"; then
448 echo "--enable and --with options recognized:$ac_help"
452 -host | --host | --hos | --ho)
454 -host=* | --host=* | --hos=* | --ho=*)
457 -includedir | --includedir | --includedi | --included | --include \
458 | --includ | --inclu | --incl | --inc)
459 ac_prev
=includedir
;;
460 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
461 | --includ=* | --inclu=* | --incl=* | --inc=*)
462 includedir
="$ac_optarg" ;;
464 -infodir | --infodir | --infodi | --infod | --info | --inf)
466 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
467 infodir
="$ac_optarg" ;;
469 -libdir | --libdir | --libdi | --libd)
471 -libdir=* | --libdir=* | --libdi=* | --libd=*)
472 libdir
="$ac_optarg" ;;
474 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
475 | --libexe | --libex | --libe)
476 ac_prev
=libexecdir
;;
477 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
478 | --libexe=* | --libex=* | --libe=*)
479 libexecdir
="$ac_optarg" ;;
481 -localstatedir | --localstatedir | --localstatedi | --localstated \
482 | --localstate | --localstat | --localsta | --localst \
483 | --locals | --local | --loca | --loc | --lo)
484 ac_prev
=localstatedir
;;
485 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
486 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
487 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
488 localstatedir
="$ac_optarg" ;;
490 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
492 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
493 mandir
="$ac_optarg" ;;
496 # Obsolete; use --without-fp.
499 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
503 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
504 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
507 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
508 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
509 | --oldin | --oldi | --old | --ol | --o)
510 ac_prev
=oldincludedir
;;
511 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
512 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
513 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
514 oldincludedir
="$ac_optarg" ;;
516 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
518 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
519 prefix
="$ac_optarg" ;;
521 -program-prefix | --program-prefix | --program-prefi | --program-pref \
522 | --program-pre | --program-pr | --program-p)
523 ac_prev
=program_prefix
;;
524 -program-prefix=* | --program-prefix=* | --program-prefi=* \
525 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
526 program_prefix
="$ac_optarg" ;;
528 -program-suffix | --program-suffix | --program-suffi | --program-suff \
529 | --program-suf | --program-su | --program-s)
530 ac_prev
=program_suffix
;;
531 -program-suffix=* | --program-suffix=* | --program-suffi=* \
532 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
533 program_suffix
="$ac_optarg" ;;
535 -program-transform-name | --program-transform-name \
536 | --program-transform-nam | --program-transform-na \
537 | --program-transform-n | --program-transform- \
538 | --program-transform | --program-transfor \
539 | --program-transfo | --program-transf \
540 | --program-trans | --program-tran \
541 | --progr-tra | --program-tr | --program-t)
542 ac_prev
=program_transform_name
;;
543 -program-transform-name=* | --program-transform-name=* \
544 | --program-transform-nam=* | --program-transform-na=* \
545 | --program-transform-n=* | --program-transform-=* \
546 | --program-transform=* | --program-transfor=* \
547 | --program-transfo=* | --program-transf=* \
548 | --program-trans=* | --program-tran=* \
549 | --progr-tra=* | --program-tr=* | --program-t=*)
550 program_transform_name
="$ac_optarg" ;;
552 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
553 | -silent | --silent | --silen | --sile | --sil)
556 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
558 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
560 sbindir
="$ac_optarg" ;;
562 -sharedstatedir | --sharedstatedir | --sharedstatedi \
563 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
564 | --sharedst | --shareds | --shared | --share | --shar \
566 ac_prev
=sharedstatedir
;;
567 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
568 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
569 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
571 sharedstatedir
="$ac_optarg" ;;
573 -site | --site | --sit)
575 -site=* | --site=* | --sit=*)
578 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
580 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
581 srcdir
="$ac_optarg" ;;
583 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
584 | --syscon | --sysco | --sysc | --sys | --sy)
585 ac_prev
=sysconfdir
;;
586 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
587 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
588 sysconfdir
="$ac_optarg" ;;
590 -target | --target | --targe | --targ | --tar | --ta | --t)
592 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
593 target
="$ac_optarg" ;;
595 -v | -verbose | --verbose | --verbos | --verbo | --verb)
598 -version | --version | --versio | --versi | --vers)
599 echo "configure generated by autoconf version 2.13"
603 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
604 # Reject names that are not valid shell variable names.
605 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
606 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
608 ac_package
=`echo $ac_package| sed 's/-/_/g'`
613 eval "with_${ac_package}='$ac_optarg'" ;;
615 -without-* | --without-*)
616 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
617 # Reject names that are not valid shell variable names.
618 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
619 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
621 ac_package
=`echo $ac_package| sed 's/-/_/g'`
622 eval "with_${ac_package}=no" ;;
625 # Obsolete; use --with-x.
628 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
629 | --x-incl | --x-inc | --x-in | --x-i)
630 ac_prev
=x_includes
;;
631 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
632 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
633 x_includes
="$ac_optarg" ;;
635 -x-libraries | --x-libraries | --x-librarie | --x-librari \
636 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
637 ac_prev
=x_libraries
;;
638 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
639 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
640 x_libraries
="$ac_optarg" ;;
642 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
646 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
647 echo "configure: warning: $ac_option: invalid host type" 1>&2
649 if test "x$nonopt" != xNONE
; then
650 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
658 if test -n "$ac_prev"; then
659 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
662 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
664 # File descriptor usage:
667 # 2 errors and warnings
668 # 3 some systems may open it to /dev/tty
669 # 4 used on the Kubota Titan
670 # 6 checking for... messages and results
671 # 5 compiler messages saved in config.log
672 if test "$silent" = yes; then
680 This file contains any messages produced by compilers while
681 running configure, to aid debugging if configure makes a mistake.
684 # Strip out --no-create and --no-recursion so they do not pile up.
685 # Also quote any args containing shell metacharacters.
690 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
691 | --no-cr | --no-c) ;;
692 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
693 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
694 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
695 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
696 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
701 # Only set these to C if already set. These must not be set unconditionally
702 # because not all systems understand e.g. LANG=C (notably SCO).
703 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
704 # Non-C LC_CTYPE values break the ctype check.
705 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
706 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
707 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
708 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
711 rm -rf conftest
* confdefs.h
712 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
715 # A filename unique to this package, relative to the directory that
716 # configure is in, which we can look for to find out if srcdir is correct.
717 ac_unique_file
=wx
-config.
in
719 # Find the source files, if location was not specified.
720 if test -z "$srcdir"; then
721 ac_srcdir_defaulted
=yes
722 # Try the directory containing this script, then its parent.
724 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
725 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
737 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
740 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
742 # Prefer explicitly selected file to automatically selected ones.
743 if test -z "$CONFIG_SITE"; then
744 if test "x$prefix" != xNONE
; then
745 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
747 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
750 for ac_site_file
in $CONFIG_SITE; do
751 if test -r "$ac_site_file"; then
752 echo "loading site script $ac_site_file"
757 if test -r "$cache_file"; then
758 echo "loading cache $cache_file"
761 echo "creating cache $cache_file"
766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
767 ac_cpp
='$CPP $CPPFLAGS'
768 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
769 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
770 cross_compiling
=$ac_cv_prog_cc_cross
774 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
775 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
776 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
783 ac_n
= ac_c
='\c' ac_t
=
789 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
790 if test -f $ac_dir/install-sh; then
792 ac_install_sh
="$ac_aux_dir/install-sh -c"
794 elif test -f $ac_dir/install.sh
; then
796 ac_install_sh
="$ac_aux_dir/install.sh -c"
800 if test -z "$ac_aux_dir"; then
801 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
803 ac_config_guess
=$ac_aux_dir/config.guess
804 ac_config_sub
=$ac_aux_dir/config.sub
805 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
808 # Do some error checking and defaulting for the host and target type.
810 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
813 # 1. You are not allowed to specify --host, --target, and nonopt at the
815 # 2. Host defaults to nonopt.
816 # 3. If nonopt is not specified, then host defaults to the current host,
817 # as determined by config.guess.
818 # 4. Target and build default to nonopt.
819 # 5. If nonopt is not specified, then target and build default to host.
821 # The aliases save the names the user supplied, while $host etc.
822 # will get canonicalized.
823 case $host---$target---$nonopt in
824 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
825 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
829 # Make sure we can run config.sub.
830 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
831 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
834 echo $ac_n "checking host system type""... $ac_c" 1>&6
835 echo "configure:836: checking host system type" >&5
838 case "$host_alias" in
842 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
843 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
845 *) host_alias
=$nonopt ;;
849 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
850 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
851 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
852 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
853 echo "$ac_t""$host" 1>&6
855 echo $ac_n "checking target system type""... $ac_c" 1>&6
856 echo "configure:857: checking target system type" >&5
859 case "$target_alias" in
862 NONE
) target_alias
=$host_alias ;;
863 *) target_alias
=$nonopt ;;
867 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
868 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
869 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
870 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
871 echo "$ac_t""$target" 1>&6
873 echo $ac_n "checking build system type""... $ac_c" 1>&6
874 echo "configure:875: checking build system type" >&5
877 case "$build_alias" in
880 NONE
) build_alias
=$host_alias ;;
881 *) build_alias
=$nonopt ;;
885 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
886 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
887 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
888 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
889 echo "$ac_t""$build" 1>&6
891 test "$host_alias" != "$target_alias" &&
892 test "$program_prefix$program_suffix$program_transform_name" = \
894 program_prefix
=${target_alias}-
898 WX_MAJOR_VERSION_NUMBER
=2
899 WX_MINOR_VERSION_NUMBER
=1
905 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
907 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
908 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
909 WX_REVISION
=$WX_INTERFACE_AGE
910 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
936 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
938 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
941 DEFAULT_wxUSE_MOTIF
=0
946 DEFAULT_DEFAULT_wxUSE_GTK
=0
947 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
948 DEFAULT_DEFAULT_wxUSE_MSW
=0
949 DEFAULT_DEFAULT_wxUSE_WINE
=0
950 DEFAULT_DEFAULT_wxUSE_PM
=0
955 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
956 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
957 cat >> confdefs.h
<<\EOF
964 cat >> confdefs.h
<<\EOF
969 if test "x$TMP" = "xalpha"; then
971 cat >> confdefs.h
<<\EOF
976 DEFAULT_DEFAULT_wxUSE_GTK
=1
978 *-*-irix5* | *-*-irix6* )
981 cat >> confdefs.h
<<\EOF
985 cat >> confdefs.h
<<\EOF
989 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
995 cat >> confdefs.h
<<\EOF
999 cat >> confdefs.h
<<\EOF
1000 #define __SOLARIS__ 1
1003 cat >> confdefs.h
<<\EOF
1007 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1008 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1014 cat >> confdefs.h
<<\EOF
1018 cat >> confdefs.h
<<\EOF
1022 cat >> confdefs.h
<<\EOF
1026 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1028 *-*-freebsd* | *-*-netbsd*)
1031 cat >> confdefs.h
<<\EOF
1032 #define __FREEBSD__ 1
1035 cat >> confdefs.h
<<\EOF
1039 DEFAULT_DEFAULT_wxUSE_GTK
=1
1044 cat >> confdefs.h
<<\EOF
1048 cat >> confdefs.h
<<\EOF
1052 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1057 cat >> confdefs.h
<<\EOF
1061 cat >> confdefs.h
<<\EOF
1065 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1099 *-*-cygwin32* | *-*-mingw32* )
1102 cat >> confdefs.h
<<\EOF
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1111 #define __WINDOWS__ 1
1114 cat >> confdefs.h
<<\EOF
1115 #define __GNUWIN32__ 1
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1123 #define WINVER 0x0400
1126 DEFAULT_DEFAULT_wxUSE_MSW
=1
1130 cat >> confdefs.h
<<\EOF
1134 DEFAULT_DEFAULT_wxUSE_PM
=1
1139 cat >> confdefs.h
<<\EOF
1146 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1149 if test "$USE_UNIX" = 1 ; then
1151 cat >> confdefs.h
<<\EOF
1156 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1157 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1160 if test "$USE_BEOS" = 1; then
1161 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1162 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1165 if test "$USE_LINUX" = 1; then
1166 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1167 echo "configure:1168: checking for gettext in -lc" >&5
1168 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1170 echo $ac_n "(cached) $ac_c" 1>&6
1172 ac_save_LIBS
="$LIBS"
1174 cat > conftest.
$ac_ext <<EOF
1175 #line 1176 "configure"
1176 #include "confdefs.h"
1177 /* Override any gcc2 internal prototype to avoid an error. */
1178 /* We use char because int might match the return type of a gcc2
1179 builtin and then its argument prototype would still apply. */
1186 if { (eval echo configure
:1187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1188 eval "ac_cv_lib_$ac_lib_var=yes"
1190 echo "configure: failed program was:" >&5
1191 cat conftest.
$ac_ext >&5
1193 eval "ac_cv_lib_$ac_lib_var=no"
1196 LIBS
="$ac_save_LIBS"
1199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1200 echo "$ac_t""yes" 1>&6
1201 cat >> confdefs.h
<<\EOF
1202 #define wxHAVE_GLIBC2 1
1206 echo "$ac_t""no" 1>&6
1214 wx_arg_cache_file
="configarg.cache"
1215 echo "loading argument cache $wx_arg_cache_file"
1216 rm -f ${wx_arg_cache_file}.tmp
1217 touch ${wx_arg_cache_file}.tmp
1218 touch ${wx_arg_cache_file}
1222 if test $DEBUG_CONFIGURE = 1; then
1223 DEFAULT_wxUSE_THREADS
=yes
1225 DEFAULT_wxUSE_SHARED
=yes
1226 DEFAULT_wxUSE_OPTIMISE
=yes
1227 DEFAULT_wxUSE_PROFILE
=no
1228 DEFAULT_wxUSE_NO_DEPS
=no
1229 DEFAULT_wxUSE_NO_RTTI
=no
1230 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1231 DEFAULT_wxUSE_PERMISSIVE
=no
1232 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1233 DEFAULT_wxUSE_DEBUG_INFO
=yes
1234 DEFAULT_wxUSE_DEBUG_GDB
=yes
1235 DEFAULT_wxUSE_MEM_TRACING
=no
1236 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1237 DEFAULT_wxUSE_DMALLOC
=no
1238 DEFAULT_wxUSE_APPLE_IEEE
=no
1240 DEFAULT_wxUSE_LOG
=yes
1242 DEFAULT_wxUSE_GUI
=yes
1244 DEFAULT_wxUSE_ZLIB
=no
1245 DEFAULT_wxUSE_LIBPNG
=no
1246 DEFAULT_wxUSE_LIBJPEG
=no
1247 DEFAULT_wxUSE_LIBTIFF
=no
1248 DEFAULT_wxUSE_ODBC
=no
1250 DEFAULT_wxUSE_STD_IOSTREAM
=no
1251 DEFAULT_wxUSE_FILE
=no
1252 DEFAULT_wxUSE_TEXTFILE
=no
1253 DEFAULT_wxUSE_TIMEDATE
=no
1254 DEFAULT_wxUSE_WAVE
=no
1255 DEFAULT_wxUSE_INTL
=no
1256 DEFAULT_wxUSE_CONFIG
=no
1257 DEFAULT_wxUSE_STREAMS
=no
1258 DEFAULT_wxUSE_SOCKETS
=no
1259 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1260 DEFAULT_wxUSE_SERIAL
=no
1261 DEFAULT_wxUSE_JOYSTICK
=no
1262 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1263 DEFAULT_wxUSE_LONGLONG
=no
1265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1267 DEFAULT_wxUSE_POSTSCRIPT
=no
1269 DEFAULT_wxUSE_X_RESOURCES
=no
1270 DEFAULT_wxUSE_CLIPBOARD
=no
1271 DEFAULT_wxUSE_TOOLTIPS
=no
1272 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1273 DEFAULT_wxUSE_SPLINES
=no
1275 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1276 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1277 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1279 DEFAULT_wxUSE_PROLOGIO
=no
1280 DEFAULT_wxUSE_RESOURCES
=no
1281 DEFAULT_wxUSE_CONSTRAINTS
=no
1282 DEFAULT_wxUSE_IPC
=no
1283 DEFAULT_wxUSE_HELP
=no
1284 DEFAULT_wxUSE_WXTREE
=no
1285 DEFAULT_wxUSE_METAFILE
=no
1287 DEFAULT_wxUSE_COMMONDLGS
=no
1288 DEFAULT_wxUSE_DIRDLG
=no
1289 DEFAULT_wxUSE_TEXTDLG
=no
1290 DEFAULT_wxUSE_STARTUP_TIPS
=no
1291 DEFAULT_wxUSE_PROGRESSDLG
=no
1292 DEFAULT_wxUSE_MINIFRAME
=no
1293 DEFAULT_wxUSE_HTML
=no
1294 DEFAULT_wxUSE_FS_INET
=no
1295 DEFAULT_wxUSE_FS_ZIP
=no
1296 DEFAULT_wxUSE_BUSYINFO
=no
1297 DEFAULT_wxUSE_ZIPSTREAM
=no
1298 DEFAULT_wxUSE_VALIDATORS
=yes
1300 DEFAULT_wxUSE_ACCEL
=no
1301 DEFAULT_wxUSE_CARET
=no
1302 DEFAULT_wxUSE_BMPBUTTON
=no
1303 DEFAULT_wxUSE_CHECKBOX
=no
1304 DEFAULT_wxUSE_CHECKLST
=no
1305 DEFAULT_wxUSE_CHOICE
=yes
1306 DEFAULT_wxUSE_COMBOBOX
=no
1307 DEFAULT_wxUSE_GAUGE
=no
1308 DEFAULT_wxUSE_GRID
=no
1309 DEFAULT_wxUSE_NEW_GRID
=no
1310 DEFAULT_wxUSE_IMAGLIST
=no
1311 DEFAULT_wxUSE_LISTBOX
=no
1312 DEFAULT_wxUSE_LISTCTRL
=no
1313 DEFAULT_wxUSE_NOTEBOOK
=no
1314 DEFAULT_wxUSE_RADIOBOX
=no
1315 DEFAULT_wxUSE_RADIOBTN
=no
1316 DEFAULT_wxUSE_SASH
=no
1317 DEFAULT_wxUSE_SCROLLBAR
=no
1318 DEFAULT_wxUSE_SLIDER
=no
1319 DEFAULT_wxUSE_SPINBTN
=no
1320 DEFAULT_wxUSE_SPINCTRL
=no
1321 DEFAULT_wxUSE_SPLITTER
=no
1322 DEFAULT_wxUSE_STATBMP
=no
1323 DEFAULT_wxUSE_STATBOX
=no
1324 DEFAULT_wxUSE_STATLINE
=no
1325 DEFAULT_wxUSE_STATUSBAR
=yes
1326 DEFAULT_wxUSE_TABDIALOG
=no
1327 DEFAULT_wxUSE_TOOLBAR
=no
1328 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1329 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1330 DEFAULT_wxUSE_TREECTRL
=no
1332 DEFAULT_wxUSE_UNICODE
=no
1333 DEFAULT_wxUSE_WCSRTOMBS
=no
1335 DEFAULT_wxUSE_GIF
=no
1336 DEFAULT_wxUSE_PCX
=no
1337 DEFAULT_wxUSE_PNM
=no
1339 DEFAULT_wxUSE_THREADS
=yes
1341 DEFAULT_wxUSE_SHARED
=yes
1342 DEFAULT_wxUSE_OPTIMISE
=yes
1343 DEFAULT_wxUSE_PROFILE
=no
1344 DEFAULT_wxUSE_NO_DEPS
=no
1345 DEFAULT_wxUSE_NO_RTTI
=no
1346 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1347 DEFAULT_wxUSE_PERMISSIVE
=no
1348 DEFAULT_wxUSE_DEBUG_FLAG
=no
1349 DEFAULT_wxUSE_DEBUG_INFO
=no
1350 DEFAULT_wxUSE_DEBUG_GDB
=no
1351 DEFAULT_wxUSE_MEM_TRACING
=no
1352 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1353 DEFAULT_wxUSE_DMALLOC
=no
1354 DEFAULT_wxUSE_APPLE_IEEE
=yes
1356 DEFAULT_wxUSE_LOG
=yes
1358 DEFAULT_wxUSE_GUI
=yes
1360 DEFAULT_wxUSE_ZLIB
=yes
1361 DEFAULT_wxUSE_LIBPNG
=yes
1362 DEFAULT_wxUSE_LIBJPEG
=yes
1363 DEFAULT_wxUSE_LIBTIFF
=yes
1364 DEFAULT_wxUSE_ODBC
=yes
1366 DEFAULT_wxUSE_STD_IOSTREAM
=no
1367 DEFAULT_wxUSE_FILE
=yes
1368 DEFAULT_wxUSE_TEXTFILE
=yes
1369 DEFAULT_wxUSE_TIMEDATE
=yes
1370 DEFAULT_wxUSE_WAVE
=no
1371 DEFAULT_wxUSE_INTL
=yes
1372 DEFAULT_wxUSE_CONFIG
=yes
1373 DEFAULT_wxUSE_STREAMS
=yes
1374 DEFAULT_wxUSE_SOCKETS
=yes
1375 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1376 DEFAULT_wxUSE_SERIAL
=yes
1377 DEFAULT_wxUSE_JOYSTICK
=yes
1378 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1379 DEFAULT_wxUSE_LONGLONG
=yes
1381 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1382 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1383 DEFAULT_wxUSE_POSTSCRIPT
=yes
1385 DEFAULT_wxUSE_X_RESOURCES
=no
1386 DEFAULT_wxUSE_CLIPBOARD
=yes
1387 DEFAULT_wxUSE_TOOLTIPS
=yes
1388 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1389 DEFAULT_wxUSE_SPLINES
=yes
1391 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1392 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1393 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1395 DEFAULT_wxUSE_PROLOGIO
=yes
1396 DEFAULT_wxUSE_RESOURCES
=yes
1397 DEFAULT_wxUSE_CONSTRAINTS
=yes
1398 DEFAULT_wxUSE_IPC
=yes
1399 DEFAULT_wxUSE_HELP
=yes
1400 DEFAULT_wxUSE_WXTREE
=yes
1401 DEFAULT_wxUSE_METAFILE
=yes
1403 DEFAULT_wxUSE_COMMONDLGS
=yes
1404 DEFAULT_wxUSE_DIRDLG
=yes
1405 DEFAULT_wxUSE_TEXTDLG
=yes
1406 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1407 DEFAULT_wxUSE_PROGRESSDLG
=yes
1408 DEFAULT_wxUSE_MINIFRAME
=yes
1409 DEFAULT_wxUSE_HTML
=yes
1410 DEFAULT_wxUSE_FS_INET
=yes
1411 DEFAULT_wxUSE_FS_ZIP
=yes
1412 DEFAULT_wxUSE_BUSYINFO
=yes
1413 DEFAULT_wxUSE_ZIPSTREAM
=yes
1414 DEFAULT_wxUSE_VALIDATORS
=yes
1416 DEFAULT_wxUSE_ACCEL
=yes
1417 DEFAULT_wxUSE_CARET
=yes
1418 DEFAULT_wxUSE_BMPBUTTON
=yes
1419 DEFAULT_wxUSE_CHECKBOX
=yes
1420 DEFAULT_wxUSE_CHECKLST
=yes
1421 DEFAULT_wxUSE_CHOICE
=yes
1422 DEFAULT_wxUSE_COMBOBOX
=yes
1423 DEFAULT_wxUSE_GAUGE
=yes
1424 DEFAULT_wxUSE_GRID
=yes
1425 DEFAULT_wxUSE_NEW_GRID
=no
1426 DEFAULT_wxUSE_IMAGLIST
=yes
1427 DEFAULT_wxUSE_LISTBOX
=yes
1428 DEFAULT_wxUSE_LISTCTRL
=yes
1429 DEFAULT_wxUSE_NOTEBOOK
=yes
1430 DEFAULT_wxUSE_RADIOBOX
=yes
1431 DEFAULT_wxUSE_RADIOBTN
=yes
1432 DEFAULT_wxUSE_SASH
=yes
1433 DEFAULT_wxUSE_SCROLLBAR
=yes
1434 DEFAULT_wxUSE_SLIDER
=yes
1435 DEFAULT_wxUSE_SPINBTN
=yes
1436 DEFAULT_wxUSE_SPINCTRL
=yes
1437 DEFAULT_wxUSE_SPLITTER
=yes
1438 DEFAULT_wxUSE_STATBMP
=yes
1439 DEFAULT_wxUSE_STATBOX
=yes
1440 DEFAULT_wxUSE_STATLINE
=yes
1441 DEFAULT_wxUSE_STATUSBAR
=yes
1442 DEFAULT_wxUSE_TABDIALOG
=no
1443 DEFAULT_wxUSE_TOOLBAR
=yes
1444 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1445 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1446 DEFAULT_wxUSE_TREECTRL
=yes
1448 DEFAULT_wxUSE_UNICODE
=no
1449 DEFAULT_wxUSE_WCSRTOMBS
=no
1451 DEFAULT_wxUSE_GIF
=yes
1452 DEFAULT_wxUSE_PCX
=yes
1453 DEFAULT_wxUSE_PNM
=yes
1458 for toolkit
in `echo $ALL_TOOLKITS`; do
1459 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1460 if test "x$LINE" != x
; then
1461 has_toolkit_in_cache
=1
1462 eval "DEFAULT_$LINE"
1463 eval "CACHE_$toolkit=1"
1469 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1470 echo "configure:1471: checking "for --enable-gui"" >&5
1472 # Check whether --enable-gui or --disable-gui was given.
1473 if test "${enable_gui+set}" = set; then
1474 enableval
="$enable_gui"
1476 if test "$enableval" = yes; then
1477 ac_cv_use_gui
='wxUSE_GUI=yes'
1479 ac_cv_use_gui
='wxUSE_GUI=no'
1484 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1485 if test "x$LINE" != x
; then
1486 eval "DEFAULT_$LINE"
1491 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1496 eval "$ac_cv_use_gui"
1497 if test "$no_cache" != 1; then
1498 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1501 if test "$wxUSE_GUI" = yes; then
1502 echo "$ac_t""yes" 1>&6
1504 echo "$ac_t""no" 1>&6
1508 if test "$wxUSE_GUI" = "yes"; then
1510 # Check whether --with-gtk or --without-gtk was given.
1511 if test "${with_gtk+set}" = set; then
1513 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1516 # Check whether --with-motif or --without-motif was given.
1517 if test "${with_motif+set}" = set; then
1518 withval
="$with_motif"
1519 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1522 # Check whether --with-wine or --without-wine was given.
1523 if test "${with_wine+set}" = set; then
1524 withval
="$with_wine"
1525 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1528 # Check whether --with-cygwin or --without-cygwin was given.
1529 if test "${with_cygwin+set}" = set; then
1530 withval
="$with_cygwin"
1531 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1534 # Check whether --with-mingw or --without-mingw was given.
1535 if test "${with_mingw+set}" = set; then
1536 withval
="$with_mingw"
1537 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1540 # Check whether --with-pm or --without-pm was given.
1541 if test "${with_pm+set}" = set; then
1543 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1547 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1548 if test "${with_gtk_prefix+set}" = set; then
1549 withval
="$with_gtk_prefix"
1550 gtk_config_prefix
="$withval"
1552 gtk_config_prefix
=""
1555 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1556 if test "${with_gtk_exec_prefix+set}" = set; then
1557 withval
="$with_gtk_exec_prefix"
1558 gtk_config_exec_prefix
="$withval"
1560 gtk_config_exec_prefix
=""
1565 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1566 echo "configure:1567: checking "for --with-libpng"" >&5
1568 # Check whether --with-libpng or --without-libpng was given.
1569 if test "${with_libpng+set}" = set; then
1570 withval
="$with_libpng"
1572 if test "$withval" = yes; then
1573 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1575 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1580 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1581 if test "x$LINE" != x
; then
1582 eval "DEFAULT_$LINE"
1587 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1592 eval "$ac_cv_use_libpng"
1593 if test "$no_cache" != 1; then
1594 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1597 if test "$wxUSE_LIBPNG" = yes; then
1598 echo "$ac_t""yes" 1>&6
1600 echo "$ac_t""no" 1>&6
1604 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1605 echo "configure:1606: checking "for --with-libjpeg"" >&5
1607 # Check whether --with-libjpeg or --without-libjpeg was given.
1608 if test "${with_libjpeg+set}" = set; then
1609 withval
="$with_libjpeg"
1611 if test "$withval" = yes; then
1612 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1614 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1619 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1620 if test "x$LINE" != x
; then
1621 eval "DEFAULT_$LINE"
1626 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1631 eval "$ac_cv_use_libjpeg"
1632 if test "$no_cache" != 1; then
1633 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1636 if test "$wxUSE_LIBJPEG" = yes; then
1637 echo "$ac_t""yes" 1>&6
1639 echo "$ac_t""no" 1>&6
1643 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1644 echo "configure:1645: checking "for --with-libtiff"" >&5
1646 # Check whether --with-libtiff or --without-libtiff was given.
1647 if test "${with_libtiff+set}" = set; then
1648 withval
="$with_libtiff"
1650 if test "$withval" = yes; then
1651 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1653 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1658 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1659 if test "x$LINE" != x
; then
1660 eval "DEFAULT_$LINE"
1665 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1670 eval "$ac_cv_use_libtiff"
1671 if test "$no_cache" != 1; then
1672 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1675 if test "$wxUSE_LIBTIFF" = yes; then
1676 echo "$ac_t""yes" 1>&6
1678 echo "$ac_t""no" 1>&6
1682 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1683 echo "configure:1684: checking "for --with-opengl"" >&5
1685 # Check whether --with-opengl or --without-opengl was given.
1686 if test "${with_opengl+set}" = set; then
1687 withval
="$with_opengl"
1689 if test "$withval" = yes; then
1690 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1692 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1697 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1698 if test "x$LINE" != x
; then
1699 eval "DEFAULT_$LINE"
1704 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1709 eval "$ac_cv_use_opengl"
1710 if test "$no_cache" != 1; then
1711 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1714 if test "$wxUSE_OPENGL" = yes; then
1715 echo "$ac_t""yes" 1>&6
1717 echo "$ac_t""no" 1>&6
1724 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1725 echo "configure:1726: checking "for --with-dmalloc"" >&5
1727 # Check whether --with-dmalloc or --without-dmalloc was given.
1728 if test "${with_dmalloc+set}" = set; then
1729 withval
="$with_dmalloc"
1731 if test "$withval" = yes; then
1732 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1734 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1739 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1740 if test "x$LINE" != x
; then
1741 eval "DEFAULT_$LINE"
1746 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1751 eval "$ac_cv_use_dmalloc"
1752 if test "$no_cache" != 1; then
1753 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1756 if test "$wxUSE_DMALLOC" = yes; then
1757 echo "$ac_t""yes" 1>&6
1759 echo "$ac_t""no" 1>&6
1763 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1764 echo "configure:1765: checking "for --with-zlib"" >&5
1766 # Check whether --with-zlib or --without-zlib was given.
1767 if test "${with_zlib+set}" = set; then
1768 withval
="$with_zlib"
1770 if test "$withval" = yes; then
1771 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1773 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1778 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1779 if test "x$LINE" != x
; then
1780 eval "DEFAULT_$LINE"
1785 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1790 eval "$ac_cv_use_zlib"
1791 if test "$no_cache" != 1; then
1792 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1795 if test "$wxUSE_ZLIB" = yes; then
1796 echo "$ac_t""yes" 1>&6
1798 echo "$ac_t""no" 1>&6
1802 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1803 echo "configure:1804: checking "for --with-odbc"" >&5
1805 # Check whether --with-odbc or --without-odbc was given.
1806 if test "${with_odbc+set}" = set; then
1807 withval
="$with_odbc"
1809 if test "$withval" = yes; then
1810 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1812 ac_cv_use_odbc
='wxUSE_ODBC=no'
1817 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1818 if test "x$LINE" != x
; then
1819 eval "DEFAULT_$LINE"
1824 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1829 eval "$ac_cv_use_odbc"
1830 if test "$no_cache" != 1; then
1831 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1834 if test "$wxUSE_ODBC" = yes; then
1835 echo "$ac_t""yes" 1>&6
1837 echo "$ac_t""no" 1>&6
1844 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1845 echo "configure:1846: checking "for --enable-shared"" >&5
1847 # Check whether --enable-shared or --disable-shared was given.
1848 if test "${enable_shared+set}" = set; then
1849 enableval
="$enable_shared"
1851 if test "$enableval" = yes; then
1852 ac_cv_use_shared
='wxUSE_SHARED=yes'
1854 ac_cv_use_shared
='wxUSE_SHARED=no'
1859 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1860 if test "x$LINE" != x
; then
1861 eval "DEFAULT_$LINE"
1866 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1871 eval "$ac_cv_use_shared"
1872 if test "$no_cache" != 1; then
1873 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1876 if test "$wxUSE_SHARED" = yes; then
1877 echo "$ac_t""yes" 1>&6
1879 echo "$ac_t""no" 1>&6
1883 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1884 echo "configure:1885: checking "for --enable-optimise"" >&5
1886 # Check whether --enable-optimise or --disable-optimise was given.
1887 if test "${enable_optimise+set}" = set; then
1888 enableval
="$enable_optimise"
1890 if test "$enableval" = yes; then
1891 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1893 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1898 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1899 if test "x$LINE" != x
; then
1900 eval "DEFAULT_$LINE"
1905 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1910 eval "$ac_cv_use_optimise"
1911 if test "$no_cache" != 1; then
1912 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1915 if test "$wxUSE_OPTIMISE" = yes; then
1916 echo "$ac_t""yes" 1>&6
1918 echo "$ac_t""no" 1>&6
1922 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1923 echo "configure:1924: checking "for --enable-debug"" >&5
1925 # Check whether --enable-debug or --disable-debug was given.
1926 if test "${enable_debug+set}" = set; then
1927 enableval
="$enable_debug"
1929 if test "$enableval" = yes; then
1930 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1932 ac_cv_use_debug
='wxUSE_DEBUG=no'
1937 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1938 if test "x$LINE" != x
; then
1939 eval "DEFAULT_$LINE"
1944 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1949 eval "$ac_cv_use_debug"
1950 if test "$no_cache" != 1; then
1951 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1954 if test "$wxUSE_DEBUG" = yes; then
1955 echo "$ac_t""yes" 1>&6
1957 echo "$ac_t""no" 1>&6
1961 if test "$wxUSE_DEBUG" = "yes"; then
1962 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1963 DEFAULT_wxUSE_DEBUG_INFO
=yes
1964 elif test "$wxUSE_DEBUG" = "no"; then
1965 DEFAULT_wxUSE_DEBUG_FLAG
=no
1966 DEFAULT_wxUSE_DEBUG_INFO
=no
1970 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1971 echo "configure:1972: checking "for --enable-debug_flag"" >&5
1973 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1974 if test "${enable_debug_flag+set}" = set; then
1975 enableval
="$enable_debug_flag"
1977 if test "$enableval" = yes; then
1978 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1980 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1985 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1986 if test "x$LINE" != x
; then
1987 eval "DEFAULT_$LINE"
1992 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1997 eval "$ac_cv_use_debug_flag"
1998 if test "$no_cache" != 1; then
1999 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2002 if test "$wxUSE_DEBUG_FLAG" = yes; then
2003 echo "$ac_t""yes" 1>&6
2005 echo "$ac_t""no" 1>&6
2009 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2010 echo "configure:2011: checking "for --enable-debug_info"" >&5
2012 # Check whether --enable-debug_info or --disable-debug_info was given.
2013 if test "${enable_debug_info+set}" = set; then
2014 enableval
="$enable_debug_info"
2016 if test "$enableval" = yes; then
2017 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2019 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2024 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2025 if test "x$LINE" != x
; then
2026 eval "DEFAULT_$LINE"
2031 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2036 eval "$ac_cv_use_debug_info"
2037 if test "$no_cache" != 1; then
2038 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2041 if test "$wxUSE_DEBUG_INFO" = yes; then
2042 echo "$ac_t""yes" 1>&6
2044 echo "$ac_t""no" 1>&6
2048 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2049 echo "configure:2050: checking "for --enable-debug_gdb"" >&5
2051 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2052 if test "${enable_debug_gdb+set}" = set; then
2053 enableval
="$enable_debug_gdb"
2055 if test "$enableval" = yes; then
2056 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2058 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2063 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2064 if test "x$LINE" != x
; then
2065 eval "DEFAULT_$LINE"
2070 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2075 eval "$ac_cv_use_debug_gdb"
2076 if test "$no_cache" != 1; then
2077 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2080 if test "$wxUSE_DEBUG_GDB" = yes; then
2081 echo "$ac_t""yes" 1>&6
2083 echo "$ac_t""no" 1>&6
2087 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2088 echo "configure:2089: checking "for --enable-debug_cntxt"" >&5
2090 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2091 if test "${enable_debug_cntxt+set}" = set; then
2092 enableval
="$enable_debug_cntxt"
2094 if test "$enableval" = yes; then
2095 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2097 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2102 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2103 if test "x$LINE" != x
; then
2104 eval "DEFAULT_$LINE"
2109 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2114 eval "$ac_cv_use_debug_cntxt"
2115 if test "$no_cache" != 1; then
2116 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2119 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2120 echo "$ac_t""yes" 1>&6
2122 echo "$ac_t""no" 1>&6
2126 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2127 echo "configure:2128: checking "for --enable-mem_tracing"" >&5
2129 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2130 if test "${enable_mem_tracing+set}" = set; then
2131 enableval
="$enable_mem_tracing"
2133 if test "$enableval" = yes; then
2134 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2136 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2141 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2142 if test "x$LINE" != x
; then
2143 eval "DEFAULT_$LINE"
2148 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2153 eval "$ac_cv_use_mem_tracing"
2154 if test "$no_cache" != 1; then
2155 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2158 if test "$wxUSE_MEM_TRACING" = yes; then
2159 echo "$ac_t""yes" 1>&6
2161 echo "$ac_t""no" 1>&6
2165 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2166 echo "configure:2167: checking "for --enable-profile"" >&5
2168 # Check whether --enable-profile or --disable-profile was given.
2169 if test "${enable_profile+set}" = set; then
2170 enableval
="$enable_profile"
2172 if test "$enableval" = yes; then
2173 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2175 ac_cv_use_profile
='wxUSE_PROFILE=no'
2180 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2181 if test "x$LINE" != x
; then
2182 eval "DEFAULT_$LINE"
2187 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2192 eval "$ac_cv_use_profile"
2193 if test "$no_cache" != 1; then
2194 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2197 if test "$wxUSE_PROFILE" = yes; then
2198 echo "$ac_t""yes" 1>&6
2200 echo "$ac_t""no" 1>&6
2204 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2205 echo "configure:2206: checking "for --enable-no_rtti"" >&5
2207 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2208 if test "${enable_no_rtti+set}" = set; then
2209 enableval
="$enable_no_rtti"
2211 if test "$enableval" = yes; then
2212 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2214 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2219 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2220 if test "x$LINE" != x
; then
2221 eval "DEFAULT_$LINE"
2226 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2231 eval "$ac_cv_use_no_rtti"
2232 if test "$no_cache" != 1; then
2233 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2236 if test "$wxUSE_NO_RTTI" = yes; then
2237 echo "$ac_t""yes" 1>&6
2239 echo "$ac_t""no" 1>&6
2243 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2244 echo "configure:2245: checking "for --enable-no_exceptions"" >&5
2246 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2247 if test "${enable_no_exceptions+set}" = set; then
2248 enableval
="$enable_no_exceptions"
2250 if test "$enableval" = yes; then
2251 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2253 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2258 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2259 if test "x$LINE" != x
; then
2260 eval "DEFAULT_$LINE"
2265 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2270 eval "$ac_cv_use_no_exceptions"
2271 if test "$no_cache" != 1; then
2272 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2275 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2276 echo "$ac_t""yes" 1>&6
2278 echo "$ac_t""no" 1>&6
2282 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2283 echo "configure:2284: checking "for --enable-permissive"" >&5
2285 # Check whether --enable-permissive or --disable-permissive was given.
2286 if test "${enable_permissive+set}" = set; then
2287 enableval
="$enable_permissive"
2289 if test "$enableval" = yes; then
2290 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2292 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2297 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2298 if test "x$LINE" != x
; then
2299 eval "DEFAULT_$LINE"
2304 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2309 eval "$ac_cv_use_permissive"
2310 if test "$no_cache" != 1; then
2311 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2314 if test "$wxUSE_PERMISSIVE" = yes; then
2315 echo "$ac_t""yes" 1>&6
2317 echo "$ac_t""no" 1>&6
2321 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2322 echo "configure:2323: checking "for --enable-no_deps"" >&5
2324 # Check whether --enable-no_deps or --disable-no_deps was given.
2325 if test "${enable_no_deps+set}" = set; then
2326 enableval
="$enable_no_deps"
2328 if test "$enableval" = yes; then
2329 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2331 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2336 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2337 if test "x$LINE" != x
; then
2338 eval "DEFAULT_$LINE"
2343 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2348 eval "$ac_cv_use_no_deps"
2349 if test "$no_cache" != 1; then
2350 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2353 if test "$wxUSE_NO_DEPS" = yes; then
2354 echo "$ac_t""yes" 1>&6
2356 echo "$ac_t""no" 1>&6
2362 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2363 echo "configure:2364: checking "for --enable-intl"" >&5
2365 # Check whether --enable-intl or --disable-intl was given.
2366 if test "${enable_intl+set}" = set; then
2367 enableval
="$enable_intl"
2369 if test "$enableval" = yes; then
2370 ac_cv_use_intl
='wxUSE_INTL=yes'
2372 ac_cv_use_intl
='wxUSE_INTL=no'
2377 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2378 if test "x$LINE" != x
; then
2379 eval "DEFAULT_$LINE"
2384 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2389 eval "$ac_cv_use_intl"
2390 if test "$no_cache" != 1; then
2391 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2394 if test "$wxUSE_INTL" = yes; then
2395 echo "$ac_t""yes" 1>&6
2397 echo "$ac_t""no" 1>&6
2401 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2402 echo "configure:2403: checking "for --enable-config"" >&5
2404 # Check whether --enable-config or --disable-config was given.
2405 if test "${enable_config+set}" = set; then
2406 enableval
="$enable_config"
2408 if test "$enableval" = yes; then
2409 ac_cv_use_config
='wxUSE_CONFIG=yes'
2411 ac_cv_use_config
='wxUSE_CONFIG=no'
2416 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2417 if test "x$LINE" != x
; then
2418 eval "DEFAULT_$LINE"
2423 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2428 eval "$ac_cv_use_config"
2429 if test "$no_cache" != 1; then
2430 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2433 if test "$wxUSE_CONFIG" = yes; then
2434 echo "$ac_t""yes" 1>&6
2436 echo "$ac_t""no" 1>&6
2440 if test "$wxUSE_GUI" = "yes"; then
2442 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2443 echo "configure:2444: checking "for --enable-sockets"" >&5
2445 # Check whether --enable-sockets or --disable-sockets was given.
2446 if test "${enable_sockets+set}" = set; then
2447 enableval
="$enable_sockets"
2449 if test "$enableval" = yes; then
2450 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2452 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2457 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2458 if test "x$LINE" != x
; then
2459 eval "DEFAULT_$LINE"
2464 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2469 eval "$ac_cv_use_sockets"
2470 if test "$no_cache" != 1; then
2471 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2474 if test "$wxUSE_SOCKETS" = yes; then
2475 echo "$ac_t""yes" 1>&6
2477 echo "$ac_t""no" 1>&6
2485 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2486 echo "configure:2487: checking "for --enable-dialupman"" >&5
2488 # Check whether --enable-dialupman or --disable-dialupman was given.
2489 if test "${enable_dialupman+set}" = set; then
2490 enableval
="$enable_dialupman"
2492 if test "$enableval" = yes; then
2493 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2495 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2500 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x
; then
2502 eval "DEFAULT_$LINE"
2507 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2512 eval "$ac_cv_use_dialupman"
2513 if test "$no_cache" != 1; then
2514 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2517 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2518 echo "$ac_t""yes" 1>&6
2520 echo "$ac_t""no" 1>&6
2524 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2525 echo "configure:2526: checking "for --enable-ipc"" >&5
2527 # Check whether --enable-ipc or --disable-ipc was given.
2528 if test "${enable_ipc+set}" = set; then
2529 enableval
="$enable_ipc"
2531 if test "$enableval" = yes; then
2532 ac_cv_use_ipc
='wxUSE_IPC=yes'
2534 ac_cv_use_ipc
='wxUSE_IPC=no'
2539 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2540 if test "x$LINE" != x
; then
2541 eval "DEFAULT_$LINE"
2546 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2551 eval "$ac_cv_use_ipc"
2552 if test "$no_cache" != 1; then
2553 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2556 if test "$wxUSE_IPC" = yes; then
2557 echo "$ac_t""yes" 1>&6
2559 echo "$ac_t""no" 1>&6
2563 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2564 echo "configure:2565: checking "for --enable-apple_ieee"" >&5
2566 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2567 if test "${enable_apple_ieee+set}" = set; then
2568 enableval
="$enable_apple_ieee"
2570 if test "$enableval" = yes; then
2571 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2573 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2578 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2579 if test "x$LINE" != x
; then
2580 eval "DEFAULT_$LINE"
2585 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2590 eval "$ac_cv_use_apple_ieee"
2591 if test "$no_cache" != 1; then
2592 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2595 if test "$wxUSE_APPLE_IEEE" = yes; then
2596 echo "$ac_t""yes" 1>&6
2598 echo "$ac_t""no" 1>&6
2602 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2603 echo "configure:2604: checking "for --enable-timedate"" >&5
2605 # Check whether --enable-timedate or --disable-timedate was given.
2606 if test "${enable_timedate+set}" = set; then
2607 enableval
="$enable_timedate"
2609 if test "$enableval" = yes; then
2610 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2612 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2617 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2618 if test "x$LINE" != x
; then
2619 eval "DEFAULT_$LINE"
2624 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2629 eval "$ac_cv_use_timedate"
2630 if test "$no_cache" != 1; then
2631 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2634 if test "$wxUSE_TIMEDATE" = yes; then
2635 echo "$ac_t""yes" 1>&6
2637 echo "$ac_t""no" 1>&6
2641 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2642 echo "configure:2643: checking "for --enable-wave"" >&5
2644 # Check whether --enable-wave or --disable-wave was given.
2645 if test "${enable_wave+set}" = set; then
2646 enableval
="$enable_wave"
2648 if test "$enableval" = yes; then
2649 ac_cv_use_wave
='wxUSE_WAVE=yes'
2651 ac_cv_use_wave
='wxUSE_WAVE=no'
2656 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x
; then
2658 eval "DEFAULT_$LINE"
2663 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2668 eval "$ac_cv_use_wave"
2669 if test "$no_cache" != 1; then
2670 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2673 if test "$wxUSE_WAVE" = yes; then
2674 echo "$ac_t""yes" 1>&6
2676 echo "$ac_t""no" 1>&6
2680 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2681 echo "configure:2682: checking "for --enable-fraction"" >&5
2683 # Check whether --enable-fraction or --disable-fraction was given.
2684 if test "${enable_fraction+set}" = set; then
2685 enableval
="$enable_fraction"
2687 if test "$enableval" = yes; then
2688 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2690 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2695 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x
; then
2697 eval "DEFAULT_$LINE"
2702 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2707 eval "$ac_cv_use_fraction"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2712 if test "$wxUSE_FRACTION" = yes; then
2713 echo "$ac_t""yes" 1>&6
2715 echo "$ac_t""no" 1>&6
2719 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2720 echo "configure:2721: checking "for --enable-dynlib"" >&5
2722 # Check whether --enable-dynlib or --disable-dynlib was given.
2723 if test "${enable_dynlib+set}" = set; then
2724 enableval
="$enable_dynlib"
2726 if test "$enableval" = yes; then
2727 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2729 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2734 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x
; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2746 eval "$ac_cv_use_dynlib"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2752 echo "$ac_t""yes" 1>&6
2754 echo "$ac_t""no" 1>&6
2758 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2759 echo "configure:2760: checking "for --enable-longlong"" >&5
2761 # Check whether --enable-longlong or --disable-longlong was given.
2762 if test "${enable_longlong+set}" = set; then
2763 enableval
="$enable_longlong"
2765 if test "$enableval" = yes; then
2766 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2768 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2773 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2774 if test "x$LINE" != x
; then
2775 eval "DEFAULT_$LINE"
2780 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2785 eval "$ac_cv_use_longlong"
2786 if test "$no_cache" != 1; then
2787 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2790 if test "$wxUSE_LONGLONG" = yes; then
2791 echo "$ac_t""yes" 1>&6
2793 echo "$ac_t""no" 1>&6
2797 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2798 echo "configure:2799: checking "for --enable-log"" >&5
2800 # Check whether --enable-log or --disable-log was given.
2801 if test "${enable_log+set}" = set; then
2802 enableval
="$enable_log"
2804 if test "$enableval" = yes; then
2805 ac_cv_use_log
='wxUSE_LOG=yes'
2807 ac_cv_use_log
='wxUSE_LOG=no'
2812 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2813 if test "x$LINE" != x
; then
2814 eval "DEFAULT_$LINE"
2819 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2824 eval "$ac_cv_use_log"
2825 if test "$no_cache" != 1; then
2826 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2829 if test "$wxUSE_LOG" = yes; then
2830 echo "$ac_t""yes" 1>&6
2832 echo "$ac_t""no" 1>&6
2836 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2837 echo "configure:2838: checking "for --enable-streams"" >&5
2839 # Check whether --enable-streams or --disable-streams was given.
2840 if test "${enable_streams+set}" = set; then
2841 enableval
="$enable_streams"
2843 if test "$enableval" = yes; then
2844 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2846 ac_cv_use_streams
='wxUSE_STREAMS=no'
2851 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2852 if test "x$LINE" != x
; then
2853 eval "DEFAULT_$LINE"
2858 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2863 eval "$ac_cv_use_streams"
2864 if test "$no_cache" != 1; then
2865 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2868 if test "$wxUSE_STREAMS" = yes; then
2869 echo "$ac_t""yes" 1>&6
2871 echo "$ac_t""no" 1>&6
2875 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2876 echo "configure:2877: checking "for --enable-file"" >&5
2878 # Check whether --enable-file or --disable-file was given.
2879 if test "${enable_file+set}" = set; then
2880 enableval
="$enable_file"
2882 if test "$enableval" = yes; then
2883 ac_cv_use_file
='wxUSE_FILE=yes'
2885 ac_cv_use_file
='wxUSE_FILE=no'
2890 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x
; then
2892 eval "DEFAULT_$LINE"
2897 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2902 eval "$ac_cv_use_file"
2903 if test "$no_cache" != 1; then
2904 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2907 if test "$wxUSE_FILE" = yes; then
2908 echo "$ac_t""yes" 1>&6
2910 echo "$ac_t""no" 1>&6
2914 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2915 echo "configure:2916: checking "for --enable-textfile"" >&5
2917 # Check whether --enable-textfile or --disable-textfile was given.
2918 if test "${enable_textfile+set}" = set; then
2919 enableval
="$enable_textfile"
2921 if test "$enableval" = yes; then
2922 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2924 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2929 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2930 if test "x$LINE" != x
; then
2931 eval "DEFAULT_$LINE"
2936 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2941 eval "$ac_cv_use_textfile"
2942 if test "$no_cache" != 1; then
2943 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2946 if test "$wxUSE_TEXTFILE" = yes; then
2947 echo "$ac_t""yes" 1>&6
2949 echo "$ac_t""no" 1>&6
2953 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2954 echo "configure:2955: checking "for --enable-unicode"" >&5
2956 # Check whether --enable-unicode or --disable-unicode was given.
2957 if test "${enable_unicode+set}" = set; then
2958 enableval
="$enable_unicode"
2960 if test "$enableval" = yes; then
2961 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2963 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2968 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2969 if test "x$LINE" != x
; then
2970 eval "DEFAULT_$LINE"
2975 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2980 eval "$ac_cv_use_unicode"
2981 if test "$no_cache" != 1; then
2982 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2985 if test "$wxUSE_UNICODE" = yes; then
2986 echo "$ac_t""yes" 1>&6
2988 echo "$ac_t""no" 1>&6
2992 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2993 echo "configure:2994: checking "for --enable-wcsrtombs"" >&5
2995 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2996 if test "${enable_wcsrtombs+set}" = set; then
2997 enableval
="$enable_wcsrtombs"
2999 if test "$enableval" = yes; then
3000 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3002 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3007 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x
; then
3009 eval "DEFAULT_$LINE"
3014 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3019 eval "$ac_cv_use_wcsrtombs"
3020 if test "$no_cache" != 1; then
3021 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3024 if test "$wxUSE_WCSRTOMBS" = yes; then
3025 echo "$ac_t""yes" 1>&6
3027 echo "$ac_t""no" 1>&6
3031 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3032 echo "configure:3033: checking "for --enable-wxprintfv"" >&5
3034 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3035 if test "${enable_wxprintfv+set}" = set; then
3036 enableval
="$enable_wxprintfv"
3038 if test "$enableval" = yes; then
3039 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3041 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3046 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x
; then
3048 eval "DEFAULT_$LINE"
3053 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3058 eval "$ac_cv_use_wxprintfv"
3059 if test "$no_cache" != 1; then
3060 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3063 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3064 echo "$ac_t""yes" 1>&6
3066 echo "$ac_t""no" 1>&6
3070 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3071 echo "configure:3072: checking "for --enable-joystick"" >&5
3073 # Check whether --enable-joystick or --disable-joystick was given.
3074 if test "${enable_joystick+set}" = set; then
3075 enableval
="$enable_joystick"
3077 if test "$enableval" = yes; then
3078 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3080 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3085 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3086 if test "x$LINE" != x
; then
3087 eval "DEFAULT_$LINE"
3092 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3097 eval "$ac_cv_use_joystick"
3098 if test "$no_cache" != 1; then
3099 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3102 if test "$wxUSE_JOYSTICK" = yes; then
3103 echo "$ac_t""yes" 1>&6
3105 echo "$ac_t""no" 1>&6
3109 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3110 echo "configure:3111: checking "for --enable-std_iostreams"" >&5
3112 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3113 if test "${enable_std_iostreams+set}" = set; then
3114 enableval
="$enable_std_iostreams"
3116 if test "$enableval" = yes; then
3117 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3119 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3124 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x
; then
3126 eval "DEFAULT_$LINE"
3131 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3136 eval "$ac_cv_use_std_iostreams"
3137 if test "$no_cache" != 1; then
3138 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3141 if test "$wxUSE_STD_IOSTREAM" = yes; then
3142 echo "$ac_t""yes" 1>&6
3144 echo "$ac_t""no" 1>&6
3148 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3149 echo "configure:3150: checking "for --enable-fs_inet"" >&5
3151 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3152 if test "${enable_fs_inet+set}" = set; then
3153 enableval
="$enable_fs_inet"
3155 if test "$enableval" = yes; then
3156 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3158 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3163 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x
; then
3165 eval "DEFAULT_$LINE"
3170 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3175 eval "$ac_cv_use_fs_inet"
3176 if test "$no_cache" != 1; then
3177 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3180 if test "$wxUSE_FS_INET" = yes; then
3181 echo "$ac_t""yes" 1>&6
3183 echo "$ac_t""no" 1>&6
3187 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3188 echo "configure:3189: checking "for --enable-fs_zip"" >&5
3190 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3191 if test "${enable_fs_zip+set}" = set; then
3192 enableval
="$enable_fs_zip"
3194 if test "$enableval" = yes; then
3195 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3197 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3202 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x
; then
3204 eval "DEFAULT_$LINE"
3209 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3214 eval "$ac_cv_use_fs_zip"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3219 if test "$wxUSE_FS_ZIP" = yes; then
3220 echo "$ac_t""yes" 1>&6
3222 echo "$ac_t""no" 1>&6
3226 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3227 echo "configure:3228: checking "for --enable-zipstream"" >&5
3229 # Check whether --enable-zipstream or --disable-zipstream was given.
3230 if test "${enable_zipstream+set}" = set; then
3231 enableval
="$enable_zipstream"
3233 if test "$enableval" = yes; then
3234 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3236 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3241 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x
; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3253 eval "$ac_cv_use_zipstream"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_ZIPSTREAM" = yes; then
3259 echo "$ac_t""yes" 1>&6
3261 echo "$ac_t""no" 1>&6
3267 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3268 echo "configure:3269: checking "for --enable-threads"" >&5
3270 # Check whether --enable-threads or --disable-threads was given.
3271 if test "${enable_threads+set}" = set; then
3272 enableval
="$enable_threads"
3274 if test "$enableval" = yes; then
3275 ac_cv_use_threads
='wxUSE_THREADS=yes'
3277 ac_cv_use_threads
='wxUSE_THREADS=no'
3282 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x
; then
3284 eval "DEFAULT_$LINE"
3289 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3294 eval "$ac_cv_use_threads"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3299 if test "$wxUSE_THREADS" = yes; then
3300 echo "$ac_t""yes" 1>&6
3302 echo "$ac_t""no" 1>&6
3306 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3307 echo "configure:3308: checking "for --enable-serial"" >&5
3309 # Check whether --enable-serial or --disable-serial was given.
3310 if test "${enable_serial+set}" = set; then
3311 enableval
="$enable_serial"
3313 if test "$enableval" = yes; then
3314 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3316 ac_cv_use_serial
='wxUSE_SERIAL=no'
3321 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3322 if test "x$LINE" != x
; then
3323 eval "DEFAULT_$LINE"
3328 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3333 eval "$ac_cv_use_serial"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3338 if test "$wxUSE_SERIAL" = yes; then
3339 echo "$ac_t""yes" 1>&6
3341 echo "$ac_t""no" 1>&6
3345 if test "$wxUSE_GUI" = "yes"; then
3349 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3350 echo "configure:3351: checking "for --enable-docview"" >&5
3352 # Check whether --enable-docview or --disable-docview was given.
3353 if test "${enable_docview+set}" = set; then
3354 enableval
="$enable_docview"
3356 if test "$enableval" = yes; then
3357 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3359 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3364 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3376 eval "$ac_cv_use_docview"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3382 echo "$ac_t""yes" 1>&6
3384 echo "$ac_t""no" 1>&6
3388 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3389 echo "configure:3390: checking "for --enable-help"" >&5
3391 # Check whether --enable-help or --disable-help was given.
3392 if test "${enable_help+set}" = set; then
3393 enableval
="$enable_help"
3395 if test "$enableval" = yes; then
3396 ac_cv_use_help
='wxUSE_HELP=yes'
3398 ac_cv_use_help
='wxUSE_HELP=no'
3403 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x
; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3415 eval "$ac_cv_use_help"
3416 if test "$no_cache" != 1; then
3417 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3420 if test "$wxUSE_HELP" = yes; then
3421 echo "$ac_t""yes" 1>&6
3423 echo "$ac_t""no" 1>&6
3427 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3428 echo "configure:3429: checking "for --enable-constraints"" >&5
3430 # Check whether --enable-constraints or --disable-constraints was given.
3431 if test "${enable_constraints+set}" = set; then
3432 enableval
="$enable_constraints"
3434 if test "$enableval" = yes; then
3435 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3437 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3442 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x
; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3454 eval "$ac_cv_use_constraints"
3455 if test "$no_cache" != 1; then
3456 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3459 if test "$wxUSE_CONSTRAINTS" = yes; then
3460 echo "$ac_t""yes" 1>&6
3462 echo "$ac_t""no" 1>&6
3466 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3467 echo "configure:3468: checking "for --enable-printarch"" >&5
3469 # Check whether --enable-printarch or --disable-printarch was given.
3470 if test "${enable_printarch+set}" = set; then
3471 enableval
="$enable_printarch"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3476 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3481 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3493 eval "$ac_cv_use_printarch"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3499 echo "$ac_t""yes" 1>&6
3501 echo "$ac_t""no" 1>&6
3505 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3506 echo "configure:3507: checking "for --enable-mdi"" >&5
3508 # Check whether --enable-mdi or --disable-mdi was given.
3509 if test "${enable_mdi+set}" = set; then
3510 enableval
="$enable_mdi"
3512 if test "$enableval" = yes; then
3513 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3515 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3520 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x
; then
3522 eval "DEFAULT_$LINE"
3527 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3532 eval "$ac_cv_use_mdi"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3538 echo "$ac_t""yes" 1>&6
3540 echo "$ac_t""no" 1>&6
3545 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3546 echo "configure:3547: checking "for --enable-postscript"" >&5
3548 # Check whether --enable-postscript or --disable-postscript was given.
3549 if test "${enable_postscript+set}" = set; then
3550 enableval
="$enable_postscript"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3555 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3560 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x
; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3572 eval "$ac_cv_use_postscript"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_POSTSCRIPT" = yes; then
3578 echo "$ac_t""yes" 1>&6
3580 echo "$ac_t""no" 1>&6
3586 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3587 echo "configure:3588: checking "for --enable-prologio"" >&5
3589 # Check whether --enable-prologio or --disable-prologio was given.
3590 if test "${enable_prologio+set}" = set; then
3591 enableval
="$enable_prologio"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3596 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3601 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3613 eval "$ac_cv_use_prologio"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_PROLOGIO" = yes; then
3619 echo "$ac_t""yes" 1>&6
3621 echo "$ac_t""no" 1>&6
3625 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3626 echo "configure:3627: checking "for --enable-resources"" >&5
3628 # Check whether --enable-resources or --disable-resources was given.
3629 if test "${enable_resources+set}" = set; then
3630 enableval
="$enable_resources"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3635 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3640 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3652 eval "$ac_cv_use_resources"
3653 if test "$no_cache" != 1; then
3654 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3657 if test "$wxUSE_RESOURCES" = yes; then
3658 echo "$ac_t""yes" 1>&6
3660 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3666 echo "configure:3667: checking "for --enable-xresources"" >&5
3668 # Check whether --enable-xresources or --disable-xresources was given.
3669 if test "${enable_xresources+set}" = set; then
3670 enableval
="$enable_xresources"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3675 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3680 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3692 eval "$ac_cv_use_xresources"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_X_RESOURCES" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3706 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3707 echo "configure:3708: checking "for --enable-clipboard"" >&5
3709 # Check whether --enable-clipboard or --disable-clipboard was given.
3710 if test "${enable_clipboard+set}" = set; then
3711 enableval
="$enable_clipboard"
3713 if test "$enableval" = yes; then
3714 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3716 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3721 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x
; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3733 eval "$ac_cv_use_clipboard"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_CLIPBOARD" = yes; then
3739 echo "$ac_t""yes" 1>&6
3741 echo "$ac_t""no" 1>&6
3745 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3746 echo "configure:3747: checking "for --enable-dnd"" >&5
3748 # Check whether --enable-dnd or --disable-dnd was given.
3749 if test "${enable_dnd+set}" = set; then
3750 enableval
="$enable_dnd"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3760 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3772 eval "$ac_cv_use_dnd"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3778 echo "$ac_t""yes" 1>&6
3780 echo "$ac_t""no" 1>&6
3785 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3786 echo "configure:3787: checking "for --enable-wxtree"" >&5
3788 # Check whether --enable-wxtree or --disable-wxtree was given.
3789 if test "${enable_wxtree+set}" = set; then
3790 enableval
="$enable_wxtree"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3795 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3800 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3812 eval "$ac_cv_use_wxtree"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_WXTREE" = yes; then
3818 echo "$ac_t""yes" 1>&6
3820 echo "$ac_t""no" 1>&6
3826 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3827 echo "configure:3828: checking "for --enable-controls"" >&5
3829 # Check whether --enable-controls or --disable-controls was given.
3830 if test "${enable_controls+set}" = set; then
3831 enableval
="$enable_controls"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3836 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3841 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3853 eval "$ac_cv_use_controls"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_CONTROLS" = yes; then
3859 echo "$ac_t""yes" 1>&6
3861 echo "$ac_t""no" 1>&6
3865 if test "$wxUSE_CONTROLS" = "yes"; then
3866 DEFAULT_wxUSE_ACCEL
=yes
3867 DEFAULT_wxUSE_CARET
=yes
3868 DEFAULT_wxUSE_COMBOBOX
=yes
3869 DEFAULT_wxUSE_BMPBUTTON
=yes
3870 DEFAULT_wxUSE_CHECKBOX
=yes
3871 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3872 DEFAULT_wxUSE_CHOICE
=yes
3873 DEFAULT_wxUSE_GAUGE
=yes
3874 DEFAULT_wxUSE_GRID
=yes
3875 DEFAULT_wxUSE_NEW_GRID
=no
3876 DEFAULT_wxUSE_IMAGLIST
=yes
3877 DEFAULT_wxUSE_LISTBOX
=yes
3878 DEFAULT_wxUSE_LISTCTRL
=yes
3879 DEFAULT_wxUSE_NOTEBOOK
=yes
3880 DEFAULT_wxUSE_RADIOBOX
=yes
3881 DEFAULT_wxUSE_RADIOBTN
=yes
3882 DEFAULT_wxUSE_SASH
=yes
3883 DEFAULT_wxUSE_SCROLLBAR
=yes
3884 DEFAULT_wxUSE_SLIDER
=yes
3885 DEFAULT_wxUSE_SPINBTN
=yes
3886 DEFAULT_wxUSE_SPINCTRL
=yes
3887 DEFAULT_wxUSE_SPLITTER
=yes
3888 DEFAULT_wxUSE_STATBMP
=yes
3889 DEFAULT_wxUSE_STATBOX
=yes
3890 DEFAULT_wxUSE_STATLINE
=yes
3891 DEFAULT_wxUSE_STATUSBAR
=yes
3892 DEFAULT_wxUSE_TAB_DIALOG
=yes
3893 DEFAULT_wxUSE_TOOLBAR
=yes
3894 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3895 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3896 DEFAULT_wxUSE_TOOLTIPS
=yes
3897 DEFAULT_wxUSE_TREECTRL
=yes
3898 elif test "$wxUSE_CONTROLS" = "no"; then
3899 DEFAULT_wxUSE_ACCEL
=no
3900 DEFAULT_wxUSE_CARET
=no
3901 DEFAULT_wxUSE_COMBOBOX
=no
3902 DEFAULT_wxUSE_BMPBUTTON
=no
3903 DEFAULT_wxUSE_CHECKBOX
=no
3904 DEFAULT_wxUSE_CHECKLISTBOX
=no
3905 DEFAULT_wxUSE_CHOICE
=no
3906 DEFAULT_wxUSE_GAUGE
=no
3907 DEFAULT_wxUSE_GRID
=no
3908 DEFAULT_wxUSE_NEW_GRID
=no
3909 DEFAULT_wxUSE_IMAGLIST
=no
3910 DEFAULT_wxUSE_LISTBOX
=no
3911 DEFAULT_wxUSE_LISTCTRL
=no
3912 DEFAULT_wxUSE_NOTEBOOK
=no
3913 DEFAULT_wxUSE_RADIOBOX
=no
3914 DEFAULT_wxUSE_RADIOBTN
=no
3915 DEFAULT_wxUSE_SASH
=no
3916 DEFAULT_wxUSE_SCROLLBAR
=no
3917 DEFAULT_wxUSE_SLIDER
=no
3918 DEFAULT_wxUSE_SPINBTN
=no
3919 DEFAULT_wxUSE_SPINCTRL
=no
3920 DEFAULT_wxUSE_SPLITTER
=no
3921 DEFAULT_wxUSE_STATBMP
=no
3922 DEFAULT_wxUSE_STATBOX
=no
3923 DEFAULT_wxUSE_STATLINE
=no
3924 DEFAULT_wxUSE_STATUSBAR
=no
3925 DEFAULT_wxUSE_TAB_DIALOG
=no
3926 DEFAULT_wxUSE_TOOLBAR
=no
3927 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3928 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3929 DEFAULT_wxUSE_TOOLTIPS
=no
3930 DEFAULT_wxUSE_TREECTRL
=no
3934 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3935 echo "configure:3936: checking "for --enable-accel"" >&5
3937 # Check whether --enable-accel or --disable-accel was given.
3938 if test "${enable_accel+set}" = set; then
3939 enableval
="$enable_accel"
3941 if test "$enableval" = yes; then
3942 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3944 ac_cv_use_accel
='wxUSE_ACCEL=no'
3949 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3950 if test "x$LINE" != x
; then
3951 eval "DEFAULT_$LINE"
3956 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3961 eval "$ac_cv_use_accel"
3962 if test "$no_cache" != 1; then
3963 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3966 if test "$wxUSE_ACCEL" = yes; then
3967 echo "$ac_t""yes" 1>&6
3969 echo "$ac_t""no" 1>&6
3973 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3974 echo "configure:3975: checking "for --enable-caret"" >&5
3976 # Check whether --enable-caret or --disable-caret was given.
3977 if test "${enable_caret+set}" = set; then
3978 enableval
="$enable_caret"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_caret
='wxUSE_CARET=yes'
3983 ac_cv_use_caret
='wxUSE_CARET=no'
3988 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x
; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4000 eval "$ac_cv_use_caret"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4005 if test "$wxUSE_CARET" = yes; then
4006 echo "$ac_t""yes" 1>&6
4008 echo "$ac_t""no" 1>&6
4012 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4013 echo "configure:4014: checking "for --enable-bmpbutton"" >&5
4015 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4016 if test "${enable_bmpbutton+set}" = set; then
4017 enableval
="$enable_bmpbutton"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4022 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4027 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x
; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4039 eval "$ac_cv_use_bmpbutton"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4044 if test "$wxUSE_BMPBUTTON" = yes; then
4045 echo "$ac_t""yes" 1>&6
4047 echo "$ac_t""no" 1>&6
4051 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4052 echo "configure:4053: checking "for --enable-checkbox"" >&5
4054 # Check whether --enable-checkbox or --disable-checkbox was given.
4055 if test "${enable_checkbox+set}" = set; then
4056 enableval
="$enable_checkbox"
4058 if test "$enableval" = yes; then
4059 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4061 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4066 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4067 if test "x$LINE" != x
; then
4068 eval "DEFAULT_$LINE"
4073 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4078 eval "$ac_cv_use_checkbox"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4083 if test "$wxUSE_CHECKBOX" = yes; then
4084 echo "$ac_t""yes" 1>&6
4086 echo "$ac_t""no" 1>&6
4090 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4091 echo "configure:4092: checking "for --enable-checklst"" >&5
4093 # Check whether --enable-checklst or --disable-checklst was given.
4094 if test "${enable_checklst+set}" = set; then
4095 enableval
="$enable_checklst"
4097 if test "$enableval" = yes; then
4098 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4100 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4105 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4106 if test "x$LINE" != x
; then
4107 eval "DEFAULT_$LINE"
4112 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4117 eval "$ac_cv_use_checklst"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4122 if test "$wxUSE_CHECKLST" = yes; then
4123 echo "$ac_t""yes" 1>&6
4125 echo "$ac_t""no" 1>&6
4129 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4130 echo "configure:4131: checking "for --enable-choice"" >&5
4132 # Check whether --enable-choice or --disable-choice was given.
4133 if test "${enable_choice+set}" = set; then
4134 enableval
="$enable_choice"
4136 if test "$enableval" = yes; then
4137 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4139 ac_cv_use_choice
='wxUSE_CHOICE=no'
4144 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x
; then
4146 eval "DEFAULT_$LINE"
4151 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4156 eval "$ac_cv_use_choice"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_CHOICE" = yes; then
4162 echo "$ac_t""yes" 1>&6
4164 echo "$ac_t""no" 1>&6
4168 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4169 echo "configure:4170: checking "for --enable-combobox"" >&5
4171 # Check whether --enable-combobox or --disable-combobox was given.
4172 if test "${enable_combobox+set}" = set; then
4173 enableval
="$enable_combobox"
4175 if test "$enableval" = yes; then
4176 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4178 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4183 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x
; then
4185 eval "DEFAULT_$LINE"
4190 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4195 eval "$ac_cv_use_combobox"
4196 if test "$no_cache" != 1; then
4197 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4200 if test "$wxUSE_COMBOBOX" = yes; then
4201 echo "$ac_t""yes" 1>&6
4203 echo "$ac_t""no" 1>&6
4207 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4208 echo "configure:4209: checking "for --enable-gauge"" >&5
4210 # Check whether --enable-gauge or --disable-gauge was given.
4211 if test "${enable_gauge+set}" = set; then
4212 enableval
="$enable_gauge"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4217 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4222 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x
; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4234 eval "$ac_cv_use_gauge"
4235 if test "$no_cache" != 1; then
4236 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4239 if test "$wxUSE_GAUGE" = yes; then
4240 echo "$ac_t""yes" 1>&6
4242 echo "$ac_t""no" 1>&6
4246 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4247 echo "configure:4248: checking "for --enable-grid"" >&5
4249 # Check whether --enable-grid or --disable-grid was given.
4250 if test "${enable_grid+set}" = set; then
4251 enableval
="$enable_grid"
4253 if test "$enableval" = yes; then
4254 ac_cv_use_grid
='wxUSE_GRID=yes'
4256 ac_cv_use_grid
='wxUSE_GRID=no'
4261 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4262 if test "x$LINE" != x
; then
4263 eval "DEFAULT_$LINE"
4268 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4273 eval "$ac_cv_use_grid"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4278 if test "$wxUSE_GRID" = yes; then
4279 echo "$ac_t""yes" 1>&6
4281 echo "$ac_t""no" 1>&6
4285 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4286 echo "configure:4287: checking "for --enable-newgrid"" >&5
4288 # Check whether --enable-newgrid or --disable-newgrid was given.
4289 if test "${enable_newgrid+set}" = set; then
4290 enableval
="$enable_newgrid"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4295 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4300 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4312 eval "$ac_cv_use_newgrid"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_NEW_GRID" = yes; then
4318 echo "$ac_t""yes" 1>&6
4320 echo "$ac_t""no" 1>&6
4324 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4325 echo "configure:4326: checking "for --enable-imaglist"" >&5
4327 # Check whether --enable-imaglist or --disable-imaglist was given.
4328 if test "${enable_imaglist+set}" = set; then
4329 enableval
="$enable_imaglist"
4331 if test "$enableval" = yes; then
4332 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4334 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4339 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4340 if test "x$LINE" != x
; then
4341 eval "DEFAULT_$LINE"
4346 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4351 eval "$ac_cv_use_imaglist"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_IMAGLIST" = yes; then
4357 echo "$ac_t""yes" 1>&6
4359 echo "$ac_t""no" 1>&6
4363 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4364 echo "configure:4365: checking "for --enable-listbox"" >&5
4366 # Check whether --enable-listbox or --disable-listbox was given.
4367 if test "${enable_listbox+set}" = set; then
4368 enableval
="$enable_listbox"
4370 if test "$enableval" = yes; then
4371 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4373 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4378 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4379 if test "x$LINE" != x
; then
4380 eval "DEFAULT_$LINE"
4385 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4390 eval "$ac_cv_use_listbox"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4395 if test "$wxUSE_LISTBOX" = yes; then
4396 echo "$ac_t""yes" 1>&6
4398 echo "$ac_t""no" 1>&6
4402 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4403 echo "configure:4404: checking "for --enable-listctrl"" >&5
4405 # Check whether --enable-listctrl or --disable-listctrl was given.
4406 if test "${enable_listctrl+set}" = set; then
4407 enableval
="$enable_listctrl"
4409 if test "$enableval" = yes; then
4410 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4412 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4417 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x
; then
4419 eval "DEFAULT_$LINE"
4424 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4429 eval "$ac_cv_use_listctrl"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4434 if test "$wxUSE_LISTCTRL" = yes; then
4435 echo "$ac_t""yes" 1>&6
4437 echo "$ac_t""no" 1>&6
4441 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4442 echo "configure:4443: checking "for --enable-notebook"" >&5
4444 # Check whether --enable-notebook or --disable-notebook was given.
4445 if test "${enable_notebook+set}" = set; then
4446 enableval
="$enable_notebook"
4448 if test "$enableval" = yes; then
4449 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4451 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4456 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x
; then
4458 eval "DEFAULT_$LINE"
4463 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4468 eval "$ac_cv_use_notebook"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4473 if test "$wxUSE_NOTEBOOK" = yes; then
4474 echo "$ac_t""yes" 1>&6
4476 echo "$ac_t""no" 1>&6
4480 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4481 echo "configure:4482: checking "for --enable-radiobox"" >&5
4483 # Check whether --enable-radiobox or --disable-radiobox was given.
4484 if test "${enable_radiobox+set}" = set; then
4485 enableval
="$enable_radiobox"
4487 if test "$enableval" = yes; then
4488 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4490 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4495 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x
; then
4497 eval "DEFAULT_$LINE"
4502 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4507 eval "$ac_cv_use_radiobox"
4508 if test "$no_cache" != 1; then
4509 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4512 if test "$wxUSE_RADIOBOX" = yes; then
4513 echo "$ac_t""yes" 1>&6
4515 echo "$ac_t""no" 1>&6
4519 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4520 echo "configure:4521: checking "for --enable-radiobtn"" >&5
4522 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4523 if test "${enable_radiobtn+set}" = set; then
4524 enableval
="$enable_radiobtn"
4526 if test "$enableval" = yes; then
4527 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4529 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4534 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x
; then
4536 eval "DEFAULT_$LINE"
4541 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4546 eval "$ac_cv_use_radiobtn"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4551 if test "$wxUSE_RADIOBTN" = yes; then
4552 echo "$ac_t""yes" 1>&6
4554 echo "$ac_t""no" 1>&6
4558 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4559 echo "configure:4560: checking "for --enable-sash"" >&5
4561 # Check whether --enable-sash or --disable-sash was given.
4562 if test "${enable_sash+set}" = set; then
4563 enableval
="$enable_sash"
4565 if test "$enableval" = yes; then
4566 ac_cv_use_sash
='wxUSE_SASH=yes'
4568 ac_cv_use_sash
='wxUSE_SASH=no'
4573 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x
; then
4575 eval "DEFAULT_$LINE"
4580 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4585 eval "$ac_cv_use_sash"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4590 if test "$wxUSE_SASH" = yes; then
4591 echo "$ac_t""yes" 1>&6
4593 echo "$ac_t""no" 1>&6
4597 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4598 echo "configure:4599: checking "for --enable-scrollbar"" >&5
4600 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4601 if test "${enable_scrollbar+set}" = set; then
4602 enableval
="$enable_scrollbar"
4604 if test "$enableval" = yes; then
4605 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4607 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4612 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x
; then
4614 eval "DEFAULT_$LINE"
4619 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4624 eval "$ac_cv_use_scrollbar"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4629 if test "$wxUSE_SCROLLBAR" = yes; then
4630 echo "$ac_t""yes" 1>&6
4632 echo "$ac_t""no" 1>&6
4636 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4637 echo "configure:4638: checking "for --enable-slider"" >&5
4639 # Check whether --enable-slider or --disable-slider was given.
4640 if test "${enable_slider+set}" = set; then
4641 enableval
="$enable_slider"
4643 if test "$enableval" = yes; then
4644 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4646 ac_cv_use_slider
='wxUSE_SLIDER=no'
4651 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x
; then
4653 eval "DEFAULT_$LINE"
4658 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4663 eval "$ac_cv_use_slider"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4668 if test "$wxUSE_SLIDER" = yes; then
4669 echo "$ac_t""yes" 1>&6
4671 echo "$ac_t""no" 1>&6
4675 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4676 echo "configure:4677: checking "for --enable-spinbtn"" >&5
4678 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4679 if test "${enable_spinbtn+set}" = set; then
4680 enableval
="$enable_spinbtn"
4682 if test "$enableval" = yes; then
4683 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4685 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4690 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4691 if test "x$LINE" != x
; then
4692 eval "DEFAULT_$LINE"
4697 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4702 eval "$ac_cv_use_spinbtn"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_SPINBTN" = yes; then
4708 echo "$ac_t""yes" 1>&6
4710 echo "$ac_t""no" 1>&6
4714 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4715 echo "configure:4716: checking "for --enable-spinctrl"" >&5
4717 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4718 if test "${enable_spinctrl+set}" = set; then
4719 enableval
="$enable_spinctrl"
4721 if test "$enableval" = yes; then
4722 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4724 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4729 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x
; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4741 eval "$ac_cv_use_spinctrl"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4746 if test "$wxUSE_SPINCTRL" = yes; then
4747 echo "$ac_t""yes" 1>&6
4749 echo "$ac_t""no" 1>&6
4753 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4754 echo "configure:4755: checking "for --enable-splitter"" >&5
4756 # Check whether --enable-splitter or --disable-splitter was given.
4757 if test "${enable_splitter+set}" = set; then
4758 enableval
="$enable_splitter"
4760 if test "$enableval" = yes; then
4761 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4763 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4768 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4769 if test "x$LINE" != x
; then
4770 eval "DEFAULT_$LINE"
4775 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4780 eval "$ac_cv_use_splitter"
4781 if test "$no_cache" != 1; then
4782 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4785 if test "$wxUSE_SPLITTER" = yes; then
4786 echo "$ac_t""yes" 1>&6
4788 echo "$ac_t""no" 1>&6
4792 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4793 echo "configure:4794: checking "for --enable-statbmp"" >&5
4795 # Check whether --enable-statbmp or --disable-statbmp was given.
4796 if test "${enable_statbmp+set}" = set; then
4797 enableval
="$enable_statbmp"
4799 if test "$enableval" = yes; then
4800 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4802 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4807 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4808 if test "x$LINE" != x
; then
4809 eval "DEFAULT_$LINE"
4814 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4819 eval "$ac_cv_use_statbmp"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_STATBMP" = yes; then
4825 echo "$ac_t""yes" 1>&6
4827 echo "$ac_t""no" 1>&6
4831 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4832 echo "configure:4833: checking "for --enable-statbox"" >&5
4834 # Check whether --enable-statbox or --disable-statbox was given.
4835 if test "${enable_statbox+set}" = set; then
4836 enableval
="$enable_statbox"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4841 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4846 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4858 eval "$ac_cv_use_statbox"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_STATBOX" = yes; then
4864 echo "$ac_t""yes" 1>&6
4866 echo "$ac_t""no" 1>&6
4870 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4871 echo "configure:4872: checking "for --enable-statline"" >&5
4873 # Check whether --enable-statline or --disable-statline was given.
4874 if test "${enable_statline+set}" = set; then
4875 enableval
="$enable_statline"
4877 if test "$enableval" = yes; then
4878 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4880 ac_cv_use_statline
='wxUSE_STATLINE=no'
4885 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x
; then
4887 eval "DEFAULT_$LINE"
4892 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4897 eval "$ac_cv_use_statline"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4902 if test "$wxUSE_STATLINE" = yes; then
4903 echo "$ac_t""yes" 1>&6
4905 echo "$ac_t""no" 1>&6
4909 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4910 echo "configure:4911: checking "for --enable-statusbar"" >&5
4912 # Check whether --enable-statusbar or --disable-statusbar was given.
4913 if test "${enable_statusbar+set}" = set; then
4914 enableval
="$enable_statusbar"
4916 if test "$enableval" = yes; then
4917 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4919 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4924 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4925 if test "x$LINE" != x
; then
4926 eval "DEFAULT_$LINE"
4931 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4936 eval "$ac_cv_use_statusbar"
4937 if test "$no_cache" != 1; then
4938 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4941 if test "$wxUSE_STATUSBAR" = yes; then
4942 echo "$ac_t""yes" 1>&6
4944 echo "$ac_t""no" 1>&6
4948 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4949 echo "configure:4950: checking "for --enable-tabdialog"" >&5
4951 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4952 if test "${enable_tabdialog+set}" = set; then
4953 enableval
="$enable_tabdialog"
4955 if test "$enableval" = yes; then
4956 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4958 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4963 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x
; then
4965 eval "DEFAULT_$LINE"
4970 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4975 eval "$ac_cv_use_tabdialog"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4980 if test "$wxUSE_TABDIALOG" = yes; then
4981 echo "$ac_t""yes" 1>&6
4983 echo "$ac_t""no" 1>&6
4987 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4988 echo "configure:4989: checking "for --enable-toolbar"" >&5
4990 # Check whether --enable-toolbar or --disable-toolbar was given.
4991 if test "${enable_toolbar+set}" = set; then
4992 enableval
="$enable_toolbar"
4994 if test "$enableval" = yes; then
4995 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4997 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5002 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x
; then
5004 eval "DEFAULT_$LINE"
5009 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5014 eval "$ac_cv_use_toolbar"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_TOOLBAR" = yes; then
5020 echo "$ac_t""yes" 1>&6
5022 echo "$ac_t""no" 1>&6
5026 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5027 echo "configure:5028: checking "for --enable-tbarnative"" >&5
5029 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5030 if test "${enable_tbarnative+set}" = set; then
5031 enableval
="$enable_tbarnative"
5033 if test "$enableval" = yes; then
5034 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5036 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5041 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5042 if test "x$LINE" != x
; then
5043 eval "DEFAULT_$LINE"
5048 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5053 eval "$ac_cv_use_tbarnative"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5059 echo "$ac_t""yes" 1>&6
5061 echo "$ac_t""no" 1>&6
5065 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5066 echo "configure:5067: checking "for --enable-tbarsmpl"" >&5
5068 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5069 if test "${enable_tbarsmpl+set}" = set; then
5070 enableval
="$enable_tbarsmpl"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5075 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5080 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5092 eval "$ac_cv_use_tbarsmpl"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5098 echo "$ac_t""yes" 1>&6
5100 echo "$ac_t""no" 1>&6
5104 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5105 echo "configure:5106: checking "for --enable-treectrl"" >&5
5107 # Check whether --enable-treectrl or --disable-treectrl was given.
5108 if test "${enable_treectrl+set}" = set; then
5109 enableval
="$enable_treectrl"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5114 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5119 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x
; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5131 eval "$ac_cv_use_treectrl"
5132 if test "$no_cache" != 1; then
5133 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5136 if test "$wxUSE_TREECTRL" = yes; then
5137 echo "$ac_t""yes" 1>&6
5139 echo "$ac_t""no" 1>&6
5145 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5146 echo "configure:5147: checking "for --enable-commondlg"" >&5
5148 # Check whether --enable-commondlg or --disable-commondlg was given.
5149 if test "${enable_commondlg+set}" = set; then
5150 enableval
="$enable_commondlg"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5155 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5160 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5172 eval "$ac_cv_use_commondlg"
5173 if test "$no_cache" != 1; then
5174 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5177 if test "$wxUSE_COMMONDLGS" = yes; then
5178 echo "$ac_t""yes" 1>&6
5180 echo "$ac_t""no" 1>&6
5184 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5185 echo "configure:5186: checking "for --enable-dirdlg"" >&5
5187 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5188 if test "${enable_dirdlg+set}" = set; then
5189 enableval
="$enable_dirdlg"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5194 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5199 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x
; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5211 eval "$ac_cv_use_dirdlg"
5212 if test "$no_cache" != 1; then
5213 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5216 if test "$wxUSE_DIRDLG" = yes; then
5217 echo "$ac_t""yes" 1>&6
5219 echo "$ac_t""no" 1>&6
5223 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5224 echo "configure:5225: checking "for --enable-textdlg"" >&5
5226 # Check whether --enable-textdlg or --disable-textdlg was given.
5227 if test "${enable_textdlg+set}" = set; then
5228 enableval
="$enable_textdlg"
5230 if test "$enableval" = yes; then
5231 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5233 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5238 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5239 if test "x$LINE" != x
; then
5240 eval "DEFAULT_$LINE"
5245 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5250 eval "$ac_cv_use_textdlg"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5255 if test "$wxUSE_TEXTDLG" = yes; then
5256 echo "$ac_t""yes" 1>&6
5258 echo "$ac_t""no" 1>&6
5262 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5263 echo "configure:5264: checking "for --enable-tipdlg"" >&5
5265 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5266 if test "${enable_tipdlg+set}" = set; then
5267 enableval
="$enable_tipdlg"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5272 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5277 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x
; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5289 eval "$ac_cv_use_tipdlg"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_STARTUP_TIPS" = yes; then
5295 echo "$ac_t""yes" 1>&6
5297 echo "$ac_t""no" 1>&6
5301 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5302 echo "configure:5303: checking "for --enable-progressdlg"" >&5
5304 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5305 if test "${enable_progressdlg+set}" = set; then
5306 enableval
="$enable_progressdlg"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5311 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5316 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x
; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5328 eval "$ac_cv_use_progressdlg"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5333 if test "$wxUSE_PROGRESSDLG" = yes; then
5334 echo "$ac_t""yes" 1>&6
5336 echo "$ac_t""no" 1>&6
5340 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5341 echo "configure:5342: checking "for --enable-miniframe"" >&5
5343 # Check whether --enable-miniframe or --disable-miniframe was given.
5344 if test "${enable_miniframe+set}" = set; then
5345 enableval
="$enable_miniframe"
5347 if test "$enableval" = yes; then
5348 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5350 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5355 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x
; then
5357 eval "DEFAULT_$LINE"
5362 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5367 eval "$ac_cv_use_miniframe"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5372 if test "$wxUSE_MINIFRAME" = yes; then
5373 echo "$ac_t""yes" 1>&6
5375 echo "$ac_t""no" 1>&6
5379 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5380 echo "configure:5381: checking "for --enable-html"" >&5
5382 # Check whether --enable-html or --disable-html was given.
5383 if test "${enable_html+set}" = set; then
5384 enableval
="$enable_html"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_html
='wxUSE_HTML=yes'
5389 ac_cv_use_html
='wxUSE_HTML=no'
5394 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5406 eval "$ac_cv_use_html"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_HTML" = yes; then
5412 echo "$ac_t""yes" 1>&6
5414 echo "$ac_t""no" 1>&6
5418 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5419 echo "configure:5420: checking "for --enable-tooltips"" >&5
5421 # Check whether --enable-tooltips or --disable-tooltips was given.
5422 if test "${enable_tooltips+set}" = set; then
5423 enableval
="$enable_tooltips"
5425 if test "$enableval" = yes; then
5426 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5428 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5433 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x
; then
5435 eval "DEFAULT_$LINE"
5440 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5445 eval "$ac_cv_use_tooltips"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_TOOLTIPS" = yes; then
5451 echo "$ac_t""yes" 1>&6
5453 echo "$ac_t""no" 1>&6
5457 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5458 echo "configure:5459: checking "for --enable-splines"" >&5
5460 # Check whether --enable-splines or --disable-splines was given.
5461 if test "${enable_splines+set}" = set; then
5462 enableval
="$enable_splines"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5467 ac_cv_use_splines
='wxUSE_SPLINES=no'
5472 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5484 eval "$ac_cv_use_splines"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_SPLINES" = yes; then
5490 echo "$ac_t""yes" 1>&6
5492 echo "$ac_t""no" 1>&6
5496 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5497 echo "configure:5498: checking "for --enable-validators"" >&5
5499 # Check whether --enable-validators or --disable-validators was given.
5500 if test "${enable_validators+set}" = set; then
5501 enableval
="$enable_validators"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5506 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5511 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5523 eval "$ac_cv_use_validators"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5528 if test "$wxUSE_VALIDATORS" = yes; then
5529 echo "$ac_t""yes" 1>&6
5531 echo "$ac_t""no" 1>&6
5535 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5536 echo "configure:5537: checking "for --enable-busyinfo"" >&5
5538 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5539 if test "${enable_busyinfo+set}" = set; then
5540 enableval
="$enable_busyinfo"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5545 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5550 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x
; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5562 eval "$ac_cv_use_busyinfo"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5567 if test "$wxUSE_BUSYINFO" = yes; then
5568 echo "$ac_t""yes" 1>&6
5570 echo "$ac_t""no" 1>&6
5576 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5577 echo "configure:5578: checking "for --enable-gif"" >&5
5579 # Check whether --enable-gif or --disable-gif was given.
5580 if test "${enable_gif+set}" = set; then
5581 enableval
="$enable_gif"
5583 if test "$enableval" = yes; then
5584 ac_cv_use_gif
='wxUSE_GIF=yes'
5586 ac_cv_use_gif
='wxUSE_GIF=no'
5591 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5592 if test "x$LINE" != x
; then
5593 eval "DEFAULT_$LINE"
5598 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5603 eval "$ac_cv_use_gif"
5604 if test "$no_cache" != 1; then
5605 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5608 if test "$wxUSE_GIF" = yes; then
5609 echo "$ac_t""yes" 1>&6
5611 echo "$ac_t""no" 1>&6
5615 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5616 echo "configure:5617: checking "for --enable-pcx"" >&5
5618 # Check whether --enable-pcx or --disable-pcx was given.
5619 if test "${enable_pcx+set}" = set; then
5620 enableval
="$enable_pcx"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_pcx
='wxUSE_PCX=yes'
5625 ac_cv_use_pcx
='wxUSE_PCX=no'
5630 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x
; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5642 eval "$ac_cv_use_pcx"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_PCX" = yes; then
5648 echo "$ac_t""yes" 1>&6
5650 echo "$ac_t""no" 1>&6
5654 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5655 echo "configure:5656: checking "for --enable-pnm"" >&5
5657 # Check whether --enable-pnm or --disable-pnm was given.
5658 if test "${enable_pnm+set}" = set; then
5659 enableval
="$enable_pnm"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_pnm
='wxUSE_PNM=yes'
5664 ac_cv_use_pnm
='wxUSE_PNM=no'
5669 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x
; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5681 eval "$ac_cv_use_pnm"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5686 if test "$wxUSE_PNM" = yes; then
5687 echo "$ac_t""yes" 1>&6
5689 echo "$ac_t""no" 1>&6
5696 echo "saving argument cache $wx_arg_cache_file"
5697 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5701 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5702 echo "configure:5703: checking for toolkit" >&5
5704 if test "$wxUSE_GUI" = "yes"; then
5706 if test "$USE_BEOS" = 1; then
5707 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5710 if test "$TOOLKIT_GIVEN" = 1; then
5711 for toolkit
in `echo $ALL_TOOLKITS`; do
5713 eval "value=\$${var}"
5714 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5717 for toolkit
in `echo $ALL_TOOLKITS`; do
5718 if test "$has_toolkit_in_cache" != 1; then
5719 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5721 var
=DEFAULT_wxUSE_
$toolkit
5723 eval "wxUSE_$toolkit=\$${var}"
5727 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_PM:-0}`
5729 case "$NUM_TOOLKITS" in
5733 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5736 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5739 for toolkit
in `echo $ALL_TOOLKITS`; do
5741 eval "value=\$${var}"
5742 if test "x$value" != x
; then
5743 cache_var
=CACHE_
$toolkit
5744 eval "cache=\$${cache_var}"
5745 if test "$cache" = 1; then
5746 echo "$var=$value" >> ${wx_arg_cache_file}
5748 if test "$value" = 1; then
5749 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5755 echo "$ac_t""base only" 1>&6
5759 cat > confcache
<<\EOF
5760 # This file is a shell script that caches the results of configure
5761 # tests run on this system so they can be shared between configure
5762 # scripts and configure runs. It is not useful on other systems.
5763 # If it contains results you don't want to keep, you may remove or edit it.
5765 # By default, configure uses ./config.cache as the cache file,
5766 # creating it if it does not exist already. You can give configure
5767 # the --cache-file=FILE option to use a different cache file; that is
5768 # what configure does when it calls configure scripts in
5769 # subdirectories, so they share the cache.
5770 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5771 # config.status only pays attention to the cache file if you give it the
5772 # --recheck option to rerun configure.
5775 # The following way of writing the cache mishandles newlines in values,
5776 # but we know of no workaround that is simple, portable, and efficient.
5777 # So, don't put newlines in cache variables' values.
5778 # Ultrix sh set writes to stderr and can't be redirected directly,
5779 # and sets the high bit in the cache file unless we assign to the vars.
5781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5783 # `set' does not quote correctly, so add quotes (double-quote substitution
5784 # turns \\\\ into \\, and sed turns \\ into \).
5786 -e "s/'/'\\\\''/g" \
5787 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5790 # `set' quotes correctly as required by POSIX, so do not add quotes.
5791 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5794 if cmp -s $cache_file confcache
; then
5797 if test -w $cache_file; then
5798 echo "updating cache $cache_file"
5799 cat confcache
> $cache_file
5801 echo "not updating unwritable cache $cache_file"
5807 if eval "test $host != $build"; then
5808 if eval "test $host_alias != NONE"; then
5812 RANLIB
=$host_alias-ranlib
5813 DLLTOOL
=$host_alias-dlltool
5816 STRIP
=$host_alias-strip
5820 # Extract the first word of "gcc", so it can be a program name with args.
5821 set dummy gcc
; ac_word
=$2
5822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5823 echo "configure:5824: checking for $ac_word" >&5
5824 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5825 echo $ac_n "(cached) $ac_c" 1>&6
5827 if test -n "$CC"; then
5828 ac_cv_prog_CC
="$CC" # Let the user override the test.
5830 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5832 for ac_dir
in $ac_dummy; do
5833 test -z "$ac_dir" && ac_dir
=.
5834 if test -f $ac_dir/$ac_word; then
5843 if test -n "$CC"; then
5844 echo "$ac_t""$CC" 1>&6
5846 echo "$ac_t""no" 1>&6
5849 if test -z "$CC"; then
5850 # Extract the first word of "cc", so it can be a program name with args.
5851 set dummy cc
; ac_word
=$2
5852 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5853 echo "configure:5854: checking for $ac_word" >&5
5854 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5855 echo $ac_n "(cached) $ac_c" 1>&6
5857 if test -n "$CC"; then
5858 ac_cv_prog_CC
="$CC" # Let the user override the test.
5860 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5863 for ac_dir
in $ac_dummy; do
5864 test -z "$ac_dir" && ac_dir
=.
5865 if test -f $ac_dir/$ac_word; then
5866 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5867 ac_prog_rejected
=yes
5875 if test $ac_prog_rejected = yes; then
5876 # We found a bogon in the path, so make sure we never use it.
5877 set dummy
$ac_cv_prog_CC
5879 if test $# -gt 0; then
5880 # We chose a different compiler from the bogus one.
5881 # However, it has the same basename, so the bogon will be chosen
5882 # first if we set CC to just the basename; use the full file name.
5884 set dummy
"$ac_dir/$ac_word" "$@"
5892 if test -n "$CC"; then
5893 echo "$ac_t""$CC" 1>&6
5895 echo "$ac_t""no" 1>&6
5898 if test -z "$CC"; then
5899 case "`uname -s`" in
5901 # Extract the first word of "cl", so it can be a program name with args.
5902 set dummy cl
; ac_word
=$2
5903 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5904 echo "configure:5905: checking for $ac_word" >&5
5905 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5906 echo $ac_n "(cached) $ac_c" 1>&6
5908 if test -n "$CC"; then
5909 ac_cv_prog_CC
="$CC" # Let the user override the test.
5911 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5913 for ac_dir
in $ac_dummy; do
5914 test -z "$ac_dir" && ac_dir
=.
5915 if test -f $ac_dir/$ac_word; then
5924 if test -n "$CC"; then
5925 echo "$ac_t""$CC" 1>&6
5927 echo "$ac_t""no" 1>&6
5932 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5935 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5936 echo "configure:5937: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5940 ac_cpp
='$CPP $CPPFLAGS'
5941 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5942 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5943 cross_compiling
=$ac_cv_prog_cc_cross
5945 cat > conftest.
$ac_ext << EOF
5947 #line 5948 "configure"
5948 #include "confdefs.h"
5952 if { (eval echo configure
:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5953 ac_cv_prog_cc_works
=yes
5954 # If we can't run a trivial program, we are probably using a cross compiler.
5955 if (.
/conftest
; exit) 2>/dev
/null
; then
5956 ac_cv_prog_cc_cross
=no
5958 ac_cv_prog_cc_cross
=yes
5961 echo "configure: failed program was:" >&5
5962 cat conftest.
$ac_ext >&5
5963 ac_cv_prog_cc_works
=no
5967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5968 ac_cpp
='$CPP $CPPFLAGS'
5969 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5970 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5971 cross_compiling
=$ac_cv_prog_cc_cross
5973 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5974 if test $ac_cv_prog_cc_works = no
; then
5975 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5977 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5978 echo "configure:5979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5979 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5980 cross_compiling
=$ac_cv_prog_cc_cross
5982 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5983 echo "configure:5984: checking whether we are using GNU C" >&5
5984 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5985 echo $ac_n "(cached) $ac_c" 1>&6
5987 cat > conftest.c
<<EOF
5992 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5999 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6001 if test $ac_cv_prog_gcc = yes; then
6007 ac_test_CFLAGS
="${CFLAGS+set}"
6008 ac_save_CFLAGS
="$CFLAGS"
6010 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6011 echo "configure:6012: checking whether ${CC-cc} accepts -g" >&5
6012 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6013 echo $ac_n "(cached) $ac_c" 1>&6
6015 echo 'void f(){}' > conftest.c
6016 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6025 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6026 if test "$ac_test_CFLAGS" = set; then
6027 CFLAGS
="$ac_save_CFLAGS"
6028 elif test $ac_cv_prog_cc_g = yes; then
6029 if test "$GCC" = yes; then
6035 if test "$GCC" = yes; then
6043 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6045 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6046 echo "configure:6047: checking how to run the C preprocessor" >&5
6047 # On Suns, sometimes $CPP names a directory.
6048 if test -n "$CPP" && test -d "$CPP"; then
6051 if test -z "$CPP"; then
6052 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6053 echo $ac_n "(cached) $ac_c" 1>&6
6055 # This must be in double quotes, not single quotes, because CPP may get
6056 # substituted into the Makefile and "${CC-cc}" will confuse make.
6058 # On the NeXT, cc -E runs the code through the compiler's parser,
6059 # not just through cpp.
6060 cat > conftest.
$ac_ext <<EOF
6061 #line 6062 "configure"
6062 #include "confdefs.h"
6066 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6067 { (eval echo configure
:6068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6068 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6069 if test -z "$ac_err"; then
6073 echo "configure: failed program was:" >&5
6074 cat conftest.
$ac_ext >&5
6076 CPP
="${CC-cc} -E -traditional-cpp"
6077 cat > conftest.
$ac_ext <<EOF
6078 #line 6079 "configure"
6079 #include "confdefs.h"
6083 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6084 { (eval echo configure
:6085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6085 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6086 if test -z "$ac_err"; then
6090 echo "configure: failed program was:" >&5
6091 cat conftest.
$ac_ext >&5
6093 CPP
="${CC-cc} -nologo -E"
6094 cat > conftest.
$ac_ext <<EOF
6095 #line 6096 "configure"
6096 #include "confdefs.h"
6100 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6101 { (eval echo configure
:6102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6102 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6103 if test -z "$ac_err"; then
6107 echo "configure: failed program was:" >&5
6108 cat conftest.
$ac_ext >&5
6117 ac_cv_prog_CPP
="$CPP"
6119 CPP
="$ac_cv_prog_CPP"
6121 ac_cv_prog_CPP
="$CPP"
6123 echo "$ac_t""$CPP" 1>&6
6126 if test $ac_cv_prog_gcc = yes; then
6127 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6128 echo "configure:6129: checking whether ${CC-cc} needs -traditional" >&5
6129 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6130 echo $ac_n "(cached) $ac_c" 1>&6
6132 ac_pattern
="Autoconf.*'x'"
6133 cat > conftest.
$ac_ext <<EOF
6134 #line 6135 "configure"
6135 #include "confdefs.h"
6139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6140 egrep "$ac_pattern" >/dev
/null
2>&1; then
6142 ac_cv_prog_gcc_traditional
=yes
6145 ac_cv_prog_gcc_traditional
=no
6150 if test $ac_cv_prog_gcc_traditional = no
; then
6151 cat > conftest.
$ac_ext <<EOF
6152 #line 6153 "configure"
6153 #include "confdefs.h"
6157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6158 egrep "$ac_pattern" >/dev
/null
2>&1; then
6160 ac_cv_prog_gcc_traditional
=yes
6167 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6168 if test $ac_cv_prog_gcc_traditional = yes; then
6169 CC
="$CC -traditional"
6176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6177 ac_cpp
='$CXXCPP $CPPFLAGS'
6178 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6179 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6180 cross_compiling
=$ac_cv_prog_cxx_cross
6183 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6185 # Extract the first word of "$ac_prog", so it can be a program name with args.
6186 set dummy
$ac_prog; ac_word
=$2
6187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6188 echo "configure:6189: checking for $ac_word" >&5
6189 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6190 echo $ac_n "(cached) $ac_c" 1>&6
6192 if test -n "$CXX"; then
6193 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6195 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6197 for ac_dir
in $ac_dummy; do
6198 test -z "$ac_dir" && ac_dir
=.
6199 if test -f $ac_dir/$ac_word; then
6200 ac_cv_prog_CXX
="$ac_prog"
6207 CXX
="$ac_cv_prog_CXX"
6208 if test -n "$CXX"; then
6209 echo "$ac_t""$CXX" 1>&6
6211 echo "$ac_t""no" 1>&6
6214 test -n "$CXX" && break
6216 test -n "$CXX" || CXX
="gcc"
6219 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6220 echo "configure:6221: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6224 ac_cpp
='$CXXCPP $CPPFLAGS'
6225 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6226 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6227 cross_compiling
=$ac_cv_prog_cxx_cross
6229 cat > conftest.
$ac_ext << EOF
6231 #line 6232 "configure"
6232 #include "confdefs.h"
6234 int main(){return(0);}
6236 if { (eval echo configure
:6237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6237 ac_cv_prog_cxx_works
=yes
6238 # If we can't run a trivial program, we are probably using a cross compiler.
6239 if (.
/conftest
; exit) 2>/dev
/null
; then
6240 ac_cv_prog_cxx_cross
=no
6242 ac_cv_prog_cxx_cross
=yes
6245 echo "configure: failed program was:" >&5
6246 cat conftest.
$ac_ext >&5
6247 ac_cv_prog_cxx_works
=no
6251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6252 ac_cpp
='$CXXCPP $CPPFLAGS'
6253 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6254 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6255 cross_compiling
=$ac_cv_prog_cxx_cross
6257 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6258 if test $ac_cv_prog_cxx_works = no
; then
6259 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6261 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6262 echo "configure:6263: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6263 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6264 cross_compiling
=$ac_cv_prog_cxx_cross
6266 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6267 echo "configure:6268: checking whether we are using GNU C++" >&5
6268 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6269 echo $ac_n "(cached) $ac_c" 1>&6
6271 cat > conftest.C
<<EOF
6276 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6283 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6285 if test $ac_cv_prog_gxx = yes; then
6291 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6292 ac_save_CXXFLAGS
="$CXXFLAGS"
6294 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6295 echo "configure:6296: checking whether ${CXX-g++} accepts -g" >&5
6296 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6297 echo $ac_n "(cached) $ac_c" 1>&6
6299 echo 'void f(){}' > conftest.cc
6300 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6301 ac_cv_prog_cxx_g
=yes
6309 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6310 if test "$ac_test_CXXFLAGS" = set; then
6311 CXXFLAGS
="$ac_save_CXXFLAGS"
6312 elif test $ac_cv_prog_cxx_g = yes; then
6313 if test "$GXX" = yes; then
6319 if test "$GXX" = yes; then
6327 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6328 echo "configure:6329: checking how to run the C++ preprocessor" >&5
6329 if test -z "$CXXCPP"; then
6330 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6331 echo $ac_n "(cached) $ac_c" 1>&6
6334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6335 ac_cpp
='$CXXCPP $CPPFLAGS'
6336 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6337 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6338 cross_compiling
=$ac_cv_prog_cxx_cross
6339 CXXCPP
="${CXX-g++} -E"
6340 cat > conftest.
$ac_ext <<EOF
6341 #line 6342 "configure"
6342 #include "confdefs.h"
6345 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6346 { (eval echo configure
:6347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6347 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6348 if test -z "$ac_err"; then
6352 echo "configure: failed program was:" >&5
6353 cat conftest.
$ac_ext >&5
6358 ac_cv_prog_CXXCPP
="$CXXCPP"
6360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6361 ac_cpp
='$CXXCPP $CPPFLAGS'
6362 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6363 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6364 cross_compiling
=$ac_cv_prog_cxx_cross
6367 CXXCPP
="$ac_cv_prog_CXXCPP"
6368 echo "$ac_t""$CXXCPP" 1>&6
6371 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6375 ac_cpp
='$CPP $CPPFLAGS'
6376 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6377 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6378 cross_compiling
=$ac_cv_prog_cc_cross
6381 # Extract the first word of "ranlib", so it can be a program name with args.
6382 set dummy ranlib
; ac_word
=$2
6383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6384 echo "configure:6385: checking for $ac_word" >&5
6385 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6386 echo $ac_n "(cached) $ac_c" 1>&6
6388 if test -n "$RANLIB"; then
6389 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6391 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6393 for ac_dir
in $ac_dummy; do
6394 test -z "$ac_dir" && ac_dir
=.
6395 if test -f $ac_dir/$ac_word; then
6396 ac_cv_prog_RANLIB
="ranlib"
6401 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6404 RANLIB
="$ac_cv_prog_RANLIB"
6405 if test -n "$RANLIB"; then
6406 echo "$ac_t""$RANLIB" 1>&6
6408 echo "$ac_t""no" 1>&6
6412 # Extract the first word of "ar", so it can be a program name with args.
6413 set dummy
ar; ac_word
=$2
6414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6415 echo "configure:6416: checking for $ac_word" >&5
6416 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6417 echo $ac_n "(cached) $ac_c" 1>&6
6419 if test -n "$AR"; then
6420 ac_cv_prog_AR
="$AR" # Let the user override the test.
6422 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6424 for ac_dir
in $ac_dummy; do
6425 test -z "$ac_dir" && ac_dir
=.
6426 if test -f $ac_dir/$ac_word; then
6432 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6436 if test -n "$AR"; then
6437 echo "$ac_t""$AR" 1>&6
6439 echo "$ac_t""no" 1>&6
6443 # Find a good install program. We prefer a C program (faster),
6444 # so one script is as good as another. But avoid the broken or
6445 # incompatible versions:
6446 # SysV /etc/install, /usr/sbin/install
6447 # SunOS /usr/etc/install
6448 # IRIX /sbin/install
6450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6453 # ./install, which can be erroneously created by make from ./install.sh.
6454 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6455 echo "configure:6456: checking for a BSD compatible install" >&5
6456 if test -z "$INSTALL"; then
6457 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6458 echo $ac_n "(cached) $ac_c" 1>&6
6460 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6461 for ac_dir
in $PATH; do
6462 # Account for people who put trailing slashes in PATH elements.
6464 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6466 # OSF1 and SCO ODT 3.0 have their own names for install.
6467 # Don't use installbsd from OSF since it installs stuff as root
6469 for ac_prog
in ginstall scoinst
install; do
6470 if test -f $ac_dir/$ac_prog; then
6471 if test $ac_prog = install &&
6472 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6473 # AIX install. It has an incompatible calling convention.
6476 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6487 if test "${ac_cv_path_install+set}" = set; then
6488 INSTALL
="$ac_cv_path_install"
6490 # As a last resort, use the slow shell script. We don't cache a
6491 # path for INSTALL within a source directory, because that will
6492 # break other packages using the cache if that directory is
6493 # removed, or if the path is relative.
6494 INSTALL
="$ac_install_sh"
6497 echo "$ac_t""$INSTALL" 1>&6
6499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6500 # It thinks the first close brace ends the variable substitution.
6501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6505 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6508 # Extract the first word of "strip", so it can be a program name with args.
6509 set dummy strip
; ac_word
=$2
6510 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6511 echo "configure:6512: checking for $ac_word" >&5
6512 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6513 echo $ac_n "(cached) $ac_c" 1>&6
6515 if test -n "$STRIP"; then
6516 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6518 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6520 for ac_dir
in $ac_dummy; do
6521 test -z "$ac_dir" && ac_dir
=.
6522 if test -f $ac_dir/$ac_word; then
6523 ac_cv_prog_STRIP
="strip"
6528 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6531 STRIP
="$ac_cv_prog_STRIP"
6532 if test -n "$STRIP"; then
6533 echo "$ac_t""$STRIP" 1>&6
6535 echo "$ac_t""no" 1>&6
6539 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6540 echo "configure:6541: checking "make for VPATH support
"" >&5
6541 cat - << EOF > confMake
6547 if test ! -d sub
; then
6550 echo dummy
> sub
/file
6551 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6553 rm -f sub
/file check final_file confMake
6555 if test "$RESULT" = 0; then
6556 echo "$ac_t""yes" 1>&6
6558 echo "$ac_t""no" 1>&6
6559 { echo "configure: error: You need a make-utility that is able to use the variable
6561 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6564 for ac_prog
in 'bison -y' byacc
6566 # Extract the first word of "$ac_prog", so it can be a program name with args.
6567 set dummy
$ac_prog; ac_word
=$2
6568 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6569 echo "configure:6570: checking for $ac_word" >&5
6570 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6571 echo $ac_n "(cached) $ac_c" 1>&6
6573 if test -n "$YACC"; then
6574 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6576 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6578 for ac_dir
in $ac_dummy; do
6579 test -z "$ac_dir" && ac_dir
=.
6580 if test -f $ac_dir/$ac_word; then
6581 ac_cv_prog_YACC
="$ac_prog"
6588 YACC
="$ac_cv_prog_YACC"
6589 if test -n "$YACC"; then
6590 echo "$ac_t""$YACC" 1>&6
6592 echo "$ac_t""no" 1>&6
6595 test -n "$YACC" && break
6597 test -n "$YACC" || YACC
="yacc"
6600 # Extract the first word of "flex", so it can be a program name with args.
6601 set dummy flex
; ac_word
=$2
6602 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6603 echo "configure:6604: checking for $ac_word" >&5
6604 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6605 echo $ac_n "(cached) $ac_c" 1>&6
6607 if test -n "$LEX"; then
6608 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6610 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6612 for ac_dir
in $ac_dummy; do
6613 test -z "$ac_dir" && ac_dir
=.
6614 if test -f $ac_dir/$ac_word; then
6615 ac_cv_prog_LEX
="flex"
6620 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6623 LEX
="$ac_cv_prog_LEX"
6624 if test -n "$LEX"; then
6625 echo "$ac_t""$LEX" 1>&6
6627 echo "$ac_t""no" 1>&6
6630 if test -z "$LEXLIB"
6636 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6637 echo "configure:6638: checking for yywrap in -l$ac_lib" >&5
6638 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6
6642 ac_save_LIBS
="$LIBS"
6643 LIBS
="-l$ac_lib $LIBS"
6644 cat > conftest.
$ac_ext <<EOF
6645 #line 6646 "configure"
6646 #include "confdefs.h"
6647 /* Override any gcc2 internal prototype to avoid an error. */
6648 /* We use char because int might match the return type of a gcc2
6649 builtin and then its argument prototype would still apply. */
6656 if { (eval echo configure
:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6658 eval "ac_cv_lib_$ac_lib_var=yes"
6660 echo "configure: failed program was:" >&5
6661 cat conftest.
$ac_ext >&5
6663 eval "ac_cv_lib_$ac_lib_var=no"
6666 LIBS
="$ac_save_LIBS"
6669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6670 echo "$ac_t""yes" 1>&6
6673 echo "$ac_t""no" 1>&6
6679 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6680 echo "configure:6681: checking whether ln -s works" >&5
6681 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6682 echo $ac_n "(cached) $ac_c" 1>&6
6685 if ln -s X conftestdata
2>/dev
/null
6688 ac_cv_prog_LN_S
="ln -s"
6693 LN_S
="$ac_cv_prog_LN_S"
6694 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6695 echo "$ac_t""yes" 1>&6
6697 echo "$ac_t""no" 1>&6
6703 /usr/local/include \
6705 /usr/Motif-1.2/include \
6706 /usr/Motif-2.1/include \
6708 /usr/include/Motif1.2 \
6709 /opt/xpm/include/X11 \
6710 /opt/GBxpm/include/ \
6711 /opt/GBxpm/X11/include/ \
6713 /usr/Motif1.2/include \
6715 /usr/openwin/include \
6719 /usr/X11R6/include \
6720 /usr/X11R6.4/include \
6721 /usr/X11R5/include \
6722 /usr/X11R4/include \
6724 /usr/include/X11R6 \
6725 /usr/include/X11R5 \
6726 /usr/include/X11R4 \
6728 /usr/local/X11R6/include \
6729 /usr/local/X11R5/include \
6730 /usr/local/X11R4/include \
6732 /usr/local/include/X11R6 \
6733 /usr/local/include/X11R5 \
6734 /usr/local/include/X11R4 \
6738 /usr/local/X11/include \
6739 /usr/local/include/X11 \
6743 /usr/XFree86/include/X11 \
6746 /usr/local/include/gtk \
6748 /usr/local/include/glib \
6751 /usr/local/include/qt \
6753 /usr/include/windows \
6755 /usr/local/include/wine \
6757 /usr/unsupported/include \
6758 /usr/athena/include \
6759 /usr/local/x11r5/include \
6760 /usr/lpp/Xamples/include \
6762 /usr/openwin/share/include \
6766 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6769 cat > confcache
<<\EOF
6770 # This file is a shell script that caches the results of configure
6771 # tests run on this system so they can be shared between configure
6772 # scripts and configure runs. It is not useful on other systems.
6773 # If it contains results you don't want to keep, you may remove or edit it.
6775 # By default, configure uses ./config.cache as the cache file,
6776 # creating it if it does not exist already. You can give configure
6777 # the --cache-file=FILE option to use a different cache file; that is
6778 # what configure does when it calls configure scripts in
6779 # subdirectories, so they share the cache.
6780 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6781 # config.status only pays attention to the cache file if you give it the
6782 # --recheck option to rerun configure.
6785 # The following way of writing the cache mishandles newlines in values,
6786 # but we know of no workaround that is simple, portable, and efficient.
6787 # So, don't put newlines in cache variables' values.
6788 # Ultrix sh set writes to stderr and can't be redirected directly,
6789 # and sets the high bit in the cache file unless we assign to the vars.
6791 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6793 # `set' does not quote correctly, so add quotes (double-quote substitution
6794 # turns \\\\ into \\, and sed turns \\ into \).
6796 -e "s/'/'\\\\''/g" \
6797 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6800 # `set' quotes correctly as required by POSIX, so do not add quotes.
6801 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6804 if cmp -s $cache_file confcache
; then
6807 if test -w $cache_file; then
6808 echo "updating cache $cache_file"
6809 cat confcache
> $cache_file
6811 echo "not updating unwritable cache $cache_file"
6820 if test "$wxUSE_GUI" = "yes"; then
6841 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6842 if test "$cross_compiling" = "yes" ; then
6843 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6845 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6846 echo "configure:6847: checking for Windows headers" >&5
6849 for ac_dir
in $SEARCH_INCLUDE;
6851 if test -f "$ac_dir/windows.h"; then
6852 ac_find_includes
=$ac_dir
6857 if test "$ac_find_includes" != "" ; then
6858 echo "$ac_t""found $ac_find_includes" 1>&6
6859 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6861 echo "$ac_t""no" 1>&6
6862 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6866 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6867 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6869 if test "$wxUSE_MINGW" = 1; then
6870 LDFLAGS
="$LDFLAGS -mwindows"
6875 GUIOBJS
="\$(MSW_GUIOBJS)"
6876 GUIHEADERS
="\$(MSW_HEADERS)"
6877 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6878 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6884 if test "$wxUSE_GTK" = 1; then
6886 if test x
$gtk_config_exec_prefix != x
; then
6887 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6888 if test x
${GTK_CONFIG+set} != xset
; then
6889 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6892 if test x
$gtk_config_prefix != x
; then
6893 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6894 if test x
${GTK_CONFIG+set} != xset
; then
6895 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6899 # Extract the first word of "gtk-config", so it can be a program name with args.
6900 set dummy gtk
-config; ac_word
=$2
6901 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6902 echo "configure:6903: checking for $ac_word" >&5
6903 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6904 echo $ac_n "(cached) $ac_c" 1>&6
6906 case "$GTK_CONFIG" in
6908 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6911 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6914 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6916 for ac_dir
in $ac_dummy; do
6917 test -z "$ac_dir" && ac_dir
=.
6918 if test -f $ac_dir/$ac_word; then
6919 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6924 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6928 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6929 if test -n "$GTK_CONFIG"; then
6930 echo "$ac_t""$GTK_CONFIG" 1>&6
6932 echo "$ac_t""no" 1>&6
6935 min_gtk_version
=1.2.3
6936 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6937 echo "configure:6938: checking for GTK - version >= $min_gtk_version" >&5
6939 if test "$GTK_CONFIG" != "no" ; then
6940 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6941 GTK_LIBS
=`$GTK_CONFIG --libs`
6942 ac_save_CFLAGS
="$CFLAGS"
6943 ac_save_LIBS
="$LIBS"
6944 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6945 LIBS
="$LIBS $GTK_LIBS"
6946 if test "$cross_compiling" = yes; then
6947 echo $ac_n "cross compiling; assumed OK... $ac_c"
6949 cat > conftest.
$ac_ext <<EOF
6950 #line 6951 "configure"
6951 #include "confdefs.h"
6953 #include <gtk/gtk.h>
6954 #include <gtk/gtkfeatures.h>
6960 int major, minor, micro;
6962 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6963 printf("%s, bad version string\n", "$min_gtk_version");
6967 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6968 (GTK_MINOR_VERSION != gtk_minor_version) ||
6969 (GTK_MICRO_VERSION != gtk_micro_version)) {
6970 printf("Headers vs. library version mismatch!\n");
6974 if (gtk_minor_version == 1) return FALSE;
6976 return !((gtk_major_version > major) ||
6977 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6978 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6982 if { (eval echo configure
:6983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6986 echo "configure: failed program was:" >&5
6987 cat conftest.
$ac_ext >&5
6994 CFLAGS
="$ac_save_CFLAGS"
6995 LIBS
="$ac_save_LIBS"
6999 if test "x$no_gtk" = x
; then
7000 echo "$ac_t""yes" 1>&6
7003 echo "$ac_t""no" 1>&6
7006 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.3 or above?" 1>&2; exit 1; }
7012 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7013 GUI_TK_LIBRARY
="$GTK_LIBS -lgthread"
7016 AFMINSTALL
=afminstall
7018 GUIOBJS
="\$(GTK_GUIOBJS)"
7019 GUIHEADERS
="\$(GTK_HEADERS)"
7020 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7021 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7022 GUIDEPS
="\$(GTK_GUIDEPS)"
7023 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7024 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7025 UNIXOBJS
="\$(UNIX_OBJS)"
7026 UNIXDEPS
="\$(UNIX_DEPS)"
7029 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7030 echo "configure:7031: checking for gdk_im_open in -lgdk" >&5
7031 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7032 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7033 echo $ac_n "(cached) $ac_c" 1>&6
7035 ac_save_LIBS
="$LIBS"
7037 cat > conftest.
$ac_ext <<EOF
7038 #line 7039 "configure"
7039 #include "confdefs.h"
7040 /* Override any gcc2 internal prototype to avoid an error. */
7041 /* We use char because int might match the return type of a gcc2
7042 builtin and then its argument prototype would still apply. */
7049 if { (eval echo configure
:7050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7051 eval "ac_cv_lib_$ac_lib_var=yes"
7053 echo "configure: failed program was:" >&5
7054 cat conftest.
$ac_ext >&5
7056 eval "ac_cv_lib_$ac_lib_var=no"
7059 LIBS
="$ac_save_LIBS"
7062 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7063 echo "$ac_t""yes" 1>&6
7064 cat >> confdefs.h
<<\EOF
7069 echo "$ac_t""no" 1>&6
7075 if test "$wxUSE_WINE" = 1; then
7076 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7077 echo "configure:7078: checking for WINE includes" >&5
7080 for ac_dir
in $SEARCH_INCLUDE;
7082 if test -f "$ac_dir/windows.h"; then
7083 ac_find_includes
=$ac_dir
7088 if test "$ac_find_includes" != "" ; then
7089 echo "$ac_t""found $ac_find_includes" 1>&6
7090 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7092 echo "$ac_t""no" 1>&6
7093 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7097 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7098 echo "configure:7099: checking for Xpm library" >&5
7101 for ac_dir
in $SEARCH_LIB;
7103 for ac_extension
in a so sl
; do
7104 if test -f "$ac_dir/libXpm.$ac_extension"; then
7105 ac_find_libraries
=$ac_dir
7111 if test "$ac_find_libraries" != "" ; then
7112 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7114 cat >> confdefs.h
<<\EOF
7115 #define wxHAVE_LIB_XPM 1
7118 echo "$ac_t""found at $ac_find_libraries" 1>&6
7120 echo "$ac_t""no" 1>&6
7121 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7125 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7126 echo "configure:7127: checking for Mesa library" >&5
7129 for ac_dir
in $SEARCH_LIB;
7131 for ac_extension
in a so sl
; do
7132 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7133 ac_find_libraries
=$ac_dir
7139 if test "$ac_find_libraries" != "" ; then
7140 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7141 MESA_LINK
="-lMesaGL"
7142 echo "$ac_t""found at $ac_find_libraries" 1>&6
7144 { echo "configure: error: no" 1>&2; exit 1; }
7147 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7148 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7152 GUIHEADERS
="\$(MSW_HEADERS)"
7153 GUIOBJS
="\$(MSW_GUIOBJS)"
7154 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7155 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7156 GUIDEPS
="\$(MSW_GUIDEPS)"
7157 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7158 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7159 UNIXOBJS
="\$(UNIX_OBJS)"
7160 UNIXDEPS
="\$(UNIX_DEPS)"
7164 if test "$wxUSE_MOTIF" = 1; then
7165 # If we find X, set shell vars x_includes and x_libraries to the
7166 # paths, otherwise set no_x=yes.
7167 # Uses ac_ vars as temps to allow command line to override cache and checks.
7168 # --without-x overrides everything else, but does not touch the cache.
7169 echo $ac_n "checking for X""... $ac_c" 1>&6
7170 echo "configure:7171: checking for X" >&5
7172 # Check whether --with-x or --without-x was given.
7173 if test "${with_x+set}" = set; then
7178 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7179 if test "x$with_x" = xno
; then
7180 # The user explicitly disabled X.
7183 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7184 # Both variables are already set.
7187 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7188 echo $ac_n "(cached) $ac_c" 1>&6
7190 # One or both of the vars are not set, and there is no cached value.
7191 ac_x_includes
=NO ac_x_libraries
=NO
7193 if mkdir conftestdir
; then
7195 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7196 cat > Imakefile
<<'EOF'
7198 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7200 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7201 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7202 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7203 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7204 for ac_extension
in a so sl
; do
7205 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7206 test -f $ac_im_libdir/libX11.
$ac_extension; then
7207 ac_im_usrlibdir
=$ac_im_libdir; break
7210 # Screen out bogus values from the imake configuration. They are
7211 # bogus both because they are the default anyway, and because
7212 # using them would break gcc on systems where it needs fixed includes.
7213 case "$ac_im_incroot" in
7215 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7217 case "$ac_im_usrlibdir" in
7219 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7226 if test "$ac_x_includes" = NO
; then
7227 # Guess where to find include files, by looking for this one X11 .h file.
7228 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7230 # First, try using that file with no special directory specified.
7231 cat > conftest.
$ac_ext <<EOF
7232 #line 7233 "configure"
7233 #include "confdefs.h"
7234 #include <$x_direct_test_include>
7236 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7237 { (eval echo configure
:7238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7238 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7239 if test -z "$ac_err"; then
7241 # We can compile using X headers with no special include directory.
7245 echo "configure: failed program was:" >&5
7246 cat conftest.
$ac_ext >&5
7248 # Look for the header file in a standard set of common directories.
7249 # Check X11 before X11Rn because it is often a symlink to the current release.
7252 /usr
/X
11R
6/include \
7253 /usr
/X
11R
5/include \
7254 /usr
/X
11R
4/include \
7257 /usr
/include
/X11R6 \
7258 /usr
/include
/X11R5 \
7259 /usr
/include
/X11R4 \
7261 /usr
/local
/X
11/include \
7262 /usr
/local
/X
11R
6/include \
7263 /usr
/local
/X
11R
5/include \
7264 /usr
/local
/X
11R
4/include \
7266 /usr
/local
/include
/X11 \
7267 /usr
/local
/include
/X11R6 \
7268 /usr
/local
/include
/X11R5 \
7269 /usr
/local
/include
/X11R4 \
7273 /usr
/XFree
86/include
/X11 \
7276 /usr
/local
/include \
7277 /usr
/unsupported
/include \
7278 /usr
/athena
/include \
7279 /usr
/local
/x
11r
5/include \
7280 /usr
/lpp
/Xamples
/include \
7282 /usr
/openwin
/include \
7283 /usr
/openwin
/share
/include \
7286 if test -r "$ac_dir/$x_direct_test_include"; then
7287 ac_x_includes
=$ac_dir
7293 fi # $ac_x_includes = NO
7295 if test "$ac_x_libraries" = NO
; then
7296 # Check for the libraries.
7298 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7299 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7301 # See if we find them without any special options.
7302 # Don't add to $LIBS permanently.
7303 ac_save_LIBS
="$LIBS"
7304 LIBS
="-l$x_direct_test_library $LIBS"
7305 cat > conftest.
$ac_ext <<EOF
7306 #line 7307 "configure"
7307 #include "confdefs.h"
7310 ${x_direct_test_function}()
7313 if { (eval echo configure
:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7315 LIBS
="$ac_save_LIBS"
7316 # We can link X programs with no special library path.
7319 echo "configure: failed program was:" >&5
7320 cat conftest.
$ac_ext >&5
7322 LIBS
="$ac_save_LIBS"
7323 # First see if replacing the include by lib works.
7324 # Check X11 before X11Rn because it is often a symlink to the current release.
7325 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7336 /usr
/local
/X
11/lib \
7337 /usr
/local
/X
11R
6/lib \
7338 /usr
/local
/X
11R
5/lib \
7339 /usr
/local
/X
11R
4/lib \
7341 /usr
/local
/lib
/X11 \
7342 /usr
/local
/lib
/X11R6 \
7343 /usr
/local
/lib
/X11R5 \
7344 /usr
/local
/lib
/X11R4 \
7348 /usr
/XFree
86/lib
/X11 \
7352 /usr
/unsupported
/lib \
7354 /usr
/local
/x
11r
5/lib \
7355 /usr
/lpp
/Xamples
/lib \
7359 /usr
/openwin
/share
/lib \
7362 for ac_extension
in a so sl
; do
7363 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7364 ac_x_libraries
=$ac_dir
7371 fi # $ac_x_libraries = NO
7373 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7374 # Didn't find X anywhere. Cache the known absence of X.
7375 ac_cv_have_x
="have_x=no"
7377 # Record where we found X for the cache.
7378 ac_cv_have_x
="have_x=yes \
7379 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7383 eval "$ac_cv_have_x"
7386 if test "$have_x" != yes; then
7387 echo "$ac_t""$have_x" 1>&6
7390 # If each of the values was on the command line, it overrides each guess.
7391 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7392 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7393 # Update the cache value to reflect the command line values.
7394 ac_cv_have_x
="have_x=yes \
7395 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7396 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7399 if test "$no_x" = yes; then
7400 # Not all programs may use this symbol, but it does not hurt to define it.
7401 cat >> confdefs.h
<<\EOF
7402 #define X_DISPLAY_MISSING 1
7405 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7407 if test -n "$x_includes"; then
7408 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7411 # It would also be nice to do this for all -L options, not just this one.
7412 if test -n "$x_libraries"; then
7413 X_LIBS
="$X_LIBS -L$x_libraries"
7414 # For Solaris; some versions of Sun CC require a space after -R and
7415 # others require no space. Words are not sufficient . . . .
7416 case "`(uname -sr) 2>/dev/null`" in
7418 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7419 echo "configure:7420: checking whether -R must be followed by a space" >&5
7420 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7421 cat > conftest.
$ac_ext <<EOF
7422 #line 7423 "configure"
7423 #include "confdefs.h"
7429 if { (eval echo configure
:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7433 echo "configure: failed program was:" >&5
7434 cat conftest.
$ac_ext >&5
7439 if test $ac_R_nospace = yes; then
7440 echo "$ac_t""no" 1>&6
7441 X_LIBS
="$X_LIBS -R$x_libraries"
7443 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7444 cat > conftest.
$ac_ext <<EOF
7445 #line 7446 "configure"
7446 #include "confdefs.h"
7452 if { (eval echo configure
:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7456 echo "configure: failed program was:" >&5
7457 cat conftest.
$ac_ext >&5
7462 if test $ac_R_space = yes; then
7463 echo "$ac_t""yes" 1>&6
7464 X_LIBS
="$X_LIBS -R $x_libraries"
7466 echo "$ac_t""neither works" 1>&6
7469 LIBS
="$ac_xsave_LIBS"
7473 # Check for system-dependent libraries X programs must link with.
7474 # Do this before checking for the system-independent R6 libraries
7475 # (-lICE), since we may need -lsocket or whatever for X linking.
7477 if test "$ISC" = yes; then
7478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7480 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7481 # libraries were built with DECnet support. And karl@cs.umb.edu says
7482 # the Alpha needs dnet_stub (dnet does not exist).
7483 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7484 echo "configure:7485: checking for dnet_ntoa in -ldnet" >&5
7485 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7487 echo $ac_n "(cached) $ac_c" 1>&6
7489 ac_save_LIBS
="$LIBS"
7491 cat > conftest.
$ac_ext <<EOF
7492 #line 7493 "configure"
7493 #include "confdefs.h"
7494 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7503 if { (eval echo configure
:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7505 eval "ac_cv_lib_$ac_lib_var=yes"
7507 echo "configure: failed program was:" >&5
7508 cat conftest.
$ac_ext >&5
7510 eval "ac_cv_lib_$ac_lib_var=no"
7513 LIBS
="$ac_save_LIBS"
7516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7517 echo "$ac_t""yes" 1>&6
7518 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7520 echo "$ac_t""no" 1>&6
7523 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7524 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7525 echo "configure:7526: checking for dnet_ntoa in -ldnet_stub" >&5
7526 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7528 echo $ac_n "(cached) $ac_c" 1>&6
7530 ac_save_LIBS
="$LIBS"
7531 LIBS
="-ldnet_stub $LIBS"
7532 cat > conftest.
$ac_ext <<EOF
7533 #line 7534 "configure"
7534 #include "confdefs.h"
7535 /* Override any gcc2 internal prototype to avoid an error. */
7536 /* We use char because int might match the return type of a gcc2
7537 builtin and then its argument prototype would still apply. */
7544 if { (eval echo configure
:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7546 eval "ac_cv_lib_$ac_lib_var=yes"
7548 echo "configure: failed program was:" >&5
7549 cat conftest.
$ac_ext >&5
7551 eval "ac_cv_lib_$ac_lib_var=no"
7554 LIBS
="$ac_save_LIBS"
7557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7558 echo "$ac_t""yes" 1>&6
7559 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7561 echo "$ac_t""no" 1>&6
7566 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7567 # to get the SysV transport functions.
7568 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7570 # The nsl library prevents programs from opening the X display
7571 # on Irix 5.2, according to dickey@clark.net.
7572 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7573 echo "configure:7574: checking for gethostbyname" >&5
7574 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7575 echo $ac_n "(cached) $ac_c" 1>&6
7577 cat > conftest.
$ac_ext <<EOF
7578 #line 7579 "configure"
7579 #include "confdefs.h"
7580 /* System header to define __stub macros and hopefully few prototypes,
7581 which can conflict with char gethostbyname(); below. */
7583 /* Override any gcc2 internal prototype to avoid an error. */
7584 /* We use char because int might match the return type of a gcc2
7585 builtin and then its argument prototype would still apply. */
7586 char gethostbyname();
7590 /* The GNU C library defines this for functions which it implements
7591 to always fail with ENOSYS. Some functions are actually named
7592 something starting with __ and the normal name is an alias. */
7593 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7601 if { (eval echo configure
:7602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7603 eval "ac_cv_func_gethostbyname=yes"
7605 echo "configure: failed program was:" >&5
7606 cat conftest.
$ac_ext >&5
7608 eval "ac_cv_func_gethostbyname=no"
7613 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7614 echo "$ac_t""yes" 1>&6
7617 echo "$ac_t""no" 1>&6
7620 if test $ac_cv_func_gethostbyname = no
; then
7621 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7622 echo "configure:7623: checking for gethostbyname in -lnsl" >&5
7623 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7624 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7625 echo $ac_n "(cached) $ac_c" 1>&6
7627 ac_save_LIBS
="$LIBS"
7629 cat > conftest.
$ac_ext <<EOF
7630 #line 7631 "configure"
7631 #include "confdefs.h"
7632 /* Override any gcc2 internal prototype to avoid an error. */
7633 /* We use char because int might match the return type of a gcc2
7634 builtin and then its argument prototype would still apply. */
7635 char gethostbyname();
7641 if { (eval echo configure
:7642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7643 eval "ac_cv_lib_$ac_lib_var=yes"
7645 echo "configure: failed program was:" >&5
7646 cat conftest.
$ac_ext >&5
7648 eval "ac_cv_lib_$ac_lib_var=no"
7651 LIBS
="$ac_save_LIBS"
7654 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7655 echo "$ac_t""yes" 1>&6
7656 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7658 echo "$ac_t""no" 1>&6
7663 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7664 # socket/setsockopt and other routines are undefined under SCO ODT
7665 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7666 # on later versions), says simon@lia.di.epfl.ch: it contains
7667 # gethostby* variants that don't use the nameserver (or something).
7668 # -lsocket must be given before -lnsl if both are needed.
7669 # We assume that if connect needs -lnsl, so does gethostbyname.
7670 echo $ac_n "checking for connect""... $ac_c" 1>&6
7671 echo "configure:7672: checking for connect" >&5
7672 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7673 echo $ac_n "(cached) $ac_c" 1>&6
7675 cat > conftest.
$ac_ext <<EOF
7676 #line 7677 "configure"
7677 #include "confdefs.h"
7678 /* System header to define __stub macros and hopefully few prototypes,
7679 which can conflict with char connect(); below. */
7681 /* Override any gcc2 internal prototype to avoid an error. */
7682 /* We use char because int might match the return type of a gcc2
7683 builtin and then its argument prototype would still apply. */
7688 /* The GNU C library defines this for functions which it implements
7689 to always fail with ENOSYS. Some functions are actually named
7690 something starting with __ and the normal name is an alias. */
7691 #if defined (__stub_connect) || defined (__stub___connect)
7699 if { (eval echo configure
:7700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7701 eval "ac_cv_func_connect=yes"
7703 echo "configure: failed program was:" >&5
7704 cat conftest.
$ac_ext >&5
7706 eval "ac_cv_func_connect=no"
7711 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7712 echo "$ac_t""yes" 1>&6
7715 echo "$ac_t""no" 1>&6
7718 if test $ac_cv_func_connect = no
; then
7719 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7720 echo "configure:7721: checking for connect in -lsocket" >&5
7721 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7722 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7723 echo $ac_n "(cached) $ac_c" 1>&6
7725 ac_save_LIBS
="$LIBS"
7726 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7727 cat > conftest.
$ac_ext <<EOF
7728 #line 7729 "configure"
7729 #include "confdefs.h"
7730 /* Override any gcc2 internal prototype to avoid an error. */
7731 /* We use char because int might match the return type of a gcc2
7732 builtin and then its argument prototype would still apply. */
7739 if { (eval echo configure
:7740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7741 eval "ac_cv_lib_$ac_lib_var=yes"
7743 echo "configure: failed program was:" >&5
7744 cat conftest.
$ac_ext >&5
7746 eval "ac_cv_lib_$ac_lib_var=no"
7749 LIBS
="$ac_save_LIBS"
7752 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7753 echo "$ac_t""yes" 1>&6
7754 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7756 echo "$ac_t""no" 1>&6
7761 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7762 echo $ac_n "checking for remove""... $ac_c" 1>&6
7763 echo "configure:7764: checking for remove" >&5
7764 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7767 cat > conftest.
$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7770 /* System header to define __stub macros and hopefully few prototypes,
7771 which can conflict with char remove(); below. */
7773 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7780 /* The GNU C library defines this for functions which it implements
7781 to always fail with ENOSYS. Some functions are actually named
7782 something starting with __ and the normal name is an alias. */
7783 #if defined (__stub_remove) || defined (__stub___remove)
7791 if { (eval echo configure
:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7793 eval "ac_cv_func_remove=yes"
7795 echo "configure: failed program was:" >&5
7796 cat conftest.
$ac_ext >&5
7798 eval "ac_cv_func_remove=no"
7803 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7804 echo "$ac_t""yes" 1>&6
7807 echo "$ac_t""no" 1>&6
7810 if test $ac_cv_func_remove = no
; then
7811 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7812 echo "configure:7813: checking for remove in -lposix" >&5
7813 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7815 echo $ac_n "(cached) $ac_c" 1>&6
7817 ac_save_LIBS
="$LIBS"
7818 LIBS
="-lposix $LIBS"
7819 cat > conftest.
$ac_ext <<EOF
7820 #line 7821 "configure"
7821 #include "confdefs.h"
7822 /* Override any gcc2 internal prototype to avoid an error. */
7823 /* We use char because int might match the return type of a gcc2
7824 builtin and then its argument prototype would still apply. */
7831 if { (eval echo configure
:7832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7833 eval "ac_cv_lib_$ac_lib_var=yes"
7835 echo "configure: failed program was:" >&5
7836 cat conftest.
$ac_ext >&5
7838 eval "ac_cv_lib_$ac_lib_var=no"
7841 LIBS
="$ac_save_LIBS"
7844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7845 echo "$ac_t""yes" 1>&6
7846 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7848 echo "$ac_t""no" 1>&6
7853 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7854 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7855 echo "configure:7856: checking for shmat" >&5
7856 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7857 echo $ac_n "(cached) $ac_c" 1>&6
7859 cat > conftest.
$ac_ext <<EOF
7860 #line 7861 "configure"
7861 #include "confdefs.h"
7862 /* System header to define __stub macros and hopefully few prototypes,
7863 which can conflict with char shmat(); below. */
7865 /* Override any gcc2 internal prototype to avoid an error. */
7866 /* We use char because int might match the return type of a gcc2
7867 builtin and then its argument prototype would still apply. */
7872 /* The GNU C library defines this for functions which it implements
7873 to always fail with ENOSYS. Some functions are actually named
7874 something starting with __ and the normal name is an alias. */
7875 #if defined (__stub_shmat) || defined (__stub___shmat)
7883 if { (eval echo configure
:7884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7885 eval "ac_cv_func_shmat=yes"
7887 echo "configure: failed program was:" >&5
7888 cat conftest.
$ac_ext >&5
7890 eval "ac_cv_func_shmat=no"
7895 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7896 echo "$ac_t""yes" 1>&6
7899 echo "$ac_t""no" 1>&6
7902 if test $ac_cv_func_shmat = no
; then
7903 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7904 echo "configure:7905: checking for shmat in -lipc" >&5
7905 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7907 echo $ac_n "(cached) $ac_c" 1>&6
7909 ac_save_LIBS
="$LIBS"
7911 cat > conftest.
$ac_ext <<EOF
7912 #line 7913 "configure"
7913 #include "confdefs.h"
7914 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7923 if { (eval echo configure
:7924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7925 eval "ac_cv_lib_$ac_lib_var=yes"
7927 echo "configure: failed program was:" >&5
7928 cat conftest.
$ac_ext >&5
7930 eval "ac_cv_lib_$ac_lib_var=no"
7933 LIBS
="$ac_save_LIBS"
7936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7937 echo "$ac_t""yes" 1>&6
7938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7940 echo "$ac_t""no" 1>&6
7946 # Check for libraries that X11R6 Xt/Xaw programs need.
7947 ac_save_LDFLAGS
="$LDFLAGS"
7948 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7949 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7950 # check for ICE first), but we must link in the order -lSM -lICE or
7951 # we get undefined symbols. So assume we have SM if we have ICE.
7952 # These have to be linked with before -lX11, unlike the other
7953 # libraries we check for below, so use a different variable.
7954 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7955 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7956 echo "configure:7957: checking for IceConnectionNumber in -lICE" >&5
7957 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7959 echo $ac_n "(cached) $ac_c" 1>&6
7961 ac_save_LIBS
="$LIBS"
7962 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7963 cat > conftest.
$ac_ext <<EOF
7964 #line 7965 "configure"
7965 #include "confdefs.h"
7966 /* Override any gcc2 internal prototype to avoid an error. */
7967 /* We use char because int might match the return type of a gcc2
7968 builtin and then its argument prototype would still apply. */
7969 char IceConnectionNumber();
7972 IceConnectionNumber()
7975 if { (eval echo configure
:7976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7977 eval "ac_cv_lib_$ac_lib_var=yes"
7979 echo "configure: failed program was:" >&5
7980 cat conftest.
$ac_ext >&5
7982 eval "ac_cv_lib_$ac_lib_var=no"
7985 LIBS
="$ac_save_LIBS"
7988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7989 echo "$ac_t""yes" 1>&6
7990 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7992 echo "$ac_t""no" 1>&6
7995 LDFLAGS
="$ac_save_LDFLAGS"
8000 if test "$no_x" = "yes"; then
8001 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8004 GUI_TK_LIBRARY
="$X_LIBS"
8005 TOOLKIT_INCLUDE
="$X_CFLAGS"
8007 AFMINSTALL
=afminstall
8010 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8011 echo "configure:8012: checking for Motif/Lesstif headers" >&5
8014 for ac_dir
in $SEARCH_INCLUDE;
8016 if test -f "$ac_dir/Xm/Xm.h"; then
8017 ac_find_includes
=$ac_dir
8022 if test "$ac_find_includes" != "" ; then
8023 echo "$ac_t""found $ac_find_includes" 1>&6
8025 echo "$ac_t""no" 1>&6
8026 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8029 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8030 echo "configure:8031: checking for Motif/Lesstif library" >&5
8033 for ac_dir
in $SEARCH_LIB;
8035 for ac_extension
in a so sl
; do
8036 if test -f "$ac_dir/libXm.$ac_extension"; then
8037 ac_find_libraries
=$ac_dir
8043 if test "$ac_find_libraries" != "" ; then
8045 ac_path_to_include
=$ac_find_includes
8046 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8048 if test $result = 0; then
8049 ac_path_to_include
=""
8051 ac_path_to_include
="-I$ac_find_includes"
8055 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8057 if test $result = 0; then
8060 ac_path_to_link
="-L$ac_find_libraries"
8064 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8065 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8066 echo "$ac_t""found at $ac_find_libraries" 1>&6
8068 echo "$ac_t""no" 1>&6
8069 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8072 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
8073 echo "configure:8074: checking for Xt library" >&5
8076 for ac_dir
in $SEARCH_LIB;
8078 for ac_extension
in a so sl
; do
8079 if test -f "$ac_dir/libXt.$ac_extension"; then
8080 ac_find_libraries
=$ac_dir
8086 if test "$ac_find_libraries" != "" ; then
8088 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8090 if test $result = 0; then
8093 ac_path_to_link
="-L$ac_find_libraries"
8096 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8097 echo "$ac_t""found at $ac_find_libraries" 1>&6
8099 echo "$ac_t""no" 1>&6
8100 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
8104 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8105 echo "configure:8106: checking for Xpm library" >&5
8108 for ac_dir
in $SEARCH_LIB;
8110 for ac_extension
in a so sl
; do
8111 if test -f "$ac_dir/libXpm.$ac_extension"; then
8112 ac_find_libraries
=$ac_dir
8118 if test "$ac_find_libraries" != "" ; then
8120 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8122 if test $result = 0; then
8125 ac_path_to_link
="-L$ac_find_libraries"
8128 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8130 cat >> confdefs.h
<<\EOF
8131 #define wxHAVE_LIB_XPM 1
8134 echo "$ac_t""found at $ac_find_libraries" 1>&6
8136 echo "$ac_t""no" 1>&6
8137 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8140 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8141 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8144 GUIHEADERS
="\$(MOTIF_HEADERS)"
8145 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8146 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8147 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8148 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8149 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8150 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8151 UNIXOBJS
="\$(UNIX_OBJS)"
8152 UNIXDEPS
="\$(UNIX_DEPS)"
8156 if test "$wxUSE_PM" = 1; then
8159 GUIOBJS
="\$(PM_GUIOBJS)"
8160 GUIHEADERS
="\$(PM_HEADERS)"
8161 COMMONOBJS
="\$(PM_COMMONOBJS)"
8162 GENERICOBJS
="\$(PM_GENERICOBJS)"
8163 GUIDEPS
="\$(PM_GUIDEPS)"
8164 COMMONDEPS
="\$(PM_COMMONDEPS)"
8165 GENERICDEPS
="\$(PM_GENERICDEPS)"
8171 if test "$TOOLKIT" != "PM" ; then
8172 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8177 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8179 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8181 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(IODBCOBJS)"
8182 if test "$wxUSE_LIBJPEG" = "yes" ; then
8183 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8185 if test "$wxUSE_LIBTIFF" = "yes" ; then
8186 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8188 if test "$wxUSE_LIBPNG" = "yes" ; then
8189 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8191 if test "$wxUSE_ZLIB" = "yes" ; then
8192 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8194 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8195 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
8200 ALL_OBJECTS
="\$(BASE_OBJS)"
8201 ALL_DEPFILES
="\${BASE_DEPS}"
8202 ALL_HEADERS
="\${BASE_HEADERS}"
8207 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8209 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8211 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8213 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8214 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8215 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8224 if test "$wxUSE_SHARED" = "yes"; then
8227 if test "$GCC" = yes ; then
8228 SHARED_LD
="${CC} -shared -fPIC -o"
8231 SHARED_LD
="${CXX} -b -o"
8234 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8235 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8239 SHARED_LD
="${CC} -shared -o"
8241 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8242 WX_ALL
="CREATE_LINKS"
8244 *-*-irix5* | *-*-irix6* )
8245 if test "$GCC" = yes ; then
8246 SHARED_LD
="${CC} -shared -o"
8249 SHARED_LD
="${CXX} -shared -o"
8251 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8252 WX_ALL
="CREATE_LINKS"
8255 if test "$GCC" = yes ; then
8256 SHARED_LD
="${CC} -shared -o"
8259 SHARED_LD
="${CXX} -G -o"
8262 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8263 WX_ALL
="CREATE_LINKS"
8266 SHARED_LD
="${CC} -shared -o"
8268 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8269 WX_ALL
="CREATE_LINKS"
8271 *-*-freebsd* | *-*-netbsd*)
8272 SHARED_LD
="${CC} -shared -o"
8274 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8275 WX_ALL
="CREATE_LINKS"
8278 SHARED_LD
="${CXX} -shared -o"
8280 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8281 WX_ALL
="CREATE_LINKS"
8284 SHARED_LD
="${CXX} -shared -o"
8286 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8287 WX_ALL
="CREATE_LINKS"
8290 SHARED_LD
="${CC} -shared -o"
8292 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8293 WX_ALL
="CREATE_LINKS"
8296 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8297 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8300 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8301 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8304 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8305 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8308 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8309 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8312 SHARED_LD
="${LD} -shared -o"
8314 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8315 WX_ALL
="CREATE_LINKS"
8318 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8321 if test "x$WX_TARGET_LIBRARY" = "x"; then
8322 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8325 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8326 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8330 for ac_hdr
in strings.h
8332 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8334 echo "configure:8335: checking for $ac_hdr" >&5
8335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8336 echo $ac_n "(cached) $ac_c" 1>&6
8338 cat > conftest.
$ac_ext <<EOF
8339 #line 8340 "configure"
8340 #include "confdefs.h"
8343 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8344 { (eval echo configure
:8345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8345 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8346 if test -z "$ac_err"; then
8348 eval "ac_cv_header_$ac_safe=yes"
8351 echo "configure: failed program was:" >&5
8352 cat conftest.
$ac_ext >&5
8354 eval "ac_cv_header_$ac_safe=no"
8358 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8359 echo "$ac_t""yes" 1>&6
8360 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8361 cat >> confdefs.h
<<EOF
8362 #define $ac_tr_hdr 1
8366 echo "$ac_t""no" 1>&6
8370 for ac_hdr
in unistd.h
8372 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8373 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8374 echo "configure:8375: checking for $ac_hdr" >&5
8375 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8376 echo $ac_n "(cached) $ac_c" 1>&6
8378 cat > conftest.
$ac_ext <<EOF
8379 #line 8380 "configure"
8380 #include "confdefs.h"
8383 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8384 { (eval echo configure
:8385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8385 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8386 if test -z "$ac_err"; then
8388 eval "ac_cv_header_$ac_safe=yes"
8391 echo "configure: failed program was:" >&5
8392 cat conftest.
$ac_ext >&5
8394 eval "ac_cv_header_$ac_safe=no"
8398 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8399 echo "$ac_t""yes" 1>&6
8400 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8401 cat >> confdefs.h
<<EOF
8402 #define $ac_tr_hdr 1
8406 echo "$ac_t""no" 1>&6
8410 for ac_hdr
in wchar.h
8412 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8413 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8414 echo "configure:8415: checking for $ac_hdr" >&5
8415 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8416 echo $ac_n "(cached) $ac_c" 1>&6
8418 cat > conftest.
$ac_ext <<EOF
8419 #line 8420 "configure"
8420 #include "confdefs.h"
8423 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8424 { (eval echo configure
:8425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8425 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8426 if test -z "$ac_err"; then
8428 eval "ac_cv_header_$ac_safe=yes"
8431 echo "configure: failed program was:" >&5
8432 cat conftest.
$ac_ext >&5
8434 eval "ac_cv_header_$ac_safe=no"
8438 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8439 echo "$ac_t""yes" 1>&6
8440 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8441 cat >> confdefs.h
<<EOF
8442 #define $ac_tr_hdr 1
8446 echo "$ac_t""no" 1>&6
8450 for ac_hdr
in wcstr.h
8452 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8453 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8454 echo "configure:8455: checking for $ac_hdr" >&5
8455 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8456 echo $ac_n "(cached) $ac_c" 1>&6
8458 cat > conftest.
$ac_ext <<EOF
8459 #line 8460 "configure"
8460 #include "confdefs.h"
8463 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8464 { (eval echo configure
:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8465 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8466 if test -z "$ac_err"; then
8468 eval "ac_cv_header_$ac_safe=yes"
8471 echo "configure: failed program was:" >&5
8472 cat conftest.
$ac_ext >&5
8474 eval "ac_cv_header_$ac_safe=no"
8478 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8479 echo "$ac_t""yes" 1>&6
8480 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8481 cat >> confdefs.h
<<EOF
8482 #define $ac_tr_hdr 1
8486 echo "$ac_t""no" 1>&6
8490 for ac_hdr
in fnmatch.h
8492 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8493 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8494 echo "configure:8495: checking for $ac_hdr" >&5
8495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8496 echo $ac_n "(cached) $ac_c" 1>&6
8498 cat > conftest.
$ac_ext <<EOF
8499 #line 8500 "configure"
8500 #include "confdefs.h"
8503 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8504 { (eval echo configure
:8505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8505 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8506 if test -z "$ac_err"; then
8508 eval "ac_cv_header_$ac_safe=yes"
8511 echo "configure: failed program was:" >&5
8512 cat conftest.
$ac_ext >&5
8514 eval "ac_cv_header_$ac_safe=no"
8518 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8519 echo "$ac_t""yes" 1>&6
8520 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8521 cat >> confdefs.h
<<EOF
8522 #define $ac_tr_hdr 1
8526 echo "$ac_t""no" 1>&6
8531 if test "$wxUSE_GUI" = "yes"; then
8532 for ac_hdr
in X
11/XKBlib.h
8534 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8536 echo "configure:8537: checking for $ac_hdr" >&5
8537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8538 echo $ac_n "(cached) $ac_c" 1>&6
8540 cat > conftest.
$ac_ext <<EOF
8541 #line 8542 "configure"
8542 #include "confdefs.h"
8545 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8546 { (eval echo configure
:8547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8547 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8548 if test -z "$ac_err"; then
8550 eval "ac_cv_header_$ac_safe=yes"
8553 echo "configure: failed program was:" >&5
8554 cat conftest.
$ac_ext >&5
8556 eval "ac_cv_header_$ac_safe=no"
8560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8561 echo "$ac_t""yes" 1>&6
8562 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8563 cat >> confdefs.h
<<EOF
8564 #define $ac_tr_hdr 1
8568 echo "$ac_t""no" 1>&6
8575 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8576 echo "configure:8577: checking for ANSI C header files" >&5
8577 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8578 echo $ac_n "(cached) $ac_c" 1>&6
8580 cat > conftest.
$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8588 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8589 { (eval echo configure
:8590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8590 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8591 if test -z "$ac_err"; then
8593 ac_cv_header_stdc
=yes
8596 echo "configure: failed program was:" >&5
8597 cat conftest.
$ac_ext >&5
8599 ac_cv_header_stdc
=no
8603 if test $ac_cv_header_stdc = yes; then
8604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8605 cat > conftest.
$ac_ext <<EOF
8606 #line 8607 "configure"
8607 #include "confdefs.h"
8610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8611 egrep "memchr" >/dev
/null
2>&1; then
8615 ac_cv_header_stdc
=no
8621 if test $ac_cv_header_stdc = yes; then
8622 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8623 cat > conftest.
$ac_ext <<EOF
8624 #line 8625 "configure"
8625 #include "confdefs.h"
8628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8629 egrep "free" >/dev
/null
2>&1; then
8633 ac_cv_header_stdc
=no
8639 if test $ac_cv_header_stdc = yes; then
8640 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8641 if test "$cross_compiling" = yes; then
8644 cat > conftest.
$ac_ext <<EOF
8645 #line 8646 "configure"
8646 #include "confdefs.h"
8648 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8649 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8651 int main () { int i; for (i = 0; i < 256; i++)
8652 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8656 if { (eval echo configure
:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8660 echo "configure: failed program was:" >&5
8661 cat conftest.
$ac_ext >&5
8663 ac_cv_header_stdc
=no
8671 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8672 if test $ac_cv_header_stdc = yes; then
8673 cat >> confdefs.h
<<\EOF
8674 #define STDC_HEADERS 1
8679 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8680 echo "configure:8681: checking for mode_t" >&5
8681 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8682 echo $ac_n "(cached) $ac_c" 1>&6
8684 cat > conftest.
$ac_ext <<EOF
8685 #line 8686 "configure"
8686 #include "confdefs.h"
8687 #include <sys/types.h>
8693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8694 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8696 ac_cv_type_mode_t
=yes
8699 ac_cv_type_mode_t
=no
8704 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8705 if test $ac_cv_type_mode_t = no
; then
8706 cat >> confdefs.h
<<\EOF
8712 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8713 echo "configure:8714: checking for off_t" >&5
8714 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8715 echo $ac_n "(cached) $ac_c" 1>&6
8717 cat > conftest.
$ac_ext <<EOF
8718 #line 8719 "configure"
8719 #include "confdefs.h"
8720 #include <sys/types.h>
8726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8727 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8729 ac_cv_type_off_t
=yes
8737 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8738 if test $ac_cv_type_off_t = no
; then
8739 cat >> confdefs.h
<<\EOF
8745 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8746 echo "configure:8747: checking for pid_t" >&5
8747 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8748 echo $ac_n "(cached) $ac_c" 1>&6
8750 cat > conftest.
$ac_ext <<EOF
8751 #line 8752 "configure"
8752 #include "confdefs.h"
8753 #include <sys/types.h>
8759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8760 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8762 ac_cv_type_pid_t
=yes
8770 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8771 if test $ac_cv_type_pid_t = no
; then
8772 cat >> confdefs.h
<<\EOF
8778 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8779 echo "configure:8780: checking for size_t" >&5
8780 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8781 echo $ac_n "(cached) $ac_c" 1>&6
8783 cat > conftest.
$ac_ext <<EOF
8784 #line 8785 "configure"
8785 #include "confdefs.h"
8786 #include <sys/types.h>
8792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8793 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8795 ac_cv_type_size_t
=yes
8798 ac_cv_type_size_t
=no
8803 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8804 if test $ac_cv_type_size_t = no
; then
8805 cat >> confdefs.h
<<\EOF
8806 #define size_t unsigned
8811 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8812 echo "configure:8813: checking for uid_t in sys/types.h" >&5
8813 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8814 echo $ac_n "(cached) $ac_c" 1>&6
8816 cat > conftest.
$ac_ext <<EOF
8817 #line 8818 "configure"
8818 #include "confdefs.h"
8819 #include <sys/types.h>
8821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8822 egrep "uid_t" >/dev
/null
2>&1; then
8824 ac_cv_type_uid_t
=yes
8833 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8834 if test $ac_cv_type_uid_t = no
; then
8835 cat >> confdefs.h
<<\EOF
8839 cat >> confdefs.h
<<\EOF
8847 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
8848 echo "configure:8849: checking for pw_gecos in struct passwd" >&5
8849 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
8850 echo $ac_n "(cached) $ac_c" 1>&6
8853 cat > conftest.
$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8865 if { (eval echo configure
:8866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8868 wx_cv_struct_pw_gecos
=yes
8869 cat >> confdefs.h
<<\EOF
8870 #define HAVE_PW_GECOS 1
8875 echo "configure: failed program was:" >&5
8876 cat conftest.
$ac_ext >&5
8879 wx_cv_struct_pw_gecos
=no
8888 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
8891 echo $ac_n "checking for working const""... $ac_c" 1>&6
8892 echo "configure:8893: checking for working const" >&5
8893 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8894 echo $ac_n "(cached) $ac_c" 1>&6
8896 cat > conftest.
$ac_ext <<EOF
8897 #line 8898 "configure"
8898 #include "confdefs.h"
8902 /* Ultrix mips cc rejects this. */
8903 typedef int charset[2]; const charset x;
8904 /* SunOS 4.1.1 cc rejects this. */
8905 char const *const *ccp;
8907 /* NEC SVR4.0.2 mips cc rejects this. */
8908 struct point {int x, y;};
8909 static struct point const zero = {0,0};
8910 /* AIX XL C 1.02.0.0 rejects this.
8911 It does not let you subtract one const X* pointer from another in an arm
8912 of an if-expression whose if-part is not a constant expression */
8913 const char *g = "string";
8914 ccp = &g + (g ? g-g : 0);
8915 /* HPUX 7.0 cc rejects these. */
8918 ccp = (char const *const *) p;
8919 { /* SCO 3.2v4 cc rejects this. */
8921 char const *s = 0 ? (char *) 0 : (char const *) 0;
8925 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8927 const int *foo = &x[0];
8930 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8931 typedef const int *iptr;
8935 { /* AIX XL C 1.02.0.0 rejects this saying
8936 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8937 struct s { int j; const int *ap[3]; };
8938 struct s *b; b->j = 5;
8940 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8946 if { (eval echo configure
:8947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8950 echo "configure: failed program was:" >&5
8951 cat conftest.
$ac_ext >&5
8958 echo "$ac_t""$ac_cv_c_const" 1>&6
8959 if test $ac_cv_c_const = no
; then
8960 cat >> confdefs.h
<<\EOF
8966 echo $ac_n "checking for inline""... $ac_c" 1>&6
8967 echo "configure:8968: checking for inline" >&5
8968 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8969 echo $ac_n "(cached) $ac_c" 1>&6
8972 for ac_kw
in inline __inline__ __inline
; do
8973 cat > conftest.
$ac_ext <<EOF
8974 #line 8975 "configure"
8975 #include "confdefs.h"
8981 if { (eval echo configure
:8982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8983 ac_cv_c_inline
=$ac_kw; break
8985 echo "configure: failed program was:" >&5
8986 cat conftest.
$ac_ext >&5
8993 echo "$ac_t""$ac_cv_c_inline" 1>&6
8994 case "$ac_cv_c_inline" in
8996 no
) cat >> confdefs.h
<<\EOF
9000 *) cat >> confdefs.h
<<EOF
9001 #define inline $ac_cv_c_inline
9007 echo $ac_n "checking size of char""... $ac_c" 1>&6
9008 echo "configure:9009: checking size of char" >&5
9009 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9010 echo $ac_n "(cached) $ac_c" 1>&6
9012 if test "$cross_compiling" = yes; then
9015 cat > conftest.
$ac_ext <<EOF
9016 #line 9017 "configure"
9017 #include "confdefs.h"
9021 FILE *f=fopen("conftestval", "w");
9023 fprintf(f, "%d\n", sizeof(char));
9027 if { (eval echo configure
:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9029 ac_cv_sizeof_char
=`cat conftestval`
9031 echo "configure: failed program was:" >&5
9032 cat conftest.
$ac_ext >&5
9040 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9041 cat >> confdefs.h
<<EOF
9042 #define SIZEOF_CHAR $ac_cv_sizeof_char
9046 echo $ac_n "checking size of short""... $ac_c" 1>&6
9047 echo "configure:9048: checking size of short" >&5
9048 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9049 echo $ac_n "(cached) $ac_c" 1>&6
9051 if test "$cross_compiling" = yes; then
9052 ac_cv_sizeof_short
=2
9054 cat > conftest.
$ac_ext <<EOF
9055 #line 9056 "configure"
9056 #include "confdefs.h"
9060 FILE *f=fopen("conftestval", "w");
9062 fprintf(f, "%d\n", sizeof(short));
9066 if { (eval echo configure
:9067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9068 ac_cv_sizeof_short
=`cat conftestval`
9070 echo "configure: failed program was:" >&5
9071 cat conftest.
$ac_ext >&5
9073 ac_cv_sizeof_short
=0
9079 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9080 cat >> confdefs.h
<<EOF
9081 #define SIZEOF_SHORT $ac_cv_sizeof_short
9085 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9086 echo "configure:9087: checking size of int *" >&5
9087 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9088 echo $ac_n "(cached) $ac_c" 1>&6
9090 if test "$cross_compiling" = yes; then
9091 ac_cv_sizeof_int_p
=4
9093 cat > conftest.
$ac_ext <<EOF
9094 #line 9095 "configure"
9095 #include "confdefs.h"
9099 FILE *f=fopen("conftestval", "w");
9101 fprintf(f, "%d\n", sizeof(int *));
9105 if { (eval echo configure
:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9107 ac_cv_sizeof_int_p
=`cat conftestval`
9109 echo "configure: failed program was:" >&5
9110 cat conftest.
$ac_ext >&5
9112 ac_cv_sizeof_int_p
=0
9118 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9119 cat >> confdefs.h
<<EOF
9120 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9124 echo $ac_n "checking size of int""... $ac_c" 1>&6
9125 echo "configure:9126: checking size of int" >&5
9126 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9127 echo $ac_n "(cached) $ac_c" 1>&6
9129 if test "$cross_compiling" = yes; then
9132 cat > conftest.
$ac_ext <<EOF
9133 #line 9134 "configure"
9134 #include "confdefs.h"
9138 FILE *f=fopen("conftestval", "w");
9140 fprintf(f, "%d\n", sizeof(int));
9144 if { (eval echo configure
:9145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9146 ac_cv_sizeof_int
=`cat conftestval`
9148 echo "configure: failed program was:" >&5
9149 cat conftest.
$ac_ext >&5
9157 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9158 cat >> confdefs.h
<<EOF
9159 #define SIZEOF_INT $ac_cv_sizeof_int
9163 echo $ac_n "checking size of long""... $ac_c" 1>&6
9164 echo "configure:9165: checking size of long" >&5
9165 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9166 echo $ac_n "(cached) $ac_c" 1>&6
9168 if test "$cross_compiling" = yes; then
9171 cat > conftest.
$ac_ext <<EOF
9172 #line 9173 "configure"
9173 #include "confdefs.h"
9177 FILE *f=fopen("conftestval", "w");
9179 fprintf(f, "%d\n", sizeof(long));
9183 if { (eval echo configure
:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9185 ac_cv_sizeof_long
=`cat conftestval`
9187 echo "configure: failed program was:" >&5
9188 cat conftest.
$ac_ext >&5
9196 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9197 cat >> confdefs.h
<<EOF
9198 #define SIZEOF_LONG $ac_cv_sizeof_long
9202 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9203 echo "configure:9204: checking size of long long" >&5
9204 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9205 echo $ac_n "(cached) $ac_c" 1>&6
9207 if test "$cross_compiling" = yes; then
9208 ac_cv_sizeof_long_long
=0
9210 cat > conftest.
$ac_ext <<EOF
9211 #line 9212 "configure"
9212 #include "confdefs.h"
9216 FILE *f=fopen("conftestval", "w");
9218 fprintf(f, "%d\n", sizeof(long long));
9222 if { (eval echo configure
:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9224 ac_cv_sizeof_long_long
=`cat conftestval`
9226 echo "configure: failed program was:" >&5
9227 cat conftest.
$ac_ext >&5
9229 ac_cv_sizeof_long_long
=0
9235 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9236 cat >> confdefs.h
<<EOF
9237 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9242 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9243 echo "configure:9244: checking whether byte ordering is bigendian" >&5
9244 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9245 echo $ac_n "(cached) $ac_c" 1>&6
9247 ac_cv_c_bigendian
=unknown
9248 # See if sys/param.h defines the BYTE_ORDER macro.
9249 cat > conftest.
$ac_ext <<EOF
9250 #line 9251 "configure"
9251 #include "confdefs.h"
9252 #include <sys/types.h>
9253 #include <sys/param.h>
9256 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9261 if { (eval echo configure
:9262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9263 # It does; now see whether it defined to BIG_ENDIAN or not.
9264 cat > conftest.
$ac_ext <<EOF
9265 #line 9266 "configure"
9266 #include "confdefs.h"
9267 #include <sys/types.h>
9268 #include <sys/param.h>
9271 #if BYTE_ORDER != BIG_ENDIAN
9276 if { (eval echo configure
:9277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9278 ac_cv_c_bigendian
=yes
9280 echo "configure: failed program was:" >&5
9281 cat conftest.
$ac_ext >&5
9283 ac_cv_c_bigendian
=no
9287 echo "configure: failed program was:" >&5
9288 cat conftest.
$ac_ext >&5
9291 if test $ac_cv_c_bigendian = unknown
; then
9292 if test "$cross_compiling" = yes; then
9293 ac_cv_c_bigendian
=unknown
9295 cat > conftest.
$ac_ext <<EOF
9296 #line 9297 "configure"
9297 #include "confdefs.h"
9299 /* Are we little or big endian? From Harbison&Steele. */
9303 char c[sizeof (long)];
9306 exit (u.c[sizeof (long) - 1] == 1);
9309 if { (eval echo configure
:9310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9311 ac_cv_c_bigendian
=no
9313 echo "configure: failed program was:" >&5
9314 cat conftest.
$ac_ext >&5
9316 ac_cv_c_bigendian
=yes
9324 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9325 if test $ac_cv_c_bigendian = unknown
; then
9326 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
9328 if test $ac_cv_c_bigendian = yes; then
9329 cat >> confdefs.h
<<\EOF
9330 #define WORDS_BIGENDIAN 1
9337 if test "$cross_compiling" = "yes"; then
9338 cat >> confdefs.h
<<\EOF
9339 #define wxUSE_IOSTREAMH 1
9345 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9346 ac_cpp
='$CXXCPP $CPPFLAGS'
9347 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9348 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9349 cross_compiling
=$ac_cv_prog_cxx_cross
9352 for ac_hdr
in iostream
9354 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9355 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9356 echo "configure:9357: checking for $ac_hdr" >&5
9357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9358 echo $ac_n "(cached) $ac_c" 1>&6
9360 cat > conftest.
$ac_ext <<EOF
9361 #line 9362 "configure"
9362 #include "confdefs.h"
9365 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9366 { (eval echo configure
:9367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9367 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9368 if test -z "$ac_err"; then
9370 eval "ac_cv_header_$ac_safe=yes"
9373 echo "configure: failed program was:" >&5
9374 cat conftest.
$ac_ext >&5
9376 eval "ac_cv_header_$ac_safe=no"
9380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9381 echo "$ac_t""yes" 1>&6
9382 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9383 cat >> confdefs.h
<<EOF
9384 #define $ac_tr_hdr 1
9388 echo "$ac_t""no" 1>&6
9393 if test "x$HAVE_IOSTREAM" = x
; then
9394 cat >> confdefs.h
<<\EOF
9395 #define wxUSE_IOSTREAMH 1
9403 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9404 ac_cpp
='$CPP $CPPFLAGS'
9405 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9406 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9407 cross_compiling
=$ac_cv_prog_cc_cross
9413 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9414 echo "configure:9415: checking if C++ compiler supports bool" >&5
9415 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9416 echo $ac_n "(cached) $ac_c" 1>&6
9421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9422 ac_cpp
='$CXXCPP $CPPFLAGS'
9423 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9424 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9425 cross_compiling
=$ac_cv_prog_cxx_cross
9428 cat > conftest.
$ac_ext <<EOF
9429 #line 9430 "configure"
9430 #include "confdefs.h"
9441 if { (eval echo configure
:9442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9444 cat >> confdefs.h
<<\EOF
9451 echo "configure: failed program was:" >&5
9452 cat conftest.
$ac_ext >&5
9462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9463 ac_cpp
='$CPP $CPPFLAGS'
9464 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9465 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9466 cross_compiling
=$ac_cv_prog_cc_cross
9471 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9473 if test "$wx_cv_cpp_bool" = "yes"; then
9474 cat >> confdefs.h
<<\EOF
9482 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9483 echo "configure:9484: checking if you need GNU extensions" >&5
9484 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9485 echo $ac_n "(cached) $ac_c" 1>&6
9488 cat > conftest.
$ac_ext <<EOF
9489 #line 9490 "configure"
9490 #include "confdefs.h"
9491 #include <features.h>
9495 #ifndef __GNU_LIBRARY__
9496 Compile error wanted
9502 if { (eval echo configure
:9503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9504 wx_cv_gnu_extensions
=yes
9506 echo "configure: failed program was:" >&5
9507 cat conftest.
$ac_ext >&5
9509 wx_cv_gnu_extensions
=no
9516 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9517 if test "$wx_cv_gnu_extensions" = "yes"; then
9518 cat >> confdefs.h
<<EOF
9519 #define _GNU_SOURCE 1
9526 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9527 echo "configure:9528: checking for wcslen in -lc" >&5
9528 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9530 echo $ac_n "(cached) $ac_c" 1>&6
9532 ac_save_LIBS
="$LIBS"
9534 cat > conftest.
$ac_ext <<EOF
9535 #line 9536 "configure"
9536 #include "confdefs.h"
9537 /* Override any gcc2 internal prototype to avoid an error. */
9538 /* We use char because int might match the return type of a gcc2
9539 builtin and then its argument prototype would still apply. */
9546 if { (eval echo configure
:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9548 eval "ac_cv_lib_$ac_lib_var=yes"
9550 echo "configure: failed program was:" >&5
9551 cat conftest.
$ac_ext >&5
9553 eval "ac_cv_lib_$ac_lib_var=no"
9556 LIBS
="$ac_save_LIBS"
9559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9560 echo "$ac_t""yes" 1>&6
9562 cat >> confdefs.h
<<\EOF
9563 #define HAVE_WCSLEN 1
9569 echo "$ac_t""no" 1>&6
9571 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9572 echo "configure:9573: checking for wcslen in -lw" >&5
9573 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9575 echo $ac_n "(cached) $ac_c" 1>&6
9577 ac_save_LIBS
="$LIBS"
9579 cat > conftest.
$ac_ext <<EOF
9580 #line 9581 "configure"
9581 #include "confdefs.h"
9582 /* Override any gcc2 internal prototype to avoid an error. */
9583 /* We use char because int might match the return type of a gcc2
9584 builtin and then its argument prototype would still apply. */
9591 if { (eval echo configure
:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9593 eval "ac_cv_lib_$ac_lib_var=yes"
9595 echo "configure: failed program was:" >&5
9596 cat conftest.
$ac_ext >&5
9598 eval "ac_cv_lib_$ac_lib_var=no"
9601 LIBS
="$ac_save_LIBS"
9604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9605 echo "$ac_t""yes" 1>&6
9607 cat >> confdefs.h
<<\EOF
9608 #define HAVE_WCSLEN 1
9614 echo "$ac_t""no" 1>&6
9621 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9622 echo "configure:9623: checking for vprintf" >&5
9623 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9624 echo $ac_n "(cached) $ac_c" 1>&6
9626 cat > conftest.
$ac_ext <<EOF
9627 #line 9628 "configure"
9628 #include "confdefs.h"
9629 /* System header to define __stub macros and hopefully few prototypes,
9630 which can conflict with char vprintf(); below. */
9632 /* Override any gcc2 internal prototype to avoid an error. */
9633 /* We use char because int might match the return type of a gcc2
9634 builtin and then its argument prototype would still apply. */
9639 /* The GNU C library defines this for functions which it implements
9640 to always fail with ENOSYS. Some functions are actually named
9641 something starting with __ and the normal name is an alias. */
9642 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9650 if { (eval echo configure
:9651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9652 eval "ac_cv_func_vprintf=yes"
9654 echo "configure: failed program was:" >&5
9655 cat conftest.
$ac_ext >&5
9657 eval "ac_cv_func_vprintf=no"
9662 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9663 echo "$ac_t""yes" 1>&6
9664 cat >> confdefs.h
<<\EOF
9665 #define HAVE_VPRINTF 1
9669 echo "$ac_t""no" 1>&6
9672 if test "$ac_cv_func_vprintf" != yes; then
9673 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9674 echo "configure:9675: checking for _doprnt" >&5
9675 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9676 echo $ac_n "(cached) $ac_c" 1>&6
9678 cat > conftest.
$ac_ext <<EOF
9679 #line 9680 "configure"
9680 #include "confdefs.h"
9681 /* System header to define __stub macros and hopefully few prototypes,
9682 which can conflict with char _doprnt(); below. */
9684 /* Override any gcc2 internal prototype to avoid an error. */
9685 /* We use char because int might match the return type of a gcc2
9686 builtin and then its argument prototype would still apply. */
9691 /* The GNU C library defines this for functions which it implements
9692 to always fail with ENOSYS. Some functions are actually named
9693 something starting with __ and the normal name is an alias. */
9694 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9702 if { (eval echo configure
:9703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9704 eval "ac_cv_func__doprnt=yes"
9706 echo "configure: failed program was:" >&5
9707 cat conftest.
$ac_ext >&5
9709 eval "ac_cv_func__doprnt=no"
9714 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9715 echo "$ac_t""yes" 1>&6
9716 cat >> confdefs.h
<<\EOF
9717 #define HAVE_DOPRNT 1
9721 echo "$ac_t""no" 1>&6
9727 for ac_func
in vsnprintf
9729 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9730 echo "configure:9731: checking for $ac_func" >&5
9731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 cat > conftest.
$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9737 /* System header to define __stub macros and hopefully few prototypes,
9738 which can conflict with char $ac_func(); below. */
9740 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9747 /* The GNU C library defines this for functions which it implements
9748 to always fail with ENOSYS. Some functions are actually named
9749 something starting with __ and the normal name is an alias. */
9750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9758 if { (eval echo configure
:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9760 eval "ac_cv_func_$ac_func=yes"
9762 echo "configure: failed program was:" >&5
9763 cat conftest.
$ac_ext >&5
9765 eval "ac_cv_func_$ac_func=no"
9770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9771 echo "$ac_t""yes" 1>&6
9772 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9773 cat >> confdefs.h
<<EOF
9774 #define $ac_tr_func 1
9776 cat >> confdefs.h
<<\EOF
9777 #define HAVE_VSNPRINTF 1
9781 echo "$ac_t""no" 1>&6
9782 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9791 ac_cpp
='$CXXCPP $CPPFLAGS'
9792 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9793 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9794 cross_compiling
=$ac_cv_prog_cxx_cross
9797 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9798 echo "configure:9799: checking for vsscanf" >&5
9799 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9800 echo $ac_n "(cached) $ac_c" 1>&6
9803 if test "$cross_compiling" = yes; then
9804 wx_cv_func_vsscanf
=no
9807 cat > conftest.
$ac_ext <<EOF
9808 #line 9809 "configure"
9809 #include "confdefs.h"
9811 extern "C" void exit(int);
9817 int try_vsscanf(const char *format, ...)
9820 va_start(ap, format);
9822 vsscanf("17", format, ap);
9830 try_vsscanf("%d", &i);
9831 return i == 17 ? 0 : 1;
9835 if { (eval echo configure
:9836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9838 cat >> confdefs.h
<<\EOF
9839 #define HAVE_VSSCANF 1
9842 wx_cv_func_vsscanf
=yes
9845 echo "configure: failed program was:" >&5
9846 cat conftest.
$ac_ext >&5
9848 wx_cv_func_vsscanf
=no
9856 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9860 ac_cpp
='$CPP $CPPFLAGS'
9861 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9862 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9863 cross_compiling
=$ac_cv_prog_cc_cross
9866 if test "$USE_UNIX" = 1; then
9868 for ac_func
in vfork
9870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9871 echo "configure:9872: checking for $ac_func" >&5
9872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9873 echo $ac_n "(cached) $ac_c" 1>&6
9875 cat > conftest.
$ac_ext <<EOF
9876 #line 9877 "configure"
9877 #include "confdefs.h"
9878 /* System header to define __stub macros and hopefully few prototypes,
9879 which can conflict with char $ac_func(); below. */
9881 /* Override any gcc2 internal prototype to avoid an error. */
9882 /* We use char because int might match the return type of a gcc2
9883 builtin and then its argument prototype would still apply. */
9888 /* The GNU C library defines this for functions which it implements
9889 to always fail with ENOSYS. Some functions are actually named
9890 something starting with __ and the normal name is an alias. */
9891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9899 if { (eval echo configure
:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9901 eval "ac_cv_func_$ac_func=yes"
9903 echo "configure: failed program was:" >&5
9904 cat conftest.
$ac_ext >&5
9906 eval "ac_cv_func_$ac_func=no"
9911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9912 echo "$ac_t""yes" 1>&6
9913 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9914 cat >> confdefs.h
<<EOF
9915 #define $ac_tr_func 1
9919 echo "$ac_t""no" 1>&6
9924 for ac_func
in timegm
9926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9927 echo "configure:9928: checking for $ac_func" >&5
9928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9929 echo $ac_n "(cached) $ac_c" 1>&6
9931 cat > conftest.
$ac_ext <<EOF
9932 #line 9933 "configure"
9933 #include "confdefs.h"
9934 /* System header to define __stub macros and hopefully few prototypes,
9935 which can conflict with char $ac_func(); below. */
9937 /* Override any gcc2 internal prototype to avoid an error. */
9938 /* We use char because int might match the return type of a gcc2
9939 builtin and then its argument prototype would still apply. */
9944 /* The GNU C library defines this for functions which it implements
9945 to always fail with ENOSYS. Some functions are actually named
9946 something starting with __ and the normal name is an alias. */
9947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9955 if { (eval echo configure
:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9957 eval "ac_cv_func_$ac_func=yes"
9959 echo "configure: failed program was:" >&5
9960 cat conftest.
$ac_ext >&5
9962 eval "ac_cv_func_$ac_func=no"
9967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9968 echo "$ac_t""yes" 1>&6
9969 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9970 cat >> confdefs.h
<<EOF
9971 #define $ac_tr_func 1
9975 echo "$ac_t""no" 1>&6
9980 HAVE_SOME_SLEEP_FUNC
=0
9981 if test "$USE_BEOS" = 1; then
9982 cat >> confdefs.h
<<\EOF
9983 #define HAVE_SLEEP 1
9986 HAVE_SOME_SLEEP_FUNC
=1
9989 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
9991 for ac_func
in nanosleep
9993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9994 echo "configure:9995: checking for $ac_func" >&5
9995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9996 echo $ac_n "(cached) $ac_c" 1>&6
9998 cat > conftest.
$ac_ext <<EOF
9999 #line 10000 "configure"
10000 #include "confdefs.h"
10001 /* System header to define __stub macros and hopefully few prototypes,
10002 which can conflict with char $ac_func(); below. */
10003 #include <assert.h>
10004 /* Override any gcc2 internal prototype to avoid an error. */
10005 /* We use char because int might match the return type of a gcc2
10006 builtin and then its argument prototype would still apply. */
10011 /* The GNU C library defines this for functions which it implements
10012 to always fail with ENOSYS. Some functions are actually named
10013 something starting with __ and the normal name is an alias. */
10014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10022 if { (eval echo configure
:10023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10024 eval "ac_cv_func_$ac_func=yes"
10026 echo "configure: failed program was:" >&5
10027 cat conftest.
$ac_ext >&5
10029 eval "ac_cv_func_$ac_func=no"
10034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10035 echo "$ac_t""yes" 1>&6
10036 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10037 cat >> confdefs.h
<<EOF
10038 #define $ac_tr_func 1
10040 cat >> confdefs.h
<<\EOF
10041 #define HAVE_NANOSLEEP 1
10045 echo "$ac_t""no" 1>&6
10046 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10047 echo "configure:10048: checking for nanosleep in -lposix4" >&5
10048 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10050 echo $ac_n "(cached) $ac_c" 1>&6
10052 ac_save_LIBS
="$LIBS"
10053 LIBS
="-lposix4 $LIBS"
10054 cat > conftest.
$ac_ext <<EOF
10055 #line 10056 "configure"
10056 #include "confdefs.h"
10057 /* Override any gcc2 internal prototype to avoid an error. */
10058 /* We use char because int might match the return type of a gcc2
10059 builtin and then its argument prototype would still apply. */
10066 if { (eval echo configure
:10067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10068 eval "ac_cv_lib_$ac_lib_var=yes"
10070 echo "configure: failed program was:" >&5
10071 cat conftest.
$ac_ext >&5
10073 eval "ac_cv_lib_$ac_lib_var=no"
10076 LIBS
="$ac_save_LIBS"
10079 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10080 echo "$ac_t""yes" 1>&6
10082 cat >> confdefs.h
<<\EOF
10083 #define HAVE_NANOSLEEP 1
10086 POSIX4_LINK
="-lposix4"
10089 echo "$ac_t""no" 1>&6
10091 for ac_func
in usleep
10093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10094 echo "configure:10095: checking for $ac_func" >&5
10095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10096 echo $ac_n "(cached) $ac_c" 1>&6
10098 cat > conftest.
$ac_ext <<EOF
10099 #line 10100 "configure"
10100 #include "confdefs.h"
10101 /* System header to define __stub macros and hopefully few prototypes,
10102 which can conflict with char $ac_func(); below. */
10103 #include <assert.h>
10104 /* Override any gcc2 internal prototype to avoid an error. */
10105 /* We use char because int might match the return type of a gcc2
10106 builtin and then its argument prototype would still apply. */
10111 /* The GNU C library defines this for functions which it implements
10112 to always fail with ENOSYS. Some functions are actually named
10113 something starting with __ and the normal name is an alias. */
10114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10122 if { (eval echo configure
:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10124 eval "ac_cv_func_$ac_func=yes"
10126 echo "configure: failed program was:" >&5
10127 cat conftest.
$ac_ext >&5
10129 eval "ac_cv_func_$ac_func=no"
10134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10135 echo "$ac_t""yes" 1>&6
10136 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10137 cat >> confdefs.h
<<EOF
10138 #define $ac_tr_func 1
10142 echo "$ac_t""no" 1>&6
10146 echo "configure: warning: wxSleep() function will not work" 1>&2
10158 for ac_func
in uname gethostname
10160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10161 echo "configure:10162: checking for $ac_func" >&5
10162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10163 echo $ac_n "(cached) $ac_c" 1>&6
10165 cat > conftest.
$ac_ext <<EOF
10166 #line 10167 "configure"
10167 #include "confdefs.h"
10168 /* System header to define __stub macros and hopefully few prototypes,
10169 which can conflict with char $ac_func(); below. */
10170 #include <assert.h>
10171 /* Override any gcc2 internal prototype to avoid an error. */
10172 /* We use char because int might match the return type of a gcc2
10173 builtin and then its argument prototype would still apply. */
10178 /* The GNU C library defines this for functions which it implements
10179 to always fail with ENOSYS. Some functions are actually named
10180 something starting with __ and the normal name is an alias. */
10181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10189 if { (eval echo configure
:10190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10191 eval "ac_cv_func_$ac_func=yes"
10193 echo "configure: failed program was:" >&5
10194 cat conftest.
$ac_ext >&5
10196 eval "ac_cv_func_$ac_func=no"
10201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10202 echo "$ac_t""yes" 1>&6
10203 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10204 cat >> confdefs.h
<<EOF
10205 #define $ac_tr_func 1
10209 echo "$ac_t""no" 1>&6
10214 for ac_func
in strtok_r
10216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10217 echo "configure:10218: checking for $ac_func" >&5
10218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10219 echo $ac_n "(cached) $ac_c" 1>&6
10221 cat > conftest.
$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10224 /* System header to define __stub macros and hopefully few prototypes,
10225 which can conflict with char $ac_func(); below. */
10226 #include <assert.h>
10227 /* Override any gcc2 internal prototype to avoid an error. */
10228 /* We use char because int might match the return type of a gcc2
10229 builtin and then its argument prototype would still apply. */
10234 /* The GNU C library defines this for functions which it implements
10235 to always fail with ENOSYS. Some functions are actually named
10236 something starting with __ and the normal name is an alias. */
10237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10245 if { (eval echo configure
:10246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10247 eval "ac_cv_func_$ac_func=yes"
10249 echo "configure: failed program was:" >&5
10250 cat conftest.
$ac_ext >&5
10252 eval "ac_cv_func_$ac_func=no"
10257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10258 echo "$ac_t""yes" 1>&6
10259 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10260 cat >> confdefs.h
<<EOF
10261 #define $ac_tr_func 1
10265 echo "$ac_t""no" 1>&6
10271 for ac_func
in inet_addr
10273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10274 echo "configure:10275: checking for $ac_func" >&5
10275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10276 echo $ac_n "(cached) $ac_c" 1>&6
10278 cat > conftest.
$ac_ext <<EOF
10279 #line 10280 "configure"
10280 #include "confdefs.h"
10281 /* System header to define __stub macros and hopefully few prototypes,
10282 which can conflict with char $ac_func(); below. */
10283 #include <assert.h>
10284 /* Override any gcc2 internal prototype to avoid an error. */
10285 /* We use char because int might match the return type of a gcc2
10286 builtin and then its argument prototype would still apply. */
10291 /* The GNU C library defines this for functions which it implements
10292 to always fail with ENOSYS. Some functions are actually named
10293 something starting with __ and the normal name is an alias. */
10294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10302 if { (eval echo configure
:10303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10304 eval "ac_cv_func_$ac_func=yes"
10306 echo "configure: failed program was:" >&5
10307 cat conftest.
$ac_ext >&5
10309 eval "ac_cv_func_$ac_func=no"
10314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10315 echo "$ac_t""yes" 1>&6
10316 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10317 cat >> confdefs.h
<<EOF
10318 #define $ac_tr_func 1
10320 cat >> confdefs.h
<<\EOF
10321 #define HAVE_INET_ADDR 1
10325 echo "$ac_t""no" 1>&6
10326 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10327 echo "configure:10328: checking for inet_addr in -lnsl" >&5
10328 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10329 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10330 echo $ac_n "(cached) $ac_c" 1>&6
10332 ac_save_LIBS
="$LIBS"
10334 cat > conftest.
$ac_ext <<EOF
10335 #line 10336 "configure"
10336 #include "confdefs.h"
10337 /* Override any gcc2 internal prototype to avoid an error. */
10338 /* We use char because int might match the return type of a gcc2
10339 builtin and then its argument prototype would still apply. */
10346 if { (eval echo configure
:10347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10348 eval "ac_cv_lib_$ac_lib_var=yes"
10350 echo "configure: failed program was:" >&5
10351 cat conftest.
$ac_ext >&5
10353 eval "ac_cv_lib_$ac_lib_var=no"
10356 LIBS
="$ac_save_LIBS"
10359 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10360 echo "$ac_t""yes" 1>&6
10363 echo "$ac_t""no" 1>&6
10364 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10365 echo "configure:10366: checking for inet_addr in -lresolv" >&5
10366 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10367 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10368 echo $ac_n "(cached) $ac_c" 1>&6
10370 ac_save_LIBS
="$LIBS"
10371 LIBS
="-lresolv $LIBS"
10372 cat > conftest.
$ac_ext <<EOF
10373 #line 10374 "configure"
10374 #include "confdefs.h"
10375 /* Override any gcc2 internal prototype to avoid an error. */
10376 /* We use char because int might match the return type of a gcc2
10377 builtin and then its argument prototype would still apply. */
10384 if { (eval echo configure
:10385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10386 eval "ac_cv_lib_$ac_lib_var=yes"
10388 echo "configure: failed program was:" >&5
10389 cat conftest.
$ac_ext >&5
10391 eval "ac_cv_lib_$ac_lib_var=no"
10394 LIBS
="$ac_save_LIBS"
10397 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10398 echo "$ac_t""yes" 1>&6
10402 echo "$ac_t""no" 1>&6
10414 for ac_func
in inet_aton
10416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10417 echo "configure:10418: checking for $ac_func" >&5
10418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10419 echo $ac_n "(cached) $ac_c" 1>&6
10421 cat > conftest.
$ac_ext <<EOF
10422 #line 10423 "configure"
10423 #include "confdefs.h"
10424 /* System header to define __stub macros and hopefully few prototypes,
10425 which can conflict with char $ac_func(); below. */
10426 #include <assert.h>
10427 /* Override any gcc2 internal prototype to avoid an error. */
10428 /* We use char because int might match the return type of a gcc2
10429 builtin and then its argument prototype would still apply. */
10434 /* The GNU C library defines this for functions which it implements
10435 to always fail with ENOSYS. Some functions are actually named
10436 something starting with __ and the normal name is an alias. */
10437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10445 if { (eval echo configure
:10446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10447 eval "ac_cv_func_$ac_func=yes"
10449 echo "configure: failed program was:" >&5
10450 cat conftest.
$ac_ext >&5
10452 eval "ac_cv_func_$ac_func=no"
10457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10458 echo "$ac_t""yes" 1>&6
10459 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10460 cat >> confdefs.h
<<EOF
10461 #define $ac_tr_func 1
10463 cat >> confdefs.h
<<\EOF
10464 #define HAVE_INET_ATON 1
10468 echo "$ac_t""no" 1>&6
10469 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10470 echo "configure:10471: checking for inet_aton in -l$INET_LINK" >&5
10471 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10472 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10473 echo $ac_n "(cached) $ac_c" 1>&6
10475 ac_save_LIBS
="$LIBS"
10476 LIBS
="-l$INET_LINK $LIBS"
10477 cat > conftest.
$ac_ext <<EOF
10478 #line 10479 "configure"
10479 #include "confdefs.h"
10480 /* Override any gcc2 internal prototype to avoid an error. */
10481 /* We use char because int might match the return type of a gcc2
10482 builtin and then its argument prototype would still apply. */
10489 if { (eval echo configure
:10490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10491 eval "ac_cv_lib_$ac_lib_var=yes"
10493 echo "configure: failed program was:" >&5
10494 cat conftest.
$ac_ext >&5
10496 eval "ac_cv_lib_$ac_lib_var=no"
10499 LIBS
="$ac_save_LIBS"
10502 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10503 echo "$ac_t""yes" 1>&6
10504 cat >> confdefs.h
<<\EOF
10505 #define HAVE_INET_ATON 1
10509 echo "$ac_t""no" 1>&6
10517 if test "x$INET_LINK" != "x"; then
10518 cat >> confdefs.h
<<\EOF
10519 #define HAVE_INET_ADDR 1
10522 INET_LINK
="-l$INET_LINK"
10528 cat > confcache
<<\EOF
10529 # This file is a shell script that caches the results of configure
10530 # tests run on this system so they can be shared between configure
10531 # scripts and configure runs. It is not useful on other systems.
10532 # If it contains results you don't want to keep, you may remove or edit it.
10534 # By default, configure uses ./config.cache as the cache file,
10535 # creating it if it does not exist already. You can give configure
10536 # the --cache-file=FILE option to use a different cache file; that is
10537 # what configure does when it calls configure scripts in
10538 # subdirectories, so they share the cache.
10539 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10540 # config.status only pays attention to the cache file if you give it the
10541 # --recheck option to rerun configure.
10544 # The following way of writing the cache mishandles newlines in values,
10545 # but we know of no workaround that is simple, portable, and efficient.
10546 # So, don't put newlines in cache variables' values.
10547 # Ultrix sh set writes to stderr and can't be redirected directly,
10548 # and sets the high bit in the cache file unless we assign to the vars.
10550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10552 # `set' does not quote correctly, so add quotes (double-quote substitution
10553 # turns \\\\ into \\, and sed turns \\ into \).
10555 -e "s/'/'\\\\''/g" \
10556 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10559 # `set' quotes correctly as required by POSIX, so do not add quotes.
10560 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10563 if cmp -s $cache_file confcache
; then
10566 if test -w $cache_file; then
10567 echo "updating cache $cache_file"
10568 cat confcache
> $cache_file
10570 echo "not updating unwritable cache $cache_file"
10577 if test "$USE_UNIX" = 1; then
10583 if test "$wxUSE_THREADS" = "yes" ; then
10584 if test "$wxUSE_WINE" = 1 ; then
10585 echo "configure: warning: Threads are not supported under WINE" 1>&2
10587 elif test "$USE_BEOS" = 1; then
10588 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10593 if test "$wxUSE_THREADS" = "yes" ; then
10595 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10596 echo "configure:10597: checking for pthread_create in -lpthread" >&5
10597 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10599 echo $ac_n "(cached) $ac_c" 1>&6
10601 ac_save_LIBS
="$LIBS"
10602 LIBS
="-lpthread $LIBS"
10603 cat > conftest.
$ac_ext <<EOF
10604 #line 10605 "configure"
10605 #include "confdefs.h"
10606 /* Override any gcc2 internal prototype to avoid an error. */
10607 /* We use char because int might match the return type of a gcc2
10608 builtin and then its argument prototype would still apply. */
10609 char pthread_create();
10615 if { (eval echo configure
:10616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10617 eval "ac_cv_lib_$ac_lib_var=yes"
10619 echo "configure: failed program was:" >&5
10620 cat conftest.
$ac_ext >&5
10622 eval "ac_cv_lib_$ac_lib_var=no"
10625 LIBS
="$ac_save_LIBS"
10628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10629 echo "$ac_t""yes" 1>&6
10631 THREADS_OBJ
="threadpsx.lo"
10632 THREADS_LINK
="pthread"
10635 echo "$ac_t""no" 1>&6
10637 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10638 echo "configure:10639: checking for pthread_create in -lc_r" >&5
10639 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10641 echo $ac_n "(cached) $ac_c" 1>&6
10643 ac_save_LIBS
="$LIBS"
10645 cat > conftest.
$ac_ext <<EOF
10646 #line 10647 "configure"
10647 #include "confdefs.h"
10648 /* Override any gcc2 internal prototype to avoid an error. */
10649 /* We use char because int might match the return type of a gcc2
10650 builtin and then its argument prototype would still apply. */
10651 char pthread_create();
10657 if { (eval echo configure
:10658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10659 eval "ac_cv_lib_$ac_lib_var=yes"
10661 echo "configure: failed program was:" >&5
10662 cat conftest.
$ac_ext >&5
10664 eval "ac_cv_lib_$ac_lib_var=no"
10667 LIBS
="$ac_save_LIBS"
10670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10671 echo "$ac_t""yes" 1>&6
10673 THREADS_OBJ
="threadpsx.lo"
10677 echo "$ac_t""no" 1>&6
10679 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10680 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10681 echo "configure:10682: checking for sys/prctl.h" >&5
10682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10683 echo $ac_n "(cached) $ac_c" 1>&6
10685 cat > conftest.
$ac_ext <<EOF
10686 #line 10687 "configure"
10687 #include "confdefs.h"
10688 #include <sys/prctl.h>
10690 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10691 { (eval echo configure
:10692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10692 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10693 if test -z "$ac_err"; then
10695 eval "ac_cv_header_$ac_safe=yes"
10698 echo "configure: failed program was:" >&5
10699 cat conftest.
$ac_ext >&5
10701 eval "ac_cv_header_$ac_safe=no"
10705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10706 echo "$ac_t""yes" 1>&6
10708 THREADS_OBJ
="threadsgi.lo"
10711 echo "$ac_t""no" 1>&6
10721 if test -z "$THREADS_OBJ" ; then
10723 echo "configure: warning: No thread support on this system" 1>&2
10727 if test "$wxUSE_THREADS" = "yes" ; then
10728 for ac_func
in thr_setconcurrency
10730 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10731 echo "configure:10732: checking for $ac_func" >&5
10732 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10733 echo $ac_n "(cached) $ac_c" 1>&6
10735 cat > conftest.
$ac_ext <<EOF
10736 #line 10737 "configure"
10737 #include "confdefs.h"
10738 /* System header to define __stub macros and hopefully few prototypes,
10739 which can conflict with char $ac_func(); below. */
10740 #include <assert.h>
10741 /* Override any gcc2 internal prototype to avoid an error. */
10742 /* We use char because int might match the return type of a gcc2
10743 builtin and then its argument prototype would still apply. */
10748 /* The GNU C library defines this for functions which it implements
10749 to always fail with ENOSYS. Some functions are actually named
10750 something starting with __ and the normal name is an alias. */
10751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10759 if { (eval echo configure
:10760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10761 eval "ac_cv_func_$ac_func=yes"
10763 echo "configure: failed program was:" >&5
10764 cat conftest.
$ac_ext >&5
10766 eval "ac_cv_func_$ac_func=no"
10771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10772 echo "$ac_t""yes" 1>&6
10773 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10774 cat >> confdefs.h
<<EOF
10775 #define $ac_tr_func 1
10779 echo "$ac_t""no" 1>&6
10785 for ac_hdr
in sched.h
10787 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10788 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10789 echo "configure:10790: checking for $ac_hdr" >&5
10790 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10791 echo $ac_n "(cached) $ac_c" 1>&6
10793 cat > conftest.
$ac_ext <<EOF
10794 #line 10795 "configure"
10795 #include "confdefs.h"
10798 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10799 { (eval echo configure
:10800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10800 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10801 if test -z "$ac_err"; then
10803 eval "ac_cv_header_$ac_safe=yes"
10806 echo "configure: failed program was:" >&5
10807 cat conftest.
$ac_ext >&5
10809 eval "ac_cv_header_$ac_safe=no"
10813 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10814 echo "$ac_t""yes" 1>&6
10815 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10816 cat >> confdefs.h
<<EOF
10817 #define $ac_tr_hdr 1
10821 echo "$ac_t""no" 1>&6
10826 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10827 echo "configure:10828: checking for sched_yield in -l$THREADS_LINK" >&5
10828 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10829 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10830 echo $ac_n "(cached) $ac_c" 1>&6
10832 ac_save_LIBS
="$LIBS"
10833 LIBS
="-l$THREADS_LINK $LIBS"
10834 cat > conftest.
$ac_ext <<EOF
10835 #line 10836 "configure"
10836 #include "confdefs.h"
10837 /* Override any gcc2 internal prototype to avoid an error. */
10838 /* We use char because int might match the return type of a gcc2
10839 builtin and then its argument prototype would still apply. */
10840 char sched_yield();
10846 if { (eval echo configure
:10847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10848 eval "ac_cv_lib_$ac_lib_var=yes"
10850 echo "configure: failed program was:" >&5
10851 cat conftest.
$ac_ext >&5
10853 eval "ac_cv_lib_$ac_lib_var=no"
10856 LIBS
="$ac_save_LIBS"
10859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10860 echo "$ac_t""yes" 1>&6
10861 cat >> confdefs.h
<<\EOF
10862 #define HAVE_SCHED_YIELD 1
10866 echo "$ac_t""no" 1>&6
10867 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10868 echo "configure:10869: checking for sched_yield in -l"posix4
"" >&5
10869 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10871 echo $ac_n "(cached) $ac_c" 1>&6
10873 ac_save_LIBS
="$LIBS"
10874 LIBS
="-l"posix4
" $LIBS"
10875 cat > conftest.
$ac_ext <<EOF
10876 #line 10877 "configure"
10877 #include "confdefs.h"
10878 /* Override any gcc2 internal prototype to avoid an error. */
10879 /* We use char because int might match the return type of a gcc2
10880 builtin and then its argument prototype would still apply. */
10881 char sched_yield();
10887 if { (eval echo configure
:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10889 eval "ac_cv_lib_$ac_lib_var=yes"
10891 echo "configure: failed program was:" >&5
10892 cat conftest.
$ac_ext >&5
10894 eval "ac_cv_lib_$ac_lib_var=no"
10897 LIBS
="$ac_save_LIBS"
10900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10901 echo "$ac_t""yes" 1>&6
10902 cat >> confdefs.h
<<\EOF
10903 #define HAVE_SCHED_YIELD 1
10905 POSIX4_LINK
="-lposix4"
10907 echo "$ac_t""no" 1>&6
10908 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10916 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10917 echo "configure:10918: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10918 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10919 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10920 echo $ac_n "(cached) $ac_c" 1>&6
10922 ac_save_LIBS
="$LIBS"
10923 LIBS
="-l$THREADS_LINK $LIBS"
10924 cat > conftest.
$ac_ext <<EOF
10925 #line 10926 "configure"
10926 #include "confdefs.h"
10927 /* Override any gcc2 internal prototype to avoid an error. */
10928 /* We use char because int might match the return type of a gcc2
10929 builtin and then its argument prototype would still apply. */
10930 char pthread_attr_getschedpolicy();
10933 pthread_attr_getschedpolicy()
10936 if { (eval echo configure
:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10938 eval "ac_cv_lib_$ac_lib_var=yes"
10940 echo "configure: failed program was:" >&5
10941 cat conftest.
$ac_ext >&5
10943 eval "ac_cv_lib_$ac_lib_var=no"
10946 LIBS
="$ac_save_LIBS"
10949 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10950 echo "$ac_t""yes" 1>&6
10951 cat >> confdefs.h
<<\EOF
10952 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10956 echo "$ac_t""no" 1>&6
10957 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10958 echo "configure:10959: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10959 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10960 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10961 echo $ac_n "(cached) $ac_c" 1>&6
10963 ac_save_LIBS
="$LIBS"
10964 LIBS
="-l"posix4
" $LIBS"
10965 cat > conftest.
$ac_ext <<EOF
10966 #line 10967 "configure"
10967 #include "confdefs.h"
10968 /* Override any gcc2 internal prototype to avoid an error. */
10969 /* We use char because int might match the return type of a gcc2
10970 builtin and then its argument prototype would still apply. */
10971 char pthread_attr_getschedpolicy();
10974 pthread_attr_getschedpolicy()
10977 if { (eval echo configure
:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10979 eval "ac_cv_lib_$ac_lib_var=yes"
10981 echo "configure: failed program was:" >&5
10982 cat conftest.
$ac_ext >&5
10984 eval "ac_cv_lib_$ac_lib_var=no"
10987 LIBS
="$ac_save_LIBS"
10990 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10991 echo "$ac_t""yes" 1>&6
10992 cat >> confdefs.h
<<\EOF
10993 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10995 POSIX4_LINK
="-lposix4"
10997 echo "$ac_t""no" 1>&6
10998 echo "configure: warning: Setting thread priority will not work" 1>&2
11006 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11007 echo "configure:11008: checking for pthread_cancel in -l$THREADS_LINK" >&5
11008 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11010 echo $ac_n "(cached) $ac_c" 1>&6
11012 ac_save_LIBS
="$LIBS"
11013 LIBS
="-l$THREADS_LINK $LIBS"
11014 cat > conftest.
$ac_ext <<EOF
11015 #line 11016 "configure"
11016 #include "confdefs.h"
11017 /* Override any gcc2 internal prototype to avoid an error. */
11018 /* We use char because int might match the return type of a gcc2
11019 builtin and then its argument prototype would still apply. */
11020 char pthread_cancel();
11026 if { (eval echo configure
:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11028 eval "ac_cv_lib_$ac_lib_var=yes"
11030 echo "configure: failed program was:" >&5
11031 cat conftest.
$ac_ext >&5
11033 eval "ac_cv_lib_$ac_lib_var=no"
11036 LIBS
="$ac_save_LIBS"
11039 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11040 echo "$ac_t""yes" 1>&6
11041 cat >> confdefs.h
<<\EOF
11042 #define HAVE_PTHREAD_CANCEL 1
11046 echo "$ac_t""no" 1>&6
11047 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11051 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11052 echo "configure:11053: checking for pthread_cleanup_push/pop" >&5
11053 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11054 echo $ac_n "(cached) $ac_c" 1>&6
11057 cat > conftest.
$ac_ext <<EOF
11058 #line 11059 "configure"
11059 #include "confdefs.h"
11060 #include <pthread.h>
11063 pthread_cleanup_push(NULL, NULL);
11064 pthread_cleanup_pop(0);
11068 if { (eval echo configure
:11069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11071 wx_cv_func_pthread_cleanup_push
=yes
11072 cat >> confdefs.h
<<\EOF
11073 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11078 echo "configure: failed program was:" >&5
11079 cat conftest.
$ac_ext >&5
11082 wx_cv_func_pthread_cleanup_push
=no
11089 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11091 THREADS_LINK
="-l$THREADS_LINK"
11096 if test "$wxUSE_THREADS" = "yes"; then
11097 cat >> confdefs.h
<<\EOF
11098 #define wxUSE_THREADS 1
11102 CFLAGS
="${CFLAGS} -D_REENTRANT"
11103 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11107 if test "$ac_cv_func_strtok_r" = "yes"; then
11108 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11109 echo "configure:11110: checking if -D_REENTRANT is needed" >&5
11110 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11111 CFLAGS
="${CFLAGS} -D_REENTRANT"
11112 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11113 echo "$ac_t""yes" 1>&6
11115 echo "$ac_t""no" 1>&6
11120 if test "$WXGTK13" = 1 ; then
11121 cat >> confdefs.h
<<EOF
11122 #define __WXGTK13__ $WXGTK13
11128 if test "$WXGTK12" = 1 ; then
11129 cat >> confdefs.h
<<EOF
11130 #define __WXGTK12__ $WXGTK12
11135 if test "$WXWINE" = 1 ; then
11136 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11139 if test "$wxUSE_CYGWIN" = 1 ; then
11140 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11145 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11150 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11151 wxUSE_DEBUG_INFO
=yes
11155 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11156 cat >> confdefs.h
<<\EOF
11160 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11162 if test "$wxUSE_GTK" = 1 ; then
11163 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11167 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11168 cat >> confdefs.h
<<\EOF
11169 #define wxUSE_MEMORY_TRACING 1
11172 cat >> confdefs.h
<<\EOF
11173 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11179 if test "$wxUSE_DMALLOC" = "yes" ; then
11180 DMALLOC_LINK
="-ldmalloc"
11184 if test "$wxUSE_PROFILE" = "yes" ; then
11190 if test "$GCC" = yes ; then
11191 if test "$wxUSE_NO_RTTI" = "yes" ; then
11192 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11194 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11195 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11197 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11198 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11200 if test "$wxUSE_NO_DEPS" = "no" ; then
11201 DEP_INFO_FLAGS
="-MMD"
11206 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11207 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11208 if test "$wxUSE_OPTIMISE" = "no" ; then
11211 if test "$GCC" = yes ; then
11214 i586
-*-*|i686
-*-* )
11215 OPTIMISE
="${OPTIMISE} "
11225 if test "$wxUSE_ZLIB" = "yes" ; then
11226 cat >> confdefs.h
<<\EOF
11227 #define wxUSE_ZLIB 1
11230 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11234 if test "$wxUSE_LIBPNG" = "yes" ; then
11235 cat >> confdefs.h
<<\EOF
11236 #define wxUSE_LIBPNG 1
11239 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11244 if test "$wxUSE_LIBJPEG" = "yes" ; then
11245 cat >> confdefs.h
<<\EOF
11246 #define wxUSE_LIBJPEG 1
11249 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11253 if test "$wxUSE_LIBTIFF" = "yes" ; then
11254 cat >> confdefs.h
<<\EOF
11255 #define wxUSE_LIBTIFF 1
11258 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11261 if test "$wxUSE_OPENGL" = "yes"; then
11262 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11263 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11264 echo "configure:11265: checking for GL/gl.h" >&5
11265 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11266 echo $ac_n "(cached) $ac_c" 1>&6
11268 cat > conftest.
$ac_ext <<EOF
11269 #line 11270 "configure"
11270 #include "confdefs.h"
11273 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11274 { (eval echo configure
:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11275 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11276 if test -z "$ac_err"; then
11278 eval "ac_cv_header_$ac_safe=yes"
11281 echo "configure: failed program was:" >&5
11282 cat conftest.
$ac_ext >&5
11284 eval "ac_cv_header_$ac_safe=no"
11288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11289 echo "$ac_t""yes" 1>&6
11291 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11292 echo "configure:11293: checking for glInitNames in -lGL" >&5
11293 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11295 echo $ac_n "(cached) $ac_c" 1>&6
11297 ac_save_LIBS
="$LIBS"
11298 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11299 cat > conftest.
$ac_ext <<EOF
11300 #line 11301 "configure"
11301 #include "confdefs.h"
11302 /* Override any gcc2 internal prototype to avoid an error. */
11303 /* We use char because int might match the return type of a gcc2
11304 builtin and then its argument prototype would still apply. */
11305 char glInitNames();
11311 if { (eval echo configure
:11312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11313 eval "ac_cv_lib_$ac_lib_var=yes"
11315 echo "configure: failed program was:" >&5
11316 cat conftest.
$ac_ext >&5
11318 eval "ac_cv_lib_$ac_lib_var=no"
11321 LIBS
="$ac_save_LIBS"
11324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11325 echo "$ac_t""yes" 1>&6
11328 cat >> confdefs.h
<<\EOF
11329 #define wxUSE_OPENGL 1
11332 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11335 echo "$ac_t""no" 1>&6
11337 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11338 echo "configure:11339: checking for glInitNames in -lMesaGL" >&5
11339 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11341 echo $ac_n "(cached) $ac_c" 1>&6
11343 ac_save_LIBS
="$LIBS"
11344 LIBS
="-lMesaGL $LIBS"
11345 cat > conftest.
$ac_ext <<EOF
11346 #line 11347 "configure"
11347 #include "confdefs.h"
11348 /* Override any gcc2 internal prototype to avoid an error. */
11349 /* We use char because int might match the return type of a gcc2
11350 builtin and then its argument prototype would still apply. */
11351 char glInitNames();
11357 if { (eval echo configure
:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11359 eval "ac_cv_lib_$ac_lib_var=yes"
11361 echo "configure: failed program was:" >&5
11362 cat conftest.
$ac_ext >&5
11364 eval "ac_cv_lib_$ac_lib_var=no"
11367 LIBS
="$ac_save_LIBS"
11370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11371 echo "$ac_t""yes" 1>&6
11373 OPENGL_LINK
="-lMesaGL"
11374 cat >> confdefs.h
<<\EOF
11375 #define wxUSE_OPENGL 1
11378 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11381 echo "$ac_t""no" 1>&6
11390 echo "$ac_t""no" 1>&6
11397 if test "$wxUSE_GUI" = "yes"; then
11398 cat >> confdefs.h
<<\EOF
11399 #define wxUSE_GUI 1
11404 cat >> confdefs.h
<<\EOF
11405 #define wxUSE_NOGUI 1
11411 if test "$wxUSE_UNIX" = "yes"; then
11412 cat >> confdefs.h
<<\EOF
11413 #define wxUSE_UNIX 1
11419 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11420 cat >> confdefs.h
<<\EOF
11421 #define wxUSE_APPLE_IEEE 1
11426 if test "$wxUSE_WAVE" = "yes"; then
11427 cat >> confdefs.h
<<\EOF
11428 #define wxUSE_WAVE 1
11433 if test "$wxUSE_FILE" = "yes"; then
11434 cat >> confdefs.h
<<\EOF
11435 #define wxUSE_FILE 1
11440 if test "$wxUSE_FS_INET" = "yes"; then
11441 cat >> confdefs.h
<<\EOF
11442 #define wxUSE_FS_INET 1
11447 if test "$wxUSE_FS_ZIP" = "yes"; then
11448 cat >> confdefs.h
<<\EOF
11449 #define wxUSE_FS_ZIP 1
11454 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11455 cat >> confdefs.h
<<\EOF
11456 #define wxUSE_ZIPSTREAM 1
11461 if test "$wxUSE_BUSYINFO" = "yes"; then
11462 cat >> confdefs.h
<<\EOF
11463 #define wxUSE_BUSYINFO 1
11468 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11469 cat >> confdefs.h
<<\EOF
11470 #define wxUSE_STD_IOSTREAM 1
11475 if test "$wxUSE_TEXTFILE" = "yes"; then
11476 if test "$wxUSE_FILE" != "yes"; then
11477 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11479 cat >> confdefs.h
<<\EOF
11480 #define wxUSE_TEXTFILE 1
11486 if test "$wxUSE_CONFIG" = "yes" ; then
11487 if test "$wxUSE_TEXTFILE" != "yes"; then
11488 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11490 cat >> confdefs.h
<<\EOF
11491 #define wxUSE_CONFIG 1
11494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11498 if test "$wxUSE_INTL" = "yes" ; then
11499 if test "$wxUSE_FILE" != "yes"; then
11500 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11502 cat >> confdefs.h
<<\EOF
11503 #define wxUSE_INTL 1
11506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11510 if test "$wxUSE_LOG" = "yes"; then
11511 cat >> confdefs.h
<<\EOF
11512 #define wxUSE_LOG 1
11517 if test "$wxUSE_LONGLONG" = "yes"; then
11518 cat >> confdefs.h
<<\EOF
11519 #define wxUSE_LONGLONG 1
11524 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11525 cat >> confdefs.h
<<\EOF
11526 #define wxUSE_DIALUP_MANAGER 1
11529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11532 if test "$wxUSE_STREAMS" = "yes" ; then
11533 cat >> confdefs.h
<<\EOF
11534 #define wxUSE_STREAMS 1
11540 if test "$wxUSE_TIMEDATE" = "yes"; then
11541 for ac_func
in strptime
11543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11544 echo "configure:11545: checking for $ac_func" >&5
11545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11546 echo $ac_n "(cached) $ac_c" 1>&6
11548 cat > conftest.
$ac_ext <<EOF
11549 #line 11550 "configure"
11550 #include "confdefs.h"
11551 /* System header to define __stub macros and hopefully few prototypes,
11552 which can conflict with char $ac_func(); below. */
11553 #include <assert.h>
11554 /* Override any gcc2 internal prototype to avoid an error. */
11555 /* We use char because int might match the return type of a gcc2
11556 builtin and then its argument prototype would still apply. */
11561 /* The GNU C library defines this for functions which it implements
11562 to always fail with ENOSYS. Some functions are actually named
11563 something starting with __ and the normal name is an alias. */
11564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11572 if { (eval echo configure
:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11574 eval "ac_cv_func_$ac_func=yes"
11576 echo "configure: failed program was:" >&5
11577 cat conftest.
$ac_ext >&5
11579 eval "ac_cv_func_$ac_func=no"
11584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11585 echo "$ac_t""yes" 1>&6
11586 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11587 cat >> confdefs.h
<<EOF
11588 #define $ac_tr_func 1
11592 echo "$ac_t""no" 1>&6
11597 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11598 echo "configure:11599: checking for timezone variable in <time.h>" >&5
11599 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11600 echo $ac_n "(cached) $ac_c" 1>&6
11603 cat > conftest.
$ac_ext <<EOF
11604 #line 11605 "configure"
11605 #include "confdefs.h"
11616 if { (eval echo configure
:11617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11619 wx_cv_var_timezone
=__timezone
11622 echo "configure: failed program was:" >&5
11623 cat conftest.
$ac_ext >&5
11626 cat > conftest.
$ac_ext <<EOF
11627 #line 11628 "configure"
11628 #include "confdefs.h"
11639 if { (eval echo configure
:11640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11642 wx_cv_var_timezone
=_timezone
11645 echo "configure: failed program was:" >&5
11646 cat conftest.
$ac_ext >&5
11649 cat > conftest.
$ac_ext <<EOF
11650 #line 11651 "configure"
11651 #include "confdefs.h"
11662 if { (eval echo configure
:11663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11665 wx_cv_var_timezone
=timezone
11668 echo "configure: failed program was:" >&5
11669 cat conftest.
$ac_ext >&5
11671 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11687 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11689 cat >> confdefs.h
<<EOF
11690 #define WX_TIMEZONE $wx_cv_var_timezone
11694 for ac_func
in localtime gettimeofday ftime
11696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11697 echo "configure:11698: checking for $ac_func" >&5
11698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11699 echo $ac_n "(cached) $ac_c" 1>&6
11701 cat > conftest.
$ac_ext <<EOF
11702 #line 11703 "configure"
11703 #include "confdefs.h"
11704 /* System header to define __stub macros and hopefully few prototypes,
11705 which can conflict with char $ac_func(); below. */
11706 #include <assert.h>
11707 /* Override any gcc2 internal prototype to avoid an error. */
11708 /* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11714 /* The GNU C library defines this for functions which it implements
11715 to always fail with ENOSYS. Some functions are actually named
11716 something starting with __ and the normal name is an alias. */
11717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11725 if { (eval echo configure
:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11727 eval "ac_cv_func_$ac_func=yes"
11729 echo "configure: failed program was:" >&5
11730 cat conftest.
$ac_ext >&5
11732 eval "ac_cv_func_$ac_func=no"
11737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11738 echo "$ac_t""yes" 1>&6
11739 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11740 cat >> confdefs.h
<<EOF
11741 #define $ac_tr_func 1
11745 echo "$ac_t""no" 1>&6
11750 if test "$ac_cv_func_localtime" = "yes"; then
11751 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11752 echo "configure:11753: checking for tm_gmtoff in struct tm" >&5
11753 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11754 echo $ac_n "(cached) $ac_c" 1>&6
11757 cat > conftest.
$ac_ext <<EOF
11758 #line 11759 "configure"
11759 #include "confdefs.h"
11770 if { (eval echo configure
:11771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11773 wx_cv_struct_tm_has_gmtoff
=yes
11774 cat >> confdefs.h
<<\EOF
11775 #define WX_GMTOFF_IN_TM 1
11780 echo "configure: failed program was:" >&5
11781 cat conftest.
$ac_ext >&5
11783 wx_cv_struct_tm_has_gmtoff
=no
11790 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11791 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11792 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11793 echo "configure:11794: checking whether gettimeofday takes two arguments" >&5
11794 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11795 echo $ac_n "(cached) $ac_c" 1>&6
11800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11801 ac_cpp
='$CXXCPP $CPPFLAGS'
11802 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11803 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11804 cross_compiling
=$ac_cv_prog_cxx_cross
11807 cat > conftest.
$ac_ext <<EOF
11808 #line 11809 "configure"
11809 #include "confdefs.h"
11811 #include <sys/time.h>
11812 #include <unistd.h>
11817 struct timezone tz;
11818 gettimeofday(&tv, &tz);
11822 if { (eval echo configure
:11823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11824 wx_cv_func_gettimeofday_has_2_args
=yes
11826 echo "configure: failed program was:" >&5
11827 cat conftest.
$ac_ext >&5
11829 cat > conftest.
$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11833 #include <sys/time.h>
11834 #include <unistd.h>
11843 if { (eval echo configure
:11844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11845 wx_cv_func_gettimeofday_has_2_args
=no
11847 echo "configure: failed program was:" >&5
11848 cat conftest.
$ac_ext >&5
11850 wx_cv_func_gettimeofday_has_2_args
=unknown
11858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11859 ac_cpp
='$CPP $CPPFLAGS'
11860 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11861 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11862 cross_compiling
=$ac_cv_prog_cc_cross
11867 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11869 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11870 cat >> confdefs.h
<<\EOF
11871 #define WX_GETTIMEOFDAY_NO_TZ 1
11877 cat >> confdefs.h
<<\EOF
11878 #define wxUSE_TIMEDATE 1
11881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11885 if test "$wxUSE_SOCKETS" = "yes"; then
11886 echo $ac_n "checking for socket""... $ac_c" 1>&6
11887 echo "configure:11888: checking for socket" >&5
11888 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11889 echo $ac_n "(cached) $ac_c" 1>&6
11891 cat > conftest.
$ac_ext <<EOF
11892 #line 11893 "configure"
11893 #include "confdefs.h"
11894 /* System header to define __stub macros and hopefully few prototypes,
11895 which can conflict with char socket(); below. */
11896 #include <assert.h>
11897 /* Override any gcc2 internal prototype to avoid an error. */
11898 /* We use char because int might match the return type of a gcc2
11899 builtin and then its argument prototype would still apply. */
11904 /* The GNU C library defines this for functions which it implements
11905 to always fail with ENOSYS. Some functions are actually named
11906 something starting with __ and the normal name is an alias. */
11907 #if defined (__stub_socket) || defined (__stub___socket)
11915 if { (eval echo configure
:11916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11917 eval "ac_cv_func_socket=yes"
11919 echo "configure: failed program was:" >&5
11920 cat conftest.
$ac_ext >&5
11922 eval "ac_cv_func_socket=no"
11927 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11928 echo "$ac_t""yes" 1>&6
11931 echo "$ac_t""no" 1>&6
11932 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11933 echo "configure:11934: checking for socket in -lsocket" >&5
11934 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11936 echo $ac_n "(cached) $ac_c" 1>&6
11938 ac_save_LIBS
="$LIBS"
11939 LIBS
="-lsocket $LIBS"
11940 cat > conftest.
$ac_ext <<EOF
11941 #line 11942 "configure"
11942 #include "confdefs.h"
11943 /* Override any gcc2 internal prototype to avoid an error. */
11944 /* We use char because int might match the return type of a gcc2
11945 builtin and then its argument prototype would still apply. */
11952 if { (eval echo configure
:11953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11954 eval "ac_cv_lib_$ac_lib_var=yes"
11956 echo "configure: failed program was:" >&5
11957 cat conftest.
$ac_ext >&5
11959 eval "ac_cv_lib_$ac_lib_var=no"
11962 LIBS
="$ac_save_LIBS"
11965 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11966 echo "$ac_t""yes" 1>&6
11967 INET_LINK
="$INET_LINK -lsocket"
11969 echo "$ac_t""no" 1>&6
11971 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11982 if test "$wxUSE_SOCKETS" = "yes" ; then
11985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11986 ac_cpp
='$CXXCPP $CPPFLAGS'
11987 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11988 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11989 cross_compiling
=$ac_cv_prog_cxx_cross
11991 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11992 echo "configure:11993: checking the type of the third argument of getsockname" >&5
11993 cat > conftest.
$ac_ext <<EOF
11994 #line 11995 "configure"
11995 #include "confdefs.h"
11996 #include <sys/socket.h>
11998 socklen_t len; getsockname(0, 0, &len);
12001 if { (eval echo configure
:12002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12003 cat >> confdefs.h
<<\EOF
12004 #define SOCKLEN_T socklen_t
12006 echo "$ac_t""socklen_t" 1>&6
12008 echo "configure: failed program was:" >&5
12009 cat conftest.
$ac_ext >&5
12011 cat > conftest.
$ac_ext <<EOF
12012 #line 12013 "configure"
12013 #include "confdefs.h"
12014 #include <sys/socket.h>
12016 size_t len; getsockname(0, 0, &len);
12019 if { (eval echo configure
:12020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12021 cat >> confdefs.h
<<\EOF
12022 #define SOCKLEN_T size_t
12024 echo "$ac_t""size_t" 1>&6
12026 echo "configure: failed program was:" >&5
12027 cat conftest.
$ac_ext >&5
12029 cat > conftest.
$ac_ext <<EOF
12030 #line 12031 "configure"
12031 #include "confdefs.h"
12032 #include <sys/socket.h>
12034 int len; getsockname(0, 0, &len);
12037 if { (eval echo configure
:12038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12039 cat >> confdefs.h
<<\EOF
12040 #define SOCKLEN_T int
12042 echo "$ac_t""int" 1>&6
12044 echo "configure: failed program was:" >&5
12045 cat conftest.
$ac_ext >&5
12047 echo "$ac_t""unknown" 1>&6
12058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12059 ac_cpp
='$CPP $CPPFLAGS'
12060 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12061 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12062 cross_compiling
=$ac_cv_prog_cc_cross
12065 cat >> confdefs.h
<<\EOF
12066 #define wxUSE_SOCKETS 1
12069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12070 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12074 if test "$wxUSE_JOYSTICK" = 1; then
12075 for ac_hdr
in linux
/joystick.h
12077 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12078 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12079 echo "configure:12080: checking for $ac_hdr" >&5
12080 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12081 echo $ac_n "(cached) $ac_c" 1>&6
12083 cat > conftest.
$ac_ext <<EOF
12084 #line 12085 "configure"
12085 #include "confdefs.h"
12088 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12089 { (eval echo configure
:12090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12090 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12091 if test -z "$ac_err"; then
12093 eval "ac_cv_header_$ac_safe=yes"
12096 echo "configure: failed program was:" >&5
12097 cat conftest.
$ac_ext >&5
12099 eval "ac_cv_header_$ac_safe=no"
12103 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12104 echo "$ac_t""yes" 1>&6
12105 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12106 cat >> confdefs.h
<<EOF
12107 #define $ac_tr_hdr 1
12111 echo "$ac_t""no" 1>&6
12115 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
12116 cat >> confdefs.h
<<\EOF
12117 #define wxUSE_JOYSTICK 1
12120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12127 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12128 for ac_func
in dlopen
12130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12131 echo "configure:12132: checking for $ac_func" >&5
12132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12133 echo $ac_n "(cached) $ac_c" 1>&6
12135 cat > conftest.
$ac_ext <<EOF
12136 #line 12137 "configure"
12137 #include "confdefs.h"
12138 /* System header to define __stub macros and hopefully few prototypes,
12139 which can conflict with char $ac_func(); below. */
12140 #include <assert.h>
12141 /* Override any gcc2 internal prototype to avoid an error. */
12142 /* We use char because int might match the return type of a gcc2
12143 builtin and then its argument prototype would still apply. */
12148 /* The GNU C library defines this for functions which it implements
12149 to always fail with ENOSYS. Some functions are actually named
12150 something starting with __ and the normal name is an alias. */
12151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12159 if { (eval echo configure
:12160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12161 eval "ac_cv_func_$ac_func=yes"
12163 echo "configure: failed program was:" >&5
12164 cat conftest.
$ac_ext >&5
12166 eval "ac_cv_func_$ac_func=no"
12171 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12172 echo "$ac_t""yes" 1>&6
12173 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12174 cat >> confdefs.h
<<EOF
12175 #define $ac_tr_func 1
12178 cat >> confdefs.h
<<\EOF
12179 #define HAVE_DLOPEN 1
12185 echo "$ac_t""no" 1>&6
12186 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12187 echo "configure:12188: checking for dlopen in -ldl" >&5
12188 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12189 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12190 echo $ac_n "(cached) $ac_c" 1>&6
12192 ac_save_LIBS
="$LIBS"
12194 cat > conftest.
$ac_ext <<EOF
12195 #line 12196 "configure"
12196 #include "confdefs.h"
12197 /* Override any gcc2 internal prototype to avoid an error. */
12198 /* We use char because int might match the return type of a gcc2
12199 builtin and then its argument prototype would still apply. */
12206 if { (eval echo configure
:12207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12208 eval "ac_cv_lib_$ac_lib_var=yes"
12210 echo "configure: failed program was:" >&5
12211 cat conftest.
$ac_ext >&5
12213 eval "ac_cv_lib_$ac_lib_var=no"
12216 LIBS
="$ac_save_LIBS"
12219 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12220 echo "$ac_t""yes" 1>&6
12222 cat >> confdefs.h
<<\EOF
12223 #define HAVE_DLOPEN 1
12230 echo "$ac_t""no" 1>&6
12232 for ac_func
in shl_load
12234 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12235 echo "configure:12236: checking for $ac_func" >&5
12236 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12237 echo $ac_n "(cached) $ac_c" 1>&6
12239 cat > conftest.
$ac_ext <<EOF
12240 #line 12241 "configure"
12241 #include "confdefs.h"
12242 /* System header to define __stub macros and hopefully few prototypes,
12243 which can conflict with char $ac_func(); below. */
12244 #include <assert.h>
12245 /* Override any gcc2 internal prototype to avoid an error. */
12246 /* We use char because int might match the return type of a gcc2
12247 builtin and then its argument prototype would still apply. */
12252 /* The GNU C library defines this for functions which it implements
12253 to always fail with ENOSYS. Some functions are actually named
12254 something starting with __ and the normal name is an alias. */
12255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12263 if { (eval echo configure
:12264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12265 eval "ac_cv_func_$ac_func=yes"
12267 echo "configure: failed program was:" >&5
12268 cat conftest.
$ac_ext >&5
12270 eval "ac_cv_func_$ac_func=no"
12275 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12276 echo "$ac_t""yes" 1>&6
12277 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12278 cat >> confdefs.h
<<EOF
12279 #define $ac_tr_func 1
12282 cat >> confdefs.h
<<\EOF
12283 #define HAVE_SHL_LOAD 1
12289 echo "$ac_t""no" 1>&6
12301 if test "$HAVE_DL_FUNCS" = 0; then
12302 if test "$HAVE_SHL_FUNCS" = 0; then
12303 if test "$USE_UNIX" = 1; then
12304 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12305 wxUSE_DYNLIB_CLASS
=no
12307 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12313 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12314 cat >> confdefs.h
<<\EOF
12315 #define wxUSE_DYNLIB_CLASS 1
12324 if test "$wxUSE_UNICODE" = "yes" ; then
12325 cat >> confdefs.h
<<\EOF
12326 #define wxUSE_UNICODE 1
12331 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12332 cat >> confdefs.h
<<\EOF
12333 #define wxUSE_WCSRTOMBS 1
12338 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12339 cat >> confdefs.h
<<\EOF
12340 #define wxUSE_EXPERIMENTAL_PRINTF 1
12346 if test "$wxUSE_SERIAL" = "yes" ; then
12347 cat >> confdefs.h
<<\EOF
12348 #define wxUSE_SERIAL 1
12355 if test "$wxUSE_ODBC" = "yes" ; then
12356 cat >> confdefs.h
<<\EOF
12357 #define wxUSE_ODBC 1
12360 WXODBCFLAG
="-D_IODBC_"
12361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12362 IODBCOBJS
="\$(IODBC_OBJS)"
12368 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12369 cat >> confdefs.h
<<\EOF
12370 #define wxUSE_POSTSCRIPT 1
12375 cat >> confdefs.h
<<\EOF
12376 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12380 cat >> confdefs.h
<<\EOF
12381 #define wxUSE_NORMALIZED_PS_FONTS 1
12386 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12387 cat >> confdefs.h
<<\EOF
12388 #define wxUSE_CONSTRAINTS 1
12391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12394 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12395 cat >> confdefs.h
<<\EOF
12396 #define wxUSE_MDI_ARCHITECTURE 1
12399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12402 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12403 cat >> confdefs.h
<<\EOF
12404 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12408 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12413 if test "$wxUSE_HELP" = "yes"; then
12414 cat >> confdefs.h
<<\EOF
12415 #define wxUSE_HELP 1
12418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12421 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12422 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12423 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12425 cat >> confdefs.h
<<\EOF
12426 #define wxUSE_PRINTING_ARCHITECTURE 1
12430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12433 if test "$wxUSE_PROLOGIO" = "yes" ; then
12434 cat >> confdefs.h
<<\EOF
12435 #define wxUSE_PROLOGIO 1
12440 if test "$wxUSE_RESOURCES" = "yes" ; then
12441 if test "$wxUSE_PROLOGIO" = "yes" ; then
12442 cat >> confdefs.h
<<\EOF
12443 #define wxUSE_RESOURCES 1
12446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12448 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12452 if test "$wxUSE_X_RESOURCES" = "yes"; then
12453 cat >> confdefs.h
<<\EOF
12454 #define wxUSE_X_RESOURCES 1
12460 if test "$wxUSE_IPC" = "yes"; then
12461 cat >> confdefs.h
<<\EOF
12462 #define wxUSE_IPC 1
12467 if test "$wxUSE_CLIPBOARD" = "yes"; then
12468 cat >> confdefs.h
<<\EOF
12469 #define wxUSE_CLIPBOARD 1
12474 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12475 if test "$wxUSE_GTK" = 1; then
12476 if test "$WXGTK12" != 1; then
12477 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12478 wxUSE_DRAG_AND_DROP
=no
12482 if test "$wxUSE_MOTIF" = 1; then
12483 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12484 wxUSE_DRAG_AND_DROP
=no
12487 if test "$USE_WIN32" = 1; then
12488 for ac_hdr
in ole2.h
12490 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12491 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12492 echo "configure:12493: checking for $ac_hdr" >&5
12493 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12494 echo $ac_n "(cached) $ac_c" 1>&6
12496 cat > conftest.
$ac_ext <<EOF
12497 #line 12498 "configure"
12498 #include "confdefs.h"
12501 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12502 { (eval echo configure
:12503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12503 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12504 if test -z "$ac_err"; then
12506 eval "ac_cv_header_$ac_safe=yes"
12509 echo "configure: failed program was:" >&5
12510 cat conftest.
$ac_ext >&5
12512 eval "ac_cv_header_$ac_safe=no"
12516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12517 echo "$ac_t""yes" 1>&6
12518 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12519 cat >> confdefs.h
<<EOF
12520 #define $ac_tr_hdr 1
12524 echo "$ac_t""no" 1>&6
12528 if test "x$HAVE_OLE2_H" = x
; then
12529 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12530 wxUSE_DRAG_AND_DROP
=no
12534 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12535 cat >> confdefs.h
<<\EOF
12536 #define wxUSE_DRAG_AND_DROP 1
12539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12544 if test "$wxUSE_SPLINES" = "yes" ; then
12545 cat >> confdefs.h
<<\EOF
12546 #define wxUSE_SPLINES 1
12552 if test "$wxUSE_ACCEL" = "yes"; then
12553 cat >> confdefs.h
<<\EOF
12554 #define wxUSE_ACCEL 1
12559 if test "$wxUSE_CARET" = "yes"; then
12560 cat >> confdefs.h
<<\EOF
12561 #define wxUSE_CARET 1
12564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12567 if test "$wxUSE_COMBOBOX" = "yes"; then
12568 cat >> confdefs.h
<<\EOF
12569 #define wxUSE_COMBOBOX 1
12574 if test "$wxUSE_CHOICE" = "yes"; then
12575 cat >> confdefs.h
<<\EOF
12576 #define wxUSE_CHOICE 1
12581 if test "$wxUSE_BMPBUTTON" = "yes"; then
12582 cat >> confdefs.h
<<\EOF
12583 #define wxUSE_BMPBUTTON 1
12588 if test "$wxUSE_CHECKBOX" = "yes"; then
12589 cat >> confdefs.h
<<\EOF
12590 #define wxUSE_CHECKBOX 1
12595 if test "$wxUSE_CHECKLST" = "yes"; then
12596 cat >> confdefs.h
<<\EOF
12597 #define wxUSE_CHECKLISTBOX 1
12600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12603 if test "$wxUSE_GAUGE" = "yes"; then
12604 cat >> confdefs.h
<<\EOF
12605 #define wxUSE_GAUGE 1
12610 if test "$wxUSE_GRID" = "yes"; then
12611 cat >> confdefs.h
<<\EOF
12612 #define wxUSE_GRID 1
12615 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12618 if test "$wxUSE_NEW_GRID" = "yes"; then
12619 cat >> confdefs.h
<<\EOF
12620 #define wxUSE_NEW_GRID 1
12623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12626 if test "$wxUSE_IMAGLIST" = "yes"; then
12627 cat >> confdefs.h
<<\EOF
12628 #define wxUSE_IMAGLIST 1
12633 if test "$wxUSE_LISTBOX" = "yes"; then
12634 cat >> confdefs.h
<<\EOF
12635 #define wxUSE_LISTBOX 1
12640 if test "$wxUSE_LISTCTRL" = "yes"; then
12641 if test "$wxUSE_IMAGLIST" = "yes"; then
12642 cat >> confdefs.h
<<\EOF
12643 #define wxUSE_LISTCTRL 1
12646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12648 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12652 if test "$wxUSE_NOTEBOOK" = "yes"; then
12653 cat >> confdefs.h
<<\EOF
12654 #define wxUSE_NOTEBOOK 1
12657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12660 if test "$wxUSE_RADIOBOX" = "yes"; then
12661 cat >> confdefs.h
<<\EOF
12662 #define wxUSE_RADIOBOX 1
12667 if test "$wxUSE_RADIOBTN" = "yes"; then
12668 cat >> confdefs.h
<<\EOF
12669 #define wxUSE_RADIOBTN 1
12674 if test "$wxUSE_SASH" = "yes"; then
12675 cat >> confdefs.h
<<\EOF
12676 #define wxUSE_SASH 1
12679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12682 if test "$wxUSE_SCROLLBAR" = "yes"; then
12683 cat >> confdefs.h
<<\EOF
12684 #define wxUSE_SCROLLBAR 1
12687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12690 if test "$wxUSE_SLIDER" = "yes"; then
12691 cat >> confdefs.h
<<\EOF
12692 #define wxUSE_SLIDER 1
12697 if test "$wxUSE_SPINBTN" = "yes"; then
12698 cat >> confdefs.h
<<\EOF
12699 #define wxUSE_SPINBTN 1
12704 if test "$wxUSE_SPINCTRL" = "yes"; then
12705 cat >> confdefs.h
<<\EOF
12706 #define wxUSE_SPINCTRL 1
12711 if test "$wxUSE_SPLITTER" = "yes"; then
12712 cat >> confdefs.h
<<\EOF
12713 #define wxUSE_SPLITTER 1
12716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12719 if test "$wxUSE_STATBMP" = "yes"; then
12720 cat >> confdefs.h
<<\EOF
12721 #define wxUSE_STATBMP 1
12726 if test "$wxUSE_STATBOX" = "yes"; then
12727 cat >> confdefs.h
<<\EOF
12728 #define wxUSE_STATBOX 1
12733 if test "$wxUSE_STATLINE" = "yes"; then
12734 if test "$wxUSE_WINE" = 1 ; then
12735 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12737 cat >> confdefs.h
<<\EOF
12738 #define wxUSE_STATLINE 1
12744 if test "$wxUSE_STATUSBAR" = "yes"; then
12745 cat >> confdefs.h
<<\EOF
12746 #define wxUSE_STATUSBAR 1
12751 if test "$wxUSE_TABDIALOG" = "yes"; then
12752 cat >> confdefs.h
<<\EOF
12753 #define wxUSE_TAB_DIALOG 1
12756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12759 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
12760 cat >> confdefs.h
<<\EOF
12761 #define wxUSE_TOOLBAR_SIMPLE 1
12764 wxUSE_TOOLBAR
="yes"
12767 if test "$wxUSE_TOOLBAR" = "yes"; then
12768 cat >> confdefs.h
<<\EOF
12769 #define wxUSE_TOOLBAR 1
12773 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
12774 wxUSE_TOOLBAR_NATIVE
="yes"
12777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12780 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
12781 cat >> confdefs.h
<<\EOF
12782 #define wxUSE_TOOLBAR_NATIVE 1
12787 if test "$wxUSE_TOOLTIPS" = "yes"; then
12788 if test "$wxUSE_MOTIF" = 1; then
12789 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12791 if test "$wxUSE_WINE" = 1; then
12792 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12794 cat >> confdefs.h
<<\EOF
12795 #define wxUSE_TOOLTIPS 1
12802 if test "$wxUSE_TREECTRL" = "yes"; then
12803 if test "$wxUSE_IMAGLIST" = "yes"; then
12804 cat >> confdefs.h
<<\EOF
12805 #define wxUSE_TREECTRL 1
12808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12810 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12816 if test "$wxUSE_METAFILE" = "yes"; then
12817 cat >> confdefs.h
<<\EOF
12818 #define wxUSE_METAFILE 1
12823 if test "$wxUSE_DIRDLG" = "yes"; then
12824 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12825 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12827 if test "$wxUSE_TREECTRL" != "yes"; then
12828 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12830 cat >> confdefs.h
<<\EOF
12831 #define wxUSE_DIRDLG 1
12838 if test "$wxUSE_TEXTDLG" = "yes"; then
12839 cat >> confdefs.h
<<\EOF
12840 #define wxUSE_TEXTDLG 1
12845 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12846 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12847 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12849 cat >> confdefs.h
<<\EOF
12850 #define wxUSE_STARTUP_TIPS 1
12856 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12857 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12858 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12860 cat >> confdefs.h
<<\EOF
12861 #define wxUSE_PROGRESSDLG 1
12867 if test "$wxUSE_MINIFRAME" = "yes"; then
12868 cat >> confdefs.h
<<\EOF
12869 #define wxUSE_MINIFRAME 1
12872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12875 if test "$wxUSE_HTML" = "yes"; then
12876 cat >> confdefs.h
<<\EOF
12877 #define wxUSE_HTML 1
12880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12881 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12884 if test "$wxUSE_VALIDATORS" = "yes"; then
12885 cat >> confdefs.h
<<\EOF
12886 #define wxUSE_VALIDATORS 1
12889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12892 if test "$wxUSE_GIF" = "yes" ; then
12893 cat >> confdefs.h
<<\EOF
12894 #define wxUSE_GIF 1
12899 if test "$wxUSE_PCX" = "yes" ; then
12900 cat >> confdefs.h
<<\EOF
12901 #define wxUSE_PCX 1
12906 if test "$wxUSE_PNM" = "yes" ; then
12907 cat >> confdefs.h
<<\EOF
12908 #define wxUSE_PNM 1
12914 OSINFO
=`uname -s -r -m`
12915 OSINFO
="\"$OSINFO\""
12916 cat >> confdefs.h
<<EOF
12917 #define WXWIN_OS_DESCRIPTION $OSINFO
12922 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12924 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12925 if test "$wxUSE_GUI" = "yes"; then
12926 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12929 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12931 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
12933 if test "$GXX" = yes ; then
12934 CXXWARNINGS
="-Wall"
12936 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12938 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12939 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12941 LDFLAGS
="$LDFLAGS $PROFILE"
12943 if test "$wxUSE_GUI" = "yes"; then
12945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
12946 font fractal image minimal richedit"
12948 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS)"
12953 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
13014 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13015 echo "configure:13016: checking whether ${MAKE-make} sets \${MAKE}" >&5
13016 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13017 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13018 echo $ac_n "(cached) $ac_c" 1>&6
13020 cat > conftestmake
<<\EOF
13022 @
echo 'ac_maketemp="${MAKE}"'
13024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13025 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13026 if test -n "$ac_maketemp"; then
13027 eval ac_cv_prog_make_
${ac_make}_set
=yes
13029 eval ac_cv_prog_make_
${ac_make}_set
=no
13033 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13034 echo "$ac_t""yes" 1>&6
13037 echo "$ac_t""no" 1>&6
13038 SET_MAKE
="MAKE=${MAKE-make}"
13044 if test "${TOOLKIT_DIR}" = "msw" ; then
13045 GL_TOOLKIT_DIR
="win"
13047 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
13052 cat > confcache
<<\EOF
13053 # This file is a shell script that caches the results of configure
13054 # tests run on this system so they can be shared between configure
13055 # scripts and configure runs. It is not useful on other systems.
13056 # If it contains results you don't want to keep, you may remove or edit it.
13058 # By default, configure uses ./config.cache as the cache file,
13059 # creating it if it does not exist already. You can give configure
13060 # the --cache-file=FILE option to use a different cache file; that is
13061 # what configure does when it calls configure scripts in
13062 # subdirectories, so they share the cache.
13063 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13064 # config.status only pays attention to the cache file if you give it the
13065 # --recheck option to rerun configure.
13068 # The following way of writing the cache mishandles newlines in values,
13069 # but we know of no workaround that is simple, portable, and efficient.
13070 # So, don't put newlines in cache variables' values.
13071 # Ultrix sh set writes to stderr and can't be redirected directly,
13072 # and sets the high bit in the cache file unless we assign to the vars.
13074 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13076 # `set' does not quote correctly, so add quotes (double-quote substitution
13077 # turns \\\\ into \\, and sed turns \\ into \).
13079 -e "s/'/'\\\\''/g" \
13080 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13083 # `set' quotes correctly as required by POSIX, so do not add quotes.
13084 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13087 if cmp -s $cache_file confcache
; then
13090 if test -w $cache_file; then
13091 echo "updating cache $cache_file"
13092 cat confcache
> $cache_file
13094 echo "not updating unwritable cache $cache_file"
13099 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13101 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13102 # Let make expand exec_prefix.
13103 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13105 # Any assignment to VPATH causes Sun make to only execute
13106 # the first set of double-colon rules, so remove it if not needed.
13107 # If there is a colon in the path, we need to keep it.
13108 if test "x$srcdir" = x.
; then
13109 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13112 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13114 DEFS
=-DHAVE_CONFIG_H
13116 # Without the "./", some shells look in PATH for config.status.
13117 : ${CONFIG_STATUS=./config.status}
13119 echo creating
$CONFIG_STATUS
13120 rm -f $CONFIG_STATUS
13121 cat > $CONFIG_STATUS <<EOF
13123 # Generated automatically by configure.
13124 # Run this file to recreate the current configuration.
13125 # This directory was configured as follows,
13126 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13128 # $0 $ac_configure_args
13130 # Compiler output produced by configure, useful for debugging
13131 # configure, is in ./config.log if it exists.
13133 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13136 case "\$ac_option" in
13137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13138 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13139 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13140 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13141 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13143 -help | --help | --hel | --he | --h)
13144 echo "\$ac_cs_usage"; exit 0 ;;
13145 *) echo "\$ac_cs_usage"; exit 1 ;;
13149 ac_given_srcdir=$srcdir
13150 ac_given_INSTALL="$INSTALL"
13152 trap 'rm -fr `echo "
13159 demos/bombs/Makefile
13160 demos/forty/Makefile
13161 demos/fractal/Makefile
13162 demos/life/Makefile
13163 demos/poem/Makefile
13165 samples/caret/Makefile
13166 samples/calendar/Makefile
13167 samples/checklst/Makefile
13168 samples/config/Makefile
13169 samples/controls/Makefile
13170 samples/console/Makefile
13171 samples/db/Makefile
13172 samples/dialogs/Makefile
13173 samples/docview/Makefile
13174 samples/docvwmdi/Makefile
13175 samples/dnd/Makefile
13176 samples/drawing/Makefile
13177 samples/font/Makefile
13178 samples/grid/Makefile
13179 samples/help/Makefile
13180 samples/image/Makefile
13181 samples/internat/Makefile
13182 samples/layout/Makefile
13183 samples/listctrl/Makefile
13184 samples/mdi/Makefile
13185 samples/minifram/Makefile
13186 samples/minimal/Makefile
13187 samples/dialup/Makefile
13188 samples/newgrid/Makefile
13189 samples/notebook/Makefile
13190 samples/png/Makefile
13191 samples/printing/Makefile
13192 samples/proplist/Makefile
13193 samples/propsize/Makefile
13194 samples/richedit/Makefile
13195 samples/resource/Makefile
13196 samples/sashtest/Makefile
13197 samples/scroll/Makefile
13198 samples/scrollsub/Makefile
13199 samples/splitter/Makefile
13200 samples/text/Makefile
13201 samples/thread/Makefile
13202 samples/toolbar/Makefile
13203 samples/treectrl/Makefile
13204 samples/typetest/Makefile
13205 samples/validate/Makefile
13206 samples/sockets/Makefile
13207 samples/wizard/Makefile
13208 samples/html/Makefile
13209 samples/html/about/Makefile
13210 samples/html/help/Makefile
13211 samples/html/printing/Makefile
13212 samples/html/helpview/Makefile
13213 samples/html/test/Makefile
13214 samples/html/zip/Makefile
13215 samples/html/virtual/Makefile
13216 samples/html/widget/Makefile
13218 utils/wxMMedia2/Makefile
13219 utils/wxMMedia2/lib/Makefile
13220 utils/wxMMedia2/sample/Makefile
13221 utils/glcanvas/Makefile
13222 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13224 utils/ogl/src/Makefile
13225 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13227 cat >> $CONFIG_STATUS <<EOF
13229 # Protect against being on the right side of a sed subst in config.status.
13230 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13231 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13235 s%@CFLAGS@%$CFLAGS%g
13236 s%@CPPFLAGS@%$CPPFLAGS%g
13237 s%@CXXFLAGS@%$CXXFLAGS%g
13238 s%@FFLAGS@%$FFLAGS%g
13240 s%@LDFLAGS@%$LDFLAGS%g
13242 s%@exec_prefix@%$exec_prefix%g
13243 s%@prefix@%$prefix%g
13244 s%@program_transform_name@%$program_transform_name%g
13245 s%@bindir@%$bindir%g
13246 s%@sbindir@%$sbindir%g
13247 s%@libexecdir@%$libexecdir%g
13248 s%@datadir@%$datadir%g
13249 s%@sysconfdir@%$sysconfdir%g
13250 s%@sharedstatedir@%$sharedstatedir%g
13251 s%@localstatedir@%$localstatedir%g
13252 s%@libdir@%$libdir%g
13253 s%@includedir@%$includedir%g
13254 s%@oldincludedir@%$oldincludedir%g
13255 s%@infodir@%$infodir%g
13256 s%@mandir@%$mandir%g
13258 s%@host_alias@%$host_alias%g
13259 s%@host_cpu@%$host_cpu%g
13260 s%@host_vendor@%$host_vendor%g
13261 s%@host_os@%$host_os%g
13262 s%@target@%$target%g
13263 s%@target_alias@%$target_alias%g
13264 s%@target_cpu@%$target_cpu%g
13265 s%@target_vendor@%$target_vendor%g
13266 s%@target_os@%$target_os%g
13268 s%@build_alias@%$build_alias%g
13269 s%@build_cpu@%$build_cpu%g
13270 s%@build_vendor@%$build_vendor%g
13271 s%@build_os@%$build_os%g
13275 s%@CXXCPP@%$CXXCPP%g
13276 s%@RANLIB@%$RANLIB%g
13278 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13279 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13280 s%@INSTALL_DATA@%$INSTALL_DATA%g
13284 s%@LEXLIB@%$LEXLIB%g
13286 s%@GTK_CONFIG@%$GTK_CONFIG%g
13287 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13288 s%@GTK_LIBS@%$GTK_LIBS%g
13289 s%@X_CFLAGS@%$X_CFLAGS%g
13290 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13291 s%@X_LIBS@%$X_LIBS%g
13292 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13293 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13294 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13295 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13296 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13297 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13298 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13299 s%@WX_LIBRARY@%$WX_LIBRARY%g
13300 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13301 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13302 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13303 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13304 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13305 s%@WX_ALL@%$WX_ALL%g
13306 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13307 s%@SHARED_LD@%$SHARED_LD%g
13308 s%@PIC_FLAG@%$PIC_FLAG%g
13309 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13310 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13311 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13312 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13313 s%@USE_GUI@%$USE_GUI%g
13314 s%@AFMINSTALL@%$AFMINSTALL%g
13315 s%@TOOLKIT@%$TOOLKIT%g
13316 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13317 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13318 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13319 s%@GUIHEADERS@%$GUIHEADERS%g
13320 s%@GUIOBJS@%$GUIOBJS%g
13321 s%@COMMONOBJS@%$COMMONOBJS%g
13322 s%@GENERICOBJS@%$GENERICOBJS%g
13323 s%@GUIDEPS@%$GUIDEPS%g
13324 s%@COMMONDEPS@%$COMMONDEPS%g
13325 s%@GENERICDEPS@%$GENERICDEPS%g
13326 s%@IODBCOBJS@%$IODBCOBJS%g
13327 s%@UNIXOBJS@%$UNIXOBJS%g
13328 s%@UNIXDEPS@%$UNIXDEPS%g
13329 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13330 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13331 s%@ALL_HEADERS@%$ALL_HEADERS%g
13332 s%@GUIDIST@%$GUIDIST%g
13333 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13334 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13335 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13336 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13337 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13338 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13339 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13340 s%@EXTRADEFS@%$EXTRADEFS%g
13341 s%@LD_LIBS@%$LD_LIBS%g
13342 s%@SET_MAKE@%$SET_MAKE%g
13343 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13348 cat >> $CONFIG_STATUS <<\EOF
13350 # Split the substitutions into bite-sized pieces for seds with
13351 # small command number limits, like on Digital OSF/1 and HP-UX.
13352 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13353 ac_file
=1 # Number of current file.
13354 ac_beg
=1 # First line for current file.
13355 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13358 while $ac_more_lines; do
13359 if test $ac_beg -gt 1; then
13360 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13362 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13364 if test ! -s conftest.s
$ac_file; then
13365 ac_more_lines
=false
13366 rm -f conftest.s
$ac_file
13368 if test -z "$ac_sed_cmds"; then
13369 ac_sed_cmds
="sed -f conftest.s$ac_file"
13371 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13373 ac_file
=`expr $ac_file + 1`
13375 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13378 if test -z "$ac_sed_cmds"; then
13383 cat >> $CONFIG_STATUS <<EOF
13385 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13391 demos/bombs/Makefile
13392 demos/forty/Makefile
13393 demos/fractal/Makefile
13394 demos/life/Makefile
13395 demos/poem/Makefile
13397 samples/caret/Makefile
13398 samples/calendar/Makefile
13399 samples/checklst/Makefile
13400 samples/config/Makefile
13401 samples/controls/Makefile
13402 samples/console/Makefile
13403 samples/db/Makefile
13404 samples/dialogs/Makefile
13405 samples/docview/Makefile
13406 samples/docvwmdi/Makefile
13407 samples/dnd/Makefile
13408 samples/drawing/Makefile
13409 samples/font/Makefile
13410 samples/grid/Makefile
13411 samples/help/Makefile
13412 samples/image/Makefile
13413 samples/internat/Makefile
13414 samples/layout/Makefile
13415 samples/listctrl/Makefile
13416 samples/mdi/Makefile
13417 samples/minifram/Makefile
13418 samples/minimal/Makefile
13419 samples/dialup/Makefile
13420 samples/newgrid/Makefile
13421 samples/notebook/Makefile
13422 samples/png/Makefile
13423 samples/printing/Makefile
13424 samples/proplist/Makefile
13425 samples/propsize/Makefile
13426 samples/richedit/Makefile
13427 samples/resource/Makefile
13428 samples/sashtest/Makefile
13429 samples/scroll/Makefile
13430 samples/scrollsub/Makefile
13431 samples/splitter/Makefile
13432 samples/text/Makefile
13433 samples/thread/Makefile
13434 samples/toolbar/Makefile
13435 samples/treectrl/Makefile
13436 samples/typetest/Makefile
13437 samples/validate/Makefile
13438 samples/sockets/Makefile
13439 samples/wizard/Makefile
13440 samples/html/Makefile
13441 samples/html/about/Makefile
13442 samples/html/help/Makefile
13443 samples/html/printing/Makefile
13444 samples/html/helpview/Makefile
13445 samples/html/test/Makefile
13446 samples/html/zip/Makefile
13447 samples/html/virtual/Makefile
13448 samples/html/widget/Makefile
13450 utils/wxMMedia2/Makefile
13451 utils/wxMMedia2/lib/Makefile
13452 utils/wxMMedia2/sample/Makefile
13453 utils/glcanvas/Makefile
13454 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13456 utils/ogl/src/Makefile
13459 cat >> $CONFIG_STATUS <<\EOF
13460 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13461 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13463 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13464 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13465 *) ac_file_in
="${ac_file}.in" ;;
13468 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13470 # Remove last slash and all that follows it. Not all systems have dirname.
13471 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13472 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13473 # The file is in a subdirectory.
13474 test ! -d "$ac_dir" && mkdir "$ac_dir"
13475 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13476 # A "../" for each directory in $ac_dir_suffix.
13477 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13479 ac_dir_suffix
= ac_dots
=
13482 case "$ac_given_srcdir" in
13484 if test -z "$ac_dots"; then top_srcdir
=.
13485 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13486 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13487 *) # Relative path.
13488 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13489 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13492 case "$ac_given_INSTALL" in
13493 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13494 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13497 echo creating
"$ac_file"
13499 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13501 *Makefile
*) ac_comsub
="1i\\
13502 # $configure_input" ;;
13506 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13508 s%@configure_input@%$configure_input%g
13509 s%@srcdir@%$srcdir%g
13510 s%@top_srcdir@%$top_srcdir%g
13511 s%@INSTALL@%$INSTALL%g
13512 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13516 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13517 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13519 # ac_d sets the value in "#define NAME VALUE" lines.
13520 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13521 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13524 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13525 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13526 ac_uB
='\([ ]\)%\1#\2define\3'
13529 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13530 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13531 ac_eB
='$%\1#\2define\3'
13535 if test "${CONFIG_HEADERS+set}" != set; then
13537 cat >> $CONFIG_STATUS <<EOF
13538 CONFIG_HEADERS="setup.h:setup.h.in"
13540 cat >> $CONFIG_STATUS <<\EOF
13542 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13543 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13545 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13546 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13547 *) ac_file_in
="${ac_file}.in" ;;
13550 echo creating
$ac_file
13552 rm -f conftest.frag conftest.
in conftest.out
13553 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13554 cat $ac_file_inputs > conftest.
in
13558 # Transform confdefs.h into a sed script conftest.vals that substitutes
13559 # the proper values into config.h.in to produce config.h. And first:
13560 # Protect against being on the right side of a sed subst in config.status.
13561 # Protect against being in an unquoted here document in config.status.
13562 rm -f conftest.vals
13563 cat > conftest.hdr
<<\EOF
13566 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13570 sed -n -f conftest.hdr confdefs.h > conftest.vals
13573 # This sed command replaces #undef with comments. This is necessary, for
13574 # example, in the case of _POSIX_SOURCE, which is predefined and required
13575 # on some systems where configure will not decide to define it.
13576 cat >> conftest.vals <<\EOF
13577 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13580 # Break up conftest.vals because some shells have a limit on
13581 # the size of here documents, and old seds have small limits too.
13583 rm -f conftest.tail
13586 ac_lines=`grep -c . conftest.vals
`
13587 # grep -c gives empty output for an empty file on some AIX systems.
13588 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13589 # Write a limited-size here document to conftest.frag.
13590 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13591 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13593 sed -f conftest.frag conftest.in > conftest.out
13595 mv conftest.out conftest.in
13596 ' >> $CONFIG_STATUS
13597 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13598 rm -f conftest.vals
13599 mv conftest.tail conftest.vals
13601 rm -f conftest.vals
13603 cat >> $CONFIG_STATUS <<\EOF
13604 rm -f conftest.frag conftest.h
13605 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13606 cat conftest.in >> conftest.h
13608 if cmp -s $ac_file conftest.h 2>/dev/null; then
13609 echo "$ac_file is unchanged"
13612 # Remove last slash and all that follows it. Not all systems have dirname.
13613 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13614 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13615 # The file is in a subdirectory.
13616 test ! -d "$ac_dir" && mkdir "$ac_dir"
13619 mv conftest.h $ac_file
13624 cat >> $CONFIG_STATUS <<EOF
13626 TOOLKIT_DIR="${TOOLKIT_DIR}"
13630 cat >> $CONFIG_STATUS <<\EOF
13633 if test ! -d include; then
13636 if test ! -d include/wx; then
13639 if test ! -d include/wx/${TOOLKIT_DIR}; then
13640 mkdir include/wx/${TOOLKIT_DIR}
13642 if test -f setup.h; then
13643 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13648 chmod +x $CONFIG_STATUS
13649 rm -fr confdefs* $ac_clean_files
13650 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1