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 WX_MAJOR_VERSION_NUMBER
=2
790 WX_MINOR_VERSION_NUMBER
=1
796 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
798 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
799 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
800 WX_REVISION
=$WX_INTERFACE_AGE
801 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
827 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
829 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
832 DEFAULT_wxUSE_MOTIF
=0
837 DEFAULT_DEFAULT_wxUSE_GTK
=0
838 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
839 DEFAULT_DEFAULT_wxUSE_MSW
=0
840 DEFAULT_DEFAULT_wxUSE_WINE
=0
841 DEFAULT_DEFAULT_wxUSE_PM
=0
846 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
847 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
848 cat >> confdefs.h
<<\EOF
855 cat >> confdefs.h
<<\EOF
860 if test "x$TMP" = "xalpha"; then
862 cat >> confdefs.h
<<\EOF
867 DEFAULT_DEFAULT_wxUSE_GTK
=1
869 *-*-irix5* | *-*-irix6* )
872 cat >> confdefs.h
<<\EOF
876 cat >> confdefs.h
<<\EOF
880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
886 cat >> confdefs.h
<<\EOF
890 cat >> confdefs.h
<<\EOF
891 #define __SOLARIS__ 1
894 cat >> confdefs.h
<<\EOF
898 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
899 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
905 cat >> confdefs.h
<<\EOF
909 cat >> confdefs.h
<<\EOF
913 cat >> confdefs.h
<<\EOF
917 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
919 *-*-freebsd* | *-*-netbsd*)
922 cat >> confdefs.h
<<\EOF
923 #define __FREEBSD__ 1
926 cat >> confdefs.h
<<\EOF
930 DEFAULT_DEFAULT_wxUSE_GTK
=1
935 cat >> confdefs.h
<<\EOF
939 cat >> confdefs.h
<<\EOF
943 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
948 cat >> confdefs.h
<<\EOF
952 cat >> confdefs.h
<<\EOF
956 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
961 cat >> confdefs.h
<<\EOF
965 cat >> confdefs.h
<<\EOF
969 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
975 cat >> confdefs.h
<<\EOF
979 cat >> confdefs.h
<<\EOF
983 cat >> confdefs.h
<<\EOF
987 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
990 *-*-cygwin32* | *-*-mingw32* )
993 cat >> confdefs.h
<<\EOF
997 cat >> confdefs.h
<<\EOF
1001 cat >> confdefs.h
<<\EOF
1002 #define __WINDOWS__ 1
1005 cat >> confdefs.h
<<\EOF
1006 #define __GNUWIN32__ 1
1009 cat >> confdefs.h
<<\EOF
1013 cat >> confdefs.h
<<\EOF
1014 #define WINVER 0x0400
1018 DEFAULT_DEFAULT_wxUSE_MSW
=1
1022 cat >> confdefs.h
<<\EOF
1027 DEFAULT_DEFAULT_wxUSE_PM
=1
1032 cat >> confdefs.h
<<\EOF
1039 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1042 if test "$USE_UNIX" = 1 ; then
1044 cat >> confdefs.h
<<\EOF
1049 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1050 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1053 if test "$USE_BEOS" = 1; then
1054 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1055 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1058 if test "$USE_LINUX" = 1; then
1059 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1060 echo "configure:1061: checking for gettext in -lc" >&5
1061 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1062 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1063 echo $ac_n "(cached) $ac_c" 1>&6
1065 ac_save_LIBS
="$LIBS"
1067 cat > conftest.
$ac_ext <<EOF
1068 #line 1069 "configure"
1069 #include "confdefs.h"
1070 /* Override any gcc2 internal prototype to avoid an error. */
1071 /* We use char because int might match the return type of a gcc2
1072 builtin and then its argument prototype would still apply. */
1079 if { (eval echo configure
:1080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1081 eval "ac_cv_lib_$ac_lib_var=yes"
1083 echo "configure: failed program was:" >&5
1084 cat conftest.
$ac_ext >&5
1086 eval "ac_cv_lib_$ac_lib_var=no"
1089 LIBS
="$ac_save_LIBS"
1092 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1093 echo "$ac_t""yes" 1>&6
1094 cat >> confdefs.h
<<\EOF
1095 #define wxHAVE_GLIBC2 1
1099 echo "$ac_t""no" 1>&6
1107 wx_arg_cache_file
="configarg.cache"
1108 echo "loading argument cache $wx_arg_cache_file"
1109 rm -f ${wx_arg_cache_file}.tmp
1110 touch ${wx_arg_cache_file}.tmp
1111 touch ${wx_arg_cache_file}
1115 if test $DEBUG_CONFIGURE = 1; then
1116 DEFAULT_wxUSE_THREADS
=yes
1118 DEFAULT_wxUSE_SHARED
=yes
1119 DEFAULT_wxUSE_OPTIMISE
=yes
1120 DEFAULT_wxUSE_PROFILE
=no
1121 DEFAULT_wxUSE_NO_DEPS
=no
1122 DEFAULT_wxUSE_NO_RTTI
=no
1123 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1124 DEFAULT_wxUSE_PERMISSIVE
=no
1125 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1126 DEFAULT_wxUSE_DEBUG_INFO
=yes
1127 DEFAULT_wxUSE_DEBUG_GDB
=yes
1128 DEFAULT_wxUSE_MEM_TRACING
=no
1129 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1130 DEFAULT_wxUSE_DMALLOC
=no
1131 DEFAULT_wxUSE_APPLE_IEEE
=no
1133 DEFAULT_wxUSE_LOG
=yes
1135 DEFAULT_wxUSE_GUI
=yes
1137 DEFAULT_wxUSE_ZLIB
=no
1138 DEFAULT_wxUSE_LIBPNG
=no
1139 DEFAULT_wxUSE_LIBJPEG
=no
1140 DEFAULT_wxUSE_LIBTIFF
=no
1141 DEFAULT_wxUSE_ODBC
=no
1143 DEFAULT_wxUSE_STD_IOSTREAM
=no
1144 DEFAULT_wxUSE_FILE
=no
1145 DEFAULT_wxUSE_TEXTFILE
=no
1146 DEFAULT_wxUSE_TIMEDATE
=no
1147 DEFAULT_wxUSE_WAVE
=no
1148 DEFAULT_wxUSE_INTL
=no
1149 DEFAULT_wxUSE_CONFIG
=no
1150 DEFAULT_wxUSE_STREAMS
=no
1151 DEFAULT_wxUSE_SOCKETS
=no
1152 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1153 DEFAULT_wxUSE_SERIAL
=no
1154 DEFAULT_wxUSE_JOYSTICK
=no
1155 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1156 DEFAULT_wxUSE_LONGLONG
=no
1158 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1159 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1160 DEFAULT_wxUSE_POSTSCRIPT
=no
1162 DEFAULT_wxUSE_X_RESOURCES
=no
1163 DEFAULT_wxUSE_CLIPBOARD
=no
1164 DEFAULT_wxUSE_TOOLTIPS
=no
1165 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1166 DEFAULT_wxUSE_SPLINES
=no
1168 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1169 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1170 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1172 DEFAULT_wxUSE_PROLOGIO
=no
1173 DEFAULT_wxUSE_RESOURCES
=no
1174 DEFAULT_wxUSE_CONSTRAINTS
=no
1175 DEFAULT_wxUSE_IPC
=no
1176 DEFAULT_wxUSE_HELP
=no
1177 DEFAULT_wxUSE_WXTREE
=no
1178 DEFAULT_wxUSE_METAFILE
=no
1180 DEFAULT_wxUSE_COMMONDLGS
=no
1181 DEFAULT_wxUSE_DIRDLG
=no
1182 DEFAULT_wxUSE_TEXTDLG
=no
1183 DEFAULT_wxUSE_STARTUP_TIPS
=no
1184 DEFAULT_wxUSE_PROGRESSDLG
=no
1185 DEFAULT_wxUSE_MINIFRAME
=no
1186 DEFAULT_wxUSE_HTML
=no
1187 DEFAULT_wxUSE_FS_INET
=no
1188 DEFAULT_wxUSE_FS_ZIP
=no
1189 DEFAULT_wxUSE_BUSYINFO
=no
1190 DEFAULT_wxUSE_ZIPSTREAM
=no
1191 DEFAULT_wxUSE_VALIDATORS
=yes
1193 DEFAULT_wxUSE_ACCEL
=no
1194 DEFAULT_wxUSE_CARET
=no
1195 DEFAULT_wxUSE_BMPBUTTON
=no
1196 DEFAULT_wxUSE_CHECKBOX
=no
1197 DEFAULT_wxUSE_CHECKLST
=no
1198 DEFAULT_wxUSE_CHOICE
=yes
1199 DEFAULT_wxUSE_COMBOBOX
=no
1200 DEFAULT_wxUSE_GAUGE
=no
1201 DEFAULT_wxUSE_GRID
=no
1202 DEFAULT_wxUSE_NEW_GRID
=no
1203 DEFAULT_wxUSE_IMAGLIST
=no
1204 DEFAULT_wxUSE_LISTBOX
=no
1205 DEFAULT_wxUSE_LISTCTRL
=no
1206 DEFAULT_wxUSE_NOTEBOOK
=no
1207 DEFAULT_wxUSE_RADIOBOX
=no
1208 DEFAULT_wxUSE_RADIOBTN
=no
1209 DEFAULT_wxUSE_SASH
=no
1210 DEFAULT_wxUSE_SCROLLBAR
=no
1211 DEFAULT_wxUSE_SLIDER
=no
1212 DEFAULT_wxUSE_SPINBTN
=no
1213 DEFAULT_wxUSE_SPINCTRL
=no
1214 DEFAULT_wxUSE_SPLITTER
=no
1215 DEFAULT_wxUSE_STATBMP
=no
1216 DEFAULT_wxUSE_STATBOX
=no
1217 DEFAULT_wxUSE_STATLINE
=no
1218 DEFAULT_wxUSE_STATUSBAR
=yes
1219 DEFAULT_wxUSE_TABDIALOG
=no
1220 DEFAULT_wxUSE_TOOLBAR
=no
1221 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1222 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1223 DEFAULT_wxUSE_TREECTRL
=no
1225 DEFAULT_wxUSE_UNICODE
=no
1226 DEFAULT_wxUSE_WCSRTOMBS
=no
1228 DEFAULT_wxUSE_GIF
=no
1229 DEFAULT_wxUSE_PCX
=no
1230 DEFAULT_wxUSE_PNM
=no
1232 DEFAULT_wxUSE_THREADS
=yes
1234 DEFAULT_wxUSE_SHARED
=yes
1235 DEFAULT_wxUSE_OPTIMISE
=yes
1236 DEFAULT_wxUSE_PROFILE
=no
1237 DEFAULT_wxUSE_NO_DEPS
=no
1238 DEFAULT_wxUSE_NO_RTTI
=no
1239 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1240 DEFAULT_wxUSE_PERMISSIVE
=no
1241 DEFAULT_wxUSE_DEBUG_FLAG
=no
1242 DEFAULT_wxUSE_DEBUG_INFO
=no
1243 DEFAULT_wxUSE_DEBUG_GDB
=no
1244 DEFAULT_wxUSE_MEM_TRACING
=no
1245 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1246 DEFAULT_wxUSE_DMALLOC
=no
1247 DEFAULT_wxUSE_APPLE_IEEE
=yes
1249 DEFAULT_wxUSE_LOG
=yes
1251 DEFAULT_wxUSE_GUI
=yes
1253 DEFAULT_wxUSE_ZLIB
=yes
1254 DEFAULT_wxUSE_LIBPNG
=yes
1255 DEFAULT_wxUSE_LIBJPEG
=yes
1256 DEFAULT_wxUSE_LIBTIFF
=yes
1257 DEFAULT_wxUSE_ODBC
=no
1259 DEFAULT_wxUSE_STD_IOSTREAM
=no
1260 DEFAULT_wxUSE_FILE
=yes
1261 DEFAULT_wxUSE_TEXTFILE
=yes
1262 DEFAULT_wxUSE_TIMEDATE
=yes
1263 DEFAULT_wxUSE_WAVE
=no
1264 DEFAULT_wxUSE_INTL
=yes
1265 DEFAULT_wxUSE_CONFIG
=yes
1266 DEFAULT_wxUSE_STREAMS
=yes
1267 DEFAULT_wxUSE_SOCKETS
=yes
1268 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1269 DEFAULT_wxUSE_SERIAL
=yes
1270 DEFAULT_wxUSE_JOYSTICK
=yes
1271 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1272 DEFAULT_wxUSE_LONGLONG
=yes
1274 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1275 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1276 DEFAULT_wxUSE_POSTSCRIPT
=yes
1278 DEFAULT_wxUSE_X_RESOURCES
=no
1279 DEFAULT_wxUSE_CLIPBOARD
=yes
1280 DEFAULT_wxUSE_TOOLTIPS
=yes
1281 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1282 DEFAULT_wxUSE_SPLINES
=yes
1284 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1285 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1286 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1288 DEFAULT_wxUSE_PROLOGIO
=yes
1289 DEFAULT_wxUSE_RESOURCES
=yes
1290 DEFAULT_wxUSE_CONSTRAINTS
=yes
1291 DEFAULT_wxUSE_IPC
=yes
1292 DEFAULT_wxUSE_HELP
=yes
1293 DEFAULT_wxUSE_WXTREE
=yes
1294 DEFAULT_wxUSE_METAFILE
=yes
1296 DEFAULT_wxUSE_COMMONDLGS
=yes
1297 DEFAULT_wxUSE_DIRDLG
=yes
1298 DEFAULT_wxUSE_TEXTDLG
=yes
1299 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1300 DEFAULT_wxUSE_PROGRESSDLG
=yes
1301 DEFAULT_wxUSE_MINIFRAME
=yes
1302 DEFAULT_wxUSE_HTML
=yes
1303 DEFAULT_wxUSE_FS_INET
=yes
1304 DEFAULT_wxUSE_FS_ZIP
=yes
1305 DEFAULT_wxUSE_BUSYINFO
=yes
1306 DEFAULT_wxUSE_ZIPSTREAM
=yes
1307 DEFAULT_wxUSE_VALIDATORS
=yes
1309 DEFAULT_wxUSE_ACCEL
=yes
1310 DEFAULT_wxUSE_CARET
=yes
1311 DEFAULT_wxUSE_BMPBUTTON
=yes
1312 DEFAULT_wxUSE_CHECKBOX
=yes
1313 DEFAULT_wxUSE_CHECKLST
=yes
1314 DEFAULT_wxUSE_CHOICE
=yes
1315 DEFAULT_wxUSE_COMBOBOX
=yes
1316 DEFAULT_wxUSE_GAUGE
=yes
1317 DEFAULT_wxUSE_GRID
=yes
1318 DEFAULT_wxUSE_NEW_GRID
=no
1319 DEFAULT_wxUSE_IMAGLIST
=yes
1320 DEFAULT_wxUSE_LISTBOX
=yes
1321 DEFAULT_wxUSE_LISTCTRL
=yes
1322 DEFAULT_wxUSE_NOTEBOOK
=yes
1323 DEFAULT_wxUSE_RADIOBOX
=yes
1324 DEFAULT_wxUSE_RADIOBTN
=yes
1325 DEFAULT_wxUSE_SASH
=yes
1326 DEFAULT_wxUSE_SCROLLBAR
=yes
1327 DEFAULT_wxUSE_SLIDER
=yes
1328 DEFAULT_wxUSE_SPINBTN
=yes
1329 DEFAULT_wxUSE_SPINCTRL
=yes
1330 DEFAULT_wxUSE_SPLITTER
=yes
1331 DEFAULT_wxUSE_STATBMP
=yes
1332 DEFAULT_wxUSE_STATBOX
=yes
1333 DEFAULT_wxUSE_STATLINE
=yes
1334 DEFAULT_wxUSE_STATUSBAR
=yes
1335 DEFAULT_wxUSE_TABDIALOG
=no
1336 DEFAULT_wxUSE_TOOLBAR
=yes
1337 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1338 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1339 DEFAULT_wxUSE_TREECTRL
=yes
1341 DEFAULT_wxUSE_UNICODE
=no
1342 DEFAULT_wxUSE_WCSRTOMBS
=no
1344 DEFAULT_wxUSE_GIF
=yes
1345 DEFAULT_wxUSE_PCX
=yes
1346 DEFAULT_wxUSE_PNM
=yes
1351 for toolkit
in `echo $ALL_TOOLKITS`; do
1352 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1353 if test "x$LINE" != x
; then
1354 has_toolkit_in_cache
=1
1355 eval "DEFAULT_$LINE"
1356 eval "CACHE_$toolkit=1"
1362 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1363 echo "configure:1364: checking "for --enable-gui"" >&5
1365 # Check whether --enable-gui or --disable-gui was given.
1366 if test "${enable_gui+set}" = set; then
1367 enableval
="$enable_gui"
1369 if test "$enableval" = yes; then
1370 ac_cv_use_gui
='wxUSE_GUI=yes'
1372 ac_cv_use_gui
='wxUSE_GUI=no'
1377 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1378 if test "x$LINE" != x
; then
1379 eval "DEFAULT_$LINE"
1384 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1389 eval "$ac_cv_use_gui"
1390 if test "$no_cache" != 1; then
1391 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1394 if test "$wxUSE_GUI" = yes; then
1395 echo "$ac_t""yes" 1>&6
1397 echo "$ac_t""no" 1>&6
1401 if test "$wxUSE_GUI" = "yes"; then
1403 # Check whether --with-gtk or --without-gtk was given.
1404 if test "${with_gtk+set}" = set; then
1406 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1409 # Check whether --with-motif or --without-motif was given.
1410 if test "${with_motif+set}" = set; then
1411 withval
="$with_motif"
1412 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1415 # Check whether --with-wine or --without-wine was given.
1416 if test "${with_wine+set}" = set; then
1417 withval
="$with_wine"
1418 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1421 # Check whether --with-cygwin or --without-cygwin was given.
1422 if test "${with_cygwin+set}" = set; then
1423 withval
="$with_cygwin"
1424 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1427 # Check whether --with-mingw or --without-mingw was given.
1428 if test "${with_mingw+set}" = set; then
1429 withval
="$with_mingw"
1430 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1433 # Check whether --with-pm or --without-pm was given.
1434 if test "${with_pm+set}" = set; then
1436 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1440 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1441 if test "${with_gtk_prefix+set}" = set; then
1442 withval
="$with_gtk_prefix"
1443 gtk_config_prefix
="$withval"
1445 gtk_config_prefix
=""
1448 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1449 if test "${with_gtk_exec_prefix+set}" = set; then
1450 withval
="$with_gtk_exec_prefix"
1451 gtk_config_exec_prefix
="$withval"
1453 gtk_config_exec_prefix
=""
1458 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1459 echo "configure:1460: checking "for --with-libpng"" >&5
1461 # Check whether --with-libpng or --without-libpng was given.
1462 if test "${with_libpng+set}" = set; then
1463 withval
="$with_libpng"
1465 if test "$withval" = yes; then
1466 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1468 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1473 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1474 if test "x$LINE" != x
; then
1475 eval "DEFAULT_$LINE"
1480 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1485 eval "$ac_cv_use_libpng"
1486 if test "$no_cache" != 1; then
1487 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1490 if test "$wxUSE_LIBPNG" = yes; then
1491 echo "$ac_t""yes" 1>&6
1493 echo "$ac_t""no" 1>&6
1497 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1498 echo "configure:1499: checking "for --with-libjpeg"" >&5
1500 # Check whether --with-libjpeg or --without-libjpeg was given.
1501 if test "${with_libjpeg+set}" = set; then
1502 withval
="$with_libjpeg"
1504 if test "$withval" = yes; then
1505 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1507 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1512 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1513 if test "x$LINE" != x
; then
1514 eval "DEFAULT_$LINE"
1519 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1524 eval "$ac_cv_use_libjpeg"
1525 if test "$no_cache" != 1; then
1526 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1529 if test "$wxUSE_LIBJPEG" = yes; then
1530 echo "$ac_t""yes" 1>&6
1532 echo "$ac_t""no" 1>&6
1536 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1537 echo "configure:1538: checking "for --with-libtiff"" >&5
1539 # Check whether --with-libtiff or --without-libtiff was given.
1540 if test "${with_libtiff+set}" = set; then
1541 withval
="$with_libtiff"
1543 if test "$withval" = yes; then
1544 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1546 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1551 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1552 if test "x$LINE" != x
; then
1553 eval "DEFAULT_$LINE"
1558 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1563 eval "$ac_cv_use_libtiff"
1564 if test "$no_cache" != 1; then
1565 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1568 if test "$wxUSE_LIBTIFF" = yes; then
1569 echo "$ac_t""yes" 1>&6
1571 echo "$ac_t""no" 1>&6
1575 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1576 echo "configure:1577: checking "for --with-opengl"" >&5
1578 # Check whether --with-opengl or --without-opengl was given.
1579 if test "${with_opengl+set}" = set; then
1580 withval
="$with_opengl"
1582 if test "$withval" = yes; then
1583 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1585 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1590 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1591 if test "x$LINE" != x
; then
1592 eval "DEFAULT_$LINE"
1597 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1602 eval "$ac_cv_use_opengl"
1603 if test "$no_cache" != 1; then
1604 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1607 if test "$wxUSE_OPENGL" = yes; then
1608 echo "$ac_t""yes" 1>&6
1610 echo "$ac_t""no" 1>&6
1617 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1618 echo "configure:1619: checking "for --with-dmalloc"" >&5
1620 # Check whether --with-dmalloc or --without-dmalloc was given.
1621 if test "${with_dmalloc+set}" = set; then
1622 withval
="$with_dmalloc"
1624 if test "$withval" = yes; then
1625 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1627 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1632 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1633 if test "x$LINE" != x
; then
1634 eval "DEFAULT_$LINE"
1639 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1644 eval "$ac_cv_use_dmalloc"
1645 if test "$no_cache" != 1; then
1646 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1649 if test "$wxUSE_DMALLOC" = yes; then
1650 echo "$ac_t""yes" 1>&6
1652 echo "$ac_t""no" 1>&6
1656 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1657 echo "configure:1658: checking "for --with-zlib"" >&5
1659 # Check whether --with-zlib or --without-zlib was given.
1660 if test "${with_zlib+set}" = set; then
1661 withval
="$with_zlib"
1663 if test "$withval" = yes; then
1664 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1666 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1671 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1672 if test "x$LINE" != x
; then
1673 eval "DEFAULT_$LINE"
1678 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1683 eval "$ac_cv_use_zlib"
1684 if test "$no_cache" != 1; then
1685 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1688 if test "$wxUSE_ZLIB" = yes; then
1689 echo "$ac_t""yes" 1>&6
1691 echo "$ac_t""no" 1>&6
1695 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1696 echo "configure:1697: checking "for --with-odbc"" >&5
1698 # Check whether --with-odbc or --without-odbc was given.
1699 if test "${with_odbc+set}" = set; then
1700 withval
="$with_odbc"
1702 if test "$withval" = yes; then
1703 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1705 ac_cv_use_odbc
='wxUSE_ODBC=no'
1710 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1711 if test "x$LINE" != x
; then
1712 eval "DEFAULT_$LINE"
1717 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1722 eval "$ac_cv_use_odbc"
1723 if test "$no_cache" != 1; then
1724 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1727 if test "$wxUSE_ODBC" = yes; then
1728 echo "$ac_t""yes" 1>&6
1730 echo "$ac_t""no" 1>&6
1737 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1738 echo "configure:1739: checking "for --enable-shared"" >&5
1740 # Check whether --enable-shared or --disable-shared was given.
1741 if test "${enable_shared+set}" = set; then
1742 enableval
="$enable_shared"
1744 if test "$enableval" = yes; then
1745 ac_cv_use_shared
='wxUSE_SHARED=yes'
1747 ac_cv_use_shared
='wxUSE_SHARED=no'
1752 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1753 if test "x$LINE" != x
; then
1754 eval "DEFAULT_$LINE"
1759 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1764 eval "$ac_cv_use_shared"
1765 if test "$no_cache" != 1; then
1766 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1769 if test "$wxUSE_SHARED" = yes; then
1770 echo "$ac_t""yes" 1>&6
1772 echo "$ac_t""no" 1>&6
1776 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1777 echo "configure:1778: checking "for --enable-optimise"" >&5
1779 # Check whether --enable-optimise or --disable-optimise was given.
1780 if test "${enable_optimise+set}" = set; then
1781 enableval
="$enable_optimise"
1783 if test "$enableval" = yes; then
1784 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1786 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1791 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1792 if test "x$LINE" != x
; then
1793 eval "DEFAULT_$LINE"
1798 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1803 eval "$ac_cv_use_optimise"
1804 if test "$no_cache" != 1; then
1805 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1808 if test "$wxUSE_OPTIMISE" = yes; then
1809 echo "$ac_t""yes" 1>&6
1811 echo "$ac_t""no" 1>&6
1815 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1816 echo "configure:1817: checking "for --enable-debug"" >&5
1818 # Check whether --enable-debug or --disable-debug was given.
1819 if test "${enable_debug+set}" = set; then
1820 enableval
="$enable_debug"
1822 if test "$enableval" = yes; then
1823 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1825 ac_cv_use_debug
='wxUSE_DEBUG=no'
1830 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1831 if test "x$LINE" != x
; then
1832 eval "DEFAULT_$LINE"
1837 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1842 eval "$ac_cv_use_debug"
1843 if test "$no_cache" != 1; then
1844 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1847 if test "$wxUSE_DEBUG" = yes; then
1848 echo "$ac_t""yes" 1>&6
1850 echo "$ac_t""no" 1>&6
1854 if test "$wxUSE_DEBUG" = "yes"; then
1855 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1856 DEFAULT_wxUSE_DEBUG_INFO
=yes
1857 elif test "$wxUSE_DEBUG" = "no"; then
1858 DEFAULT_wxUSE_DEBUG_FLAG
=no
1859 DEFAULT_wxUSE_DEBUG_INFO
=no
1863 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1864 echo "configure:1865: checking "for --enable-debug_flag"" >&5
1866 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1867 if test "${enable_debug_flag+set}" = set; then
1868 enableval
="$enable_debug_flag"
1870 if test "$enableval" = yes; then
1871 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1873 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1878 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1879 if test "x$LINE" != x
; then
1880 eval "DEFAULT_$LINE"
1885 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1890 eval "$ac_cv_use_debug_flag"
1891 if test "$no_cache" != 1; then
1892 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1895 if test "$wxUSE_DEBUG_FLAG" = yes; then
1896 echo "$ac_t""yes" 1>&6
1898 echo "$ac_t""no" 1>&6
1902 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1903 echo "configure:1904: checking "for --enable-debug_info"" >&5
1905 # Check whether --enable-debug_info or --disable-debug_info was given.
1906 if test "${enable_debug_info+set}" = set; then
1907 enableval
="$enable_debug_info"
1909 if test "$enableval" = yes; then
1910 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
1912 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
1917 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
1918 if test "x$LINE" != x
; then
1919 eval "DEFAULT_$LINE"
1924 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
1929 eval "$ac_cv_use_debug_info"
1930 if test "$no_cache" != 1; then
1931 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
1934 if test "$wxUSE_DEBUG_INFO" = yes; then
1935 echo "$ac_t""yes" 1>&6
1937 echo "$ac_t""no" 1>&6
1941 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
1942 echo "configure:1943: checking "for --enable-debug_gdb"" >&5
1944 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
1945 if test "${enable_debug_gdb+set}" = set; then
1946 enableval
="$enable_debug_gdb"
1948 if test "$enableval" = yes; then
1949 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
1951 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
1956 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
1957 if test "x$LINE" != x
; then
1958 eval "DEFAULT_$LINE"
1963 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
1968 eval "$ac_cv_use_debug_gdb"
1969 if test "$no_cache" != 1; then
1970 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
1973 if test "$wxUSE_DEBUG_GDB" = yes; then
1974 echo "$ac_t""yes" 1>&6
1976 echo "$ac_t""no" 1>&6
1980 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
1981 echo "configure:1982: checking "for --enable-debug_cntxt"" >&5
1983 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
1984 if test "${enable_debug_cntxt+set}" = set; then
1985 enableval
="$enable_debug_cntxt"
1987 if test "$enableval" = yes; then
1988 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
1990 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
1995 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x
; then
1997 eval "DEFAULT_$LINE"
2002 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2007 eval "$ac_cv_use_debug_cntxt"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2012 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2013 echo "$ac_t""yes" 1>&6
2015 echo "$ac_t""no" 1>&6
2019 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-mem_tracing"" >&5
2022 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2023 if test "${enable_mem_tracing+set}" = set; then
2024 enableval
="$enable_mem_tracing"
2026 if test "$enableval" = yes; then
2027 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2029 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2034 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x
; then
2036 eval "DEFAULT_$LINE"
2041 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2046 eval "$ac_cv_use_mem_tracing"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2051 if test "$wxUSE_MEM_TRACING" = yes; then
2052 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-profile"" >&5
2061 # Check whether --enable-profile or --disable-profile was given.
2062 if test "${enable_profile+set}" = set; then
2063 enableval
="$enable_profile"
2065 if test "$enableval" = yes; then
2066 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2068 ac_cv_use_profile
='wxUSE_PROFILE=no'
2073 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2085 eval "$ac_cv_use_profile"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_PROFILE" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-no_rtti"" >&5
2100 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2101 if test "${enable_no_rtti+set}" = set; then
2102 enableval
="$enable_no_rtti"
2104 if test "$enableval" = yes; then
2105 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2107 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2112 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2124 eval "$ac_cv_use_no_rtti"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_NO_RTTI" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2137 echo "configure:2138: checking "for --enable-no_exceptions"" >&5
2139 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2140 if test "${enable_no_exceptions+set}" = set; then
2141 enableval
="$enable_no_exceptions"
2143 if test "$enableval" = yes; then
2144 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2146 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2151 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2163 eval "$ac_cv_use_no_exceptions"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2169 echo "$ac_t""yes" 1>&6
2171 echo "$ac_t""no" 1>&6
2175 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-permissive"" >&5
2178 # Check whether --enable-permissive or --disable-permissive was given.
2179 if test "${enable_permissive+set}" = set; then
2180 enableval
="$enable_permissive"
2182 if test "$enableval" = yes; then
2183 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2185 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2190 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2202 eval "$ac_cv_use_permissive"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_PERMISSIVE" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-no_deps"" >&5
2217 # Check whether --enable-no_deps or --disable-no_deps was given.
2218 if test "${enable_no_deps+set}" = set; then
2219 enableval
="$enable_no_deps"
2221 if test "$enableval" = yes; then
2222 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2224 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2229 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2241 eval "$ac_cv_use_no_deps"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_NO_DEPS" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2255 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2256 echo "configure:2257: checking "for --enable-intl"" >&5
2258 # Check whether --enable-intl or --disable-intl was given.
2259 if test "${enable_intl+set}" = set; then
2260 enableval
="$enable_intl"
2262 if test "$enableval" = yes; then
2263 ac_cv_use_intl
='wxUSE_INTL=yes'
2265 ac_cv_use_intl
='wxUSE_INTL=no'
2270 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2271 if test "x$LINE" != x
; then
2272 eval "DEFAULT_$LINE"
2277 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2282 eval "$ac_cv_use_intl"
2283 if test "$no_cache" != 1; then
2284 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2287 if test "$wxUSE_INTL" = yes; then
2288 echo "$ac_t""yes" 1>&6
2290 echo "$ac_t""no" 1>&6
2294 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2295 echo "configure:2296: checking "for --enable-config"" >&5
2297 # Check whether --enable-config or --disable-config was given.
2298 if test "${enable_config+set}" = set; then
2299 enableval
="$enable_config"
2301 if test "$enableval" = yes; then
2302 ac_cv_use_config
='wxUSE_CONFIG=yes'
2304 ac_cv_use_config
='wxUSE_CONFIG=no'
2309 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2310 if test "x$LINE" != x
; then
2311 eval "DEFAULT_$LINE"
2316 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2321 eval "$ac_cv_use_config"
2322 if test "$no_cache" != 1; then
2323 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2326 if test "$wxUSE_CONFIG" = yes; then
2327 echo "$ac_t""yes" 1>&6
2329 echo "$ac_t""no" 1>&6
2333 if test "$wxUSE_GUI" = "yes"; then
2335 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2336 echo "configure:2337: checking "for --enable-sockets"" >&5
2338 # Check whether --enable-sockets or --disable-sockets was given.
2339 if test "${enable_sockets+set}" = set; then
2340 enableval
="$enable_sockets"
2342 if test "$enableval" = yes; then
2343 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2345 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2350 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2351 if test "x$LINE" != x
; then
2352 eval "DEFAULT_$LINE"
2357 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2362 eval "$ac_cv_use_sockets"
2363 if test "$no_cache" != 1; then
2364 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2367 if test "$wxUSE_SOCKETS" = yes; then
2368 echo "$ac_t""yes" 1>&6
2370 echo "$ac_t""no" 1>&6
2378 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2379 echo "configure:2380: checking "for --enable-dialupman"" >&5
2381 # Check whether --enable-dialupman or --disable-dialupman was given.
2382 if test "${enable_dialupman+set}" = set; then
2383 enableval
="$enable_dialupman"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2388 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2393 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x
; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2405 eval "$ac_cv_use_dialupman"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2410 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2411 echo "$ac_t""yes" 1>&6
2413 echo "$ac_t""no" 1>&6
2417 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2418 echo "configure:2419: checking "for --enable-ipc"" >&5
2420 # Check whether --enable-ipc or --disable-ipc was given.
2421 if test "${enable_ipc+set}" = set; then
2422 enableval
="$enable_ipc"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_ipc
='wxUSE_IPC=yes'
2427 ac_cv_use_ipc
='wxUSE_IPC=no'
2432 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x
; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2444 eval "$ac_cv_use_ipc"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2449 if test "$wxUSE_IPC" = yes; then
2450 echo "$ac_t""yes" 1>&6
2452 echo "$ac_t""no" 1>&6
2456 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2457 echo "configure:2458: checking "for --enable-apple_ieee"" >&5
2459 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2460 if test "${enable_apple_ieee+set}" = set; then
2461 enableval
="$enable_apple_ieee"
2463 if test "$enableval" = yes; then
2464 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2466 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2471 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2472 if test "x$LINE" != x
; then
2473 eval "DEFAULT_$LINE"
2478 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2483 eval "$ac_cv_use_apple_ieee"
2484 if test "$no_cache" != 1; then
2485 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2488 if test "$wxUSE_APPLE_IEEE" = yes; then
2489 echo "$ac_t""yes" 1>&6
2491 echo "$ac_t""no" 1>&6
2495 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2496 echo "configure:2497: checking "for --enable-timedate"" >&5
2498 # Check whether --enable-timedate or --disable-timedate was given.
2499 if test "${enable_timedate+set}" = set; then
2500 enableval
="$enable_timedate"
2502 if test "$enableval" = yes; then
2503 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2505 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2510 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2511 if test "x$LINE" != x
; then
2512 eval "DEFAULT_$LINE"
2517 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2522 eval "$ac_cv_use_timedate"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2527 if test "$wxUSE_TIMEDATE" = yes; then
2528 echo "$ac_t""yes" 1>&6
2530 echo "$ac_t""no" 1>&6
2534 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2535 echo "configure:2536: checking "for --enable-wave"" >&5
2537 # Check whether --enable-wave or --disable-wave was given.
2538 if test "${enable_wave+set}" = set; then
2539 enableval
="$enable_wave"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_wave
='wxUSE_WAVE=yes'
2544 ac_cv_use_wave
='wxUSE_WAVE=no'
2549 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x
; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2561 eval "$ac_cv_use_wave"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_WAVE" = yes; then
2567 echo "$ac_t""yes" 1>&6
2569 echo "$ac_t""no" 1>&6
2573 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2574 echo "configure:2575: checking "for --enable-fraction"" >&5
2576 # Check whether --enable-fraction or --disable-fraction was given.
2577 if test "${enable_fraction+set}" = set; then
2578 enableval
="$enable_fraction"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2583 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2588 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2600 eval "$ac_cv_use_fraction"
2601 if test "$no_cache" != 1; then
2602 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2605 if test "$wxUSE_FRACTION" = yes; then
2606 echo "$ac_t""yes" 1>&6
2608 echo "$ac_t""no" 1>&6
2612 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2613 echo "configure:2614: checking "for --enable-dynlib"" >&5
2615 # Check whether --enable-dynlib or --disable-dynlib was given.
2616 if test "${enable_dynlib+set}" = set; then
2617 enableval
="$enable_dynlib"
2619 if test "$enableval" = yes; then
2620 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2622 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2627 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2639 eval "$ac_cv_use_dynlib"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2644 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2645 echo "$ac_t""yes" 1>&6
2647 echo "$ac_t""no" 1>&6
2651 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2652 echo "configure:2653: checking "for --enable-longlong"" >&5
2654 # Check whether --enable-longlong or --disable-longlong was given.
2655 if test "${enable_longlong+set}" = set; then
2656 enableval
="$enable_longlong"
2658 if test "$enableval" = yes; then
2659 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2661 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2666 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2667 if test "x$LINE" != x
; then
2668 eval "DEFAULT_$LINE"
2673 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2678 eval "$ac_cv_use_longlong"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_LONGLONG" = yes; then
2684 echo "$ac_t""yes" 1>&6
2686 echo "$ac_t""no" 1>&6
2690 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2691 echo "configure:2692: checking "for --enable-log"" >&5
2693 # Check whether --enable-log or --disable-log was given.
2694 if test "${enable_log+set}" = set; then
2695 enableval
="$enable_log"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_log
='wxUSE_LOG=yes'
2700 ac_cv_use_log
='wxUSE_LOG=no'
2705 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2717 eval "$ac_cv_use_log"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2722 if test "$wxUSE_LOG" = yes; then
2723 echo "$ac_t""yes" 1>&6
2725 echo "$ac_t""no" 1>&6
2729 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2730 echo "configure:2731: checking "for --enable-streams"" >&5
2732 # Check whether --enable-streams or --disable-streams was given.
2733 if test "${enable_streams+set}" = set; then
2734 enableval
="$enable_streams"
2736 if test "$enableval" = yes; then
2737 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2739 ac_cv_use_streams
='wxUSE_STREAMS=no'
2744 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2745 if test "x$LINE" != x
; then
2746 eval "DEFAULT_$LINE"
2751 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2756 eval "$ac_cv_use_streams"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2761 if test "$wxUSE_STREAMS" = yes; then
2762 echo "$ac_t""yes" 1>&6
2764 echo "$ac_t""no" 1>&6
2768 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2769 echo "configure:2770: checking "for --enable-file"" >&5
2771 # Check whether --enable-file or --disable-file was given.
2772 if test "${enable_file+set}" = set; then
2773 enableval
="$enable_file"
2775 if test "$enableval" = yes; then
2776 ac_cv_use_file
='wxUSE_FILE=yes'
2778 ac_cv_use_file
='wxUSE_FILE=no'
2783 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x
; then
2785 eval "DEFAULT_$LINE"
2790 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2795 eval "$ac_cv_use_file"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_FILE" = yes; then
2801 echo "$ac_t""yes" 1>&6
2803 echo "$ac_t""no" 1>&6
2807 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2808 echo "configure:2809: checking "for --enable-textfile"" >&5
2810 # Check whether --enable-textfile or --disable-textfile was given.
2811 if test "${enable_textfile+set}" = set; then
2812 enableval
="$enable_textfile"
2814 if test "$enableval" = yes; then
2815 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2817 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2822 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2823 if test "x$LINE" != x
; then
2824 eval "DEFAULT_$LINE"
2829 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2834 eval "$ac_cv_use_textfile"
2835 if test "$no_cache" != 1; then
2836 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2839 if test "$wxUSE_TEXTFILE" = yes; then
2840 echo "$ac_t""yes" 1>&6
2842 echo "$ac_t""no" 1>&6
2846 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2847 echo "configure:2848: checking "for --enable-unicode"" >&5
2849 # Check whether --enable-unicode or --disable-unicode was given.
2850 if test "${enable_unicode+set}" = set; then
2851 enableval
="$enable_unicode"
2853 if test "$enableval" = yes; then
2854 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2856 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2861 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2862 if test "x$LINE" != x
; then
2863 eval "DEFAULT_$LINE"
2868 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2873 eval "$ac_cv_use_unicode"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2878 if test "$wxUSE_UNICODE" = yes; then
2879 echo "$ac_t""yes" 1>&6
2881 echo "$ac_t""no" 1>&6
2885 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2886 echo "configure:2887: checking "for --enable-wcsrtombs"" >&5
2888 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2889 if test "${enable_wcsrtombs+set}" = set; then
2890 enableval
="$enable_wcsrtombs"
2892 if test "$enableval" = yes; then
2893 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2895 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2900 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2901 if test "x$LINE" != x
; then
2902 eval "DEFAULT_$LINE"
2907 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2912 eval "$ac_cv_use_wcsrtombs"
2913 if test "$no_cache" != 1; then
2914 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
2917 if test "$wxUSE_WCSRTOMBS" = yes; then
2918 echo "$ac_t""yes" 1>&6
2920 echo "$ac_t""no" 1>&6
2924 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
2925 echo "configure:2926: checking "for --enable-wxprintfv"" >&5
2927 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
2928 if test "${enable_wxprintfv+set}" = set; then
2929 enableval
="$enable_wxprintfv"
2931 if test "$enableval" = yes; then
2932 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
2934 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
2939 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x
; then
2941 eval "DEFAULT_$LINE"
2946 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
2951 eval "$ac_cv_use_wxprintfv"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
2956 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
2957 echo "$ac_t""yes" 1>&6
2959 echo "$ac_t""no" 1>&6
2963 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
2964 echo "configure:2965: checking "for --enable-joystick"" >&5
2966 # Check whether --enable-joystick or --disable-joystick was given.
2967 if test "${enable_joystick+set}" = set; then
2968 enableval
="$enable_joystick"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
2973 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
2978 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
2990 eval "$ac_cv_use_joystick"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
2995 if test "$wxUSE_JOYSTICK" = yes; then
2996 echo "$ac_t""yes" 1>&6
2998 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3003 echo "configure:3004: checking "for --enable-std_iostreams"" >&5
3005 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3006 if test "${enable_std_iostreams+set}" = set; then
3007 enableval
="$enable_std_iostreams"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3012 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3017 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3029 eval "$ac_cv_use_std_iostreams"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_STD_IOSTREAM" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3042 echo "configure:3043: checking "for --enable-fs_inet"" >&5
3044 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3045 if test "${enable_fs_inet+set}" = set; then
3046 enableval
="$enable_fs_inet"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3051 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3056 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3068 eval "$ac_cv_use_fs_inet"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_FS_INET" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3080 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3081 echo "configure:3082: checking "for --enable-fs_zip"" >&5
3083 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3084 if test "${enable_fs_zip+set}" = set; then
3085 enableval
="$enable_fs_zip"
3087 if test "$enableval" = yes; then
3088 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3090 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3095 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3107 eval "$ac_cv_use_fs_zip"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_FS_ZIP" = yes; then
3113 echo "$ac_t""yes" 1>&6
3115 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3120 echo "configure:3121: checking "for --enable-zipstream"" >&5
3122 # Check whether --enable-zipstream or --disable-zipstream was given.
3123 if test "${enable_zipstream+set}" = set; then
3124 enableval
="$enable_zipstream"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3129 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3134 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3146 eval "$ac_cv_use_zipstream"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_ZIPSTREAM" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3160 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3161 echo "configure:3162: checking "for --enable-threads"" >&5
3163 # Check whether --enable-threads or --disable-threads was given.
3164 if test "${enable_threads+set}" = set; then
3165 enableval
="$enable_threads"
3167 if test "$enableval" = yes; then
3168 ac_cv_use_threads
='wxUSE_THREADS=yes'
3170 ac_cv_use_threads
='wxUSE_THREADS=no'
3175 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x
; then
3177 eval "DEFAULT_$LINE"
3182 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3187 eval "$ac_cv_use_threads"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3192 if test "$wxUSE_THREADS" = yes; then
3193 echo "$ac_t""yes" 1>&6
3195 echo "$ac_t""no" 1>&6
3199 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3200 echo "configure:3201: checking "for --enable-serial"" >&5
3202 # Check whether --enable-serial or --disable-serial was given.
3203 if test "${enable_serial+set}" = set; then
3204 enableval
="$enable_serial"
3206 if test "$enableval" = yes; then
3207 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3209 ac_cv_use_serial
='wxUSE_SERIAL=no'
3214 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x
; then
3216 eval "DEFAULT_$LINE"
3221 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3226 eval "$ac_cv_use_serial"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_SERIAL" = yes; then
3232 echo "$ac_t""yes" 1>&6
3234 echo "$ac_t""no" 1>&6
3238 if test "$wxUSE_GUI" = "yes"; then
3242 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3243 echo "configure:3244: checking "for --enable-docview"" >&5
3245 # Check whether --enable-docview or --disable-docview was given.
3246 if test "${enable_docview+set}" = set; then
3247 enableval
="$enable_docview"
3249 if test "$enableval" = yes; then
3250 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3252 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3257 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3269 eval "$ac_cv_use_docview"
3270 if test "$no_cache" != 1; then
3271 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3274 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3275 echo "$ac_t""yes" 1>&6
3277 echo "$ac_t""no" 1>&6
3281 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3282 echo "configure:3283: checking "for --enable-help"" >&5
3284 # Check whether --enable-help or --disable-help was given.
3285 if test "${enable_help+set}" = set; then
3286 enableval
="$enable_help"
3288 if test "$enableval" = yes; then
3289 ac_cv_use_help
='wxUSE_HELP=yes'
3291 ac_cv_use_help
='wxUSE_HELP=no'
3296 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3308 eval "$ac_cv_use_help"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3313 if test "$wxUSE_HELP" = yes; then
3314 echo "$ac_t""yes" 1>&6
3316 echo "$ac_t""no" 1>&6
3320 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3321 echo "configure:3322: checking "for --enable-constraints"" >&5
3323 # Check whether --enable-constraints or --disable-constraints was given.
3324 if test "${enable_constraints+set}" = set; then
3325 enableval
="$enable_constraints"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3330 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3335 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x
; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3347 eval "$ac_cv_use_constraints"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_CONSTRAINTS" = yes; then
3353 echo "$ac_t""yes" 1>&6
3355 echo "$ac_t""no" 1>&6
3359 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3360 echo "configure:3361: checking "for --enable-printarch"" >&5
3362 # Check whether --enable-printarch or --disable-printarch was given.
3363 if test "${enable_printarch+set}" = set; then
3364 enableval
="$enable_printarch"
3366 if test "$enableval" = yes; then
3367 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3369 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3374 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x
; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3386 eval "$ac_cv_use_printarch"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3392 echo "$ac_t""yes" 1>&6
3394 echo "$ac_t""no" 1>&6
3398 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3399 echo "configure:3400: checking "for --enable-mdi"" >&5
3401 # Check whether --enable-mdi or --disable-mdi was given.
3402 if test "${enable_mdi+set}" = set; then
3403 enableval
="$enable_mdi"
3405 if test "$enableval" = yes; then
3406 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3408 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3413 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x
; then
3415 eval "DEFAULT_$LINE"
3420 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3425 eval "$ac_cv_use_mdi"
3426 if test "$no_cache" != 1; then
3427 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3430 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3431 echo "$ac_t""yes" 1>&6
3433 echo "$ac_t""no" 1>&6
3438 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3439 echo "configure:3440: checking "for --enable-postscript"" >&5
3441 # Check whether --enable-postscript or --disable-postscript was given.
3442 if test "${enable_postscript+set}" = set; then
3443 enableval
="$enable_postscript"
3445 if test "$enableval" = yes; then
3446 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3448 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3453 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x
; then
3455 eval "DEFAULT_$LINE"
3460 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3465 eval "$ac_cv_use_postscript"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3470 if test "$wxUSE_POSTSCRIPT" = yes; then
3471 echo "$ac_t""yes" 1>&6
3473 echo "$ac_t""no" 1>&6
3479 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3480 echo "configure:3481: checking "for --enable-prologio"" >&5
3482 # Check whether --enable-prologio or --disable-prologio was given.
3483 if test "${enable_prologio+set}" = set; then
3484 enableval
="$enable_prologio"
3486 if test "$enableval" = yes; then
3487 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3489 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3494 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x
; then
3496 eval "DEFAULT_$LINE"
3501 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3506 eval "$ac_cv_use_prologio"
3507 if test "$no_cache" != 1; then
3508 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3511 if test "$wxUSE_PROLOGIO" = yes; then
3512 echo "$ac_t""yes" 1>&6
3514 echo "$ac_t""no" 1>&6
3518 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3519 echo "configure:3520: checking "for --enable-resources"" >&5
3521 # Check whether --enable-resources or --disable-resources was given.
3522 if test "${enable_resources+set}" = set; then
3523 enableval
="$enable_resources"
3525 if test "$enableval" = yes; then
3526 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3528 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3533 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x
; then
3535 eval "DEFAULT_$LINE"
3540 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3545 eval "$ac_cv_use_resources"
3546 if test "$no_cache" != 1; then
3547 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3550 if test "$wxUSE_RESOURCES" = yes; then
3551 echo "$ac_t""yes" 1>&6
3553 echo "$ac_t""no" 1>&6
3558 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3559 echo "configure:3560: checking "for --enable-xresources"" >&5
3561 # Check whether --enable-xresources or --disable-xresources was given.
3562 if test "${enable_xresources+set}" = set; then
3563 enableval
="$enable_xresources"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3568 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3573 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3585 eval "$ac_cv_use_xresources"
3586 if test "$no_cache" != 1; then
3587 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3590 if test "$wxUSE_X_RESOURCES" = yes; then
3591 echo "$ac_t""yes" 1>&6
3593 echo "$ac_t""no" 1>&6
3599 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3600 echo "configure:3601: checking "for --enable-clipboard"" >&5
3602 # Check whether --enable-clipboard or --disable-clipboard was given.
3603 if test "${enable_clipboard+set}" = set; then
3604 enableval
="$enable_clipboard"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3609 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3614 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3626 eval "$ac_cv_use_clipboard"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_CLIPBOARD" = yes; then
3632 echo "$ac_t""yes" 1>&6
3634 echo "$ac_t""no" 1>&6
3638 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3639 echo "configure:3640: checking "for --enable-dnd"" >&5
3641 # Check whether --enable-dnd or --disable-dnd was given.
3642 if test "${enable_dnd+set}" = set; then
3643 enableval
="$enable_dnd"
3645 if test "$enableval" = yes; then
3646 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3648 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3653 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x
; then
3655 eval "DEFAULT_$LINE"
3660 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3665 eval "$ac_cv_use_dnd"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3670 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3671 echo "$ac_t""yes" 1>&6
3673 echo "$ac_t""no" 1>&6
3678 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3679 echo "configure:3680: checking "for --enable-wxtree"" >&5
3681 # Check whether --enable-wxtree or --disable-wxtree was given.
3682 if test "${enable_wxtree+set}" = set; then
3683 enableval
="$enable_wxtree"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3688 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3693 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3705 eval "$ac_cv_use_wxtree"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3710 if test "$wxUSE_WXTREE" = yes; then
3711 echo "$ac_t""yes" 1>&6
3713 echo "$ac_t""no" 1>&6
3719 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3720 echo "configure:3721: checking "for --enable-controls"" >&5
3722 # Check whether --enable-controls or --disable-controls was given.
3723 if test "${enable_controls+set}" = set; then
3724 enableval
="$enable_controls"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3729 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3734 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3746 eval "$ac_cv_use_controls"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_CONTROLS" = yes; then
3752 echo "$ac_t""yes" 1>&6
3754 echo "$ac_t""no" 1>&6
3758 if test "$wxUSE_CONTROLS" = "yes"; then
3759 DEFAULT_wxUSE_ACCEL
=yes
3760 DEFAULT_wxUSE_CARET
=yes
3761 DEFAULT_wxUSE_COMBOBOX
=yes
3762 DEFAULT_wxUSE_BMPBUTTON
=yes
3763 DEFAULT_wxUSE_CHECKBOX
=yes
3764 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3765 DEFAULT_wxUSE_CHOICE
=yes
3766 DEFAULT_wxUSE_GAUGE
=yes
3767 DEFAULT_wxUSE_GRID
=yes
3768 DEFAULT_wxUSE_NEW_GRID
=no
3769 DEFAULT_wxUSE_IMAGLIST
=yes
3770 DEFAULT_wxUSE_LISTBOX
=yes
3771 DEFAULT_wxUSE_LISTCTRL
=yes
3772 DEFAULT_wxUSE_NOTEBOOK
=yes
3773 DEFAULT_wxUSE_RADIOBOX
=yes
3774 DEFAULT_wxUSE_RADIOBTN
=yes
3775 DEFAULT_wxUSE_SASH
=yes
3776 DEFAULT_wxUSE_SCROLLBAR
=yes
3777 DEFAULT_wxUSE_SLIDER
=yes
3778 DEFAULT_wxUSE_SPINBTN
=yes
3779 DEFAULT_wxUSE_SPINCTRL
=yes
3780 DEFAULT_wxUSE_SPLITTER
=yes
3781 DEFAULT_wxUSE_STATBMP
=yes
3782 DEFAULT_wxUSE_STATBOX
=yes
3783 DEFAULT_wxUSE_STATLINE
=yes
3784 DEFAULT_wxUSE_STATUSBAR
=yes
3785 DEFAULT_wxUSE_TAB_DIALOG
=yes
3786 DEFAULT_wxUSE_TOOLBAR
=yes
3787 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3788 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3789 DEFAULT_wxUSE_TOOLTIPS
=yes
3790 DEFAULT_wxUSE_TREECTRL
=yes
3791 elif test "$wxUSE_CONTROLS" = "no"; then
3792 DEFAULT_wxUSE_ACCEL
=no
3793 DEFAULT_wxUSE_CARET
=no
3794 DEFAULT_wxUSE_COMBOBOX
=no
3795 DEFAULT_wxUSE_BMPBUTTON
=no
3796 DEFAULT_wxUSE_CHECKBOX
=no
3797 DEFAULT_wxUSE_CHECKLISTBOX
=no
3798 DEFAULT_wxUSE_CHOICE
=no
3799 DEFAULT_wxUSE_GAUGE
=no
3800 DEFAULT_wxUSE_GRID
=no
3801 DEFAULT_wxUSE_NEW_GRID
=no
3802 DEFAULT_wxUSE_IMAGLIST
=no
3803 DEFAULT_wxUSE_LISTBOX
=no
3804 DEFAULT_wxUSE_LISTCTRL
=no
3805 DEFAULT_wxUSE_NOTEBOOK
=no
3806 DEFAULT_wxUSE_RADIOBOX
=no
3807 DEFAULT_wxUSE_RADIOBTN
=no
3808 DEFAULT_wxUSE_SASH
=no
3809 DEFAULT_wxUSE_SCROLLBAR
=no
3810 DEFAULT_wxUSE_SLIDER
=no
3811 DEFAULT_wxUSE_SPINBTN
=no
3812 DEFAULT_wxUSE_SPINCTRL
=no
3813 DEFAULT_wxUSE_SPLITTER
=no
3814 DEFAULT_wxUSE_STATBMP
=no
3815 DEFAULT_wxUSE_STATBOX
=no
3816 DEFAULT_wxUSE_STATLINE
=no
3817 DEFAULT_wxUSE_STATUSBAR
=no
3818 DEFAULT_wxUSE_TAB_DIALOG
=no
3819 DEFAULT_wxUSE_TOOLBAR
=no
3820 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3821 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3822 DEFAULT_wxUSE_TOOLTIPS
=no
3823 DEFAULT_wxUSE_TREECTRL
=no
3827 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3828 echo "configure:3829: checking "for --enable-accel"" >&5
3830 # Check whether --enable-accel or --disable-accel was given.
3831 if test "${enable_accel+set}" = set; then
3832 enableval
="$enable_accel"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3837 ac_cv_use_accel
='wxUSE_ACCEL=no'
3842 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3854 eval "$ac_cv_use_accel"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_ACCEL" = yes; then
3860 echo "$ac_t""yes" 1>&6
3862 echo "$ac_t""no" 1>&6
3866 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3867 echo "configure:3868: checking "for --enable-caret"" >&5
3869 # Check whether --enable-caret or --disable-caret was given.
3870 if test "${enable_caret+set}" = set; then
3871 enableval
="$enable_caret"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_caret
='wxUSE_CARET=yes'
3876 ac_cv_use_caret
='wxUSE_CARET=no'
3881 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x
; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3893 eval "$ac_cv_use_caret"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3898 if test "$wxUSE_CARET" = yes; then
3899 echo "$ac_t""yes" 1>&6
3901 echo "$ac_t""no" 1>&6
3905 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3906 echo "configure:3907: checking "for --enable-bmpbutton"" >&5
3908 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3909 if test "${enable_bmpbutton+set}" = set; then
3910 enableval
="$enable_bmpbutton"
3912 if test "$enableval" = yes; then
3913 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3915 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3920 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x
; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
3932 eval "$ac_cv_use_bmpbutton"
3933 if test "$no_cache" != 1; then
3934 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
3937 if test "$wxUSE_BMPBUTTON" = yes; then
3938 echo "$ac_t""yes" 1>&6
3940 echo "$ac_t""no" 1>&6
3944 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
3945 echo "configure:3946: checking "for --enable-checkbox"" >&5
3947 # Check whether --enable-checkbox or --disable-checkbox was given.
3948 if test "${enable_checkbox+set}" = set; then
3949 enableval
="$enable_checkbox"
3951 if test "$enableval" = yes; then
3952 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
3954 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
3959 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x
; then
3961 eval "DEFAULT_$LINE"
3966 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
3971 eval "$ac_cv_use_checkbox"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
3976 if test "$wxUSE_CHECKBOX" = yes; then
3977 echo "$ac_t""yes" 1>&6
3979 echo "$ac_t""no" 1>&6
3983 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
3984 echo "configure:3985: checking "for --enable-checklst"" >&5
3986 # Check whether --enable-checklst or --disable-checklst was given.
3987 if test "${enable_checklst+set}" = set; then
3988 enableval
="$enable_checklst"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
3993 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
3998 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x
; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4010 eval "$ac_cv_use_checklst"
4011 if test "$no_cache" != 1; then
4012 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4015 if test "$wxUSE_CHECKLST" = yes; then
4016 echo "$ac_t""yes" 1>&6
4018 echo "$ac_t""no" 1>&6
4022 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4023 echo "configure:4024: checking "for --enable-choice"" >&5
4025 # Check whether --enable-choice or --disable-choice was given.
4026 if test "${enable_choice+set}" = set; then
4027 enableval
="$enable_choice"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4032 ac_cv_use_choice
='wxUSE_CHOICE=no'
4037 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4049 eval "$ac_cv_use_choice"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_CHOICE" = yes; then
4055 echo "$ac_t""yes" 1>&6
4057 echo "$ac_t""no" 1>&6
4061 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4062 echo "configure:4063: checking "for --enable-combobox"" >&5
4064 # Check whether --enable-combobox or --disable-combobox was given.
4065 if test "${enable_combobox+set}" = set; then
4066 enableval
="$enable_combobox"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4071 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4076 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4088 eval "$ac_cv_use_combobox"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_COMBOBOX" = yes; then
4094 echo "$ac_t""yes" 1>&6
4096 echo "$ac_t""no" 1>&6
4100 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4101 echo "configure:4102: checking "for --enable-gauge"" >&5
4103 # Check whether --enable-gauge or --disable-gauge was given.
4104 if test "${enable_gauge+set}" = set; then
4105 enableval
="$enable_gauge"
4107 if test "$enableval" = yes; then
4108 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4110 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4115 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x
; then
4117 eval "DEFAULT_$LINE"
4122 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4127 eval "$ac_cv_use_gauge"
4128 if test "$no_cache" != 1; then
4129 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4132 if test "$wxUSE_GAUGE" = yes; then
4133 echo "$ac_t""yes" 1>&6
4135 echo "$ac_t""no" 1>&6
4139 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4140 echo "configure:4141: checking "for --enable-grid"" >&5
4142 # Check whether --enable-grid or --disable-grid was given.
4143 if test "${enable_grid+set}" = set; then
4144 enableval
="$enable_grid"
4146 if test "$enableval" = yes; then
4147 ac_cv_use_grid
='wxUSE_GRID=yes'
4149 ac_cv_use_grid
='wxUSE_GRID=no'
4154 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x
; then
4156 eval "DEFAULT_$LINE"
4161 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4166 eval "$ac_cv_use_grid"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4171 if test "$wxUSE_GRID" = yes; then
4172 echo "$ac_t""yes" 1>&6
4174 echo "$ac_t""no" 1>&6
4178 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4179 echo "configure:4180: checking "for --enable-newgrid"" >&5
4181 # Check whether --enable-newgrid or --disable-newgrid was given.
4182 if test "${enable_newgrid+set}" = set; then
4183 enableval
="$enable_newgrid"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4188 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4193 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x
; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4205 eval "$ac_cv_use_newgrid"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_NEW_GRID" = yes; then
4211 echo "$ac_t""yes" 1>&6
4213 echo "$ac_t""no" 1>&6
4217 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4218 echo "configure:4219: checking "for --enable-imaglist"" >&5
4220 # Check whether --enable-imaglist or --disable-imaglist was given.
4221 if test "${enable_imaglist+set}" = set; then
4222 enableval
="$enable_imaglist"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4227 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4232 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x
; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4244 eval "$ac_cv_use_imaglist"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_IMAGLIST" = yes; then
4250 echo "$ac_t""yes" 1>&6
4252 echo "$ac_t""no" 1>&6
4256 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4257 echo "configure:4258: checking "for --enable-listbox"" >&5
4259 # Check whether --enable-listbox or --disable-listbox was given.
4260 if test "${enable_listbox+set}" = set; then
4261 enableval
="$enable_listbox"
4263 if test "$enableval" = yes; then
4264 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4266 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4271 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x
; then
4273 eval "DEFAULT_$LINE"
4278 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4283 eval "$ac_cv_use_listbox"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_LISTBOX" = yes; then
4289 echo "$ac_t""yes" 1>&6
4291 echo "$ac_t""no" 1>&6
4295 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4296 echo "configure:4297: checking "for --enable-listctrl"" >&5
4298 # Check whether --enable-listctrl or --disable-listctrl was given.
4299 if test "${enable_listctrl+set}" = set; then
4300 enableval
="$enable_listctrl"
4302 if test "$enableval" = yes; then
4303 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4305 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4310 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4311 if test "x$LINE" != x
; then
4312 eval "DEFAULT_$LINE"
4317 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4322 eval "$ac_cv_use_listctrl"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_LISTCTRL" = yes; then
4328 echo "$ac_t""yes" 1>&6
4330 echo "$ac_t""no" 1>&6
4334 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4335 echo "configure:4336: checking "for --enable-notebook"" >&5
4337 # Check whether --enable-notebook or --disable-notebook was given.
4338 if test "${enable_notebook+set}" = set; then
4339 enableval
="$enable_notebook"
4341 if test "$enableval" = yes; then
4342 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4344 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4349 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x
; then
4351 eval "DEFAULT_$LINE"
4356 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4361 eval "$ac_cv_use_notebook"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_NOTEBOOK" = yes; then
4367 echo "$ac_t""yes" 1>&6
4369 echo "$ac_t""no" 1>&6
4373 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4374 echo "configure:4375: checking "for --enable-radiobox"" >&5
4376 # Check whether --enable-radiobox or --disable-radiobox was given.
4377 if test "${enable_radiobox+set}" = set; then
4378 enableval
="$enable_radiobox"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4383 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4388 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x
; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4400 eval "$ac_cv_use_radiobox"
4401 if test "$no_cache" != 1; then
4402 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4405 if test "$wxUSE_RADIOBOX" = yes; then
4406 echo "$ac_t""yes" 1>&6
4408 echo "$ac_t""no" 1>&6
4412 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4413 echo "configure:4414: checking "for --enable-radiobtn"" >&5
4415 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4416 if test "${enable_radiobtn+set}" = set; then
4417 enableval
="$enable_radiobtn"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4422 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4427 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4439 eval "$ac_cv_use_radiobtn"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_RADIOBTN" = yes; then
4445 echo "$ac_t""yes" 1>&6
4447 echo "$ac_t""no" 1>&6
4451 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4452 echo "configure:4453: checking "for --enable-sash"" >&5
4454 # Check whether --enable-sash or --disable-sash was given.
4455 if test "${enable_sash+set}" = set; then
4456 enableval
="$enable_sash"
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sash
='wxUSE_SASH=yes'
4461 ac_cv_use_sash
='wxUSE_SASH=no'
4466 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x
; then
4468 eval "DEFAULT_$LINE"
4473 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4478 eval "$ac_cv_use_sash"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4483 if test "$wxUSE_SASH" = yes; then
4484 echo "$ac_t""yes" 1>&6
4486 echo "$ac_t""no" 1>&6
4490 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4491 echo "configure:4492: checking "for --enable-scrollbar"" >&5
4493 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4494 if test "${enable_scrollbar+set}" = set; then
4495 enableval
="$enable_scrollbar"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4500 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4505 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4517 eval "$ac_cv_use_scrollbar"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4522 if test "$wxUSE_SCROLLBAR" = yes; then
4523 echo "$ac_t""yes" 1>&6
4525 echo "$ac_t""no" 1>&6
4529 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4530 echo "configure:4531: checking "for --enable-slider"" >&5
4532 # Check whether --enable-slider or --disable-slider was given.
4533 if test "${enable_slider+set}" = set; then
4534 enableval
="$enable_slider"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4539 ac_cv_use_slider
='wxUSE_SLIDER=no'
4544 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4556 eval "$ac_cv_use_slider"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_SLIDER" = yes; then
4562 echo "$ac_t""yes" 1>&6
4564 echo "$ac_t""no" 1>&6
4568 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4569 echo "configure:4570: checking "for --enable-spinbtn"" >&5
4571 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4572 if test "${enable_spinbtn+set}" = set; then
4573 enableval
="$enable_spinbtn"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4578 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4583 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4595 eval "$ac_cv_use_spinbtn"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_SPINBTN" = yes; then
4601 echo "$ac_t""yes" 1>&6
4603 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4608 echo "configure:4609: checking "for --enable-spinctrl"" >&5
4610 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4611 if test "${enable_spinctrl+set}" = set; then
4612 enableval
="$enable_spinctrl"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4617 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4622 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4634 eval "$ac_cv_use_spinctrl"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_SPINCTRL" = yes; then
4640 echo "$ac_t""yes" 1>&6
4642 echo "$ac_t""no" 1>&6
4646 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4647 echo "configure:4648: checking "for --enable-splitter"" >&5
4649 # Check whether --enable-splitter or --disable-splitter was given.
4650 if test "${enable_splitter+set}" = set; then
4651 enableval
="$enable_splitter"
4653 if test "$enableval" = yes; then
4654 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4656 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4661 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4662 if test "x$LINE" != x
; then
4663 eval "DEFAULT_$LINE"
4668 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4673 eval "$ac_cv_use_splitter"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4678 if test "$wxUSE_SPLITTER" = yes; then
4679 echo "$ac_t""yes" 1>&6
4681 echo "$ac_t""no" 1>&6
4685 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4686 echo "configure:4687: checking "for --enable-statbmp"" >&5
4688 # Check whether --enable-statbmp or --disable-statbmp was given.
4689 if test "${enable_statbmp+set}" = set; then
4690 enableval
="$enable_statbmp"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4695 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4700 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x
; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4712 eval "$ac_cv_use_statbmp"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_STATBMP" = yes; then
4718 echo "$ac_t""yes" 1>&6
4720 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4725 echo "configure:4726: checking "for --enable-statbox"" >&5
4727 # Check whether --enable-statbox or --disable-statbox was given.
4728 if test "${enable_statbox+set}" = set; then
4729 enableval
="$enable_statbox"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4734 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4739 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4751 eval "$ac_cv_use_statbox"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_STATBOX" = yes; then
4757 echo "$ac_t""yes" 1>&6
4759 echo "$ac_t""no" 1>&6
4763 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4764 echo "configure:4765: checking "for --enable-statline"" >&5
4766 # Check whether --enable-statline or --disable-statline was given.
4767 if test "${enable_statline+set}" = set; then
4768 enableval
="$enable_statline"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4773 ac_cv_use_statline
='wxUSE_STATLINE=no'
4778 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x
; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4790 eval "$ac_cv_use_statline"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_STATLINE" = yes; then
4796 echo "$ac_t""yes" 1>&6
4798 echo "$ac_t""no" 1>&6
4802 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4803 echo "configure:4804: checking "for --enable-statusbar"" >&5
4805 # Check whether --enable-statusbar or --disable-statusbar was given.
4806 if test "${enable_statusbar+set}" = set; then
4807 enableval
="$enable_statusbar"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4812 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4817 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4829 eval "$ac_cv_use_statusbar"
4830 if test "$no_cache" != 1; then
4831 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4834 if test "$wxUSE_STATUSBAR" = yes; then
4835 echo "$ac_t""yes" 1>&6
4837 echo "$ac_t""no" 1>&6
4841 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4842 echo "configure:4843: checking "for --enable-tabdialog"" >&5
4844 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4845 if test "${enable_tabdialog+set}" = set; then
4846 enableval
="$enable_tabdialog"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4851 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4856 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x
; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4868 eval "$ac_cv_use_tabdialog"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_TABDIALOG" = yes; then
4874 echo "$ac_t""yes" 1>&6
4876 echo "$ac_t""no" 1>&6
4880 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4881 echo "configure:4882: checking "for --enable-toolbar"" >&5
4883 # Check whether --enable-toolbar or --disable-toolbar was given.
4884 if test "${enable_toolbar+set}" = set; then
4885 enableval
="$enable_toolbar"
4887 if test "$enableval" = yes; then
4888 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4890 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4895 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x
; then
4897 eval "DEFAULT_$LINE"
4902 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4907 eval "$ac_cv_use_toolbar"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_TOOLBAR" = yes; then
4913 echo "$ac_t""yes" 1>&6
4915 echo "$ac_t""no" 1>&6
4919 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
4920 echo "configure:4921: checking "for --enable-tbarnative"" >&5
4922 # Check whether --enable-tbarnative or --disable-tbarnative was given.
4923 if test "${enable_tbarnative+set}" = set; then
4924 enableval
="$enable_tbarnative"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
4929 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
4934 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
4946 eval "$ac_cv_use_tbarnative"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
4952 echo "$ac_t""yes" 1>&6
4954 echo "$ac_t""no" 1>&6
4958 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
4959 echo "configure:4960: checking "for --enable-tbarsmpl"" >&5
4961 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
4962 if test "${enable_tbarsmpl+set}" = set; then
4963 enableval
="$enable_tbarsmpl"
4965 if test "$enableval" = yes; then
4966 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
4968 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
4973 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x
; then
4975 eval "DEFAULT_$LINE"
4980 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
4985 eval "$ac_cv_use_tbarsmpl"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
4990 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
4991 echo "$ac_t""yes" 1>&6
4993 echo "$ac_t""no" 1>&6
4997 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4998 echo "configure:4999: checking "for --enable-treectrl"" >&5
5000 # Check whether --enable-treectrl or --disable-treectrl was given.
5001 if test "${enable_treectrl+set}" = set; then
5002 enableval
="$enable_treectrl"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5007 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5012 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x
; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5024 eval "$ac_cv_use_treectrl"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_TREECTRL" = yes; then
5030 echo "$ac_t""yes" 1>&6
5032 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5039 echo "configure:5040: checking "for --enable-commondlg"" >&5
5041 # Check whether --enable-commondlg or --disable-commondlg was given.
5042 if test "${enable_commondlg+set}" = set; then
5043 enableval
="$enable_commondlg"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5048 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5053 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5065 eval "$ac_cv_use_commondlg"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_COMMONDLGS" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5077 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5078 echo "configure:5079: checking "for --enable-dirdlg"" >&5
5080 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5081 if test "${enable_dirdlg+set}" = set; then
5082 enableval
="$enable_dirdlg"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5087 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5092 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5104 eval "$ac_cv_use_dirdlg"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_DIRDLG" = yes; then
5110 echo "$ac_t""yes" 1>&6
5112 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5117 echo "configure:5118: checking "for --enable-textdlg"" >&5
5119 # Check whether --enable-textdlg or --disable-textdlg was given.
5120 if test "${enable_textdlg+set}" = set; then
5121 enableval
="$enable_textdlg"
5123 if test "$enableval" = yes; then
5124 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5126 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5131 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5143 eval "$ac_cv_use_textdlg"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_TEXTDLG" = yes; then
5149 echo "$ac_t""yes" 1>&6
5151 echo "$ac_t""no" 1>&6
5155 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5156 echo "configure:5157: checking "for --enable-tipdlg"" >&5
5158 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5159 if test "${enable_tipdlg+set}" = set; then
5160 enableval
="$enable_tipdlg"
5162 if test "$enableval" = yes; then
5163 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5165 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5170 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5177 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5182 eval "$ac_cv_use_tipdlg"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_STARTUP_TIPS" = yes; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5194 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5195 echo "configure:5196: checking "for --enable-progressdlg"" >&5
5197 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5198 if test "${enable_progressdlg+set}" = set; then
5199 enableval
="$enable_progressdlg"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5204 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5209 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5221 eval "$ac_cv_use_progressdlg"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_PROGRESSDLG" = yes; then
5227 echo "$ac_t""yes" 1>&6
5229 echo "$ac_t""no" 1>&6
5233 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5234 echo "configure:5235: checking "for --enable-miniframe"" >&5
5236 # Check whether --enable-miniframe or --disable-miniframe was given.
5237 if test "${enable_miniframe+set}" = set; then
5238 enableval
="$enable_miniframe"
5240 if test "$enableval" = yes; then
5241 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5243 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5248 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5260 eval "$ac_cv_use_miniframe"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_MINIFRAME" = yes; then
5266 echo "$ac_t""yes" 1>&6
5268 echo "$ac_t""no" 1>&6
5272 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5273 echo "configure:5274: checking "for --enable-html"" >&5
5275 # Check whether --enable-html or --disable-html was given.
5276 if test "${enable_html+set}" = set; then
5277 enableval
="$enable_html"
5279 if test "$enableval" = yes; then
5280 ac_cv_use_html
='wxUSE_HTML=yes'
5282 ac_cv_use_html
='wxUSE_HTML=no'
5287 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x
; then
5289 eval "DEFAULT_$LINE"
5294 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5299 eval "$ac_cv_use_html"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_HTML" = yes; then
5305 echo "$ac_t""yes" 1>&6
5307 echo "$ac_t""no" 1>&6
5311 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5312 echo "configure:5313: checking "for --enable-tooltips"" >&5
5314 # Check whether --enable-tooltips or --disable-tooltips was given.
5315 if test "${enable_tooltips+set}" = set; then
5316 enableval
="$enable_tooltips"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5321 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5326 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5338 eval "$ac_cv_use_tooltips"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_TOOLTIPS" = yes; then
5344 echo "$ac_t""yes" 1>&6
5346 echo "$ac_t""no" 1>&6
5350 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5351 echo "configure:5352: checking "for --enable-splines"" >&5
5353 # Check whether --enable-splines or --disable-splines was given.
5354 if test "${enable_splines+set}" = set; then
5355 enableval
="$enable_splines"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5360 ac_cv_use_splines
='wxUSE_SPLINES=no'
5365 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5377 eval "$ac_cv_use_splines"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5382 if test "$wxUSE_SPLINES" = yes; then
5383 echo "$ac_t""yes" 1>&6
5385 echo "$ac_t""no" 1>&6
5389 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5390 echo "configure:5391: checking "for --enable-validators"" >&5
5392 # Check whether --enable-validators or --disable-validators was given.
5393 if test "${enable_validators+set}" = set; then
5394 enableval
="$enable_validators"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5399 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5404 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5416 eval "$ac_cv_use_validators"
5417 if test "$no_cache" != 1; then
5418 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5421 if test "$wxUSE_VALIDATORS" = yes; then
5422 echo "$ac_t""yes" 1>&6
5424 echo "$ac_t""no" 1>&6
5428 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5429 echo "configure:5430: checking "for --enable-busyinfo"" >&5
5431 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5432 if test "${enable_busyinfo+set}" = set; then
5433 enableval
="$enable_busyinfo"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5438 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5443 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x
; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5455 eval "$ac_cv_use_busyinfo"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_BUSYINFO" = yes; then
5461 echo "$ac_t""yes" 1>&6
5463 echo "$ac_t""no" 1>&6
5469 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5470 echo "configure:5471: checking "for --enable-gif"" >&5
5472 # Check whether --enable-gif or --disable-gif was given.
5473 if test "${enable_gif+set}" = set; then
5474 enableval
="$enable_gif"
5476 if test "$enableval" = yes; then
5477 ac_cv_use_gif
='wxUSE_GIF=yes'
5479 ac_cv_use_gif
='wxUSE_GIF=no'
5484 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x
; then
5486 eval "DEFAULT_$LINE"
5491 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5496 eval "$ac_cv_use_gif"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_GIF" = yes; then
5502 echo "$ac_t""yes" 1>&6
5504 echo "$ac_t""no" 1>&6
5508 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5509 echo "configure:5510: checking "for --enable-pcx"" >&5
5511 # Check whether --enable-pcx or --disable-pcx was given.
5512 if test "${enable_pcx+set}" = set; then
5513 enableval
="$enable_pcx"
5515 if test "$enableval" = yes; then
5516 ac_cv_use_pcx
='wxUSE_PCX=yes'
5518 ac_cv_use_pcx
='wxUSE_PCX=no'
5523 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5524 if test "x$LINE" != x
; then
5525 eval "DEFAULT_$LINE"
5530 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5535 eval "$ac_cv_use_pcx"
5536 if test "$no_cache" != 1; then
5537 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5540 if test "$wxUSE_PCX" = yes; then
5541 echo "$ac_t""yes" 1>&6
5543 echo "$ac_t""no" 1>&6
5547 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5548 echo "configure:5549: checking "for --enable-pnm"" >&5
5550 # Check whether --enable-pnm or --disable-pnm was given.
5551 if test "${enable_pnm+set}" = set; then
5552 enableval
="$enable_pnm"
5554 if test "$enableval" = yes; then
5555 ac_cv_use_pnm
='wxUSE_PNM=yes'
5557 ac_cv_use_pnm
='wxUSE_PNM=no'
5562 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x
; then
5564 eval "DEFAULT_$LINE"
5569 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5574 eval "$ac_cv_use_pnm"
5575 if test "$no_cache" != 1; then
5576 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5579 if test "$wxUSE_PNM" = yes; then
5580 echo "$ac_t""yes" 1>&6
5582 echo "$ac_t""no" 1>&6
5589 echo "saving argument cache $wx_arg_cache_file"
5590 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5594 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5595 echo "configure:5596: checking for toolkit" >&5
5597 if test "$wxUSE_GUI" = "yes"; then
5599 if test "$USE_BEOS" = 1; then
5600 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5603 if test "$TOOLKIT_GIVEN" = 1; then
5604 for toolkit
in `echo $ALL_TOOLKITS`; do
5606 eval "value=\$${var}"
5607 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5610 for toolkit
in `echo $ALL_TOOLKITS`; do
5611 if test "$has_toolkit_in_cache" != 1; then
5612 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5614 var
=DEFAULT_wxUSE_
$toolkit
5616 eval "wxUSE_$toolkit=\$${var}"
5620 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5624 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5625 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5635 case "$NUM_TOOLKITS" in
5639 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5642 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5645 for toolkit
in `echo $ALL_TOOLKITS`; do
5647 eval "value=\$${var}"
5648 if test "x$value" != x
; then
5649 cache_var
=CACHE_
$toolkit
5650 eval "cache=\$${cache_var}"
5651 if test "$cache" = 1; then
5652 echo "$var=$value" >> ${wx_arg_cache_file}
5654 if test "$value" = 1; then
5655 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5662 echo "$ac_t""base only" 1>&6
5666 cat > confcache
<<\EOF
5667 # This file is a shell script that caches the results of configure
5668 # tests run on this system so they can be shared between configure
5669 # scripts and configure runs. It is not useful on other systems.
5670 # If it contains results you don't want to keep, you may remove or edit it.
5672 # By default, configure uses ./config.cache as the cache file,
5673 # creating it if it does not exist already. You can give configure
5674 # the --cache-file=FILE option to use a different cache file; that is
5675 # what configure does when it calls configure scripts in
5676 # subdirectories, so they share the cache.
5677 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5678 # config.status only pays attention to the cache file if you give it the
5679 # --recheck option to rerun configure.
5682 # The following way of writing the cache mishandles newlines in values,
5683 # but we know of no workaround that is simple, portable, and efficient.
5684 # So, don't put newlines in cache variables' values.
5685 # Ultrix sh set writes to stderr and can't be redirected directly,
5686 # and sets the high bit in the cache file unless we assign to the vars.
5688 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5690 # `set' does not quote correctly, so add quotes (double-quote substitution
5691 # turns \\\\ into \\, and sed turns \\ into \).
5693 -e "s/'/'\\\\''/g" \
5694 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5697 # `set' quotes correctly as required by POSIX, so do not add quotes.
5698 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5701 if cmp -s $cache_file confcache
; then
5704 if test -w $cache_file; then
5705 echo "updating cache $cache_file"
5706 cat confcache
> $cache_file
5708 echo "not updating unwritable cache $cache_file"
5714 if eval "test $host != $build"; then
5715 if eval "test $host_alias != NONE"; then
5719 RANLIB
=$host_alias-ranlib
5720 DLLTOOL
=$host_alias-dlltool
5723 STRIP
=$host_alias-strip
5727 # Extract the first word of "gcc", so it can be a program name with args.
5728 set dummy gcc
; ac_word
=$2
5729 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5730 echo "configure:5731: checking for $ac_word" >&5
5731 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5732 echo $ac_n "(cached) $ac_c" 1>&6
5734 if test -n "$CC"; then
5735 ac_cv_prog_CC
="$CC" # Let the user override the test.
5737 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5739 for ac_dir
in $ac_dummy; do
5740 test -z "$ac_dir" && ac_dir
=.
5741 if test -f $ac_dir/$ac_word; then
5750 if test -n "$CC"; then
5751 echo "$ac_t""$CC" 1>&6
5753 echo "$ac_t""no" 1>&6
5756 if test -z "$CC"; then
5757 # Extract the first word of "cc", so it can be a program name with args.
5758 set dummy cc
; ac_word
=$2
5759 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5760 echo "configure:5761: checking for $ac_word" >&5
5761 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5762 echo $ac_n "(cached) $ac_c" 1>&6
5764 if test -n "$CC"; then
5765 ac_cv_prog_CC
="$CC" # Let the user override the test.
5767 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5770 for ac_dir
in $ac_dummy; do
5771 test -z "$ac_dir" && ac_dir
=.
5772 if test -f $ac_dir/$ac_word; then
5773 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5774 ac_prog_rejected
=yes
5782 if test $ac_prog_rejected = yes; then
5783 # We found a bogon in the path, so make sure we never use it.
5784 set dummy
$ac_cv_prog_CC
5786 if test $# -gt 0; then
5787 # We chose a different compiler from the bogus one.
5788 # However, it has the same basename, so the bogon will be chosen
5789 # first if we set CC to just the basename; use the full file name.
5791 set dummy
"$ac_dir/$ac_word" "$@"
5799 if test -n "$CC"; then
5800 echo "$ac_t""$CC" 1>&6
5802 echo "$ac_t""no" 1>&6
5805 if test -z "$CC"; then
5806 case "`uname -s`" in
5808 # Extract the first word of "cl", so it can be a program name with args.
5809 set dummy cl
; ac_word
=$2
5810 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5811 echo "configure:5812: checking for $ac_word" >&5
5812 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5813 echo $ac_n "(cached) $ac_c" 1>&6
5815 if test -n "$CC"; then
5816 ac_cv_prog_CC
="$CC" # Let the user override the test.
5818 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5820 for ac_dir
in $ac_dummy; do
5821 test -z "$ac_dir" && ac_dir
=.
5822 if test -f $ac_dir/$ac_word; then
5831 if test -n "$CC"; then
5832 echo "$ac_t""$CC" 1>&6
5834 echo "$ac_t""no" 1>&6
5839 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5842 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5843 echo "configure:5844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5846 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5847 ac_cpp
='$CPP $CPPFLAGS'
5848 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5849 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5850 cross_compiling
=$ac_cv_prog_cc_cross
5852 cat > conftest.
$ac_ext << EOF
5854 #line 5855 "configure"
5855 #include "confdefs.h"
5859 if { (eval echo configure
:5860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5860 ac_cv_prog_cc_works
=yes
5861 # If we can't run a trivial program, we are probably using a cross compiler.
5862 if (.
/conftest
; exit) 2>/dev
/null
; then
5863 ac_cv_prog_cc_cross
=no
5865 ac_cv_prog_cc_cross
=yes
5868 echo "configure: failed program was:" >&5
5869 cat conftest.
$ac_ext >&5
5870 ac_cv_prog_cc_works
=no
5874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5875 ac_cpp
='$CPP $CPPFLAGS'
5876 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5877 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5878 cross_compiling
=$ac_cv_prog_cc_cross
5880 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5881 if test $ac_cv_prog_cc_works = no
; then
5882 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5884 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5885 echo "configure:5886: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5886 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5887 cross_compiling
=$ac_cv_prog_cc_cross
5889 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5890 echo "configure:5891: checking whether we are using GNU C" >&5
5891 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5892 echo $ac_n "(cached) $ac_c" 1>&6
5894 cat > conftest.c
<<EOF
5899 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5906 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5908 if test $ac_cv_prog_gcc = yes; then
5914 ac_test_CFLAGS
="${CFLAGS+set}"
5915 ac_save_CFLAGS
="$CFLAGS"
5917 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5918 echo "configure:5919: checking whether ${CC-cc} accepts -g" >&5
5919 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5920 echo $ac_n "(cached) $ac_c" 1>&6
5922 echo 'void f(){}' > conftest.c
5923 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5932 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5933 if test "$ac_test_CFLAGS" = set; then
5934 CFLAGS
="$ac_save_CFLAGS"
5935 elif test $ac_cv_prog_cc_g = yes; then
5936 if test "$GCC" = yes; then
5942 if test "$GCC" = yes; then
5950 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5952 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5953 echo "configure:5954: checking how to run the C preprocessor" >&5
5954 # On Suns, sometimes $CPP names a directory.
5955 if test -n "$CPP" && test -d "$CPP"; then
5958 if test -z "$CPP"; then
5959 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5960 echo $ac_n "(cached) $ac_c" 1>&6
5962 # This must be in double quotes, not single quotes, because CPP may get
5963 # substituted into the Makefile and "${CC-cc}" will confuse make.
5965 # On the NeXT, cc -E runs the code through the compiler's parser,
5966 # not just through cpp.
5967 cat > conftest.
$ac_ext <<EOF
5968 #line 5969 "configure"
5969 #include "confdefs.h"
5973 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5974 { (eval echo configure
:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5975 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5976 if test -z "$ac_err"; then
5980 echo "configure: failed program was:" >&5
5981 cat conftest.
$ac_ext >&5
5983 CPP
="${CC-cc} -E -traditional-cpp"
5984 cat > conftest.
$ac_ext <<EOF
5985 #line 5986 "configure"
5986 #include "confdefs.h"
5990 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5991 { (eval echo configure
:5992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5992 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5993 if test -z "$ac_err"; then
5997 echo "configure: failed program was:" >&5
5998 cat conftest.
$ac_ext >&5
6000 CPP
="${CC-cc} -nologo -E"
6001 cat > conftest.
$ac_ext <<EOF
6002 #line 6003 "configure"
6003 #include "confdefs.h"
6007 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6008 { (eval echo configure
:6009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6009 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6010 if test -z "$ac_err"; then
6014 echo "configure: failed program was:" >&5
6015 cat conftest.
$ac_ext >&5
6024 ac_cv_prog_CPP
="$CPP"
6026 CPP
="$ac_cv_prog_CPP"
6028 ac_cv_prog_CPP
="$CPP"
6030 echo "$ac_t""$CPP" 1>&6
6033 if test $ac_cv_prog_gcc = yes; then
6034 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6035 echo "configure:6036: checking whether ${CC-cc} needs -traditional" >&5
6036 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6037 echo $ac_n "(cached) $ac_c" 1>&6
6039 ac_pattern
="Autoconf.*'x'"
6040 cat > conftest.
$ac_ext <<EOF
6041 #line 6042 "configure"
6042 #include "confdefs.h"
6046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6047 egrep "$ac_pattern" >/dev
/null
2>&1; then
6049 ac_cv_prog_gcc_traditional
=yes
6052 ac_cv_prog_gcc_traditional
=no
6057 if test $ac_cv_prog_gcc_traditional = no
; then
6058 cat > conftest.
$ac_ext <<EOF
6059 #line 6060 "configure"
6060 #include "confdefs.h"
6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6065 egrep "$ac_pattern" >/dev
/null
2>&1; then
6067 ac_cv_prog_gcc_traditional
=yes
6074 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6075 if test $ac_cv_prog_gcc_traditional = yes; then
6076 CC
="$CC -traditional"
6083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6084 ac_cpp
='$CXXCPP $CPPFLAGS'
6085 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6086 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6087 cross_compiling
=$ac_cv_prog_cxx_cross
6090 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6092 # Extract the first word of "$ac_prog", so it can be a program name with args.
6093 set dummy
$ac_prog; ac_word
=$2
6094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6095 echo "configure:6096: checking for $ac_word" >&5
6096 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6097 echo $ac_n "(cached) $ac_c" 1>&6
6099 if test -n "$CXX"; then
6100 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6104 for ac_dir
in $ac_dummy; do
6105 test -z "$ac_dir" && ac_dir
=.
6106 if test -f $ac_dir/$ac_word; then
6107 ac_cv_prog_CXX
="$ac_prog"
6114 CXX
="$ac_cv_prog_CXX"
6115 if test -n "$CXX"; then
6116 echo "$ac_t""$CXX" 1>&6
6118 echo "$ac_t""no" 1>&6
6121 test -n "$CXX" && break
6123 test -n "$CXX" || CXX
="gcc"
6126 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6127 echo "configure:6128: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6131 ac_cpp
='$CXXCPP $CPPFLAGS'
6132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6134 cross_compiling
=$ac_cv_prog_cxx_cross
6136 cat > conftest.
$ac_ext << EOF
6138 #line 6139 "configure"
6139 #include "confdefs.h"
6141 int main(){return(0);}
6143 if { (eval echo configure
:6144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6144 ac_cv_prog_cxx_works
=yes
6145 # If we can't run a trivial program, we are probably using a cross compiler.
6146 if (.
/conftest
; exit) 2>/dev
/null
; then
6147 ac_cv_prog_cxx_cross
=no
6149 ac_cv_prog_cxx_cross
=yes
6152 echo "configure: failed program was:" >&5
6153 cat conftest.
$ac_ext >&5
6154 ac_cv_prog_cxx_works
=no
6158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6159 ac_cpp
='$CXXCPP $CPPFLAGS'
6160 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6161 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6162 cross_compiling
=$ac_cv_prog_cxx_cross
6164 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6165 if test $ac_cv_prog_cxx_works = no
; then
6166 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6168 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6169 echo "configure:6170: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6170 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6171 cross_compiling
=$ac_cv_prog_cxx_cross
6173 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6174 echo "configure:6175: checking whether we are using GNU C++" >&5
6175 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6176 echo $ac_n "(cached) $ac_c" 1>&6
6178 cat > conftest.C
<<EOF
6183 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6190 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6192 if test $ac_cv_prog_gxx = yes; then
6198 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6199 ac_save_CXXFLAGS
="$CXXFLAGS"
6201 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6202 echo "configure:6203: checking whether ${CXX-g++} accepts -g" >&5
6203 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6206 echo 'void f(){}' > conftest.cc
6207 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6208 ac_cv_prog_cxx_g
=yes
6216 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6217 if test "$ac_test_CXXFLAGS" = set; then
6218 CXXFLAGS
="$ac_save_CXXFLAGS"
6219 elif test $ac_cv_prog_cxx_g = yes; then
6220 if test "$GXX" = yes; then
6226 if test "$GXX" = yes; then
6234 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6235 echo "configure:6236: checking how to run the C++ preprocessor" >&5
6236 if test -z "$CXXCPP"; then
6237 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6238 echo $ac_n "(cached) $ac_c" 1>&6
6241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6242 ac_cpp
='$CXXCPP $CPPFLAGS'
6243 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6244 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6245 cross_compiling
=$ac_cv_prog_cxx_cross
6246 CXXCPP
="${CXX-g++} -E"
6247 cat > conftest.
$ac_ext <<EOF
6248 #line 6249 "configure"
6249 #include "confdefs.h"
6252 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6253 { (eval echo configure
:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6254 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6255 if test -z "$ac_err"; then
6259 echo "configure: failed program was:" >&5
6260 cat conftest.
$ac_ext >&5
6265 ac_cv_prog_CXXCPP
="$CXXCPP"
6267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6268 ac_cpp
='$CXXCPP $CPPFLAGS'
6269 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6270 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6271 cross_compiling
=$ac_cv_prog_cxx_cross
6274 CXXCPP
="$ac_cv_prog_CXXCPP"
6275 echo "$ac_t""$CXXCPP" 1>&6
6278 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6282 ac_cpp
='$CPP $CPPFLAGS'
6283 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6284 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6285 cross_compiling
=$ac_cv_prog_cc_cross
6288 # Extract the first word of "ranlib", so it can be a program name with args.
6289 set dummy ranlib
; ac_word
=$2
6290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6291 echo "configure:6292: checking for $ac_word" >&5
6292 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6293 echo $ac_n "(cached) $ac_c" 1>&6
6295 if test -n "$RANLIB"; then
6296 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6298 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6300 for ac_dir
in $ac_dummy; do
6301 test -z "$ac_dir" && ac_dir
=.
6302 if test -f $ac_dir/$ac_word; then
6303 ac_cv_prog_RANLIB
="ranlib"
6308 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6311 RANLIB
="$ac_cv_prog_RANLIB"
6312 if test -n "$RANLIB"; then
6313 echo "$ac_t""$RANLIB" 1>&6
6315 echo "$ac_t""no" 1>&6
6319 # Extract the first word of "ar", so it can be a program name with args.
6320 set dummy
ar; ac_word
=$2
6321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6322 echo "configure:6323: checking for $ac_word" >&5
6323 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6324 echo $ac_n "(cached) $ac_c" 1>&6
6326 if test -n "$AR"; then
6327 ac_cv_prog_AR
="$AR" # Let the user override the test.
6329 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6331 for ac_dir
in $ac_dummy; do
6332 test -z "$ac_dir" && ac_dir
=.
6333 if test -f $ac_dir/$ac_word; then
6339 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6343 if test -n "$AR"; then
6344 echo "$ac_t""$AR" 1>&6
6346 echo "$ac_t""no" 1>&6
6351 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
6352 if test -f $ac_dir/install-sh; then
6354 ac_install_sh
="$ac_aux_dir/install-sh -c"
6356 elif test -f $ac_dir/install.sh
; then
6358 ac_install_sh
="$ac_aux_dir/install.sh -c"
6362 if test -z "$ac_aux_dir"; then
6363 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
6365 ac_config_guess
=$ac_aux_dir/config.guess
6366 ac_config_sub
=$ac_aux_dir/config.sub
6367 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
6369 # Find a good install program. We prefer a C program (faster),
6370 # so one script is as good as another. But avoid the broken or
6371 # incompatible versions:
6372 # SysV /etc/install, /usr/sbin/install
6373 # SunOS /usr/etc/install
6374 # IRIX /sbin/install
6376 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6377 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6378 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6379 # ./install, which can be erroneously created by make from ./install.sh.
6380 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6381 echo "configure:6382: checking for a BSD compatible install" >&5
6382 if test -z "$INSTALL"; then
6383 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6384 echo $ac_n "(cached) $ac_c" 1>&6
6386 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6387 for ac_dir
in $PATH; do
6388 # Account for people who put trailing slashes in PATH elements.
6390 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6392 # OSF1 and SCO ODT 3.0 have their own names for install.
6393 # Don't use installbsd from OSF since it installs stuff as root
6395 for ac_prog
in ginstall scoinst
install; do
6396 if test -f $ac_dir/$ac_prog; then
6397 if test $ac_prog = install &&
6398 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6399 # AIX install. It has an incompatible calling convention.
6402 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6413 if test "${ac_cv_path_install+set}" = set; then
6414 INSTALL
="$ac_cv_path_install"
6416 # As a last resort, use the slow shell script. We don't cache a
6417 # path for INSTALL within a source directory, because that will
6418 # break other packages using the cache if that directory is
6419 # removed, or if the path is relative.
6420 INSTALL
="$ac_install_sh"
6423 echo "$ac_t""$INSTALL" 1>&6
6425 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6426 # It thinks the first close brace ends the variable substitution.
6427 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6429 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6431 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6434 # Extract the first word of "strip", so it can be a program name with args.
6435 set dummy strip
; ac_word
=$2
6436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6437 echo "configure:6438: checking for $ac_word" >&5
6438 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6439 echo $ac_n "(cached) $ac_c" 1>&6
6441 if test -n "$STRIP"; then
6442 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6444 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6446 for ac_dir
in $ac_dummy; do
6447 test -z "$ac_dir" && ac_dir
=.
6448 if test -f $ac_dir/$ac_word; then
6449 ac_cv_prog_STRIP
="strip"
6454 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6457 STRIP
="$ac_cv_prog_STRIP"
6458 if test -n "$STRIP"; then
6459 echo "$ac_t""$STRIP" 1>&6
6461 echo "$ac_t""no" 1>&6
6465 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6466 echo "configure:6467: checking "make for VPATH support
"" >&5
6467 cat - << EOF > confMake
6473 if test ! -d sub
; then
6476 echo dummy
> sub
/file
6477 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6479 rm -f sub
/file check final_file confMake
6481 if test "$RESULT" = 0; then
6482 echo "$ac_t""yes" 1>&6
6484 echo "$ac_t""no" 1>&6
6485 { echo "configure: error: You need a make-utility that is able to use the variable
6487 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6490 for ac_prog
in 'bison -y' byacc
6492 # Extract the first word of "$ac_prog", so it can be a program name with args.
6493 set dummy
$ac_prog; ac_word
=$2
6494 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6495 echo "configure:6496: checking for $ac_word" >&5
6496 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6497 echo $ac_n "(cached) $ac_c" 1>&6
6499 if test -n "$YACC"; then
6500 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6502 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6504 for ac_dir
in $ac_dummy; do
6505 test -z "$ac_dir" && ac_dir
=.
6506 if test -f $ac_dir/$ac_word; then
6507 ac_cv_prog_YACC
="$ac_prog"
6514 YACC
="$ac_cv_prog_YACC"
6515 if test -n "$YACC"; then
6516 echo "$ac_t""$YACC" 1>&6
6518 echo "$ac_t""no" 1>&6
6521 test -n "$YACC" && break
6523 test -n "$YACC" || YACC
="yacc"
6526 # Extract the first word of "flex", so it can be a program name with args.
6527 set dummy flex
; ac_word
=$2
6528 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6529 echo "configure:6530: checking for $ac_word" >&5
6530 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6531 echo $ac_n "(cached) $ac_c" 1>&6
6533 if test -n "$LEX"; then
6534 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6536 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6538 for ac_dir
in $ac_dummy; do
6539 test -z "$ac_dir" && ac_dir
=.
6540 if test -f $ac_dir/$ac_word; then
6541 ac_cv_prog_LEX
="flex"
6546 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6549 LEX
="$ac_cv_prog_LEX"
6550 if test -n "$LEX"; then
6551 echo "$ac_t""$LEX" 1>&6
6553 echo "$ac_t""no" 1>&6
6556 if test -z "$LEXLIB"
6562 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6563 echo "configure:6564: checking for yywrap in -l$ac_lib" >&5
6564 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6565 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6566 echo $ac_n "(cached) $ac_c" 1>&6
6568 ac_save_LIBS
="$LIBS"
6569 LIBS
="-l$ac_lib $LIBS"
6570 cat > conftest.
$ac_ext <<EOF
6571 #line 6572 "configure"
6572 #include "confdefs.h"
6573 /* Override any gcc2 internal prototype to avoid an error. */
6574 /* We use char because int might match the return type of a gcc2
6575 builtin and then its argument prototype would still apply. */
6582 if { (eval echo configure
:6583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6584 eval "ac_cv_lib_$ac_lib_var=yes"
6586 echo "configure: failed program was:" >&5
6587 cat conftest.
$ac_ext >&5
6589 eval "ac_cv_lib_$ac_lib_var=no"
6592 LIBS
="$ac_save_LIBS"
6595 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6596 echo "$ac_t""yes" 1>&6
6599 echo "$ac_t""no" 1>&6
6605 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6606 echo "configure:6607: checking whether ln -s works" >&5
6607 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6608 echo $ac_n "(cached) $ac_c" 1>&6
6611 if ln -s X conftestdata
2>/dev
/null
6614 ac_cv_prog_LN_S
="ln -s"
6619 LN_S
="$ac_cv_prog_LN_S"
6620 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6621 echo "$ac_t""yes" 1>&6
6623 echo "$ac_t""no" 1>&6
6629 /usr/local/include \
6631 /usr/Motif-1.2/include \
6632 /usr/Motif-2.1/include \
6634 /usr/include/Motif1.2 \
6635 /opt/xpm/include/X11 \
6636 /opt/GBxpm/include/ \
6637 /opt/GBxpm/X11/include/ \
6639 /usr/Motif1.2/include \
6641 /usr/openwin/include \
6645 /usr/X11R6/include \
6646 /usr/X11R6.4/include \
6647 /usr/X11R5/include \
6648 /usr/X11R4/include \
6650 /usr/include/X11R6 \
6651 /usr/include/X11R5 \
6652 /usr/include/X11R4 \
6654 /usr/local/X11R6/include \
6655 /usr/local/X11R5/include \
6656 /usr/local/X11R4/include \
6658 /usr/local/include/X11R6 \
6659 /usr/local/include/X11R5 \
6660 /usr/local/include/X11R4 \
6664 /usr/local/X11/include \
6665 /usr/local/include/X11 \
6669 /usr/XFree86/include/X11 \
6671 X:/XFree86/include \
6672 X:/XFree86/include/X11 \
6675 /usr/local/include/gtk \
6677 /usr/local/include/glib \
6680 /usr/local/include/qt \
6682 /usr/include/windows \
6684 /usr/local/include/wine \
6686 /usr/unsupported/include \
6687 /usr/athena/include \
6688 /usr/local/x11r5/include \
6689 /usr/lpp/Xamples/include \
6691 /usr/openwin/share/include \
6695 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6698 cat > confcache
<<\EOF
6699 # This file is a shell script that caches the results of configure
6700 # tests run on this system so they can be shared between configure
6701 # scripts and configure runs. It is not useful on other systems.
6702 # If it contains results you don't want to keep, you may remove or edit it.
6704 # By default, configure uses ./config.cache as the cache file,
6705 # creating it if it does not exist already. You can give configure
6706 # the --cache-file=FILE option to use a different cache file; that is
6707 # what configure does when it calls configure scripts in
6708 # subdirectories, so they share the cache.
6709 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6710 # config.status only pays attention to the cache file if you give it the
6711 # --recheck option to rerun configure.
6714 # The following way of writing the cache mishandles newlines in values,
6715 # but we know of no workaround that is simple, portable, and efficient.
6716 # So, don't put newlines in cache variables' values.
6717 # Ultrix sh set writes to stderr and can't be redirected directly,
6718 # and sets the high bit in the cache file unless we assign to the vars.
6720 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6722 # `set' does not quote correctly, so add quotes (double-quote substitution
6723 # turns \\\\ into \\, and sed turns \\ into \).
6725 -e "s/'/'\\\\''/g" \
6726 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6729 # `set' quotes correctly as required by POSIX, so do not add quotes.
6730 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6733 if cmp -s $cache_file confcache
; then
6736 if test -w $cache_file; then
6737 echo "updating cache $cache_file"
6738 cat confcache
> $cache_file
6740 echo "not updating unwritable cache $cache_file"
6749 if test "$wxUSE_GUI" = "yes"; then
6768 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6769 if test "$cross_compiling" = "yes" ; then
6770 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6772 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6773 echo "configure:6774: checking for Windows headers" >&5
6776 for ac_dir
in $SEARCH_INCLUDE;
6778 if test -f "$ac_dir/windows.h"; then
6779 ac_find_includes
=$ac_dir
6784 if test "$ac_find_includes" != "" ; then
6785 echo "$ac_t""found $ac_find_includes" 1>&6
6786 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6788 echo "$ac_t""no" 1>&6
6789 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6793 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6794 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6796 if test "$wxUSE_MINGW" = 1; then
6797 LDFLAGS
="$LDFLAGS -mwindows"
6802 GUIOBJS
="\$(MSW_GUIOBJS)"
6803 GUIHEADERS
="\$(MSW_HEADERS)"
6804 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6805 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6810 if test "$wxUSE_GTK" = 1; then
6812 if test x
$gtk_config_exec_prefix != x
; then
6813 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6814 if test x
${GTK_CONFIG+set} != xset
; then
6815 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6818 if test x
$gtk_config_prefix != x
; then
6819 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6820 if test x
${GTK_CONFIG+set} != xset
; then
6821 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6825 # Extract the first word of "gtk-config", so it can be a program name with args.
6826 set dummy gtk
-config; ac_word
=$2
6827 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6828 echo "configure:6829: checking for $ac_word" >&5
6829 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6830 echo $ac_n "(cached) $ac_c" 1>&6
6832 case "$GTK_CONFIG" in
6834 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6837 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6840 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6842 for ac_dir
in $ac_dummy; do
6843 test -z "$ac_dir" && ac_dir
=.
6844 if test -f $ac_dir/$ac_word; then
6845 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6850 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6854 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6855 if test -n "$GTK_CONFIG"; then
6856 echo "$ac_t""$GTK_CONFIG" 1>&6
6858 echo "$ac_t""no" 1>&6
6861 min_gtk_version
=1.2.3
6862 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6863 echo "configure:6864: checking for GTK - version >= $min_gtk_version" >&5
6865 if test "$GTK_CONFIG" != "no" ; then
6866 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6867 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
6868 ac_save_CFLAGS
="$CFLAGS"
6869 ac_save_LIBS
="$LIBS"
6870 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6871 LIBS
="$LIBS $GTK_LIBS"
6872 if test "$cross_compiling" = yes; then
6873 echo $ac_n "cross compiling; assumed OK... $ac_c"
6875 cat > conftest.
$ac_ext <<EOF
6876 #line 6877 "configure"
6877 #include "confdefs.h"
6879 #include <gtk/gtk.h>
6880 #include <gtk/gtkfeatures.h>
6886 int major, minor, micro;
6888 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6889 printf("%s, bad version string\n", "$min_gtk_version");
6893 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6894 (GTK_MINOR_VERSION != gtk_minor_version) ||
6895 (GTK_MICRO_VERSION != gtk_micro_version)) {
6896 printf("Headers vs. library version mismatch!\n");
6900 if (gtk_minor_version == 1) return FALSE;
6902 return !((gtk_major_version > major) ||
6903 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6904 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6908 if { (eval echo configure
:6909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6912 echo "configure: failed program was:" >&5
6913 cat conftest.
$ac_ext >&5
6920 CFLAGS
="$ac_save_CFLAGS"
6921 LIBS
="$ac_save_LIBS"
6925 if test "x$no_gtk" = x
; then
6926 echo "$ac_t""yes" 1>&6
6929 echo "$ac_t""no" 1>&6
6938 if test "$WXGTK12" != 1; then
6939 { echo "configure: error:
6940 Please check that gtk-config is in path, the directory
6941 where GTK+ libraries are installed (returned by
6942 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
6943 equivalent variable and GTK+ is version 1.2.3 or above.
6948 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6951 GUI_TK_LIBRARY
="$GTK_LIBS"
6955 AFMINSTALL
=afminstall
6957 GUIOBJS
="\$(GTK_GUIOBJS)"
6958 GUIHEADERS
="\$(GTK_HEADERS)"
6959 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6960 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6961 GUIDEPS
="\$(GTK_GUIDEPS)"
6962 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6963 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6964 UNIXOBJS
="\$(UNIX_OBJS)"
6965 UNIXDEPS
="\$(UNIX_DEPS)"
6968 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
6969 echo "configure:6970: checking for gdk_im_open in -lgdk" >&5
6970 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
6971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6972 echo $ac_n "(cached) $ac_c" 1>&6
6974 ac_save_LIBS
="$LIBS"
6976 cat > conftest.
$ac_ext <<EOF
6977 #line 6978 "configure"
6978 #include "confdefs.h"
6979 /* Override any gcc2 internal prototype to avoid an error. */
6980 /* We use char because int might match the return type of a gcc2
6981 builtin and then its argument prototype would still apply. */
6988 if { (eval echo configure
:6989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6990 eval "ac_cv_lib_$ac_lib_var=yes"
6992 echo "configure: failed program was:" >&5
6993 cat conftest.
$ac_ext >&5
6995 eval "ac_cv_lib_$ac_lib_var=no"
6998 LIBS
="$ac_save_LIBS"
7001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7002 echo "$ac_t""yes" 1>&6
7003 cat >> confdefs.h
<<\EOF
7008 echo "$ac_t""no" 1>&6
7013 if test "$wxUSE_WINE" = 1; then
7014 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7015 echo "configure:7016: checking for WINE includes" >&5
7018 for ac_dir
in $SEARCH_INCLUDE;
7020 if test -f "$ac_dir/windows.h"; then
7021 ac_find_includes
=$ac_dir
7026 if test "$ac_find_includes" != "" ; then
7027 echo "$ac_t""found $ac_find_includes" 1>&6
7028 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7030 echo "$ac_t""no" 1>&6
7031 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7035 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7036 echo "configure:7037: checking for Xpm library" >&5
7039 for ac_dir
in $SEARCH_LIB;
7041 for ac_extension
in a so sl
; do
7042 if test -f "$ac_dir/libXpm.$ac_extension"; then
7043 ac_find_libraries
=$ac_dir
7049 if test "$ac_find_libraries" != "" ; then
7050 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7052 cat >> confdefs.h
<<\EOF
7053 #define wxHAVE_LIB_XPM 1
7056 echo "$ac_t""found at $ac_find_libraries" 1>&6
7058 echo "$ac_t""no" 1>&6
7059 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7063 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7064 echo "configure:7065: checking for Mesa library" >&5
7067 for ac_dir
in $SEARCH_LIB;
7069 for ac_extension
in a so sl
; do
7070 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7071 ac_find_libraries
=$ac_dir
7077 if test "$ac_find_libraries" != "" ; then
7078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7079 MESA_LINK
="-lMesaGL"
7080 echo "$ac_t""found at $ac_find_libraries" 1>&6
7082 { echo "configure: error: no" 1>&2; exit 1; }
7085 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7086 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7090 GUIHEADERS
="\$(MSW_HEADERS)"
7091 GUIOBJS
="\$(MSW_GUIOBJS)"
7092 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7093 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7094 GUIDEPS
="\$(MSW_GUIDEPS)"
7095 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7096 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7097 UNIXOBJS
="\$(UNIX_OBJS)"
7098 UNIXDEPS
="\$(UNIX_DEPS)"
7102 if test "$wxUSE_MOTIF" = 1; then
7103 # If we find X, set shell vars x_includes and x_libraries to the
7104 # paths, otherwise set no_x=yes.
7105 # Uses ac_ vars as temps to allow command line to override cache and checks.
7106 # --without-x overrides everything else, but does not touch the cache.
7107 echo $ac_n "checking for X""... $ac_c" 1>&6
7108 echo "configure:7109: checking for X" >&5
7110 # Check whether --with-x or --without-x was given.
7111 if test "${with_x+set}" = set; then
7116 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7117 if test "x$with_x" = xno
; then
7118 # The user explicitly disabled X.
7121 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7122 # Both variables are already set.
7125 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7126 echo $ac_n "(cached) $ac_c" 1>&6
7128 # One or both of the vars are not set, and there is no cached value.
7129 ac_x_includes
=NO ac_x_libraries
=NO
7131 if mkdir conftestdir
; then
7133 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7134 cat > Imakefile
<<'EOF'
7136 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7138 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7139 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7140 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7141 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7142 for ac_extension
in a so sl
; do
7143 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7144 test -f $ac_im_libdir/libX11.
$ac_extension; then
7145 ac_im_usrlibdir
=$ac_im_libdir; break
7148 # Screen out bogus values from the imake configuration. They are
7149 # bogus both because they are the default anyway, and because
7150 # using them would break gcc on systems where it needs fixed includes.
7151 case "$ac_im_incroot" in
7153 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7155 case "$ac_im_usrlibdir" in
7157 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7164 if test "$ac_x_includes" = NO
; then
7165 # Guess where to find include files, by looking for this one X11 .h file.
7166 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7168 # First, try using that file with no special directory specified.
7169 cat > conftest.
$ac_ext <<EOF
7170 #line 7171 "configure"
7171 #include "confdefs.h"
7172 #include <$x_direct_test_include>
7174 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7175 { (eval echo configure
:7176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7176 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7177 if test -z "$ac_err"; then
7179 # We can compile using X headers with no special include directory.
7183 echo "configure: failed program was:" >&5
7184 cat conftest.
$ac_ext >&5
7186 # Look for the header file in a standard set of common directories.
7187 # Check X11 before X11Rn because it is often a symlink to the current release.
7190 /usr
/X
11R
6/include \
7191 /usr
/X
11R
5/include \
7192 /usr
/X
11R
4/include \
7195 /usr
/include
/X11R6 \
7196 /usr
/include
/X11R5 \
7197 /usr
/include
/X11R4 \
7199 /usr
/local
/X
11/include \
7200 /usr
/local
/X
11R
6/include \
7201 /usr
/local
/X
11R
5/include \
7202 /usr
/local
/X
11R
4/include \
7204 /usr
/local
/include
/X11 \
7205 /usr
/local
/include
/X11R6 \
7206 /usr
/local
/include
/X11R5 \
7207 /usr
/local
/include
/X11R4 \
7211 /usr
/XFree
86/include
/X11 \
7214 /usr
/local
/include \
7215 /usr
/unsupported
/include \
7216 /usr
/athena
/include \
7217 /usr
/local
/x
11r
5/include \
7218 /usr
/lpp
/Xamples
/include \
7220 /usr
/openwin
/include \
7221 /usr
/openwin
/share
/include \
7224 if test -r "$ac_dir/$x_direct_test_include"; then
7225 ac_x_includes
=$ac_dir
7231 fi # $ac_x_includes = NO
7233 if test "$ac_x_libraries" = NO
; then
7234 # Check for the libraries.
7236 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7237 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7239 # See if we find them without any special options.
7240 # Don't add to $LIBS permanently.
7241 ac_save_LIBS
="$LIBS"
7242 LIBS
="-l$x_direct_test_library $LIBS"
7243 cat > conftest.
$ac_ext <<EOF
7244 #line 7245 "configure"
7245 #include "confdefs.h"
7248 ${x_direct_test_function}()
7251 if { (eval echo configure
:7252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7253 LIBS
="$ac_save_LIBS"
7254 # We can link X programs with no special library path.
7257 echo "configure: failed program was:" >&5
7258 cat conftest.
$ac_ext >&5
7260 LIBS
="$ac_save_LIBS"
7261 # First see if replacing the include by lib works.
7262 # Check X11 before X11Rn because it is often a symlink to the current release.
7263 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7274 /usr
/local
/X
11/lib \
7275 /usr
/local
/X
11R
6/lib \
7276 /usr
/local
/X
11R
5/lib \
7277 /usr
/local
/X
11R
4/lib \
7279 /usr
/local
/lib
/X11 \
7280 /usr
/local
/lib
/X11R6 \
7281 /usr
/local
/lib
/X11R5 \
7282 /usr
/local
/lib
/X11R4 \
7286 /usr
/XFree
86/lib
/X11 \
7290 /usr
/unsupported
/lib \
7292 /usr
/local
/x
11r
5/lib \
7293 /usr
/lpp
/Xamples
/lib \
7297 /usr
/openwin
/share
/lib \
7300 for ac_extension
in a so sl
; do
7301 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7302 ac_x_libraries
=$ac_dir
7309 fi # $ac_x_libraries = NO
7311 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7312 # Didn't find X anywhere. Cache the known absence of X.
7313 ac_cv_have_x
="have_x=no"
7315 # Record where we found X for the cache.
7316 ac_cv_have_x
="have_x=yes \
7317 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7321 eval "$ac_cv_have_x"
7324 if test "$have_x" != yes; then
7325 echo "$ac_t""$have_x" 1>&6
7328 # If each of the values was on the command line, it overrides each guess.
7329 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7330 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7331 # Update the cache value to reflect the command line values.
7332 ac_cv_have_x
="have_x=yes \
7333 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7334 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7337 if test "$no_x" = yes; then
7338 # Not all programs may use this symbol, but it does not hurt to define it.
7339 cat >> confdefs.h
<<\EOF
7340 #define X_DISPLAY_MISSING 1
7343 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7345 if test -n "$x_includes"; then
7346 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7349 # It would also be nice to do this for all -L options, not just this one.
7350 if test -n "$x_libraries"; then
7351 X_LIBS
="$X_LIBS -L$x_libraries"
7352 # For Solaris; some versions of Sun CC require a space after -R and
7353 # others require no space. Words are not sufficient . . . .
7354 case "`(uname -sr) 2>/dev/null`" in
7356 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7357 echo "configure:7358: checking whether -R must be followed by a space" >&5
7358 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7359 cat > conftest.
$ac_ext <<EOF
7360 #line 7361 "configure"
7361 #include "confdefs.h"
7367 if { (eval echo configure
:7368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7371 echo "configure: failed program was:" >&5
7372 cat conftest.
$ac_ext >&5
7377 if test $ac_R_nospace = yes; then
7378 echo "$ac_t""no" 1>&6
7379 X_LIBS
="$X_LIBS -R$x_libraries"
7381 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7382 cat > conftest.
$ac_ext <<EOF
7383 #line 7384 "configure"
7384 #include "confdefs.h"
7390 if { (eval echo configure
:7391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7394 echo "configure: failed program was:" >&5
7395 cat conftest.
$ac_ext >&5
7400 if test $ac_R_space = yes; then
7401 echo "$ac_t""yes" 1>&6
7402 X_LIBS
="$X_LIBS -R $x_libraries"
7404 echo "$ac_t""neither works" 1>&6
7407 LIBS
="$ac_xsave_LIBS"
7411 # Check for system-dependent libraries X programs must link with.
7412 # Do this before checking for the system-independent R6 libraries
7413 # (-lICE), since we may need -lsocket or whatever for X linking.
7415 if test "$ISC" = yes; then
7416 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7418 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7419 # libraries were built with DECnet support. And karl@cs.umb.edu says
7420 # the Alpha needs dnet_stub (dnet does not exist).
7421 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7422 echo "configure:7423: checking for dnet_ntoa in -ldnet" >&5
7423 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7424 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7425 echo $ac_n "(cached) $ac_c" 1>&6
7427 ac_save_LIBS
="$LIBS"
7429 cat > conftest.
$ac_ext <<EOF
7430 #line 7431 "configure"
7431 #include "confdefs.h"
7432 /* Override any gcc2 internal prototype to avoid an error. */
7433 /* We use char because int might match the return type of a gcc2
7434 builtin and then its argument prototype would still apply. */
7441 if { (eval echo configure
:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7443 eval "ac_cv_lib_$ac_lib_var=yes"
7445 echo "configure: failed program was:" >&5
7446 cat conftest.
$ac_ext >&5
7448 eval "ac_cv_lib_$ac_lib_var=no"
7451 LIBS
="$ac_save_LIBS"
7454 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7455 echo "$ac_t""yes" 1>&6
7456 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7458 echo "$ac_t""no" 1>&6
7461 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7462 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7463 echo "configure:7464: checking for dnet_ntoa in -ldnet_stub" >&5
7464 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7466 echo $ac_n "(cached) $ac_c" 1>&6
7468 ac_save_LIBS
="$LIBS"
7469 LIBS
="-ldnet_stub $LIBS"
7470 cat > conftest.
$ac_ext <<EOF
7471 #line 7472 "configure"
7472 #include "confdefs.h"
7473 /* Override any gcc2 internal prototype to avoid an error. */
7474 /* We use char because int might match the return type of a gcc2
7475 builtin and then its argument prototype would still apply. */
7482 if { (eval echo configure
:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7484 eval "ac_cv_lib_$ac_lib_var=yes"
7486 echo "configure: failed program was:" >&5
7487 cat conftest.
$ac_ext >&5
7489 eval "ac_cv_lib_$ac_lib_var=no"
7492 LIBS
="$ac_save_LIBS"
7495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7496 echo "$ac_t""yes" 1>&6
7497 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7499 echo "$ac_t""no" 1>&6
7504 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7505 # to get the SysV transport functions.
7506 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7508 # The nsl library prevents programs from opening the X display
7509 # on Irix 5.2, according to dickey@clark.net.
7510 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7511 echo "configure:7512: checking for gethostbyname" >&5
7512 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7513 echo $ac_n "(cached) $ac_c" 1>&6
7515 cat > conftest.
$ac_ext <<EOF
7516 #line 7517 "configure"
7517 #include "confdefs.h"
7518 /* System header to define __stub macros and hopefully few prototypes,
7519 which can conflict with char gethostbyname(); below. */
7521 /* Override any gcc2 internal prototype to avoid an error. */
7522 /* We use char because int might match the return type of a gcc2
7523 builtin and then its argument prototype would still apply. */
7524 char gethostbyname();
7528 /* The GNU C library defines this for functions which it implements
7529 to always fail with ENOSYS. Some functions are actually named
7530 something starting with __ and the normal name is an alias. */
7531 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7539 if { (eval echo configure
:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7541 eval "ac_cv_func_gethostbyname=yes"
7543 echo "configure: failed program was:" >&5
7544 cat conftest.
$ac_ext >&5
7546 eval "ac_cv_func_gethostbyname=no"
7551 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7552 echo "$ac_t""yes" 1>&6
7555 echo "$ac_t""no" 1>&6
7558 if test $ac_cv_func_gethostbyname = no
; then
7559 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7560 echo "configure:7561: checking for gethostbyname in -lnsl" >&5
7561 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7562 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7563 echo $ac_n "(cached) $ac_c" 1>&6
7565 ac_save_LIBS
="$LIBS"
7567 cat > conftest.
$ac_ext <<EOF
7568 #line 7569 "configure"
7569 #include "confdefs.h"
7570 /* Override any gcc2 internal prototype to avoid an error. */
7571 /* We use char because int might match the return type of a gcc2
7572 builtin and then its argument prototype would still apply. */
7573 char gethostbyname();
7579 if { (eval echo configure
:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7581 eval "ac_cv_lib_$ac_lib_var=yes"
7583 echo "configure: failed program was:" >&5
7584 cat conftest.
$ac_ext >&5
7586 eval "ac_cv_lib_$ac_lib_var=no"
7589 LIBS
="$ac_save_LIBS"
7592 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7593 echo "$ac_t""yes" 1>&6
7594 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7596 echo "$ac_t""no" 1>&6
7601 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7602 # socket/setsockopt and other routines are undefined under SCO ODT
7603 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7604 # on later versions), says simon@lia.di.epfl.ch: it contains
7605 # gethostby* variants that don't use the nameserver (or something).
7606 # -lsocket must be given before -lnsl if both are needed.
7607 # We assume that if connect needs -lnsl, so does gethostbyname.
7608 echo $ac_n "checking for connect""... $ac_c" 1>&6
7609 echo "configure:7610: checking for connect" >&5
7610 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7611 echo $ac_n "(cached) $ac_c" 1>&6
7613 cat > conftest.
$ac_ext <<EOF
7614 #line 7615 "configure"
7615 #include "confdefs.h"
7616 /* System header to define __stub macros and hopefully few prototypes,
7617 which can conflict with char connect(); below. */
7619 /* Override any gcc2 internal prototype to avoid an error. */
7620 /* We use char because int might match the return type of a gcc2
7621 builtin and then its argument prototype would still apply. */
7626 /* The GNU C library defines this for functions which it implements
7627 to always fail with ENOSYS. Some functions are actually named
7628 something starting with __ and the normal name is an alias. */
7629 #if defined (__stub_connect) || defined (__stub___connect)
7637 if { (eval echo configure
:7638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7639 eval "ac_cv_func_connect=yes"
7641 echo "configure: failed program was:" >&5
7642 cat conftest.
$ac_ext >&5
7644 eval "ac_cv_func_connect=no"
7649 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7650 echo "$ac_t""yes" 1>&6
7653 echo "$ac_t""no" 1>&6
7656 if test $ac_cv_func_connect = no
; then
7657 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7658 echo "configure:7659: checking for connect in -lsocket" >&5
7659 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7660 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7661 echo $ac_n "(cached) $ac_c" 1>&6
7663 ac_save_LIBS
="$LIBS"
7664 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7665 cat > conftest.
$ac_ext <<EOF
7666 #line 7667 "configure"
7667 #include "confdefs.h"
7668 /* Override any gcc2 internal prototype to avoid an error. */
7669 /* We use char because int might match the return type of a gcc2
7670 builtin and then its argument prototype would still apply. */
7677 if { (eval echo configure
:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7679 eval "ac_cv_lib_$ac_lib_var=yes"
7681 echo "configure: failed program was:" >&5
7682 cat conftest.
$ac_ext >&5
7684 eval "ac_cv_lib_$ac_lib_var=no"
7687 LIBS
="$ac_save_LIBS"
7690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7691 echo "$ac_t""yes" 1>&6
7692 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7694 echo "$ac_t""no" 1>&6
7699 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7700 echo $ac_n "checking for remove""... $ac_c" 1>&6
7701 echo "configure:7702: checking for remove" >&5
7702 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7703 echo $ac_n "(cached) $ac_c" 1>&6
7705 cat > conftest.
$ac_ext <<EOF
7706 #line 7707 "configure"
7707 #include "confdefs.h"
7708 /* System header to define __stub macros and hopefully few prototypes,
7709 which can conflict with char remove(); below. */
7711 /* Override any gcc2 internal prototype to avoid an error. */
7712 /* We use char because int might match the return type of a gcc2
7713 builtin and then its argument prototype would still apply. */
7718 /* The GNU C library defines this for functions which it implements
7719 to always fail with ENOSYS. Some functions are actually named
7720 something starting with __ and the normal name is an alias. */
7721 #if defined (__stub_remove) || defined (__stub___remove)
7729 if { (eval echo configure
:7730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7731 eval "ac_cv_func_remove=yes"
7733 echo "configure: failed program was:" >&5
7734 cat conftest.
$ac_ext >&5
7736 eval "ac_cv_func_remove=no"
7741 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7742 echo "$ac_t""yes" 1>&6
7745 echo "$ac_t""no" 1>&6
7748 if test $ac_cv_func_remove = no
; then
7749 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7750 echo "configure:7751: checking for remove in -lposix" >&5
7751 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7752 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7753 echo $ac_n "(cached) $ac_c" 1>&6
7755 ac_save_LIBS
="$LIBS"
7756 LIBS
="-lposix $LIBS"
7757 cat > conftest.
$ac_ext <<EOF
7758 #line 7759 "configure"
7759 #include "confdefs.h"
7760 /* Override any gcc2 internal prototype to avoid an error. */
7761 /* We use char because int might match the return type of a gcc2
7762 builtin and then its argument prototype would still apply. */
7769 if { (eval echo configure
:7770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7771 eval "ac_cv_lib_$ac_lib_var=yes"
7773 echo "configure: failed program was:" >&5
7774 cat conftest.
$ac_ext >&5
7776 eval "ac_cv_lib_$ac_lib_var=no"
7779 LIBS
="$ac_save_LIBS"
7782 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7783 echo "$ac_t""yes" 1>&6
7784 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7786 echo "$ac_t""no" 1>&6
7791 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7792 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7793 echo "configure:7794: checking for shmat" >&5
7794 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7795 echo $ac_n "(cached) $ac_c" 1>&6
7797 cat > conftest.
$ac_ext <<EOF
7798 #line 7799 "configure"
7799 #include "confdefs.h"
7800 /* System header to define __stub macros and hopefully few prototypes,
7801 which can conflict with char shmat(); below. */
7803 /* Override any gcc2 internal prototype to avoid an error. */
7804 /* We use char because int might match the return type of a gcc2
7805 builtin and then its argument prototype would still apply. */
7810 /* The GNU C library defines this for functions which it implements
7811 to always fail with ENOSYS. Some functions are actually named
7812 something starting with __ and the normal name is an alias. */
7813 #if defined (__stub_shmat) || defined (__stub___shmat)
7821 if { (eval echo configure
:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7823 eval "ac_cv_func_shmat=yes"
7825 echo "configure: failed program was:" >&5
7826 cat conftest.
$ac_ext >&5
7828 eval "ac_cv_func_shmat=no"
7833 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7834 echo "$ac_t""yes" 1>&6
7837 echo "$ac_t""no" 1>&6
7840 if test $ac_cv_func_shmat = no
; then
7841 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7842 echo "configure:7843: checking for shmat in -lipc" >&5
7843 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7845 echo $ac_n "(cached) $ac_c" 1>&6
7847 ac_save_LIBS
="$LIBS"
7849 cat > conftest.
$ac_ext <<EOF
7850 #line 7851 "configure"
7851 #include "confdefs.h"
7852 /* Override any gcc2 internal prototype to avoid an error. */
7853 /* We use char because int might match the return type of a gcc2
7854 builtin and then its argument prototype would still apply. */
7861 if { (eval echo configure
:7862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7863 eval "ac_cv_lib_$ac_lib_var=yes"
7865 echo "configure: failed program was:" >&5
7866 cat conftest.
$ac_ext >&5
7868 eval "ac_cv_lib_$ac_lib_var=no"
7871 LIBS
="$ac_save_LIBS"
7874 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7875 echo "$ac_t""yes" 1>&6
7876 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7878 echo "$ac_t""no" 1>&6
7884 # Check for libraries that X11R6 Xt/Xaw programs need.
7885 ac_save_LDFLAGS
="$LDFLAGS"
7886 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7887 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7888 # check for ICE first), but we must link in the order -lSM -lICE or
7889 # we get undefined symbols. So assume we have SM if we have ICE.
7890 # These have to be linked with before -lX11, unlike the other
7891 # libraries we check for below, so use a different variable.
7892 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7893 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7894 echo "configure:7895: checking for IceConnectionNumber in -lICE" >&5
7895 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7896 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7897 echo $ac_n "(cached) $ac_c" 1>&6
7899 ac_save_LIBS
="$LIBS"
7900 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7901 cat > conftest.
$ac_ext <<EOF
7902 #line 7903 "configure"
7903 #include "confdefs.h"
7904 /* Override any gcc2 internal prototype to avoid an error. */
7905 /* We use char because int might match the return type of a gcc2
7906 builtin and then its argument prototype would still apply. */
7907 char IceConnectionNumber();
7910 IceConnectionNumber()
7913 if { (eval echo configure
:7914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7915 eval "ac_cv_lib_$ac_lib_var=yes"
7917 echo "configure: failed program was:" >&5
7918 cat conftest.
$ac_ext >&5
7920 eval "ac_cv_lib_$ac_lib_var=no"
7923 LIBS
="$ac_save_LIBS"
7926 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7927 echo "$ac_t""yes" 1>&6
7928 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7930 echo "$ac_t""no" 1>&6
7933 LDFLAGS
="$ac_save_LDFLAGS"
7938 if test "$no_x" = "yes"; then
7939 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7942 GUI_TK_LIBRARY
="$X_LIBS"
7943 TOOLKIT_INCLUDE
="$X_CFLAGS"
7945 AFMINSTALL
=afminstall
7948 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7949 echo "configure:7950: checking for Motif/Lesstif headers" >&5
7952 for ac_dir
in $SEARCH_INCLUDE;
7954 if test -f "$ac_dir/Xm/Xm.h"; then
7955 ac_find_includes
=$ac_dir
7960 if test "$ac_find_includes" != "" ; then
7961 echo "$ac_t""found $ac_find_includes" 1>&6
7963 echo "$ac_t""no" 1>&6
7964 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7967 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7968 echo "configure:7969: checking for Motif/Lesstif library" >&5
7971 for ac_dir
in $SEARCH_LIB;
7973 for ac_extension
in a so sl
; do
7974 if test -f "$ac_dir/libXm.$ac_extension"; then
7975 ac_find_libraries
=$ac_dir
7981 if test "$ac_find_libraries" != "" ; then
7983 ac_path_to_include
=$ac_find_includes
7984 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7986 if test $result = 0; then
7987 ac_path_to_include
=""
7989 ac_path_to_include
="-I$ac_find_includes"
7993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7995 if test $result = 0; then
7998 ac_path_to_link
="-L$ac_find_libraries"
8002 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8003 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8004 echo "$ac_t""found at $ac_find_libraries" 1>&6
8006 echo "$ac_t""no" 1>&6
8007 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8010 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
8011 echo "configure:8012: checking for Xt library" >&5
8014 for ac_dir
in $SEARCH_LIB;
8016 for ac_extension
in a so sl
; do
8017 if test -f "$ac_dir/libXt.$ac_extension"; then
8018 ac_find_libraries
=$ac_dir
8024 if test "$ac_find_libraries" != "" ; then
8026 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8028 if test $result = 0; then
8031 ac_path_to_link
="-L$ac_find_libraries"
8034 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8035 echo "$ac_t""found at $ac_find_libraries" 1>&6
8037 echo "$ac_t""no" 1>&6
8038 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
8042 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8043 echo "configure:8044: checking for Xpm library" >&5
8046 for ac_dir
in $SEARCH_LIB;
8048 for ac_extension
in a so sl
; do
8049 if test -f "$ac_dir/libXpm.$ac_extension"; then
8050 ac_find_libraries
=$ac_dir
8056 if test "$ac_find_libraries" != "" ; then
8058 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8060 if test $result = 0; then
8063 ac_path_to_link
="-L$ac_find_libraries"
8066 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8068 cat >> confdefs.h
<<\EOF
8069 #define wxHAVE_LIB_XPM 1
8072 echo "$ac_t""found at $ac_find_libraries" 1>&6
8074 echo "$ac_t""no" 1>&6
8075 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8078 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8079 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8082 GUIHEADERS
="\$(MOTIF_HEADERS)"
8083 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8084 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8085 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8086 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8087 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8088 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8089 UNIXOBJS
="\$(UNIX_OBJS)"
8090 UNIXDEPS
="\$(UNIX_DEPS)"
8094 if test "$wxUSE_PM" = 1; then
8097 GUIOBJS
="\$(PM_GUIOBJS)"
8098 GUIHEADERS
="\$(PM_HEADERS)"
8099 COMMONOBJS
="\$(PM_COMMONOBJS)"
8100 GENERICOBJS
="\$(PM_GENERICOBJS)"
8101 GUIDEPS
="\$(PM_GUIDEPS)"
8102 COMMONDEPS
="\$(PM_COMMONDEPS)"
8103 GENERICDEPS
="\$(PM_GENERICDEPS)"
8109 if test "$TOOLKIT" != "PM" ; then
8110 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8115 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8117 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8119 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(IODBCOBJS)"
8120 if test "$wxUSE_LIBJPEG" = "yes" ; then
8121 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8123 if test "$wxUSE_LIBTIFF" = "yes" ; then
8124 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8126 if test "$wxUSE_LIBPNG" = "yes" ; then
8127 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8129 if test "$wxUSE_ZLIB" = "yes" ; then
8130 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8132 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8134 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8135 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8136 RPM_SPEC
="wx\$(TOOLKIT).spec"
8138 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8139 DISTDIR
="wx\$(TOOLKIT)"
8144 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8145 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8149 PORT_FILES
="src/files.lst"
8150 RPM_FILES
="src/rpmfiles.lst"
8151 RPM_SPEC
="wxBase.spec"
8157 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8159 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8161 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8163 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8164 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8165 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8174 if test "$wxUSE_SHARED" = "yes"; then
8177 if test "$GCC" = yes ; then
8178 SHARED_LD
="${CC} -shared -fPIC -o"
8181 SHARED_LD
="${CXX} -b -o"
8184 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8185 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8189 SHARED_LD
="${CC} -shared -o"
8191 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8192 WX_ALL
="CREATE_LINKS"
8194 *-*-irix5* | *-*-irix6* )
8195 if test "$GCC" = yes ; then
8196 SHARED_LD
="${CC} -shared -o"
8199 SHARED_LD
="${CXX} -shared -o"
8201 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8202 WX_ALL
="CREATE_LINKS"
8205 if test "$GCC" = yes ; then
8206 SHARED_LD
="${CC} -shared -o"
8209 SHARED_LD
="${CXX} -G -o"
8212 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8213 WX_ALL
="CREATE_LINKS"
8216 SHARED_LD
="${CC} -shared -o"
8218 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8219 WX_ALL
="CREATE_LINKS"
8221 *-*-freebsd* | *-*-netbsd*)
8222 SHARED_LD
="${CC} -shared -o"
8224 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8225 WX_ALL
="CREATE_LINKS"
8228 SHARED_LD
="${CXX} -shared -o"
8230 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8231 WX_ALL
="CREATE_LINKS"
8234 SHARED_LD
="${CXX} -shared -o"
8236 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8237 WX_ALL
="CREATE_LINKS"
8240 SHARED_LD
="${CC} -shared -o"
8242 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8243 WX_ALL
="CREATE_LINKS"
8246 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8247 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8250 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8251 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8254 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8255 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8258 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8259 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8262 SHARED_LD
="${LD} -shared -o"
8264 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8265 WX_ALL
="CREATE_LINKS"
8268 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8271 if test "x$WX_TARGET_LIBRARY" = "x"; then
8272 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8275 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8276 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8280 for ac_hdr
in strings.h
8282 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8284 echo "configure:8285: checking for $ac_hdr" >&5
8285 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8286 echo $ac_n "(cached) $ac_c" 1>&6
8288 cat > conftest.
$ac_ext <<EOF
8289 #line 8290 "configure"
8290 #include "confdefs.h"
8293 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8294 { (eval echo configure
:8295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8295 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8296 if test -z "$ac_err"; then
8298 eval "ac_cv_header_$ac_safe=yes"
8301 echo "configure: failed program was:" >&5
8302 cat conftest.
$ac_ext >&5
8304 eval "ac_cv_header_$ac_safe=no"
8308 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8309 echo "$ac_t""yes" 1>&6
8310 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8311 cat >> confdefs.h
<<EOF
8312 #define $ac_tr_hdr 1
8316 echo "$ac_t""no" 1>&6
8320 for ac_hdr
in unistd.h
8322 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8324 echo "configure:8325: checking for $ac_hdr" >&5
8325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8326 echo $ac_n "(cached) $ac_c" 1>&6
8328 cat > conftest.
$ac_ext <<EOF
8329 #line 8330 "configure"
8330 #include "confdefs.h"
8333 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8334 { (eval echo configure
:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8335 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8336 if test -z "$ac_err"; then
8338 eval "ac_cv_header_$ac_safe=yes"
8341 echo "configure: failed program was:" >&5
8342 cat conftest.
$ac_ext >&5
8344 eval "ac_cv_header_$ac_safe=no"
8348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8349 echo "$ac_t""yes" 1>&6
8350 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8351 cat >> confdefs.h
<<EOF
8352 #define $ac_tr_hdr 1
8356 echo "$ac_t""no" 1>&6
8360 for ac_hdr
in wchar.h
8362 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8364 echo "configure:8365: checking for $ac_hdr" >&5
8365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8366 echo $ac_n "(cached) $ac_c" 1>&6
8368 cat > conftest.
$ac_ext <<EOF
8369 #line 8370 "configure"
8370 #include "confdefs.h"
8373 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8374 { (eval echo configure
:8375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8375 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8376 if test -z "$ac_err"; then
8378 eval "ac_cv_header_$ac_safe=yes"
8381 echo "configure: failed program was:" >&5
8382 cat conftest.
$ac_ext >&5
8384 eval "ac_cv_header_$ac_safe=no"
8388 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8389 echo "$ac_t""yes" 1>&6
8390 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8391 cat >> confdefs.h
<<EOF
8392 #define $ac_tr_hdr 1
8396 echo "$ac_t""no" 1>&6
8400 for ac_hdr
in wcstr.h
8402 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8404 echo "configure:8405: checking for $ac_hdr" >&5
8405 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8406 echo $ac_n "(cached) $ac_c" 1>&6
8408 cat > conftest.
$ac_ext <<EOF
8409 #line 8410 "configure"
8410 #include "confdefs.h"
8413 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8414 { (eval echo configure
:8415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8415 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8416 if test -z "$ac_err"; then
8418 eval "ac_cv_header_$ac_safe=yes"
8421 echo "configure: failed program was:" >&5
8422 cat conftest.
$ac_ext >&5
8424 eval "ac_cv_header_$ac_safe=no"
8428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8429 echo "$ac_t""yes" 1>&6
8430 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8431 cat >> confdefs.h
<<EOF
8432 #define $ac_tr_hdr 1
8436 echo "$ac_t""no" 1>&6
8440 for ac_hdr
in fnmatch.h
8442 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8443 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8444 echo "configure:8445: checking for $ac_hdr" >&5
8445 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8446 echo $ac_n "(cached) $ac_c" 1>&6
8448 cat > conftest.
$ac_ext <<EOF
8449 #line 8450 "configure"
8450 #include "confdefs.h"
8453 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8454 { (eval echo configure
:8455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8455 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8456 if test -z "$ac_err"; then
8458 eval "ac_cv_header_$ac_safe=yes"
8461 echo "configure: failed program was:" >&5
8462 cat conftest.
$ac_ext >&5
8464 eval "ac_cv_header_$ac_safe=no"
8468 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8469 echo "$ac_t""yes" 1>&6
8470 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8471 cat >> confdefs.h
<<EOF
8472 #define $ac_tr_hdr 1
8476 echo "$ac_t""no" 1>&6
8481 if test "$wxUSE_GUI" = "yes"; then
8482 for ac_hdr
in X
11/XKBlib.h
8484 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8485 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8486 echo "configure:8487: checking for $ac_hdr" >&5
8487 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8488 echo $ac_n "(cached) $ac_c" 1>&6
8490 cat > conftest.
$ac_ext <<EOF
8491 #line 8492 "configure"
8492 #include "confdefs.h"
8495 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8496 { (eval echo configure
:8497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8497 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8498 if test -z "$ac_err"; then
8500 eval "ac_cv_header_$ac_safe=yes"
8503 echo "configure: failed program was:" >&5
8504 cat conftest.
$ac_ext >&5
8506 eval "ac_cv_header_$ac_safe=no"
8510 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8511 echo "$ac_t""yes" 1>&6
8512 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8513 cat >> confdefs.h
<<EOF
8514 #define $ac_tr_hdr 1
8518 echo "$ac_t""no" 1>&6
8525 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8526 echo "configure:8527: checking for ANSI C header files" >&5
8527 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8530 cat > conftest.
$ac_ext <<EOF
8531 #line 8532 "configure"
8532 #include "confdefs.h"
8538 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8539 { (eval echo configure
:8540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8540 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8541 if test -z "$ac_err"; then
8543 ac_cv_header_stdc
=yes
8546 echo "configure: failed program was:" >&5
8547 cat conftest.
$ac_ext >&5
8549 ac_cv_header_stdc
=no
8553 if test $ac_cv_header_stdc = yes; then
8554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8555 cat > conftest.
$ac_ext <<EOF
8556 #line 8557 "configure"
8557 #include "confdefs.h"
8560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8561 egrep "memchr" >/dev
/null
2>&1; then
8565 ac_cv_header_stdc
=no
8571 if test $ac_cv_header_stdc = yes; then
8572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8573 cat > conftest.
$ac_ext <<EOF
8574 #line 8575 "configure"
8575 #include "confdefs.h"
8578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8579 egrep "free" >/dev
/null
2>&1; then
8583 ac_cv_header_stdc
=no
8589 if test $ac_cv_header_stdc = yes; then
8590 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8591 if test "$cross_compiling" = yes; then
8594 cat > conftest.
$ac_ext <<EOF
8595 #line 8596 "configure"
8596 #include "confdefs.h"
8598 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8599 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8600 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8601 int main () { int i; for (i = 0; i < 256; i++)
8602 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8606 if { (eval echo configure
:8607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8610 echo "configure: failed program was:" >&5
8611 cat conftest.
$ac_ext >&5
8613 ac_cv_header_stdc
=no
8621 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8622 if test $ac_cv_header_stdc = yes; then
8623 cat >> confdefs.h
<<\EOF
8624 #define STDC_HEADERS 1
8629 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8630 echo "configure:8631: checking for mode_t" >&5
8631 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8632 echo $ac_n "(cached) $ac_c" 1>&6
8634 cat > conftest.
$ac_ext <<EOF
8635 #line 8636 "configure"
8636 #include "confdefs.h"
8637 #include <sys/types.h>
8643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8644 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8646 ac_cv_type_mode_t
=yes
8649 ac_cv_type_mode_t
=no
8654 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8655 if test $ac_cv_type_mode_t = no
; then
8656 cat >> confdefs.h
<<\EOF
8662 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8663 echo "configure:8664: checking for off_t" >&5
8664 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8665 echo $ac_n "(cached) $ac_c" 1>&6
8667 cat > conftest.
$ac_ext <<EOF
8668 #line 8669 "configure"
8669 #include "confdefs.h"
8670 #include <sys/types.h>
8676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8677 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8679 ac_cv_type_off_t
=yes
8687 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8688 if test $ac_cv_type_off_t = no
; then
8689 cat >> confdefs.h
<<\EOF
8695 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8696 echo "configure:8697: checking for pid_t" >&5
8697 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8698 echo $ac_n "(cached) $ac_c" 1>&6
8700 cat > conftest.
$ac_ext <<EOF
8701 #line 8702 "configure"
8702 #include "confdefs.h"
8703 #include <sys/types.h>
8709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8710 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8712 ac_cv_type_pid_t
=yes
8720 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8721 if test $ac_cv_type_pid_t = no
; then
8722 cat >> confdefs.h
<<\EOF
8728 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8729 echo "configure:8730: checking for size_t" >&5
8730 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8731 echo $ac_n "(cached) $ac_c" 1>&6
8733 cat > conftest.
$ac_ext <<EOF
8734 #line 8735 "configure"
8735 #include "confdefs.h"
8736 #include <sys/types.h>
8742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8743 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8745 ac_cv_type_size_t
=yes
8748 ac_cv_type_size_t
=no
8753 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8754 if test $ac_cv_type_size_t = no
; then
8755 cat >> confdefs.h
<<\EOF
8756 #define size_t unsigned
8761 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8762 echo "configure:8763: checking for uid_t in sys/types.h" >&5
8763 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8764 echo $ac_n "(cached) $ac_c" 1>&6
8766 cat > conftest.
$ac_ext <<EOF
8767 #line 8768 "configure"
8768 #include "confdefs.h"
8769 #include <sys/types.h>
8771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8772 egrep "uid_t" >/dev
/null
2>&1; then
8774 ac_cv_type_uid_t
=yes
8783 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8784 if test $ac_cv_type_uid_t = no
; then
8785 cat >> confdefs.h
<<\EOF
8789 cat >> confdefs.h
<<\EOF
8797 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
8798 echo "configure:8799: checking for pw_gecos in struct passwd" >&5
8799 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
8800 echo $ac_n "(cached) $ac_c" 1>&6
8803 cat > conftest.
$ac_ext <<EOF
8804 #line 8805 "configure"
8805 #include "confdefs.h"
8815 if { (eval echo configure
:8816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8818 wx_cv_struct_pw_gecos
=yes
8819 cat >> confdefs.h
<<\EOF
8820 #define HAVE_PW_GECOS 1
8825 echo "configure: failed program was:" >&5
8826 cat conftest.
$ac_ext >&5
8829 wx_cv_struct_pw_gecos
=no
8838 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
8841 echo $ac_n "checking for working const""... $ac_c" 1>&6
8842 echo "configure:8843: checking for working const" >&5
8843 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8844 echo $ac_n "(cached) $ac_c" 1>&6
8846 cat > conftest.
$ac_ext <<EOF
8847 #line 8848 "configure"
8848 #include "confdefs.h"
8852 /* Ultrix mips cc rejects this. */
8853 typedef int charset[2]; const charset x;
8854 /* SunOS 4.1.1 cc rejects this. */
8855 char const *const *ccp;
8857 /* NEC SVR4.0.2 mips cc rejects this. */
8858 struct point {int x, y;};
8859 static struct point const zero = {0,0};
8860 /* AIX XL C 1.02.0.0 rejects this.
8861 It does not let you subtract one const X* pointer from another in an arm
8862 of an if-expression whose if-part is not a constant expression */
8863 const char *g = "string";
8864 ccp = &g + (g ? g-g : 0);
8865 /* HPUX 7.0 cc rejects these. */
8868 ccp = (char const *const *) p;
8869 { /* SCO 3.2v4 cc rejects this. */
8871 char const *s = 0 ? (char *) 0 : (char const *) 0;
8875 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8877 const int *foo = &x[0];
8880 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8881 typedef const int *iptr;
8885 { /* AIX XL C 1.02.0.0 rejects this saying
8886 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8887 struct s { int j; const int *ap[3]; };
8888 struct s *b; b->j = 5;
8890 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8896 if { (eval echo configure
:8897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8900 echo "configure: failed program was:" >&5
8901 cat conftest.
$ac_ext >&5
8908 echo "$ac_t""$ac_cv_c_const" 1>&6
8909 if test $ac_cv_c_const = no
; then
8910 cat >> confdefs.h
<<\EOF
8916 echo $ac_n "checking for inline""... $ac_c" 1>&6
8917 echo "configure:8918: checking for inline" >&5
8918 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8919 echo $ac_n "(cached) $ac_c" 1>&6
8922 for ac_kw
in inline __inline__ __inline
; do
8923 cat > conftest.
$ac_ext <<EOF
8924 #line 8925 "configure"
8925 #include "confdefs.h"
8931 if { (eval echo configure
:8932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8933 ac_cv_c_inline
=$ac_kw; break
8935 echo "configure: failed program was:" >&5
8936 cat conftest.
$ac_ext >&5
8943 echo "$ac_t""$ac_cv_c_inline" 1>&6
8944 case "$ac_cv_c_inline" in
8946 no
) cat >> confdefs.h
<<\EOF
8950 *) cat >> confdefs.h
<<EOF
8951 #define inline $ac_cv_c_inline
8957 echo $ac_n "checking size of char""... $ac_c" 1>&6
8958 echo "configure:8959: checking size of char" >&5
8959 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8960 echo $ac_n "(cached) $ac_c" 1>&6
8962 if test "$cross_compiling" = yes; then
8965 cat > conftest.
$ac_ext <<EOF
8966 #line 8967 "configure"
8967 #include "confdefs.h"
8971 FILE *f=fopen("conftestval", "w");
8973 fprintf(f, "%d\n", sizeof(char));
8977 if { (eval echo configure
:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8979 ac_cv_sizeof_char
=`cat conftestval`
8981 echo "configure: failed program was:" >&5
8982 cat conftest.
$ac_ext >&5
8990 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8991 cat >> confdefs.h
<<EOF
8992 #define SIZEOF_CHAR $ac_cv_sizeof_char
8996 echo $ac_n "checking size of short""... $ac_c" 1>&6
8997 echo "configure:8998: checking size of short" >&5
8998 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8999 echo $ac_n "(cached) $ac_c" 1>&6
9001 if test "$cross_compiling" = yes; then
9002 ac_cv_sizeof_short
=2
9004 cat > conftest.
$ac_ext <<EOF
9005 #line 9006 "configure"
9006 #include "confdefs.h"
9010 FILE *f=fopen("conftestval", "w");
9012 fprintf(f, "%d\n", sizeof(short));
9016 if { (eval echo configure
:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9018 ac_cv_sizeof_short
=`cat conftestval`
9020 echo "configure: failed program was:" >&5
9021 cat conftest.
$ac_ext >&5
9023 ac_cv_sizeof_short
=0
9029 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9030 cat >> confdefs.h
<<EOF
9031 #define SIZEOF_SHORT $ac_cv_sizeof_short
9035 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9036 echo "configure:9037: checking size of int *" >&5
9037 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9038 echo $ac_n "(cached) $ac_c" 1>&6
9040 if test "$cross_compiling" = yes; then
9041 ac_cv_sizeof_int_p
=4
9043 cat > conftest.
$ac_ext <<EOF
9044 #line 9045 "configure"
9045 #include "confdefs.h"
9049 FILE *f=fopen("conftestval", "w");
9051 fprintf(f, "%d\n", sizeof(int *));
9055 if { (eval echo configure
:9056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9057 ac_cv_sizeof_int_p
=`cat conftestval`
9059 echo "configure: failed program was:" >&5
9060 cat conftest.
$ac_ext >&5
9062 ac_cv_sizeof_int_p
=0
9068 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9069 cat >> confdefs.h
<<EOF
9070 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9074 echo $ac_n "checking size of int""... $ac_c" 1>&6
9075 echo "configure:9076: checking size of int" >&5
9076 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9077 echo $ac_n "(cached) $ac_c" 1>&6
9079 if test "$cross_compiling" = yes; then
9082 cat > conftest.
$ac_ext <<EOF
9083 #line 9084 "configure"
9084 #include "confdefs.h"
9088 FILE *f=fopen("conftestval", "w");
9090 fprintf(f, "%d\n", sizeof(int));
9094 if { (eval echo configure
:9095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9096 ac_cv_sizeof_int
=`cat conftestval`
9098 echo "configure: failed program was:" >&5
9099 cat conftest.
$ac_ext >&5
9107 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9108 cat >> confdefs.h
<<EOF
9109 #define SIZEOF_INT $ac_cv_sizeof_int
9113 echo $ac_n "checking size of long""... $ac_c" 1>&6
9114 echo "configure:9115: checking size of long" >&5
9115 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9116 echo $ac_n "(cached) $ac_c" 1>&6
9118 if test "$cross_compiling" = yes; then
9121 cat > conftest.
$ac_ext <<EOF
9122 #line 9123 "configure"
9123 #include "confdefs.h"
9127 FILE *f=fopen("conftestval", "w");
9129 fprintf(f, "%d\n", sizeof(long));
9133 if { (eval echo configure
:9134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9135 ac_cv_sizeof_long
=`cat conftestval`
9137 echo "configure: failed program was:" >&5
9138 cat conftest.
$ac_ext >&5
9146 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9147 cat >> confdefs.h
<<EOF
9148 #define SIZEOF_LONG $ac_cv_sizeof_long
9152 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9153 echo "configure:9154: checking size of long long" >&5
9154 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9157 if test "$cross_compiling" = yes; then
9158 ac_cv_sizeof_long_long
=0
9160 cat > conftest.
$ac_ext <<EOF
9161 #line 9162 "configure"
9162 #include "confdefs.h"
9166 FILE *f=fopen("conftestval", "w");
9168 fprintf(f, "%d\n", sizeof(long long));
9172 if { (eval echo configure
:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9174 ac_cv_sizeof_long_long
=`cat conftestval`
9176 echo "configure: failed program was:" >&5
9177 cat conftest.
$ac_ext >&5
9179 ac_cv_sizeof_long_long
=0
9185 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9186 cat >> confdefs.h
<<EOF
9187 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9192 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9193 echo "configure:9194: checking whether byte ordering is bigendian" >&5
9194 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9195 echo $ac_n "(cached) $ac_c" 1>&6
9197 ac_cv_c_bigendian
=unknown
9198 # See if sys/param.h defines the BYTE_ORDER macro.
9199 cat > conftest.
$ac_ext <<EOF
9200 #line 9201 "configure"
9201 #include "confdefs.h"
9202 #include <sys/types.h>
9203 #include <sys/param.h>
9206 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9211 if { (eval echo configure
:9212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9213 # It does; now see whether it defined to BIG_ENDIAN or not.
9214 cat > conftest.
$ac_ext <<EOF
9215 #line 9216 "configure"
9216 #include "confdefs.h"
9217 #include <sys/types.h>
9218 #include <sys/param.h>
9221 #if BYTE_ORDER != BIG_ENDIAN
9226 if { (eval echo configure
:9227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9228 ac_cv_c_bigendian
=yes
9230 echo "configure: failed program was:" >&5
9231 cat conftest.
$ac_ext >&5
9233 ac_cv_c_bigendian
=no
9237 echo "configure: failed program was:" >&5
9238 cat conftest.
$ac_ext >&5
9241 if test $ac_cv_c_bigendian = unknown
; then
9242 if test "$cross_compiling" = yes; then
9243 ac_cv_c_bigendian
=unknown
9245 cat > conftest.
$ac_ext <<EOF
9246 #line 9247 "configure"
9247 #include "confdefs.h"
9249 /* Are we little or big endian? From Harbison&Steele. */
9253 char c[sizeof (long)];
9256 exit (u.c[sizeof (long) - 1] == 1);
9259 if { (eval echo configure
:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9261 ac_cv_c_bigendian
=no
9263 echo "configure: failed program was:" >&5
9264 cat conftest.
$ac_ext >&5
9266 ac_cv_c_bigendian
=yes
9274 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9275 if test $ac_cv_c_bigendian = unknown
; then
9276 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
9278 if test $ac_cv_c_bigendian = yes; then
9279 cat >> confdefs.h
<<\EOF
9280 #define WORDS_BIGENDIAN 1
9287 if test "$cross_compiling" = "yes"; then
9288 cat >> confdefs.h
<<\EOF
9289 #define wxUSE_IOSTREAMH 1
9295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9296 ac_cpp
='$CXXCPP $CPPFLAGS'
9297 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9298 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9299 cross_compiling
=$ac_cv_prog_cxx_cross
9302 for ac_hdr
in iostream
9304 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9305 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9306 echo "configure:9307: checking for $ac_hdr" >&5
9307 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9308 echo $ac_n "(cached) $ac_c" 1>&6
9310 cat > conftest.
$ac_ext <<EOF
9311 #line 9312 "configure"
9312 #include "confdefs.h"
9315 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9316 { (eval echo configure
:9317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9317 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9318 if test -z "$ac_err"; then
9320 eval "ac_cv_header_$ac_safe=yes"
9323 echo "configure: failed program was:" >&5
9324 cat conftest.
$ac_ext >&5
9326 eval "ac_cv_header_$ac_safe=no"
9330 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9331 echo "$ac_t""yes" 1>&6
9332 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9333 cat >> confdefs.h
<<EOF
9334 #define $ac_tr_hdr 1
9338 echo "$ac_t""no" 1>&6
9343 if test "x$HAVE_IOSTREAM" = x
; then
9344 cat >> confdefs.h
<<\EOF
9345 #define wxUSE_IOSTREAMH 1
9353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9354 ac_cpp
='$CPP $CPPFLAGS'
9355 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9356 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9357 cross_compiling
=$ac_cv_prog_cc_cross
9363 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9364 echo "configure:9365: checking if C++ compiler supports bool" >&5
9365 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9366 echo $ac_n "(cached) $ac_c" 1>&6
9371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9372 ac_cpp
='$CXXCPP $CPPFLAGS'
9373 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9374 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9375 cross_compiling
=$ac_cv_prog_cxx_cross
9378 cat > conftest.
$ac_ext <<EOF
9379 #line 9380 "configure"
9380 #include "confdefs.h"
9391 if { (eval echo configure
:9392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9394 cat >> confdefs.h
<<\EOF
9401 echo "configure: failed program was:" >&5
9402 cat conftest.
$ac_ext >&5
9412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9413 ac_cpp
='$CPP $CPPFLAGS'
9414 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9415 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9416 cross_compiling
=$ac_cv_prog_cc_cross
9421 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9423 if test "$wx_cv_cpp_bool" = "yes"; then
9424 cat >> confdefs.h
<<\EOF
9432 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9433 echo "configure:9434: checking if you need GNU extensions" >&5
9434 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9435 echo $ac_n "(cached) $ac_c" 1>&6
9438 cat > conftest.
$ac_ext <<EOF
9439 #line 9440 "configure"
9440 #include "confdefs.h"
9441 #include <features.h>
9445 #ifndef __GNU_LIBRARY__
9446 Compile error wanted
9452 if { (eval echo configure
:9453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9454 wx_cv_gnu_extensions
=yes
9456 echo "configure: failed program was:" >&5
9457 cat conftest.
$ac_ext >&5
9459 wx_cv_gnu_extensions
=no
9466 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9467 if test "$wx_cv_gnu_extensions" = "yes"; then
9468 cat >> confdefs.h
<<EOF
9469 #define _GNU_SOURCE 1
9476 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9477 echo "configure:9478: checking for wcslen in -lc" >&5
9478 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9480 echo $ac_n "(cached) $ac_c" 1>&6
9482 ac_save_LIBS
="$LIBS"
9484 cat > conftest.
$ac_ext <<EOF
9485 #line 9486 "configure"
9486 #include "confdefs.h"
9487 /* Override any gcc2 internal prototype to avoid an error. */
9488 /* We use char because int might match the return type of a gcc2
9489 builtin and then its argument prototype would still apply. */
9496 if { (eval echo configure
:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9498 eval "ac_cv_lib_$ac_lib_var=yes"
9500 echo "configure: failed program was:" >&5
9501 cat conftest.
$ac_ext >&5
9503 eval "ac_cv_lib_$ac_lib_var=no"
9506 LIBS
="$ac_save_LIBS"
9509 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9510 echo "$ac_t""yes" 1>&6
9512 cat >> confdefs.h
<<\EOF
9513 #define HAVE_WCSLEN 1
9519 echo "$ac_t""no" 1>&6
9521 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9522 echo "configure:9523: checking for wcslen in -lw" >&5
9523 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9524 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9525 echo $ac_n "(cached) $ac_c" 1>&6
9527 ac_save_LIBS
="$LIBS"
9529 cat > conftest.
$ac_ext <<EOF
9530 #line 9531 "configure"
9531 #include "confdefs.h"
9532 /* Override any gcc2 internal prototype to avoid an error. */
9533 /* We use char because int might match the return type of a gcc2
9534 builtin and then its argument prototype would still apply. */
9541 if { (eval echo configure
:9542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9543 eval "ac_cv_lib_$ac_lib_var=yes"
9545 echo "configure: failed program was:" >&5
9546 cat conftest.
$ac_ext >&5
9548 eval "ac_cv_lib_$ac_lib_var=no"
9551 LIBS
="$ac_save_LIBS"
9554 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9555 echo "$ac_t""yes" 1>&6
9557 cat >> confdefs.h
<<\EOF
9558 #define HAVE_WCSLEN 1
9564 echo "$ac_t""no" 1>&6
9571 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9572 echo "configure:9573: checking for vprintf" >&5
9573 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9574 echo $ac_n "(cached) $ac_c" 1>&6
9576 cat > conftest.
$ac_ext <<EOF
9577 #line 9578 "configure"
9578 #include "confdefs.h"
9579 /* System header to define __stub macros and hopefully few prototypes,
9580 which can conflict with char vprintf(); below. */
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. */
9589 /* The GNU C library defines this for functions which it implements
9590 to always fail with ENOSYS. Some functions are actually named
9591 something starting with __ and the normal name is an alias. */
9592 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9600 if { (eval echo configure
:9601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9602 eval "ac_cv_func_vprintf=yes"
9604 echo "configure: failed program was:" >&5
9605 cat conftest.
$ac_ext >&5
9607 eval "ac_cv_func_vprintf=no"
9612 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9613 echo "$ac_t""yes" 1>&6
9614 cat >> confdefs.h
<<\EOF
9615 #define HAVE_VPRINTF 1
9619 echo "$ac_t""no" 1>&6
9622 if test "$ac_cv_func_vprintf" != yes; then
9623 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9624 echo "configure:9625: checking for _doprnt" >&5
9625 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9626 echo $ac_n "(cached) $ac_c" 1>&6
9628 cat > conftest.
$ac_ext <<EOF
9629 #line 9630 "configure"
9630 #include "confdefs.h"
9631 /* System header to define __stub macros and hopefully few prototypes,
9632 which can conflict with char _doprnt(); below. */
9634 /* Override any gcc2 internal prototype to avoid an error. */
9635 /* We use char because int might match the return type of a gcc2
9636 builtin and then its argument prototype would still apply. */
9641 /* The GNU C library defines this for functions which it implements
9642 to always fail with ENOSYS. Some functions are actually named
9643 something starting with __ and the normal name is an alias. */
9644 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9652 if { (eval echo configure
:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9654 eval "ac_cv_func__doprnt=yes"
9656 echo "configure: failed program was:" >&5
9657 cat conftest.
$ac_ext >&5
9659 eval "ac_cv_func__doprnt=no"
9664 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9665 echo "$ac_t""yes" 1>&6
9666 cat >> confdefs.h
<<\EOF
9667 #define HAVE_DOPRNT 1
9671 echo "$ac_t""no" 1>&6
9677 for ac_func
in vsnprintf
9679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9680 echo "configure:9681: checking for $ac_func" >&5
9681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9682 echo $ac_n "(cached) $ac_c" 1>&6
9684 cat > conftest.
$ac_ext <<EOF
9685 #line 9686 "configure"
9686 #include "confdefs.h"
9687 /* System header to define __stub macros and hopefully few prototypes,
9688 which can conflict with char $ac_func(); below. */
9690 /* Override any gcc2 internal prototype to avoid an error. */
9691 /* We use char because int might match the return type of a gcc2
9692 builtin and then its argument prototype would still apply. */
9697 /* The GNU C library defines this for functions which it implements
9698 to always fail with ENOSYS. Some functions are actually named
9699 something starting with __ and the normal name is an alias. */
9700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9708 if { (eval echo configure
:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9710 eval "ac_cv_func_$ac_func=yes"
9712 echo "configure: failed program was:" >&5
9713 cat conftest.
$ac_ext >&5
9715 eval "ac_cv_func_$ac_func=no"
9720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9721 echo "$ac_t""yes" 1>&6
9722 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9723 cat >> confdefs.h
<<EOF
9724 #define $ac_tr_func 1
9726 cat >> confdefs.h
<<\EOF
9727 #define HAVE_VSNPRINTF 1
9731 echo "$ac_t""no" 1>&6
9732 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9740 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9741 ac_cpp
='$CXXCPP $CPPFLAGS'
9742 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9743 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9744 cross_compiling
=$ac_cv_prog_cxx_cross
9747 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9748 echo "configure:9749: checking for vsscanf" >&5
9749 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9750 echo $ac_n "(cached) $ac_c" 1>&6
9753 if test "$cross_compiling" = yes; then
9754 wx_cv_func_vsscanf
=no
9757 cat > conftest.
$ac_ext <<EOF
9758 #line 9759 "configure"
9759 #include "confdefs.h"
9761 extern "C" void exit(int);
9767 int try_vsscanf(const char *format, ...)
9770 va_start(ap, format);
9772 vsscanf("17", format, ap);
9780 try_vsscanf("%d", &i);
9781 return i == 17 ? 0 : 1;
9785 if { (eval echo configure
:9786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9788 cat >> confdefs.h
<<\EOF
9789 #define HAVE_VSSCANF 1
9792 wx_cv_func_vsscanf
=yes
9795 echo "configure: failed program was:" >&5
9796 cat conftest.
$ac_ext >&5
9798 wx_cv_func_vsscanf
=no
9806 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9810 ac_cpp
='$CPP $CPPFLAGS'
9811 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9812 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9813 cross_compiling
=$ac_cv_prog_cc_cross
9816 if test "$USE_UNIX" = 1; then
9818 for ac_func
in vfork
9820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9821 echo "configure:9822: checking for $ac_func" >&5
9822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9825 cat > conftest.
$ac_ext <<EOF
9826 #line 9827 "configure"
9827 #include "confdefs.h"
9828 /* System header to define __stub macros and hopefully few prototypes,
9829 which can conflict with char $ac_func(); below. */
9831 /* Override any gcc2 internal prototype to avoid an error. */
9832 /* We use char because int might match the return type of a gcc2
9833 builtin and then its argument prototype would still apply. */
9838 /* The GNU C library defines this for functions which it implements
9839 to always fail with ENOSYS. Some functions are actually named
9840 something starting with __ and the normal name is an alias. */
9841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9849 if { (eval echo configure
:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9851 eval "ac_cv_func_$ac_func=yes"
9853 echo "configure: failed program was:" >&5
9854 cat conftest.
$ac_ext >&5
9856 eval "ac_cv_func_$ac_func=no"
9861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9862 echo "$ac_t""yes" 1>&6
9863 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9864 cat >> confdefs.h
<<EOF
9865 #define $ac_tr_func 1
9869 echo "$ac_t""no" 1>&6
9874 for ac_func
in timegm
9876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9877 echo "configure:9878: checking for $ac_func" >&5
9878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9879 echo $ac_n "(cached) $ac_c" 1>&6
9881 cat > conftest.
$ac_ext <<EOF
9882 #line 9883 "configure"
9883 #include "confdefs.h"
9884 /* System header to define __stub macros and hopefully few prototypes,
9885 which can conflict with char $ac_func(); below. */
9887 /* Override any gcc2 internal prototype to avoid an error. */
9888 /* We use char because int might match the return type of a gcc2
9889 builtin and then its argument prototype would still apply. */
9894 /* The GNU C library defines this for functions which it implements
9895 to always fail with ENOSYS. Some functions are actually named
9896 something starting with __ and the normal name is an alias. */
9897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9905 if { (eval echo configure
:9906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9907 eval "ac_cv_func_$ac_func=yes"
9909 echo "configure: failed program was:" >&5
9910 cat conftest.
$ac_ext >&5
9912 eval "ac_cv_func_$ac_func=no"
9917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9918 echo "$ac_t""yes" 1>&6
9919 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9920 cat >> confdefs.h
<<EOF
9921 #define $ac_tr_func 1
9925 echo "$ac_t""no" 1>&6
9930 HAVE_SOME_SLEEP_FUNC
=0
9931 if test "$USE_BEOS" = 1; then
9932 cat >> confdefs.h
<<\EOF
9933 #define HAVE_SLEEP 1
9936 HAVE_SOME_SLEEP_FUNC
=1
9939 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
9941 for ac_func
in nanosleep
9943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9944 echo "configure:9945: checking for $ac_func" >&5
9945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9946 echo $ac_n "(cached) $ac_c" 1>&6
9948 cat > conftest.
$ac_ext <<EOF
9949 #line 9950 "configure"
9950 #include "confdefs.h"
9951 /* System header to define __stub macros and hopefully few prototypes,
9952 which can conflict with char $ac_func(); below. */
9954 /* Override any gcc2 internal prototype to avoid an error. */
9955 /* We use char because int might match the return type of a gcc2
9956 builtin and then its argument prototype would still apply. */
9961 /* The GNU C library defines this for functions which it implements
9962 to always fail with ENOSYS. Some functions are actually named
9963 something starting with __ and the normal name is an alias. */
9964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9972 if { (eval echo configure
:9973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9974 eval "ac_cv_func_$ac_func=yes"
9976 echo "configure: failed program was:" >&5
9977 cat conftest.
$ac_ext >&5
9979 eval "ac_cv_func_$ac_func=no"
9984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9985 echo "$ac_t""yes" 1>&6
9986 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9987 cat >> confdefs.h
<<EOF
9988 #define $ac_tr_func 1
9990 cat >> confdefs.h
<<\EOF
9991 #define HAVE_NANOSLEEP 1
9995 echo "$ac_t""no" 1>&6
9996 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9997 echo "configure:9998: checking for nanosleep in -lposix4" >&5
9998 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9999 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10000 echo $ac_n "(cached) $ac_c" 1>&6
10002 ac_save_LIBS
="$LIBS"
10003 LIBS
="-lposix4 $LIBS"
10004 cat > conftest.
$ac_ext <<EOF
10005 #line 10006 "configure"
10006 #include "confdefs.h"
10007 /* Override any gcc2 internal prototype to avoid an error. */
10008 /* We use char because int might match the return type of a gcc2
10009 builtin and then its argument prototype would still apply. */
10016 if { (eval echo configure
:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10018 eval "ac_cv_lib_$ac_lib_var=yes"
10020 echo "configure: failed program was:" >&5
10021 cat conftest.
$ac_ext >&5
10023 eval "ac_cv_lib_$ac_lib_var=no"
10026 LIBS
="$ac_save_LIBS"
10029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10030 echo "$ac_t""yes" 1>&6
10032 cat >> confdefs.h
<<\EOF
10033 #define HAVE_NANOSLEEP 1
10036 POSIX4_LINK
="-lposix4"
10039 echo "$ac_t""no" 1>&6
10041 for ac_func
in usleep
10043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10044 echo "configure:10045: checking for $ac_func" >&5
10045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10046 echo $ac_n "(cached) $ac_c" 1>&6
10048 cat > conftest.
$ac_ext <<EOF
10049 #line 10050 "configure"
10050 #include "confdefs.h"
10051 /* System header to define __stub macros and hopefully few prototypes,
10052 which can conflict with char $ac_func(); below. */
10053 #include <assert.h>
10054 /* Override any gcc2 internal prototype to avoid an error. */
10055 /* We use char because int might match the return type of a gcc2
10056 builtin and then its argument prototype would still apply. */
10061 /* The GNU C library defines this for functions which it implements
10062 to always fail with ENOSYS. Some functions are actually named
10063 something starting with __ and the normal name is an alias. */
10064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10072 if { (eval echo configure
:10073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10074 eval "ac_cv_func_$ac_func=yes"
10076 echo "configure: failed program was:" >&5
10077 cat conftest.
$ac_ext >&5
10079 eval "ac_cv_func_$ac_func=no"
10084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10085 echo "$ac_t""yes" 1>&6
10086 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10087 cat >> confdefs.h
<<EOF
10088 #define $ac_tr_func 1
10092 echo "$ac_t""no" 1>&6
10096 echo "configure: warning: wxSleep() function will not work" 1>&2
10108 for ac_func
in uname gethostname
10110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10111 echo "configure:10112: checking for $ac_func" >&5
10112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10113 echo $ac_n "(cached) $ac_c" 1>&6
10115 cat > conftest.
$ac_ext <<EOF
10116 #line 10117 "configure"
10117 #include "confdefs.h"
10118 /* System header to define __stub macros and hopefully few prototypes,
10119 which can conflict with char $ac_func(); below. */
10120 #include <assert.h>
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10128 /* The GNU C library defines this for functions which it implements
10129 to always fail with ENOSYS. Some functions are actually named
10130 something starting with __ and the normal name is an alias. */
10131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10139 if { (eval echo configure
:10140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10141 eval "ac_cv_func_$ac_func=yes"
10143 echo "configure: failed program was:" >&5
10144 cat conftest.
$ac_ext >&5
10146 eval "ac_cv_func_$ac_func=no"
10151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10152 echo "$ac_t""yes" 1>&6
10153 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10154 cat >> confdefs.h
<<EOF
10155 #define $ac_tr_func 1
10159 echo "$ac_t""no" 1>&6
10164 for ac_func
in strtok_r
10166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10167 echo "configure:10168: checking for $ac_func" >&5
10168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10169 echo $ac_n "(cached) $ac_c" 1>&6
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10174 /* System header to define __stub macros and hopefully few prototypes,
10175 which can conflict with char $ac_func(); below. */
10176 #include <assert.h>
10177 /* Override any gcc2 internal prototype to avoid an error. */
10178 /* We use char because int might match the return type of a gcc2
10179 builtin and then its argument prototype would still apply. */
10184 /* The GNU C library defines this for functions which it implements
10185 to always fail with ENOSYS. Some functions are actually named
10186 something starting with __ and the normal name is an alias. */
10187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10195 if { (eval echo configure
:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10197 eval "ac_cv_func_$ac_func=yes"
10199 echo "configure: failed program was:" >&5
10200 cat conftest.
$ac_ext >&5
10202 eval "ac_cv_func_$ac_func=no"
10207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10208 echo "$ac_t""yes" 1>&6
10209 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10210 cat >> confdefs.h
<<EOF
10211 #define $ac_tr_func 1
10215 echo "$ac_t""no" 1>&6
10221 for ac_func
in inet_addr
10223 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10224 echo "configure:10225: checking for $ac_func" >&5
10225 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10226 echo $ac_n "(cached) $ac_c" 1>&6
10228 cat > conftest.
$ac_ext <<EOF
10229 #line 10230 "configure"
10230 #include "confdefs.h"
10231 /* System header to define __stub macros and hopefully few prototypes,
10232 which can conflict with char $ac_func(); below. */
10233 #include <assert.h>
10234 /* Override any gcc2 internal prototype to avoid an error. */
10235 /* We use char because int might match the return type of a gcc2
10236 builtin and then its argument prototype would still apply. */
10241 /* The GNU C library defines this for functions which it implements
10242 to always fail with ENOSYS. Some functions are actually named
10243 something starting with __ and the normal name is an alias. */
10244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10252 if { (eval echo configure
:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10254 eval "ac_cv_func_$ac_func=yes"
10256 echo "configure: failed program was:" >&5
10257 cat conftest.
$ac_ext >&5
10259 eval "ac_cv_func_$ac_func=no"
10264 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10265 echo "$ac_t""yes" 1>&6
10266 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10267 cat >> confdefs.h
<<EOF
10268 #define $ac_tr_func 1
10270 cat >> confdefs.h
<<\EOF
10271 #define HAVE_INET_ADDR 1
10275 echo "$ac_t""no" 1>&6
10276 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10277 echo "configure:10278: checking for inet_addr in -lnsl" >&5
10278 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10280 echo $ac_n "(cached) $ac_c" 1>&6
10282 ac_save_LIBS
="$LIBS"
10284 cat > conftest.
$ac_ext <<EOF
10285 #line 10286 "configure"
10286 #include "confdefs.h"
10287 /* Override any gcc2 internal prototype to avoid an error. */
10288 /* We use char because int might match the return type of a gcc2
10289 builtin and then its argument prototype would still apply. */
10296 if { (eval echo configure
:10297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10298 eval "ac_cv_lib_$ac_lib_var=yes"
10300 echo "configure: failed program was:" >&5
10301 cat conftest.
$ac_ext >&5
10303 eval "ac_cv_lib_$ac_lib_var=no"
10306 LIBS
="$ac_save_LIBS"
10309 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10310 echo "$ac_t""yes" 1>&6
10313 echo "$ac_t""no" 1>&6
10314 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10315 echo "configure:10316: checking for inet_addr in -lresolv" >&5
10316 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10318 echo $ac_n "(cached) $ac_c" 1>&6
10320 ac_save_LIBS
="$LIBS"
10321 LIBS
="-lresolv $LIBS"
10322 cat > conftest.
$ac_ext <<EOF
10323 #line 10324 "configure"
10324 #include "confdefs.h"
10325 /* Override any gcc2 internal prototype to avoid an error. */
10326 /* We use char because int might match the return type of a gcc2
10327 builtin and then its argument prototype would still apply. */
10334 if { (eval echo configure
:10335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10336 eval "ac_cv_lib_$ac_lib_var=yes"
10338 echo "configure: failed program was:" >&5
10339 cat conftest.
$ac_ext >&5
10341 eval "ac_cv_lib_$ac_lib_var=no"
10344 LIBS
="$ac_save_LIBS"
10347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10348 echo "$ac_t""yes" 1>&6
10352 echo "$ac_t""no" 1>&6
10364 for ac_func
in inet_aton
10366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10367 echo "configure:10368: checking for $ac_func" >&5
10368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10369 echo $ac_n "(cached) $ac_c" 1>&6
10371 cat > conftest.
$ac_ext <<EOF
10372 #line 10373 "configure"
10373 #include "confdefs.h"
10374 /* System header to define __stub macros and hopefully few prototypes,
10375 which can conflict with char $ac_func(); below. */
10376 #include <assert.h>
10377 /* Override any gcc2 internal prototype to avoid an error. */
10378 /* We use char because int might match the return type of a gcc2
10379 builtin and then its argument prototype would still apply. */
10384 /* The GNU C library defines this for functions which it implements
10385 to always fail with ENOSYS. Some functions are actually named
10386 something starting with __ and the normal name is an alias. */
10387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10395 if { (eval echo configure
:10396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10397 eval "ac_cv_func_$ac_func=yes"
10399 echo "configure: failed program was:" >&5
10400 cat conftest.
$ac_ext >&5
10402 eval "ac_cv_func_$ac_func=no"
10407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10408 echo "$ac_t""yes" 1>&6
10409 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10410 cat >> confdefs.h
<<EOF
10411 #define $ac_tr_func 1
10413 cat >> confdefs.h
<<\EOF
10414 #define HAVE_INET_ATON 1
10418 echo "$ac_t""no" 1>&6
10419 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10420 echo "configure:10421: checking for inet_aton in -l$INET_LINK" >&5
10421 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10425 ac_save_LIBS
="$LIBS"
10426 LIBS
="-l$INET_LINK $LIBS"
10427 cat > conftest.
$ac_ext <<EOF
10428 #line 10429 "configure"
10429 #include "confdefs.h"
10430 /* Override any gcc2 internal prototype to avoid an error. */
10431 /* We use char because int might match the return type of a gcc2
10432 builtin and then its argument prototype would still apply. */
10439 if { (eval echo configure
:10440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10441 eval "ac_cv_lib_$ac_lib_var=yes"
10443 echo "configure: failed program was:" >&5
10444 cat conftest.
$ac_ext >&5
10446 eval "ac_cv_lib_$ac_lib_var=no"
10449 LIBS
="$ac_save_LIBS"
10452 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10453 echo "$ac_t""yes" 1>&6
10454 cat >> confdefs.h
<<\EOF
10455 #define HAVE_INET_ATON 1
10459 echo "$ac_t""no" 1>&6
10467 if test "x$INET_LINK" != "x"; then
10468 cat >> confdefs.h
<<\EOF
10469 #define HAVE_INET_ADDR 1
10472 INET_LINK
="-l$INET_LINK"
10478 cat > confcache
<<\EOF
10479 # This file is a shell script that caches the results of configure
10480 # tests run on this system so they can be shared between configure
10481 # scripts and configure runs. It is not useful on other systems.
10482 # If it contains results you don't want to keep, you may remove or edit it.
10484 # By default, configure uses ./config.cache as the cache file,
10485 # creating it if it does not exist already. You can give configure
10486 # the --cache-file=FILE option to use a different cache file; that is
10487 # what configure does when it calls configure scripts in
10488 # subdirectories, so they share the cache.
10489 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10490 # config.status only pays attention to the cache file if you give it the
10491 # --recheck option to rerun configure.
10494 # The following way of writing the cache mishandles newlines in values,
10495 # but we know of no workaround that is simple, portable, and efficient.
10496 # So, don't put newlines in cache variables' values.
10497 # Ultrix sh set writes to stderr and can't be redirected directly,
10498 # and sets the high bit in the cache file unless we assign to the vars.
10500 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10502 # `set' does not quote correctly, so add quotes (double-quote substitution
10503 # turns \\\\ into \\, and sed turns \\ into \).
10505 -e "s/'/'\\\\''/g" \
10506 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10509 # `set' quotes correctly as required by POSIX, so do not add quotes.
10510 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10513 if cmp -s $cache_file confcache
; then
10516 if test -w $cache_file; then
10517 echo "updating cache $cache_file"
10518 cat confcache
> $cache_file
10520 echo "not updating unwritable cache $cache_file"
10527 if test "$USE_UNIX" = 1; then
10533 if test "$wxUSE_THREADS" = "yes" ; then
10534 if test "$wxUSE_WINE" = 1 ; then
10535 echo "configure: warning: Threads are not supported under WINE" 1>&2
10537 elif test "$USE_BEOS" = 1; then
10538 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10543 if test "$wxUSE_THREADS" = "yes" ; then
10545 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10546 echo "configure:10547: checking for pthread_create in -lpthread" >&5
10547 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10549 echo $ac_n "(cached) $ac_c" 1>&6
10551 ac_save_LIBS
="$LIBS"
10552 LIBS
="-lpthread $LIBS"
10553 cat > conftest.
$ac_ext <<EOF
10554 #line 10555 "configure"
10555 #include "confdefs.h"
10556 /* Override any gcc2 internal prototype to avoid an error. */
10557 /* We use char because int might match the return type of a gcc2
10558 builtin and then its argument prototype would still apply. */
10559 char pthread_create();
10565 if { (eval echo configure
:10566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10567 eval "ac_cv_lib_$ac_lib_var=yes"
10569 echo "configure: failed program was:" >&5
10570 cat conftest.
$ac_ext >&5
10572 eval "ac_cv_lib_$ac_lib_var=no"
10575 LIBS
="$ac_save_LIBS"
10578 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10579 echo "$ac_t""yes" 1>&6
10581 THREADS_OBJ
="threadpsx.lo"
10582 THREADS_LINK
="pthread"
10585 echo "$ac_t""no" 1>&6
10587 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10588 echo "configure:10589: checking for pthread_create in -lc_r" >&5
10589 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10591 echo $ac_n "(cached) $ac_c" 1>&6
10593 ac_save_LIBS
="$LIBS"
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10598 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10601 char pthread_create();
10607 if { (eval echo configure
:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10609 eval "ac_cv_lib_$ac_lib_var=yes"
10611 echo "configure: failed program was:" >&5
10612 cat conftest.
$ac_ext >&5
10614 eval "ac_cv_lib_$ac_lib_var=no"
10617 LIBS
="$ac_save_LIBS"
10620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10621 echo "$ac_t""yes" 1>&6
10623 THREADS_OBJ
="threadpsx.lo"
10627 echo "$ac_t""no" 1>&6
10629 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10630 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10631 echo "configure:10632: checking for sys/prctl.h" >&5
10632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10633 echo $ac_n "(cached) $ac_c" 1>&6
10635 cat > conftest.
$ac_ext <<EOF
10636 #line 10637 "configure"
10637 #include "confdefs.h"
10638 #include <sys/prctl.h>
10640 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10641 { (eval echo configure
:10642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10642 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10643 if test -z "$ac_err"; then
10645 eval "ac_cv_header_$ac_safe=yes"
10648 echo "configure: failed program was:" >&5
10649 cat conftest.
$ac_ext >&5
10651 eval "ac_cv_header_$ac_safe=no"
10655 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10656 echo "$ac_t""yes" 1>&6
10658 THREADS_OBJ
="threadsgi.lo"
10661 echo "$ac_t""no" 1>&6
10671 if test -z "$THREADS_OBJ" ; then
10673 echo "configure: warning: No thread support on this system" 1>&2
10677 if test "$wxUSE_THREADS" = "yes" ; then
10678 for ac_func
in thr_setconcurrency
10680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10681 echo "configure:10682: checking for $ac_func" >&5
10682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 /* System header to define __stub macros and hopefully few prototypes,
10689 which can conflict with char $ac_func(); below. */
10690 #include <assert.h>
10691 /* Override any gcc2 internal prototype to avoid an error. */
10692 /* We use char because int might match the return type of a gcc2
10693 builtin and then its argument prototype would still apply. */
10698 /* The GNU C library defines this for functions which it implements
10699 to always fail with ENOSYS. Some functions are actually named
10700 something starting with __ and the normal name is an alias. */
10701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10709 if { (eval echo configure
:10710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10711 eval "ac_cv_func_$ac_func=yes"
10713 echo "configure: failed program was:" >&5
10714 cat conftest.
$ac_ext >&5
10716 eval "ac_cv_func_$ac_func=no"
10721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10722 echo "$ac_t""yes" 1>&6
10723 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10724 cat >> confdefs.h
<<EOF
10725 #define $ac_tr_func 1
10729 echo "$ac_t""no" 1>&6
10735 for ac_hdr
in sched.h
10737 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10739 echo "configure:10740: checking for $ac_hdr" >&5
10740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10741 echo $ac_n "(cached) $ac_c" 1>&6
10743 cat > conftest.
$ac_ext <<EOF
10744 #line 10745 "configure"
10745 #include "confdefs.h"
10748 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10749 { (eval echo configure
:10750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10750 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10751 if test -z "$ac_err"; then
10753 eval "ac_cv_header_$ac_safe=yes"
10756 echo "configure: failed program was:" >&5
10757 cat conftest.
$ac_ext >&5
10759 eval "ac_cv_header_$ac_safe=no"
10763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10764 echo "$ac_t""yes" 1>&6
10765 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10766 cat >> confdefs.h
<<EOF
10767 #define $ac_tr_hdr 1
10771 echo "$ac_t""no" 1>&6
10776 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10777 echo "configure:10778: checking for sched_yield in -l$THREADS_LINK" >&5
10778 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10780 echo $ac_n "(cached) $ac_c" 1>&6
10782 ac_save_LIBS
="$LIBS"
10783 LIBS
="-l$THREADS_LINK $LIBS"
10784 cat > conftest.
$ac_ext <<EOF
10785 #line 10786 "configure"
10786 #include "confdefs.h"
10787 /* Override any gcc2 internal prototype to avoid an error. */
10788 /* We use char because int might match the return type of a gcc2
10789 builtin and then its argument prototype would still apply. */
10790 char sched_yield();
10796 if { (eval echo configure
:10797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10798 eval "ac_cv_lib_$ac_lib_var=yes"
10800 echo "configure: failed program was:" >&5
10801 cat conftest.
$ac_ext >&5
10803 eval "ac_cv_lib_$ac_lib_var=no"
10806 LIBS
="$ac_save_LIBS"
10809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10810 echo "$ac_t""yes" 1>&6
10811 cat >> confdefs.h
<<\EOF
10812 #define HAVE_SCHED_YIELD 1
10816 echo "$ac_t""no" 1>&6
10817 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10818 echo "configure:10819: checking for sched_yield in -l"posix4
"" >&5
10819 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10820 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10821 echo $ac_n "(cached) $ac_c" 1>&6
10823 ac_save_LIBS
="$LIBS"
10824 LIBS
="-l"posix4
" $LIBS"
10825 cat > conftest.
$ac_ext <<EOF
10826 #line 10827 "configure"
10827 #include "confdefs.h"
10828 /* Override any gcc2 internal prototype to avoid an error. */
10829 /* We use char because int might match the return type of a gcc2
10830 builtin and then its argument prototype would still apply. */
10831 char sched_yield();
10837 if { (eval echo configure
:10838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10839 eval "ac_cv_lib_$ac_lib_var=yes"
10841 echo "configure: failed program was:" >&5
10842 cat conftest.
$ac_ext >&5
10844 eval "ac_cv_lib_$ac_lib_var=no"
10847 LIBS
="$ac_save_LIBS"
10850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10851 echo "$ac_t""yes" 1>&6
10852 cat >> confdefs.h
<<\EOF
10853 #define HAVE_SCHED_YIELD 1
10855 POSIX4_LINK
="-lposix4"
10857 echo "$ac_t""no" 1>&6
10858 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10866 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10867 echo "configure:10868: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10868 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10869 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10870 echo $ac_n "(cached) $ac_c" 1>&6
10872 ac_save_LIBS
="$LIBS"
10873 LIBS
="-l$THREADS_LINK $LIBS"
10874 cat > conftest.
$ac_ext <<EOF
10875 #line 10876 "configure"
10876 #include "confdefs.h"
10877 /* Override any gcc2 internal prototype to avoid an error. */
10878 /* We use char because int might match the return type of a gcc2
10879 builtin and then its argument prototype would still apply. */
10880 char pthread_attr_getschedpolicy();
10883 pthread_attr_getschedpolicy()
10886 if { (eval echo configure
:10887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10888 eval "ac_cv_lib_$ac_lib_var=yes"
10890 echo "configure: failed program was:" >&5
10891 cat conftest.
$ac_ext >&5
10893 eval "ac_cv_lib_$ac_lib_var=no"
10896 LIBS
="$ac_save_LIBS"
10899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10900 echo "$ac_t""yes" 1>&6
10901 cat >> confdefs.h
<<\EOF
10902 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10906 echo "$ac_t""no" 1>&6
10907 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10908 echo "configure:10909: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10909 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10911 echo $ac_n "(cached) $ac_c" 1>&6
10913 ac_save_LIBS
="$LIBS"
10914 LIBS
="-l"posix4
" $LIBS"
10915 cat > conftest.
$ac_ext <<EOF
10916 #line 10917 "configure"
10917 #include "confdefs.h"
10918 /* Override any gcc2 internal prototype to avoid an error. */
10919 /* We use char because int might match the return type of a gcc2
10920 builtin and then its argument prototype would still apply. */
10921 char pthread_attr_getschedpolicy();
10924 pthread_attr_getschedpolicy()
10927 if { (eval echo configure
:10928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10929 eval "ac_cv_lib_$ac_lib_var=yes"
10931 echo "configure: failed program was:" >&5
10932 cat conftest.
$ac_ext >&5
10934 eval "ac_cv_lib_$ac_lib_var=no"
10937 LIBS
="$ac_save_LIBS"
10940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10941 echo "$ac_t""yes" 1>&6
10942 cat >> confdefs.h
<<\EOF
10943 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10945 POSIX4_LINK
="-lposix4"
10947 echo "$ac_t""no" 1>&6
10948 echo "configure: warning: Setting thread priority will not work" 1>&2
10956 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10957 echo "configure:10958: checking for pthread_cancel in -l$THREADS_LINK" >&5
10958 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10960 echo $ac_n "(cached) $ac_c" 1>&6
10962 ac_save_LIBS
="$LIBS"
10963 LIBS
="-l$THREADS_LINK $LIBS"
10964 cat > conftest.
$ac_ext <<EOF
10965 #line 10966 "configure"
10966 #include "confdefs.h"
10967 /* Override any gcc2 internal prototype to avoid an error. */
10968 /* We use char because int might match the return type of a gcc2
10969 builtin and then its argument prototype would still apply. */
10970 char pthread_cancel();
10976 if { (eval echo configure
:10977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10978 eval "ac_cv_lib_$ac_lib_var=yes"
10980 echo "configure: failed program was:" >&5
10981 cat conftest.
$ac_ext >&5
10983 eval "ac_cv_lib_$ac_lib_var=no"
10986 LIBS
="$ac_save_LIBS"
10989 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10990 echo "$ac_t""yes" 1>&6
10991 cat >> confdefs.h
<<\EOF
10992 #define HAVE_PTHREAD_CANCEL 1
10996 echo "$ac_t""no" 1>&6
10997 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11001 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11002 echo "configure:11003: checking for pthread_cleanup_push/pop" >&5
11003 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11004 echo $ac_n "(cached) $ac_c" 1>&6
11007 cat > conftest.
$ac_ext <<EOF
11008 #line 11009 "configure"
11009 #include "confdefs.h"
11010 #include <pthread.h>
11013 pthread_cleanup_push(NULL, NULL);
11014 pthread_cleanup_pop(0);
11018 if { (eval echo configure
:11019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11021 wx_cv_func_pthread_cleanup_push
=yes
11022 cat >> confdefs.h
<<\EOF
11023 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11028 echo "configure: failed program was:" >&5
11029 cat conftest.
$ac_ext >&5
11032 wx_cv_func_pthread_cleanup_push
=no
11039 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11041 THREADS_LINK
="-l$THREADS_LINK"
11046 if test "$wxUSE_THREADS" = "yes"; then
11047 cat >> confdefs.h
<<\EOF
11048 #define wxUSE_THREADS 1
11052 CFLAGS
="${CFLAGS} -D_REENTRANT"
11053 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11057 if test "$ac_cv_func_strtok_r" = "yes"; then
11058 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11059 echo "configure:11060: checking if -D_REENTRANT is needed" >&5
11060 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11061 CFLAGS
="${CFLAGS} -D_REENTRANT"
11062 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11063 echo "$ac_t""yes" 1>&6
11065 echo "$ac_t""no" 1>&6
11070 if test "$WXGTK13" = 1 ; then
11071 cat >> confdefs.h
<<EOF
11072 #define __WXGTK13__ $WXGTK13
11078 if test "$WXGTK12" = 1 ; then
11079 cat >> confdefs.h
<<EOF
11080 #define __WXGTK12__ $WXGTK12
11085 if test "$WXWINE" = 1 ; then
11086 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11089 if test "$wxUSE_CYGWIN" = 1 ; then
11090 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11095 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11100 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11101 wxUSE_DEBUG_INFO
=yes
11105 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11106 cat >> confdefs.h
<<\EOF
11110 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11112 if test "$wxUSE_GTK" = 1 ; then
11113 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11117 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11118 cat >> confdefs.h
<<\EOF
11119 #define wxUSE_MEMORY_TRACING 1
11122 cat >> confdefs.h
<<\EOF
11123 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11129 if test "$wxUSE_DMALLOC" = "yes" ; then
11130 DMALLOC_LINK
="-ldmalloc"
11134 if test "$wxUSE_PROFILE" = "yes" ; then
11140 if test "$GCC" = yes ; then
11141 if test "$wxUSE_NO_RTTI" = "yes" ; then
11142 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11144 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11145 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11147 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11148 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11150 if test "$wxUSE_NO_DEPS" = "no" ; then
11151 DEP_INFO_FLAGS
="-MMD"
11156 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11157 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11158 if test "$wxUSE_OPTIMISE" = "no" ; then
11161 if test "$GCC" = yes ; then
11164 i586
-*-*|i686
-*-* )
11165 OPTIMISE
="${OPTIMISE} "
11175 if test "$wxUSE_ZLIB" = "yes" ; then
11176 cat >> confdefs.h
<<\EOF
11177 #define wxUSE_ZLIB 1
11180 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11184 if test "$wxUSE_LIBPNG" = "yes" ; then
11185 cat >> confdefs.h
<<\EOF
11186 #define wxUSE_LIBPNG 1
11189 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11194 if test "$wxUSE_LIBJPEG" = "yes" ; then
11195 cat >> confdefs.h
<<\EOF
11196 #define wxUSE_LIBJPEG 1
11199 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11203 if test "$wxUSE_LIBTIFF" = "yes" ; then
11204 cat >> confdefs.h
<<\EOF
11205 #define wxUSE_LIBTIFF 1
11208 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11211 if test "$wxUSE_OPENGL" = "yes"; then
11212 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11213 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11214 echo "configure:11215: checking for GL/gl.h" >&5
11215 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11216 echo $ac_n "(cached) $ac_c" 1>&6
11218 cat > conftest.
$ac_ext <<EOF
11219 #line 11220 "configure"
11220 #include "confdefs.h"
11223 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11224 { (eval echo configure
:11225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11225 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11226 if test -z "$ac_err"; then
11228 eval "ac_cv_header_$ac_safe=yes"
11231 echo "configure: failed program was:" >&5
11232 cat conftest.
$ac_ext >&5
11234 eval "ac_cv_header_$ac_safe=no"
11238 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11239 echo "$ac_t""yes" 1>&6
11241 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11242 echo "configure:11243: checking for glInitNames in -lGL" >&5
11243 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11244 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11245 echo $ac_n "(cached) $ac_c" 1>&6
11247 ac_save_LIBS
="$LIBS"
11248 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11249 cat > conftest.
$ac_ext <<EOF
11250 #line 11251 "configure"
11251 #include "confdefs.h"
11252 /* Override any gcc2 internal prototype to avoid an error. */
11253 /* We use char because int might match the return type of a gcc2
11254 builtin and then its argument prototype would still apply. */
11255 char glInitNames();
11261 if { (eval echo configure
:11262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11263 eval "ac_cv_lib_$ac_lib_var=yes"
11265 echo "configure: failed program was:" >&5
11266 cat conftest.
$ac_ext >&5
11268 eval "ac_cv_lib_$ac_lib_var=no"
11271 LIBS
="$ac_save_LIBS"
11274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11275 echo "$ac_t""yes" 1>&6
11278 cat >> confdefs.h
<<\EOF
11279 #define wxUSE_OPENGL 1
11282 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11285 echo "$ac_t""no" 1>&6
11287 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11288 echo "configure:11289: checking for glInitNames in -lMesaGL" >&5
11289 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11290 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11291 echo $ac_n "(cached) $ac_c" 1>&6
11293 ac_save_LIBS
="$LIBS"
11294 LIBS
="-lMesaGL $LIBS"
11295 cat > conftest.
$ac_ext <<EOF
11296 #line 11297 "configure"
11297 #include "confdefs.h"
11298 /* Override any gcc2 internal prototype to avoid an error. */
11299 /* We use char because int might match the return type of a gcc2
11300 builtin and then its argument prototype would still apply. */
11301 char glInitNames();
11307 if { (eval echo configure
:11308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11309 eval "ac_cv_lib_$ac_lib_var=yes"
11311 echo "configure: failed program was:" >&5
11312 cat conftest.
$ac_ext >&5
11314 eval "ac_cv_lib_$ac_lib_var=no"
11317 LIBS
="$ac_save_LIBS"
11320 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11321 echo "$ac_t""yes" 1>&6
11323 OPENGL_LINK
="-lMesaGL"
11324 cat >> confdefs.h
<<\EOF
11325 #define wxUSE_OPENGL 1
11328 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11331 echo "$ac_t""no" 1>&6
11340 echo "$ac_t""no" 1>&6
11347 if test "$wxUSE_GUI" = "yes"; then
11348 cat >> confdefs.h
<<\EOF
11349 #define wxUSE_GUI 1
11354 cat >> confdefs.h
<<\EOF
11355 #define wxUSE_NOGUI 1
11361 if test "$wxUSE_UNIX" = "yes"; then
11362 cat >> confdefs.h
<<\EOF
11363 #define wxUSE_UNIX 1
11369 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11370 cat >> confdefs.h
<<\EOF
11371 #define wxUSE_APPLE_IEEE 1
11376 if test "$wxUSE_WAVE" = "yes"; then
11377 cat >> confdefs.h
<<\EOF
11378 #define wxUSE_WAVE 1
11383 if test "$wxUSE_FILE" = "yes"; then
11384 cat >> confdefs.h
<<\EOF
11385 #define wxUSE_FILE 1
11390 if test "$wxUSE_FS_INET" = "yes"; then
11391 cat >> confdefs.h
<<\EOF
11392 #define wxUSE_FS_INET 1
11397 if test "$wxUSE_FS_ZIP" = "yes"; then
11398 cat >> confdefs.h
<<\EOF
11399 #define wxUSE_FS_ZIP 1
11404 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11405 cat >> confdefs.h
<<\EOF
11406 #define wxUSE_ZIPSTREAM 1
11411 if test "$wxUSE_BUSYINFO" = "yes"; then
11412 cat >> confdefs.h
<<\EOF
11413 #define wxUSE_BUSYINFO 1
11418 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11419 cat >> confdefs.h
<<\EOF
11420 #define wxUSE_STD_IOSTREAM 1
11425 if test "$wxUSE_TEXTFILE" = "yes"; then
11426 if test "$wxUSE_FILE" != "yes"; then
11427 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11429 cat >> confdefs.h
<<\EOF
11430 #define wxUSE_TEXTFILE 1
11436 if test "$wxUSE_CONFIG" = "yes" ; then
11437 if test "$wxUSE_TEXTFILE" != "yes"; then
11438 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11440 cat >> confdefs.h
<<\EOF
11441 #define wxUSE_CONFIG 1
11444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11448 if test "$wxUSE_INTL" = "yes" ; then
11449 if test "$wxUSE_FILE" != "yes"; then
11450 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11452 cat >> confdefs.h
<<\EOF
11453 #define wxUSE_INTL 1
11456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11460 if test "$wxUSE_LOG" = "yes"; then
11461 cat >> confdefs.h
<<\EOF
11462 #define wxUSE_LOG 1
11467 if test "$wxUSE_LONGLONG" = "yes"; then
11468 cat >> confdefs.h
<<\EOF
11469 #define wxUSE_LONGLONG 1
11474 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11475 cat >> confdefs.h
<<\EOF
11476 #define wxUSE_DIALUP_MANAGER 1
11479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11482 if test "$wxUSE_STREAMS" = "yes" ; then
11483 cat >> confdefs.h
<<\EOF
11484 #define wxUSE_STREAMS 1
11490 if test "$wxUSE_TIMEDATE" = "yes"; then
11491 for ac_func
in strptime
11493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11494 echo "configure:11495: checking for $ac_func" >&5
11495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11496 echo $ac_n "(cached) $ac_c" 1>&6
11498 cat > conftest.
$ac_ext <<EOF
11499 #line 11500 "configure"
11500 #include "confdefs.h"
11501 /* System header to define __stub macros and hopefully few prototypes,
11502 which can conflict with char $ac_func(); below. */
11503 #include <assert.h>
11504 /* Override any gcc2 internal prototype to avoid an error. */
11505 /* We use char because int might match the return type of a gcc2
11506 builtin and then its argument prototype would still apply. */
11511 /* The GNU C library defines this for functions which it implements
11512 to always fail with ENOSYS. Some functions are actually named
11513 something starting with __ and the normal name is an alias. */
11514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11522 if { (eval echo configure
:11523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11524 eval "ac_cv_func_$ac_func=yes"
11526 echo "configure: failed program was:" >&5
11527 cat conftest.
$ac_ext >&5
11529 eval "ac_cv_func_$ac_func=no"
11534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11535 echo "$ac_t""yes" 1>&6
11536 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11537 cat >> confdefs.h
<<EOF
11538 #define $ac_tr_func 1
11542 echo "$ac_t""no" 1>&6
11547 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11548 echo "configure:11549: checking for timezone variable in <time.h>" >&5
11549 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11550 echo $ac_n "(cached) $ac_c" 1>&6
11553 cat > conftest.
$ac_ext <<EOF
11554 #line 11555 "configure"
11555 #include "confdefs.h"
11566 if { (eval echo configure
:11567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11569 wx_cv_var_timezone
=__timezone
11572 echo "configure: failed program was:" >&5
11573 cat conftest.
$ac_ext >&5
11576 cat > conftest.
$ac_ext <<EOF
11577 #line 11578 "configure"
11578 #include "confdefs.h"
11589 if { (eval echo configure
:11590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11592 wx_cv_var_timezone
=_timezone
11595 echo "configure: failed program was:" >&5
11596 cat conftest.
$ac_ext >&5
11599 cat > conftest.
$ac_ext <<EOF
11600 #line 11601 "configure"
11601 #include "confdefs.h"
11612 if { (eval echo configure
:11613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11615 wx_cv_var_timezone
=timezone
11618 echo "configure: failed program was:" >&5
11619 cat conftest.
$ac_ext >&5
11621 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11637 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11639 cat >> confdefs.h
<<EOF
11640 #define WX_TIMEZONE $wx_cv_var_timezone
11644 for ac_func
in localtime gettimeofday ftime
11646 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11647 echo "configure:11648: checking for $ac_func" >&5
11648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11649 echo $ac_n "(cached) $ac_c" 1>&6
11651 cat > conftest.
$ac_ext <<EOF
11652 #line 11653 "configure"
11653 #include "confdefs.h"
11654 /* System header to define __stub macros and hopefully few prototypes,
11655 which can conflict with char $ac_func(); below. */
11656 #include <assert.h>
11657 /* Override any gcc2 internal prototype to avoid an error. */
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11664 /* The GNU C library defines this for functions which it implements
11665 to always fail with ENOSYS. Some functions are actually named
11666 something starting with __ and the normal name is an alias. */
11667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11675 if { (eval echo configure
:11676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11677 eval "ac_cv_func_$ac_func=yes"
11679 echo "configure: failed program was:" >&5
11680 cat conftest.
$ac_ext >&5
11682 eval "ac_cv_func_$ac_func=no"
11687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11688 echo "$ac_t""yes" 1>&6
11689 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11690 cat >> confdefs.h
<<EOF
11691 #define $ac_tr_func 1
11695 echo "$ac_t""no" 1>&6
11700 if test "$ac_cv_func_localtime" = "yes"; then
11701 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11702 echo "configure:11703: checking for tm_gmtoff in struct tm" >&5
11703 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11704 echo $ac_n "(cached) $ac_c" 1>&6
11707 cat > conftest.
$ac_ext <<EOF
11708 #line 11709 "configure"
11709 #include "confdefs.h"
11720 if { (eval echo configure
:11721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11723 wx_cv_struct_tm_has_gmtoff
=yes
11724 cat >> confdefs.h
<<\EOF
11725 #define WX_GMTOFF_IN_TM 1
11730 echo "configure: failed program was:" >&5
11731 cat conftest.
$ac_ext >&5
11733 wx_cv_struct_tm_has_gmtoff
=no
11740 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11741 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11742 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11743 echo "configure:11744: checking whether gettimeofday takes two arguments" >&5
11744 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11745 echo $ac_n "(cached) $ac_c" 1>&6
11750 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11751 ac_cpp
='$CXXCPP $CPPFLAGS'
11752 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11753 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11754 cross_compiling
=$ac_cv_prog_cxx_cross
11757 cat > conftest.
$ac_ext <<EOF
11758 #line 11759 "configure"
11759 #include "confdefs.h"
11761 #include <sys/time.h>
11762 #include <unistd.h>
11767 struct timezone tz;
11768 gettimeofday(&tv, &tz);
11772 if { (eval echo configure
:11773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11774 wx_cv_func_gettimeofday_has_2_args
=yes
11776 echo "configure: failed program was:" >&5
11777 cat conftest.
$ac_ext >&5
11779 cat > conftest.
$ac_ext <<EOF
11780 #line 11781 "configure"
11781 #include "confdefs.h"
11783 #include <sys/time.h>
11784 #include <unistd.h>
11793 if { (eval echo configure
:11794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11795 wx_cv_func_gettimeofday_has_2_args
=no
11797 echo "configure: failed program was:" >&5
11798 cat conftest.
$ac_ext >&5
11800 wx_cv_func_gettimeofday_has_2_args
=unknown
11808 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11809 ac_cpp
='$CPP $CPPFLAGS'
11810 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11811 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11812 cross_compiling
=$ac_cv_prog_cc_cross
11817 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11819 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11820 cat >> confdefs.h
<<\EOF
11821 #define WX_GETTIMEOFDAY_NO_TZ 1
11827 cat >> confdefs.h
<<\EOF
11828 #define wxUSE_TIMEDATE 1
11831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11835 if test "$wxUSE_SOCKETS" = "yes"; then
11836 echo $ac_n "checking for socket""... $ac_c" 1>&6
11837 echo "configure:11838: checking for socket" >&5
11838 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11839 echo $ac_n "(cached) $ac_c" 1>&6
11841 cat > conftest.
$ac_ext <<EOF
11842 #line 11843 "configure"
11843 #include "confdefs.h"
11844 /* System header to define __stub macros and hopefully few prototypes,
11845 which can conflict with char socket(); below. */
11846 #include <assert.h>
11847 /* Override any gcc2 internal prototype to avoid an error. */
11848 /* We use char because int might match the return type of a gcc2
11849 builtin and then its argument prototype would still apply. */
11854 /* The GNU C library defines this for functions which it implements
11855 to always fail with ENOSYS. Some functions are actually named
11856 something starting with __ and the normal name is an alias. */
11857 #if defined (__stub_socket) || defined (__stub___socket)
11865 if { (eval echo configure
:11866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11867 eval "ac_cv_func_socket=yes"
11869 echo "configure: failed program was:" >&5
11870 cat conftest.
$ac_ext >&5
11872 eval "ac_cv_func_socket=no"
11877 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11878 echo "$ac_t""yes" 1>&6
11881 echo "$ac_t""no" 1>&6
11882 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11883 echo "configure:11884: checking for socket in -lsocket" >&5
11884 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11886 echo $ac_n "(cached) $ac_c" 1>&6
11888 ac_save_LIBS
="$LIBS"
11889 LIBS
="-lsocket $LIBS"
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11893 /* Override any gcc2 internal prototype to avoid an error. */
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11902 if { (eval echo configure
:11903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11904 eval "ac_cv_lib_$ac_lib_var=yes"
11906 echo "configure: failed program was:" >&5
11907 cat conftest.
$ac_ext >&5
11909 eval "ac_cv_lib_$ac_lib_var=no"
11912 LIBS
="$ac_save_LIBS"
11915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11916 echo "$ac_t""yes" 1>&6
11917 INET_LINK
="$INET_LINK -lsocket"
11919 echo "$ac_t""no" 1>&6
11921 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11932 if test "$wxUSE_SOCKETS" = "yes" ; then
11935 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11936 ac_cpp
='$CXXCPP $CPPFLAGS'
11937 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11938 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11939 cross_compiling
=$ac_cv_prog_cxx_cross
11941 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11942 echo "configure:11943: checking the type of the third argument of getsockname" >&5
11943 cat > conftest.
$ac_ext <<EOF
11944 #line 11945 "configure"
11945 #include "confdefs.h"
11946 #include <sys/socket.h>
11948 socklen_t len; getsockname(0, 0, &len);
11951 if { (eval echo configure
:11952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11953 cat >> confdefs.h
<<\EOF
11954 #define SOCKLEN_T socklen_t
11956 echo "$ac_t""socklen_t" 1>&6
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11961 cat > conftest.
$ac_ext <<EOF
11962 #line 11963 "configure"
11963 #include "confdefs.h"
11964 #include <sys/socket.h>
11966 size_t len; getsockname(0, 0, &len);
11969 if { (eval echo configure
:11970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11971 cat >> confdefs.h
<<\EOF
11972 #define SOCKLEN_T size_t
11974 echo "$ac_t""size_t" 1>&6
11976 echo "configure: failed program was:" >&5
11977 cat conftest.
$ac_ext >&5
11979 cat > conftest.
$ac_ext <<EOF
11980 #line 11981 "configure"
11981 #include "confdefs.h"
11982 #include <sys/socket.h>
11984 int len; getsockname(0, 0, &len);
11987 if { (eval echo configure
:11988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11989 cat >> confdefs.h
<<\EOF
11990 #define SOCKLEN_T int
11992 echo "$ac_t""int" 1>&6
11994 echo "configure: failed program was:" >&5
11995 cat conftest.
$ac_ext >&5
11997 echo "$ac_t""unknown" 1>&6
12008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12009 ac_cpp
='$CPP $CPPFLAGS'
12010 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12011 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12012 cross_compiling
=$ac_cv_prog_cc_cross
12015 cat >> confdefs.h
<<\EOF
12016 #define wxUSE_SOCKETS 1
12019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12020 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12024 if test "$wxUSE_JOYSTICK" = 1; then
12025 for ac_hdr
in linux
/joystick.h
12027 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12028 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12029 echo "configure:12030: checking for $ac_hdr" >&5
12030 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12031 echo $ac_n "(cached) $ac_c" 1>&6
12033 cat > conftest.
$ac_ext <<EOF
12034 #line 12035 "configure"
12035 #include "confdefs.h"
12038 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12039 { (eval echo configure
:12040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12040 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12041 if test -z "$ac_err"; then
12043 eval "ac_cv_header_$ac_safe=yes"
12046 echo "configure: failed program was:" >&5
12047 cat conftest.
$ac_ext >&5
12049 eval "ac_cv_header_$ac_safe=no"
12053 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12054 echo "$ac_t""yes" 1>&6
12055 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12056 cat >> confdefs.h
<<EOF
12057 #define $ac_tr_hdr 1
12061 echo "$ac_t""no" 1>&6
12065 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
12066 cat >> confdefs.h
<<\EOF
12067 #define wxUSE_JOYSTICK 1
12070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12077 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12078 for ac_func
in dlopen
12080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12081 echo "configure:12082: checking for $ac_func" >&5
12082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12083 echo $ac_n "(cached) $ac_c" 1>&6
12085 cat > conftest.
$ac_ext <<EOF
12086 #line 12087 "configure"
12087 #include "confdefs.h"
12088 /* System header to define __stub macros and hopefully few prototypes,
12089 which can conflict with char $ac_func(); below. */
12090 #include <assert.h>
12091 /* Override any gcc2 internal prototype to avoid an error. */
12092 /* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
12098 /* The GNU C library defines this for functions which it implements
12099 to always fail with ENOSYS. Some functions are actually named
12100 something starting with __ and the normal name is an alias. */
12101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12109 if { (eval echo configure
:12110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12111 eval "ac_cv_func_$ac_func=yes"
12113 echo "configure: failed program was:" >&5
12114 cat conftest.
$ac_ext >&5
12116 eval "ac_cv_func_$ac_func=no"
12121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12122 echo "$ac_t""yes" 1>&6
12123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12124 cat >> confdefs.h
<<EOF
12125 #define $ac_tr_func 1
12128 cat >> confdefs.h
<<\EOF
12129 #define HAVE_DLOPEN 1
12135 echo "$ac_t""no" 1>&6
12136 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12137 echo "configure:12138: checking for dlopen in -ldl" >&5
12138 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12140 echo $ac_n "(cached) $ac_c" 1>&6
12142 ac_save_LIBS
="$LIBS"
12144 cat > conftest.
$ac_ext <<EOF
12145 #line 12146 "configure"
12146 #include "confdefs.h"
12147 /* Override any gcc2 internal prototype to avoid an error. */
12148 /* We use char because int might match the return type of a gcc2
12149 builtin and then its argument prototype would still apply. */
12156 if { (eval echo configure
:12157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12158 eval "ac_cv_lib_$ac_lib_var=yes"
12160 echo "configure: failed program was:" >&5
12161 cat conftest.
$ac_ext >&5
12163 eval "ac_cv_lib_$ac_lib_var=no"
12166 LIBS
="$ac_save_LIBS"
12169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12170 echo "$ac_t""yes" 1>&6
12172 cat >> confdefs.h
<<\EOF
12173 #define HAVE_DLOPEN 1
12180 echo "$ac_t""no" 1>&6
12182 for ac_func
in shl_load
12184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12185 echo "configure:12186: checking for $ac_func" >&5
12186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12187 echo $ac_n "(cached) $ac_c" 1>&6
12189 cat > conftest.
$ac_ext <<EOF
12190 #line 12191 "configure"
12191 #include "confdefs.h"
12192 /* System header to define __stub macros and hopefully few prototypes,
12193 which can conflict with char $ac_func(); below. */
12194 #include <assert.h>
12195 /* Override any gcc2 internal prototype to avoid an error. */
12196 /* We use char because int might match the return type of a gcc2
12197 builtin and then its argument prototype would still apply. */
12202 /* The GNU C library defines this for functions which it implements
12203 to always fail with ENOSYS. Some functions are actually named
12204 something starting with __ and the normal name is an alias. */
12205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12213 if { (eval echo configure
:12214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12215 eval "ac_cv_func_$ac_func=yes"
12217 echo "configure: failed program was:" >&5
12218 cat conftest.
$ac_ext >&5
12220 eval "ac_cv_func_$ac_func=no"
12225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12226 echo "$ac_t""yes" 1>&6
12227 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12228 cat >> confdefs.h
<<EOF
12229 #define $ac_tr_func 1
12232 cat >> confdefs.h
<<\EOF
12233 #define HAVE_SHL_LOAD 1
12239 echo "$ac_t""no" 1>&6
12251 if test "$HAVE_DL_FUNCS" = 0; then
12252 if test "$HAVE_SHL_FUNCS" = 0; then
12253 if test "$USE_UNIX" = 1; then
12254 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12255 wxUSE_DYNLIB_CLASS
=no
12257 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12263 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12264 cat >> confdefs.h
<<\EOF
12265 #define wxUSE_DYNLIB_CLASS 1
12274 if test "$wxUSE_UNICODE" = "yes" ; then
12275 cat >> confdefs.h
<<\EOF
12276 #define wxUSE_UNICODE 1
12281 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12282 cat >> confdefs.h
<<\EOF
12283 #define wxUSE_WCSRTOMBS 1
12288 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12289 cat >> confdefs.h
<<\EOF
12290 #define wxUSE_EXPERIMENTAL_PRINTF 1
12296 if test "$wxUSE_SERIAL" = "yes" ; then
12297 cat >> confdefs.h
<<\EOF
12298 #define wxUSE_SERIAL 1
12305 if test "$wxUSE_ODBC" = "yes" ; then
12306 cat >> confdefs.h
<<\EOF
12307 #define wxUSE_ODBC 1
12310 WXODBCFLAG
="-D_IODBC_"
12311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12312 IODBCOBJS
="\$(IODBC_OBJS)"
12318 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12319 cat >> confdefs.h
<<\EOF
12320 #define wxUSE_POSTSCRIPT 1
12325 cat >> confdefs.h
<<\EOF
12326 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12330 cat >> confdefs.h
<<\EOF
12331 #define wxUSE_NORMALIZED_PS_FONTS 1
12336 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12337 cat >> confdefs.h
<<\EOF
12338 #define wxUSE_CONSTRAINTS 1
12341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12344 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12345 cat >> confdefs.h
<<\EOF
12346 #define wxUSE_MDI_ARCHITECTURE 1
12349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12352 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12353 cat >> confdefs.h
<<\EOF
12354 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12358 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12363 if test "$wxUSE_HELP" = "yes"; then
12364 cat >> confdefs.h
<<\EOF
12365 #define wxUSE_HELP 1
12368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12371 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12372 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12373 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12375 cat >> confdefs.h
<<\EOF
12376 #define wxUSE_PRINTING_ARCHITECTURE 1
12380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12383 if test "$wxUSE_PROLOGIO" = "yes" ; then
12384 cat >> confdefs.h
<<\EOF
12385 #define wxUSE_PROLOGIO 1
12390 if test "$wxUSE_RESOURCES" = "yes" ; then
12391 if test "$wxUSE_PROLOGIO" = "yes" ; then
12392 cat >> confdefs.h
<<\EOF
12393 #define wxUSE_RESOURCES 1
12396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12398 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12402 if test "$wxUSE_X_RESOURCES" = "yes"; then
12403 cat >> confdefs.h
<<\EOF
12404 #define wxUSE_X_RESOURCES 1
12410 if test "$wxUSE_IPC" = "yes"; then
12411 cat >> confdefs.h
<<\EOF
12412 #define wxUSE_IPC 1
12417 if test "$wxUSE_CLIPBOARD" = "yes"; then
12418 cat >> confdefs.h
<<\EOF
12419 #define wxUSE_CLIPBOARD 1
12424 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12425 if test "$wxUSE_GTK" = 1; then
12426 if test "$WXGTK12" != 1; then
12427 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12428 wxUSE_DRAG_AND_DROP
=no
12432 if test "$wxUSE_MOTIF" = 1; then
12433 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12434 wxUSE_DRAG_AND_DROP
=no
12437 if test "$USE_WIN32" = 1; then
12438 for ac_hdr
in ole2.h
12440 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12442 echo "configure:12443: checking for $ac_hdr" >&5
12443 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12444 echo $ac_n "(cached) $ac_c" 1>&6
12446 cat > conftest.
$ac_ext <<EOF
12447 #line 12448 "configure"
12448 #include "confdefs.h"
12451 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12452 { (eval echo configure
:12453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12453 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12454 if test -z "$ac_err"; then
12456 eval "ac_cv_header_$ac_safe=yes"
12459 echo "configure: failed program was:" >&5
12460 cat conftest.
$ac_ext >&5
12462 eval "ac_cv_header_$ac_safe=no"
12466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12467 echo "$ac_t""yes" 1>&6
12468 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12469 cat >> confdefs.h
<<EOF
12470 #define $ac_tr_hdr 1
12474 echo "$ac_t""no" 1>&6
12478 if test "x$HAVE_OLE2_H" = x
; then
12479 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12480 wxUSE_DRAG_AND_DROP
=no
12484 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12485 cat >> confdefs.h
<<\EOF
12486 #define wxUSE_DRAG_AND_DROP 1
12489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12494 if test "$wxUSE_SPLINES" = "yes" ; then
12495 cat >> confdefs.h
<<\EOF
12496 #define wxUSE_SPLINES 1
12502 if test "$wxUSE_ACCEL" = "yes"; then
12503 cat >> confdefs.h
<<\EOF
12504 #define wxUSE_ACCEL 1
12509 if test "$wxUSE_CARET" = "yes"; then
12510 cat >> confdefs.h
<<\EOF
12511 #define wxUSE_CARET 1
12514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12517 if test "$wxUSE_COMBOBOX" = "yes"; then
12518 cat >> confdefs.h
<<\EOF
12519 #define wxUSE_COMBOBOX 1
12524 if test "$wxUSE_CHOICE" = "yes"; then
12525 cat >> confdefs.h
<<\EOF
12526 #define wxUSE_CHOICE 1
12531 if test "$wxUSE_BMPBUTTON" = "yes"; then
12532 cat >> confdefs.h
<<\EOF
12533 #define wxUSE_BMPBUTTON 1
12538 if test "$wxUSE_CHECKBOX" = "yes"; then
12539 cat >> confdefs.h
<<\EOF
12540 #define wxUSE_CHECKBOX 1
12545 if test "$wxUSE_CHECKLST" = "yes"; then
12546 cat >> confdefs.h
<<\EOF
12547 #define wxUSE_CHECKLISTBOX 1
12550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12553 if test "$wxUSE_GAUGE" = "yes"; then
12554 cat >> confdefs.h
<<\EOF
12555 #define wxUSE_GAUGE 1
12560 if test "$wxUSE_GRID" = "yes"; then
12561 cat >> confdefs.h
<<\EOF
12562 #define wxUSE_GRID 1
12565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12568 if test "$wxUSE_NEW_GRID" = "yes"; then
12569 cat >> confdefs.h
<<\EOF
12570 #define wxUSE_NEW_GRID 1
12573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12576 if test "$wxUSE_IMAGLIST" = "yes"; then
12577 cat >> confdefs.h
<<\EOF
12578 #define wxUSE_IMAGLIST 1
12583 if test "$wxUSE_LISTBOX" = "yes"; then
12584 cat >> confdefs.h
<<\EOF
12585 #define wxUSE_LISTBOX 1
12590 if test "$wxUSE_LISTCTRL" = "yes"; then
12591 if test "$wxUSE_IMAGLIST" = "yes"; then
12592 cat >> confdefs.h
<<\EOF
12593 #define wxUSE_LISTCTRL 1
12596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12598 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12602 if test "$wxUSE_NOTEBOOK" = "yes"; then
12603 cat >> confdefs.h
<<\EOF
12604 #define wxUSE_NOTEBOOK 1
12607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12610 if test "$wxUSE_RADIOBOX" = "yes"; then
12611 cat >> confdefs.h
<<\EOF
12612 #define wxUSE_RADIOBOX 1
12617 if test "$wxUSE_RADIOBTN" = "yes"; then
12618 cat >> confdefs.h
<<\EOF
12619 #define wxUSE_RADIOBTN 1
12624 if test "$wxUSE_SASH" = "yes"; then
12625 cat >> confdefs.h
<<\EOF
12626 #define wxUSE_SASH 1
12629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12632 if test "$wxUSE_SCROLLBAR" = "yes"; then
12633 cat >> confdefs.h
<<\EOF
12634 #define wxUSE_SCROLLBAR 1
12637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12640 if test "$wxUSE_SLIDER" = "yes"; then
12641 cat >> confdefs.h
<<\EOF
12642 #define wxUSE_SLIDER 1
12647 if test "$wxUSE_SPINBTN" = "yes"; then
12648 cat >> confdefs.h
<<\EOF
12649 #define wxUSE_SPINBTN 1
12654 if test "$wxUSE_SPINCTRL" = "yes"; then
12655 cat >> confdefs.h
<<\EOF
12656 #define wxUSE_SPINCTRL 1
12661 if test "$wxUSE_SPLITTER" = "yes"; then
12662 cat >> confdefs.h
<<\EOF
12663 #define wxUSE_SPLITTER 1
12666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12669 if test "$wxUSE_STATBMP" = "yes"; then
12670 cat >> confdefs.h
<<\EOF
12671 #define wxUSE_STATBMP 1
12676 if test "$wxUSE_STATBOX" = "yes"; then
12677 cat >> confdefs.h
<<\EOF
12678 #define wxUSE_STATBOX 1
12683 if test "$wxUSE_STATLINE" = "yes"; then
12684 if test "$wxUSE_WINE" = 1 ; then
12685 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12687 cat >> confdefs.h
<<\EOF
12688 #define wxUSE_STATLINE 1
12694 if test "$wxUSE_STATUSBAR" = "yes"; then
12695 cat >> confdefs.h
<<\EOF
12696 #define wxUSE_STATUSBAR 1
12701 if test "$wxUSE_TABDIALOG" = "yes"; then
12702 cat >> confdefs.h
<<\EOF
12703 #define wxUSE_TAB_DIALOG 1
12706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12709 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
12710 cat >> confdefs.h
<<\EOF
12711 #define wxUSE_TOOLBAR_SIMPLE 1
12714 wxUSE_TOOLBAR
="yes"
12717 if test "$wxUSE_TOOLBAR" = "yes"; then
12718 cat >> confdefs.h
<<\EOF
12719 #define wxUSE_TOOLBAR 1
12723 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
12724 wxUSE_TOOLBAR_NATIVE
="yes"
12727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12730 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
12731 cat >> confdefs.h
<<\EOF
12732 #define wxUSE_TOOLBAR_NATIVE 1
12737 if test "$wxUSE_TOOLTIPS" = "yes"; then
12738 if test "$wxUSE_MOTIF" = 1; then
12739 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12741 if test "$wxUSE_WINE" = 1; then
12742 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12744 cat >> confdefs.h
<<\EOF
12745 #define wxUSE_TOOLTIPS 1
12752 if test "$wxUSE_TREECTRL" = "yes"; then
12753 if test "$wxUSE_IMAGLIST" = "yes"; then
12754 cat >> confdefs.h
<<\EOF
12755 #define wxUSE_TREECTRL 1
12758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12760 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12766 if test "$wxUSE_METAFILE" = "yes"; then
12767 cat >> confdefs.h
<<\EOF
12768 #define wxUSE_METAFILE 1
12773 if test "$wxUSE_DIRDLG" = "yes"; then
12774 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12775 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12777 if test "$wxUSE_TREECTRL" != "yes"; then
12778 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12780 cat >> confdefs.h
<<\EOF
12781 #define wxUSE_DIRDLG 1
12788 if test "$wxUSE_TEXTDLG" = "yes"; then
12789 cat >> confdefs.h
<<\EOF
12790 #define wxUSE_TEXTDLG 1
12795 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12796 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12797 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12799 cat >> confdefs.h
<<\EOF
12800 #define wxUSE_STARTUP_TIPS 1
12806 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12807 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12808 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12810 cat >> confdefs.h
<<\EOF
12811 #define wxUSE_PROGRESSDLG 1
12817 if test "$wxUSE_MINIFRAME" = "yes"; then
12818 cat >> confdefs.h
<<\EOF
12819 #define wxUSE_MINIFRAME 1
12822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12825 if test "$wxUSE_HTML" = "yes"; then
12826 cat >> confdefs.h
<<\EOF
12827 #define wxUSE_HTML 1
12830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12831 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12834 if test "$wxUSE_VALIDATORS" = "yes"; then
12835 cat >> confdefs.h
<<\EOF
12836 #define wxUSE_VALIDATORS 1
12839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12842 if test "$wxUSE_GIF" = "yes" ; then
12843 cat >> confdefs.h
<<\EOF
12844 #define wxUSE_GIF 1
12849 if test "$wxUSE_PCX" = "yes" ; then
12850 cat >> confdefs.h
<<\EOF
12851 #define wxUSE_PCX 1
12856 if test "$wxUSE_PNM" = "yes" ; then
12857 cat >> confdefs.h
<<\EOF
12858 #define wxUSE_PNM 1
12864 OSINFO
=`uname -s -r -m`
12865 OSINFO
="\"$OSINFO\""
12866 cat >> confdefs.h
<<EOF
12867 #define WXWIN_OS_DESCRIPTION $OSINFO
12872 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12874 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12875 if test "$wxUSE_GUI" = "yes"; then
12876 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12879 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12881 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
12883 if test "$GXX" = yes ; then
12884 CXXWARNINGS
="-Wall"
12886 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12888 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12889 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12891 LDFLAGS
="$LDFLAGS $PROFILE"
12893 if test "$wxUSE_GUI" = "yes"; then
12895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
12896 font fractal image minimal richedit"
12898 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS)"
12903 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
12971 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12972 echo "configure:12973: checking whether ${MAKE-make} sets \${MAKE}" >&5
12973 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12974 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12975 echo $ac_n "(cached) $ac_c" 1>&6
12977 cat > conftestmake
<<\EOF
12979 @
echo 'ac_maketemp="${MAKE}"'
12981 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12982 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12983 if test -n "$ac_maketemp"; then
12984 eval ac_cv_prog_make_
${ac_make}_set
=yes
12986 eval ac_cv_prog_make_
${ac_make}_set
=no
12990 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12991 echo "$ac_t""yes" 1>&6
12994 echo "$ac_t""no" 1>&6
12995 SET_MAKE
="MAKE=${MAKE-make}"
13001 if test "$wxUSE_GUI" = "yes"; then
13002 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13003 echo "configure:13004: checking glcanvas subdirectory to use" >&5
13004 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13005 echo $ac_n "(cached) $ac_c" 1>&6
13008 if test "${TOOLKIT_DIR}" = "msw" ; then
13009 wx_cv_path_glcanvas
="win"
13011 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13016 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13018 GL_TOOLKIT_DIR
=$wx_cv_PATH_glcanvas
13021 subdirs
="demos samples utils"
13026 cat > confcache
<<\EOF
13027 # This file is a shell script that caches the results of configure
13028 # tests run on this system so they can be shared between configure
13029 # scripts and configure runs. It is not useful on other systems.
13030 # If it contains results you don't want to keep, you may remove or edit it.
13032 # By default, configure uses ./config.cache as the cache file,
13033 # creating it if it does not exist already. You can give configure
13034 # the --cache-file=FILE option to use a different cache file; that is
13035 # what configure does when it calls configure scripts in
13036 # subdirectories, so they share the cache.
13037 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13038 # config.status only pays attention to the cache file if you give it the
13039 # --recheck option to rerun configure.
13042 # The following way of writing the cache mishandles newlines in values,
13043 # but we know of no workaround that is simple, portable, and efficient.
13044 # So, don't put newlines in cache variables' values.
13045 # Ultrix sh set writes to stderr and can't be redirected directly,
13046 # and sets the high bit in the cache file unless we assign to the vars.
13048 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13050 # `set' does not quote correctly, so add quotes (double-quote substitution
13051 # turns \\\\ into \\, and sed turns \\ into \).
13053 -e "s/'/'\\\\''/g" \
13054 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13057 # `set' quotes correctly as required by POSIX, so do not add quotes.
13058 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13061 if cmp -s $cache_file confcache
; then
13064 if test -w $cache_file; then
13065 echo "updating cache $cache_file"
13066 cat confcache
> $cache_file
13068 echo "not updating unwritable cache $cache_file"
13073 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13075 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13076 # Let make expand exec_prefix.
13077 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13079 # Any assignment to VPATH causes Sun make to only execute
13080 # the first set of double-colon rules, so remove it if not needed.
13081 # If there is a colon in the path, we need to keep it.
13082 if test "x$srcdir" = x.
; then
13083 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13086 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13088 DEFS
=-DHAVE_CONFIG_H
13090 # Without the "./", some shells look in PATH for config.status.
13091 : ${CONFIG_STATUS=./config.status}
13093 echo creating
$CONFIG_STATUS
13094 rm -f $CONFIG_STATUS
13095 cat > $CONFIG_STATUS <<EOF
13097 # Generated automatically by configure.
13098 # Run this file to recreate the current configuration.
13099 # This directory was configured as follows,
13100 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13102 # $0 $ac_configure_args
13104 # Compiler output produced by configure, useful for debugging
13105 # configure, is in ./config.log if it exists.
13107 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13110 case "\$ac_option" in
13111 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13112 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13113 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13114 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13115 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13117 -help | --help | --hel | --he | --h)
13118 echo "\$ac_cs_usage"; exit 0 ;;
13119 *) echo "\$ac_cs_usage"; exit 1 ;;
13123 ac_given_srcdir=$srcdir
13124 ac_given_INSTALL="$INSTALL"
13126 trap 'rm -fr `echo "
13132 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13134 cat >> $CONFIG_STATUS <<EOF
13136 # Protect against being on the right side of a sed subst in config.status.
13137 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13138 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13142 s%@CFLAGS@%$CFLAGS%g
13143 s%@CPPFLAGS@%$CPPFLAGS%g
13144 s%@CXXFLAGS@%$CXXFLAGS%g
13145 s%@FFLAGS@%$FFLAGS%g
13147 s%@LDFLAGS@%$LDFLAGS%g
13149 s%@exec_prefix@%$exec_prefix%g
13150 s%@prefix@%$prefix%g
13151 s%@program_transform_name@%$program_transform_name%g
13152 s%@bindir@%$bindir%g
13153 s%@sbindir@%$sbindir%g
13154 s%@libexecdir@%$libexecdir%g
13155 s%@datadir@%$datadir%g
13156 s%@sysconfdir@%$sysconfdir%g
13157 s%@sharedstatedir@%$sharedstatedir%g
13158 s%@localstatedir@%$localstatedir%g
13159 s%@libdir@%$libdir%g
13160 s%@includedir@%$includedir%g
13161 s%@oldincludedir@%$oldincludedir%g
13162 s%@infodir@%$infodir%g
13163 s%@mandir@%$mandir%g
13167 s%@CXXCPP@%$CXXCPP%g
13168 s%@RANLIB@%$RANLIB%g
13170 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13171 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13172 s%@INSTALL_DATA@%$INSTALL_DATA%g
13176 s%@LEXLIB@%$LEXLIB%g
13178 s%@GTK_CONFIG@%$GTK_CONFIG%g
13179 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13180 s%@GTK_LIBS@%$GTK_LIBS%g
13181 s%@X_CFLAGS@%$X_CFLAGS%g
13182 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13183 s%@X_LIBS@%$X_LIBS%g
13184 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13185 s%@LEX_STEM@%$LEX_STEM%g
13186 s%@PATH_IFS@%$PATH_IFS%g
13187 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13188 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13189 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13190 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13191 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13192 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13193 s%@WX_LIBRARY@%$WX_LIBRARY%g
13194 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13195 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13196 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13197 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13198 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13199 s%@WX_ALL@%$WX_ALL%g
13200 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13201 s%@SHARED_LD@%$SHARED_LD%g
13202 s%@PIC_FLAG@%$PIC_FLAG%g
13203 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13204 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13205 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13206 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13207 s%@USE_GUI@%$USE_GUI%g
13208 s%@AFMINSTALL@%$AFMINSTALL%g
13209 s%@TOOLKIT@%$TOOLKIT%g
13210 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13211 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13212 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13213 s%@GUIHEADERS@%$GUIHEADERS%g
13214 s%@GUIOBJS@%$GUIOBJS%g
13215 s%@COMMONOBJS@%$COMMONOBJS%g
13216 s%@GENERICOBJS@%$GENERICOBJS%g
13217 s%@GUIDEPS@%$GUIDEPS%g
13218 s%@COMMONDEPS@%$COMMONDEPS%g
13219 s%@GENERICDEPS@%$GENERICDEPS%g
13220 s%@IODBCOBJS@%$IODBCOBJS%g
13221 s%@UNIXOBJS@%$UNIXOBJS%g
13222 s%@UNIXDEPS@%$UNIXDEPS%g
13223 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13224 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13225 s%@GUIDIST@%$GUIDIST%g
13226 s%@PORT_FILES@%$PORT_FILES%g
13227 s%@DISTDIR@%$DISTDIR%g
13228 s%@RPM_SPEC@%$RPM_SPEC%g
13229 s%@RPM_FILES@%$RPM_FILES%g
13230 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13231 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13232 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13233 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13234 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13235 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13236 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13237 s%@EXTRADEFS@%$EXTRADEFS%g
13238 s%@LD_LIBS@%$LD_LIBS%g
13239 s%@SET_MAKE@%$SET_MAKE%g
13240 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13241 s%@subdirs@%$subdirs%g
13246 cat >> $CONFIG_STATUS <<\EOF
13248 # Split the substitutions into bite-sized pieces for seds with
13249 # small command number limits, like on Digital OSF/1 and HP-UX.
13250 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13251 ac_file
=1 # Number of current file.
13252 ac_beg
=1 # First line for current file.
13253 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13256 while $ac_more_lines; do
13257 if test $ac_beg -gt 1; then
13258 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13260 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13262 if test ! -s conftest.s
$ac_file; then
13263 ac_more_lines
=false
13264 rm -f conftest.s
$ac_file
13266 if test -z "$ac_sed_cmds"; then
13267 ac_sed_cmds
="sed -f conftest.s$ac_file"
13269 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13271 ac_file
=`expr $ac_file + 1`
13273 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13276 if test -z "$ac_sed_cmds"; then
13281 cat >> $CONFIG_STATUS <<EOF
13283 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13290 cat >> $CONFIG_STATUS <<\EOF
13291 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13292 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13294 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13295 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13296 *) ac_file_in
="${ac_file}.in" ;;
13299 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13301 # Remove last slash and all that follows it. Not all systems have dirname.
13302 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13303 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13304 # The file is in a subdirectory.
13305 test ! -d "$ac_dir" && mkdir "$ac_dir"
13306 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13307 # A "../" for each directory in $ac_dir_suffix.
13308 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13310 ac_dir_suffix
= ac_dots
=
13313 case "$ac_given_srcdir" in
13315 if test -z "$ac_dots"; then top_srcdir
=.
13316 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13317 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13318 *) # Relative path.
13319 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13320 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13323 case "$ac_given_INSTALL" in
13324 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13325 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13328 echo creating
"$ac_file"
13330 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13332 *Makefile
*) ac_comsub
="1i\\
13333 # $configure_input" ;;
13337 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13339 s%@configure_input@%$configure_input%g
13340 s%@srcdir@%$srcdir%g
13341 s%@top_srcdir@%$top_srcdir%g
13342 s%@INSTALL@%$INSTALL%g
13343 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13347 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13348 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13350 # ac_d sets the value in "#define NAME VALUE" lines.
13351 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13352 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13355 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13356 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13357 ac_uB
='\([ ]\)%\1#\2define\3'
13360 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13361 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13362 ac_eB
='$%\1#\2define\3'
13366 if test "${CONFIG_HEADERS+set}" != set; then
13368 cat >> $CONFIG_STATUS <<EOF
13369 CONFIG_HEADERS="setup.h:setup.h.in"
13371 cat >> $CONFIG_STATUS <<\EOF
13373 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13374 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13376 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13377 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13378 *) ac_file_in
="${ac_file}.in" ;;
13381 echo creating
$ac_file
13383 rm -f conftest.frag conftest.
in conftest.out
13384 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13385 cat $ac_file_inputs > conftest.
in
13389 # Transform confdefs.h into a sed script conftest.vals that substitutes
13390 # the proper values into config.h.in to produce config.h. And first:
13391 # Protect against being on the right side of a sed subst in config.status.
13392 # Protect against being in an unquoted here document in config.status.
13393 rm -f conftest.vals
13394 cat > conftest.hdr
<<\EOF
13397 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13401 sed -n -f conftest.hdr confdefs.h > conftest.vals
13404 # This sed command replaces #undef with comments. This is necessary, for
13405 # example, in the case of _POSIX_SOURCE, which is predefined and required
13406 # on some systems where configure will not decide to define it.
13407 cat >> conftest.vals <<\EOF
13408 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13411 # Break up conftest.vals because some shells have a limit on
13412 # the size of here documents, and old seds have small limits too.
13414 rm -f conftest.tail
13417 ac_lines=`grep -c . conftest.vals
`
13418 # grep -c gives empty output for an empty file on some AIX systems.
13419 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13420 # Write a limited-size here document to conftest.frag.
13421 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13422 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13424 sed -f conftest.frag conftest.in > conftest.out
13426 mv conftest.out conftest.in
13427 ' >> $CONFIG_STATUS
13428 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13429 rm -f conftest.vals
13430 mv conftest.tail conftest.vals
13432 rm -f conftest.vals
13434 cat >> $CONFIG_STATUS <<\EOF
13435 rm -f conftest.frag conftest.h
13436 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13437 cat conftest.in >> conftest.h
13439 if cmp -s $ac_file conftest.h 2>/dev/null; then
13440 echo "$ac_file is unchanged"
13443 # Remove last slash and all that follows it. Not all systems have dirname.
13444 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13445 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13446 # The file is in a subdirectory.
13447 test ! -d "$ac_dir" && mkdir "$ac_dir"
13450 mv conftest.h $ac_file
13455 cat >> $CONFIG_STATUS <<EOF
13457 TOOLKIT_DIR="${TOOLKIT_DIR}"
13461 cat >> $CONFIG_STATUS <<\EOF
13464 if test ! -d include; then
13467 if test ! -d include/wx; then
13470 if test ! -d include/wx/${TOOLKIT_DIR}; then
13471 mkdir include/wx/${TOOLKIT_DIR}
13473 if test -f setup.h; then
13474 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13479 chmod +x $CONFIG_STATUS
13480 rm -fr confdefs* $ac_clean_files
13481 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13483 if test "$no_recursion" != yes; then
13485 # Remove --cache-file and --srcdir arguments so they do not pile up.
13486 ac_sub_configure_args=
13488 for ac_arg in $ac_configure_args; do
13489 if test -n "$ac_prev"; then
13494 -cache-file | --cache-file | --cache-fil | --cache-fi \
13495 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13496 ac_prev=cache_file ;;
13497 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13498 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13500 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13502 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13504 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13508 for ac_config_dir in demos samples utils; do
13510 # Do not complain, so a configure script can configure whichever
13511 # parts of a large source tree are present.
13512 if test ! -d $srcdir/$ac_config_dir; then
13516 echo configuring in $ac_config_dir
13521 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
13523 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
13531 # A "../" for each directory in /$ac_config_dir.
13532 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
13535 .) # No --srcdir option. We are building in place.
13536 ac_sub_srcdir=$srcdir ;;
13537 /*) # Absolute path.
13538 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
13539 *) # Relative path.
13540 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
13543 # Check for guested configure; otherwise get Cygnus style configure.
13544 if test -f $ac_sub_srcdir/configure; then
13545 ac_sub_configure=$ac_sub_srcdir/configure
13546 elif test -f $ac_sub_srcdir/configure.in; then
13547 ac_sub_configure=$ac_configure
13549 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
13553 # The recursion is here.
13554 if test -n "$ac_sub_configure"; then
13556 # Make the cache file name correct relative to the subdirectory.
13557 case "$cache_file" in
13558 /*) ac_sub_cache_file=$cache_file ;;
13559 *) # Relative path.
13560 ac_sub_cache_file="$ac_dots$cache_file" ;;
13562 case "$ac_given_INSTALL" in
13563 [/$]*) INSTALL="$ac_given_INSTALL" ;;
13564 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
13567 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
13568 # The eval makes quoting arguments work.
13569 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
13572 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }