3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.13
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
55 --enable-gui use GUI classes"
59 --with-motif use Motif/Lesstif"
63 --with-cygwin use Cygwin for MS-Windows"
65 --with-mingw use GCC Minimal MS-Windows"
67 --with-gtk-prefix=PFX Prefix where GTK is installed"
69 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
71 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
73 --with-zlib use zlib for LZW compression"
75 --with-libpng use libpng (PNG image format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-permissive compile code disregarding strict ANSI"
107 --enable-no_deps create code without dependency information"
109 --enable-intl use internationalization system"
111 --enable-config use wxConfig (and derived) classes"
113 --enable-sockets use socket/network classes"
115 --enable-dialupman use dialup network classes"
117 --enable-ipc use interprocess communication (wxSocket etc.)"
119 --enable-apple_ieee use the Apple IEEE codec"
121 --enable-timedate use date/time classes"
123 --enable-wave use wxWave class"
125 --enable-fraction use wxFraction class"
127 --enable-dynlib use wxLibrary class for DLL loading"
129 --enable-longlong use wxLongLong class"
131 --enable-log use logging system"
133 --enable-streams use wxStream etc classes"
135 --enable-file use wxFile classes"
137 --enable-textfile use wxTextFile classes"
139 --enable-unicode compile wxString with Unicode support"
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
145 --enable-joystick compile in joystick support (Linux only)"
147 --enable-std_iostreams use standard C++ stream classes"
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
151 --enable-fs_zip use virtual ZIP filesystems"
153 --enable-zipstream use wxZipInputStream"
155 --enable-threads use threads"
157 --enable-serial use class serialization"
159 --enable-docview use document view architecture"
161 --enable-help use help (using external browser at present)"
163 --enable-constraints use layout-constraints system"
165 --enable-printarch use printing architecture"
167 --enable-mdi use multiple document interface architecture"
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
171 --enable-prologio use Prolog IO library"
173 --enable-resources use wxWindows resources"
175 --enable-xresources use X resources for save (default for gtk+)"
177 --enable-clipboard use wxClipboard classes"
179 --enable-dnd use Drag'n'Drop classes"
181 --enable-wxtree make wxTree library"
183 --enable-controls use all usual controls"
185 --enable-accel use accelerators"
187 --enable-caret use wxCaret class"
189 --enable-bmpbutton use wxBitmapButton class"
191 --enable-checkbox use wxCheckBox class"
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
195 --enable-choice use wxChoice class"
197 --enable-combobox use wxComboBox classes"
199 --enable-gauge use wxGauge class"
201 --enable-grid use wxGrid class"
203 --enable-newgrid use new wxGrid class"
205 --enable-imaglist use wxImageList class"
207 --enable-listbox use wxListBox class"
209 --enable-listctrl use wxListCtrl class"
211 --enable-notebook use wxNotebook class"
213 --enable-radiobox use wxRadioBox class"
215 --enable-radiobtn use wxRadioButton class"
217 --enable-sash use wxSashWindow class"
219 --enable-scrollbar use wxScrollBar class and scrollable windows"
221 --enable-slider use wxSlider class"
223 --enable-spinbtn use wxSpinButton class"
225 --enable-splitter use wxSplitterWindow class"
227 --enable-statbmp use wxStaticBitmap class"
229 --enable-statbox use wxStaticBox class"
231 --enable-statline use wxStaticLine class"
233 --enable-statusbar use wxStatusBar class"
235 --enable-tabdialog use wxTabControl class"
237 --enable-toolbar use wxToolBar class"
239 --enable-treectrl use wxTreeCtrl class"
241 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
243 --enable-dirdlg use wxDirDialog"
245 --enable-textdlg use wxTextDialog"
247 --enable-tipdlg use startup tips"
249 --enable-progressdlg use wxProgressDialog"
251 --enable-miniframe use wxMiniFrame class"
253 --enable-html use wxHTML sub-library"
255 --enable-tooltips use wxToolTip class"
257 --enable-splines use spline drawing code"
259 --enable-validators use wxValidator and derived classes"
261 --enable-busyinfo use wxBusyInfo"
263 --enable-gif use gif images (GIF file format)"
265 --enable-pcx use pcx images (PCX file format)"
267 --enable-pnm use pnm images (PNM file format)"
269 --with-x use the X Window System"
271 # Initialize some variables set by options.
272 # The variables have the same names as the options, with
273 # dashes changed to underlines.
275 cache_file
=.
/config.cache
284 program_transform_name
=s
,x
,x
,
292 bindir
='${exec_prefix}/bin'
293 sbindir
='${exec_prefix}/sbin'
294 libexecdir
='${exec_prefix}/libexec'
295 datadir
='${prefix}/share'
296 sysconfdir
='${prefix}/etc'
297 sharedstatedir
='${prefix}/com'
298 localstatedir
='${prefix}/var'
299 libdir
='${exec_prefix}/lib'
300 includedir
='${prefix}/include'
301 oldincludedir
='/usr/include'
302 infodir
='${prefix}/info'
303 mandir
='${prefix}/man'
305 # Initialize some other variables.
308 SHELL
=${CONFIG_SHELL-/bin/sh}
309 # Maximum number of lines to put in a shell here document.
316 # If the previous option needs an argument, assign it.
317 if test -n "$ac_prev"; then
318 eval "$ac_prev=\$ac_option"
324 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir
="$ac_optarg" ;;
337 -build | --build | --buil | --bui | --bu)
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build
="$ac_optarg" ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev
=cache_file
;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file
="$ac_optarg" ;;
349 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
351 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
353 datadir
="$ac_optarg" ;;
355 -disable-* | --disable-*)
356 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
357 # Reject names that are not valid shell variable names.
358 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
359 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
361 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
362 eval "enable_${ac_feature}=no" ;;
364 -enable-* | --enable-*)
365 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
366 # Reject names that are not valid shell variable names.
367 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
368 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
370 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
375 eval "enable_${ac_feature}='$ac_optarg'" ;;
377 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
378 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
379 | --exec | --exe | --ex)
380 ac_prev
=exec_prefix
;;
381 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
382 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
383 | --exec=* | --exe=* | --ex=*)
384 exec_prefix
="$ac_optarg" ;;
386 -gas | --gas | --ga | --g)
387 # Obsolete; use --with-gas.
390 -help | --help | --hel | --he)
391 # Omit some internal or obsolete options to make the list less imposing.
392 # This message is too long to be a string in the A/UX 3.1 sh.
394 Usage: configure [options] [host]
395 Options: [defaults in brackets after descriptions]
397 --cache-file=FILE cache test results in FILE
398 --help print this message
399 --no-create do not create output files
400 --quiet, --silent do not print \`checking...' messages
401 --version print the version of autoconf that created configure
402 Directory and file names:
403 --prefix=PREFIX install architecture-independent files in PREFIX
405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
407 --bindir=DIR user executables in DIR [EPREFIX/bin]
408 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
409 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
410 --datadir=DIR read-only architecture-independent data in DIR
412 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
413 --sharedstatedir=DIR modifiable architecture-independent data in DIR
415 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
416 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
417 --includedir=DIR C header files in DIR [PREFIX/include]
418 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
419 --infodir=DIR info documentation in DIR [PREFIX/info]
420 --mandir=DIR man documentation in DIR [PREFIX/man]
421 --srcdir=DIR find the sources in DIR [configure dir or ..]
422 --program-prefix=PREFIX prepend PREFIX to installed program names
423 --program-suffix=SUFFIX append SUFFIX to installed program names
424 --program-transform-name=PROGRAM
425 run sed PROGRAM on installed program names
429 --build=BUILD configure for building on BUILD [BUILD=HOST]
430 --host=HOST configure for HOST [guessed]
431 --target=TARGET configure for TARGET [TARGET=HOST]
432 Features and packages:
433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
437 --x-includes=DIR X include files are in DIR
438 --x-libraries=DIR X library files are in DIR
440 if test -n "$ac_help"; then
441 echo "--enable and --with options recognized:$ac_help"
445 -host | --host | --hos | --ho)
447 -host=* | --host=* | --hos=* | --ho=*)
450 -includedir | --includedir | --includedi | --included | --include \
451 | --includ | --inclu | --incl | --inc)
452 ac_prev
=includedir
;;
453 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
454 | --includ=* | --inclu=* | --incl=* | --inc=*)
455 includedir
="$ac_optarg" ;;
457 -infodir | --infodir | --infodi | --infod | --info | --inf)
459 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
460 infodir
="$ac_optarg" ;;
462 -libdir | --libdir | --libdi | --libd)
464 -libdir=* | --libdir=* | --libdi=* | --libd=*)
465 libdir
="$ac_optarg" ;;
467 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
468 | --libexe | --libex | --libe)
469 ac_prev
=libexecdir
;;
470 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
471 | --libexe=* | --libex=* | --libe=*)
472 libexecdir
="$ac_optarg" ;;
474 -localstatedir | --localstatedir | --localstatedi | --localstated \
475 | --localstate | --localstat | --localsta | --localst \
476 | --locals | --local | --loca | --loc | --lo)
477 ac_prev
=localstatedir
;;
478 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
479 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
480 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
481 localstatedir
="$ac_optarg" ;;
483 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
485 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
486 mandir
="$ac_optarg" ;;
489 # Obsolete; use --without-fp.
492 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
496 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
497 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
500 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
501 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
502 | --oldin | --oldi | --old | --ol | --o)
503 ac_prev
=oldincludedir
;;
504 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
505 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
506 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
507 oldincludedir
="$ac_optarg" ;;
509 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
511 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
512 prefix
="$ac_optarg" ;;
514 -program-prefix | --program-prefix | --program-prefi | --program-pref \
515 | --program-pre | --program-pr | --program-p)
516 ac_prev
=program_prefix
;;
517 -program-prefix=* | --program-prefix=* | --program-prefi=* \
518 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
519 program_prefix
="$ac_optarg" ;;
521 -program-suffix | --program-suffix | --program-suffi | --program-suff \
522 | --program-suf | --program-su | --program-s)
523 ac_prev
=program_suffix
;;
524 -program-suffix=* | --program-suffix=* | --program-suffi=* \
525 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
526 program_suffix
="$ac_optarg" ;;
528 -program-transform-name | --program-transform-name \
529 | --program-transform-nam | --program-transform-na \
530 | --program-transform-n | --program-transform- \
531 | --program-transform | --program-transfor \
532 | --program-transfo | --program-transf \
533 | --program-trans | --program-tran \
534 | --progr-tra | --program-tr | --program-t)
535 ac_prev
=program_transform_name
;;
536 -program-transform-name=* | --program-transform-name=* \
537 | --program-transform-nam=* | --program-transform-na=* \
538 | --program-transform-n=* | --program-transform-=* \
539 | --program-transform=* | --program-transfor=* \
540 | --program-transfo=* | --program-transf=* \
541 | --program-trans=* | --program-tran=* \
542 | --progr-tra=* | --program-tr=* | --program-t=*)
543 program_transform_name
="$ac_optarg" ;;
545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
546 | -silent | --silent | --silen | --sile | --sil)
549 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
551 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
553 sbindir
="$ac_optarg" ;;
555 -sharedstatedir | --sharedstatedir | --sharedstatedi \
556 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
557 | --sharedst | --shareds | --shared | --share | --shar \
559 ac_prev
=sharedstatedir
;;
560 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
561 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
562 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
564 sharedstatedir
="$ac_optarg" ;;
566 -site | --site | --sit)
568 -site=* | --site=* | --sit=*)
571 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
573 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
574 srcdir
="$ac_optarg" ;;
576 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
577 | --syscon | --sysco | --sysc | --sys | --sy)
578 ac_prev
=sysconfdir
;;
579 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
580 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
581 sysconfdir
="$ac_optarg" ;;
583 -target | --target | --targe | --targ | --tar | --ta | --t)
585 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
586 target
="$ac_optarg" ;;
588 -v | -verbose | --verbose | --verbos | --verbo | --verb)
591 -version | --version | --versio | --versi | --vers)
592 echo "configure generated by autoconf version 2.13"
596 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
597 # Reject names that are not valid shell variable names.
598 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
599 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
601 ac_package
=`echo $ac_package| sed 's/-/_/g'`
606 eval "with_${ac_package}='$ac_optarg'" ;;
608 -without-* | --without-*)
609 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
610 # Reject names that are not valid shell variable names.
611 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
612 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
614 ac_package
=`echo $ac_package| sed 's/-/_/g'`
615 eval "with_${ac_package}=no" ;;
618 # Obsolete; use --with-x.
621 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
622 | --x-incl | --x-inc | --x-in | --x-i)
623 ac_prev
=x_includes
;;
624 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
625 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
626 x_includes
="$ac_optarg" ;;
628 -x-libraries | --x-libraries | --x-librarie | --x-librari \
629 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
630 ac_prev
=x_libraries
;;
631 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
632 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
633 x_libraries
="$ac_optarg" ;;
635 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
639 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
640 echo "configure: warning: $ac_option: invalid host type" 1>&2
642 if test "x$nonopt" != xNONE
; then
643 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
651 if test -n "$ac_prev"; then
652 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
655 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
657 # File descriptor usage:
660 # 2 errors and warnings
661 # 3 some systems may open it to /dev/tty
662 # 4 used on the Kubota Titan
663 # 6 checking for... messages and results
664 # 5 compiler messages saved in config.log
665 if test "$silent" = yes; then
673 This file contains any messages produced by compilers while
674 running configure, to aid debugging if configure makes a mistake.
677 # Strip out --no-create and --no-recursion so they do not pile up.
678 # Also quote any args containing shell metacharacters.
683 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
684 | --no-cr | --no-c) ;;
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
687 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
688 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
689 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
694 # Only set these to C if already set. These must not be set unconditionally
695 # because not all systems understand e.g. LANG=C (notably SCO).
696 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
697 # Non-C LC_CTYPE values break the ctype check.
698 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
699 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
700 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
701 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
704 rm -rf conftest
* confdefs.h
705 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
708 # A filename unique to this package, relative to the directory that
709 # configure is in, which we can look for to find out if srcdir is correct.
710 ac_unique_file
=wx
-config.
in
712 # Find the source files, if location was not specified.
713 if test -z "$srcdir"; then
714 ac_srcdir_defaulted
=yes
715 # Try the directory containing this script, then its parent.
717 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
718 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
720 if test ! -r $srcdir/$ac_unique_file; then
724 ac_srcdir_defaulted
=no
726 if test ! -r $srcdir/$ac_unique_file; then
727 if test "$ac_srcdir_defaulted" = yes; then
728 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
730 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
733 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
735 # Prefer explicitly selected file to automatically selected ones.
736 if test -z "$CONFIG_SITE"; then
737 if test "x$prefix" != xNONE
; then
738 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
740 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
743 for ac_site_file
in $CONFIG_SITE; do
744 if test -r "$ac_site_file"; then
745 echo "loading site script $ac_site_file"
750 if test -r "$cache_file"; then
751 echo "loading cache $cache_file"
754 echo "creating cache $cache_file"
759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
760 ac_cpp
='$CPP $CPPFLAGS'
761 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
762 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
763 cross_compiling
=$ac_cv_prog_cc_cross
767 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
768 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
769 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
776 ac_n
= ac_c
='\c' ac_t
=
782 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
783 if test -f $ac_dir/install-sh; then
785 ac_install_sh
="$ac_aux_dir/install-sh -c"
787 elif test -f $ac_dir/install.sh
; then
789 ac_install_sh
="$ac_aux_dir/install.sh -c"
793 if test -z "$ac_aux_dir"; then
794 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
796 ac_config_guess
=$ac_aux_dir/config.guess
797 ac_config_sub
=$ac_aux_dir/config.sub
798 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
801 # Do some error checking and defaulting for the host and target type.
803 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
806 # 1. You are not allowed to specify --host, --target, and nonopt at the
808 # 2. Host defaults to nonopt.
809 # 3. If nonopt is not specified, then host defaults to the current host,
810 # as determined by config.guess.
811 # 4. Target and build default to nonopt.
812 # 5. If nonopt is not specified, then target and build default to host.
814 # The aliases save the names the user supplied, while $host etc.
815 # will get canonicalized.
816 case $host---$target---$nonopt in
817 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
818 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
822 # Make sure we can run config.sub.
823 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
824 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
827 echo $ac_n "checking host system type""... $ac_c" 1>&6
828 echo "configure:829: checking host system type" >&5
831 case "$host_alias" in
835 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
836 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
838 *) host_alias
=$nonopt ;;
842 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
843 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
844 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
845 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
846 echo "$ac_t""$host" 1>&6
848 echo $ac_n "checking target system type""... $ac_c" 1>&6
849 echo "configure:850: checking target system type" >&5
852 case "$target_alias" in
855 NONE
) target_alias
=$host_alias ;;
856 *) target_alias
=$nonopt ;;
860 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
861 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
862 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
863 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
864 echo "$ac_t""$target" 1>&6
866 echo $ac_n "checking build system type""... $ac_c" 1>&6
867 echo "configure:868: checking build system type" >&5
870 case "$build_alias" in
873 NONE
) build_alias
=$host_alias ;;
874 *) build_alias
=$nonopt ;;
878 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
879 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
880 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
881 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
882 echo "$ac_t""$build" 1>&6
884 test "$host_alias" != "$target_alias" &&
885 test "$program_prefix$program_suffix$program_transform_name" = \
887 program_prefix
=${target_alias}-
891 WX_MAJOR_VERSION_NUMBER
=2
892 WX_MINOR_VERSION_NUMBER
=1
898 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
900 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
901 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
902 WX_REVISION
=$WX_INTERFACE_AGE
903 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
927 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
930 DEFAULT_wxUSE_MOTIF
=0
934 DEFAULT_DEFAULT_wxUSE_GTK
=0
935 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
936 DEFAULT_DEFAULT_wxUSE_MSW
=0
937 DEFAULT_DEFAULT_wxUSE_WINE
=0
942 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
943 cat >> confdefs.h
<<\EOF
950 cat >> confdefs.h
<<\EOF
955 if test "x$TMP" = "xalpha"; then
957 cat >> confdefs.h
<<\EOF
962 DEFAULT_DEFAULT_wxUSE_GTK
=1
964 *-*-irix5* | *-*-irix6* )
967 cat >> confdefs.h
<<\EOF
971 cat >> confdefs.h
<<\EOF
975 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
981 cat >> confdefs.h
<<\EOF
985 cat >> confdefs.h
<<\EOF
986 #define __SOLARIS__ 1
989 cat >> confdefs.h
<<\EOF
993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
999 cat >> confdefs.h
<<\EOF
1003 cat >> confdefs.h
<<\EOF
1007 cat >> confdefs.h
<<\EOF
1011 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1013 *-*-freebsd* | *-*-netbsd*)
1016 cat >> confdefs.h
<<\EOF
1017 #define __FREEBSD__ 1
1020 cat >> confdefs.h
<<\EOF
1024 DEFAULT_DEFAULT_wxUSE_GTK
=1
1029 cat >> confdefs.h
<<\EOF
1033 cat >> confdefs.h
<<\EOF
1037 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1042 cat >> confdefs.h
<<\EOF
1046 cat >> confdefs.h
<<\EOF
1050 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1055 cat >> confdefs.h
<<\EOF
1059 cat >> confdefs.h
<<\EOF
1063 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1069 cat >> confdefs.h
<<\EOF
1073 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1081 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1087 cat >> confdefs.h
<<\EOF
1091 cat >> confdefs.h
<<\EOF
1095 cat >> confdefs.h
<<\EOF
1096 #define __WINDOWS__ 1
1099 cat >> confdefs.h
<<\EOF
1100 #define __GNUWIN32__ 1
1103 cat >> confdefs.h
<<\EOF
1107 cat >> confdefs.h
<<\EOF
1108 #define WINVER 0x0400
1111 DEFAULT_DEFAULT_wxUSE_MSW
=1
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1124 cat >> confdefs.h
<<\EOF
1125 #define __WINDOWS__ 1
1128 cat >> confdefs.h
<<\EOF
1129 #define __GNUWIN32__ 1
1132 cat >> confdefs.h
<<\EOF
1136 cat >> confdefs.h
<<\EOF
1137 #define WINVER 0x0400
1140 DEFAULT_DEFAULT_wxUSE_MSW
=1
1144 cat >> confdefs.h
<<\EOF
1151 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1154 if test "$USE_UNIX" = 1 ; then
1156 cat >> confdefs.h
<<\EOF
1160 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1161 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1164 if test "$USE_LINUX" = 1; then
1165 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1166 echo "configure:1167: checking for gettext in -lc" >&5
1167 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1169 echo $ac_n "(cached) $ac_c" 1>&6
1171 ac_save_LIBS
="$LIBS"
1173 cat > conftest.
$ac_ext <<EOF
1174 #line 1175 "configure"
1175 #include "confdefs.h"
1176 /* Override any gcc2 internal prototype to avoid an error. */
1177 /* We use char because int might match the return type of a gcc2
1178 builtin and then its argument prototype would still apply. */
1185 if { (eval echo configure
:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1187 eval "ac_cv_lib_$ac_lib_var=yes"
1189 echo "configure: failed program was:" >&5
1190 cat conftest.
$ac_ext >&5
1192 eval "ac_cv_lib_$ac_lib_var=no"
1195 LIBS
="$ac_save_LIBS"
1198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1199 echo "$ac_t""yes" 1>&6
1200 cat >> confdefs.h
<<\EOF
1201 #define wxHAVE_GLIBC2 1
1205 echo "$ac_t""no" 1>&6
1213 wx_arg_cache_file
="configarg.cache"
1214 echo "loading argument cache $wx_arg_cache_file"
1215 rm -f ${wx_arg_cache_file}.tmp
1216 touch ${wx_arg_cache_file}.tmp
1217 touch ${wx_arg_cache_file}
1221 if test $DEBUG_CONFIGURE = 1; then
1222 DEFAULT_wxUSE_THREADS
=yes
1224 DEFAULT_wxUSE_SHARED
=yes
1225 DEFAULT_wxUSE_OPTIMISE
=yes
1226 DEFAULT_wxUSE_PROFILE
=no
1227 DEFAULT_wxUSE_NO_DEPS
=no
1228 DEFAULT_wxUSE_NO_RTTI
=no
1229 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1230 DEFAULT_wxUSE_PERMISSIVE
=no
1231 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1232 DEFAULT_wxUSE_DEBUG_INFO
=yes
1233 DEFAULT_wxUSE_DEBUG_GDB
=yes
1234 DEFAULT_wxUSE_MEM_TRACING
=no
1235 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1236 DEFAULT_wxUSE_DMALLOC
=no
1237 DEFAULT_wxUSE_APPLE_IEEE
=no
1239 DEFAULT_wxUSE_LOG
=yes
1241 DEFAULT_wxUSE_GUI
=yes
1243 DEFAULT_wxUSE_ZLIB
=no
1244 DEFAULT_wxUSE_LIBPNG
=no
1245 DEFAULT_wxUSE_LIBJPEG
=no
1246 DEFAULT_wxUSE_ODBC
=no
1248 DEFAULT_wxUSE_STD_IOSTREAM
=no
1249 DEFAULT_wxUSE_FILE
=no
1250 DEFAULT_wxUSE_TEXTFILE
=no
1251 DEFAULT_wxUSE_TIMEDATE
=no
1252 DEFAULT_wxUSE_WAVE
=no
1253 DEFAULT_wxUSE_INTL
=no
1254 DEFAULT_wxUSE_CONFIG
=no
1255 DEFAULT_wxUSE_STREAMS
=no
1256 DEFAULT_wxUSE_SOCKETS
=no
1257 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1258 DEFAULT_wxUSE_SERIAL
=no
1259 DEFAULT_wxUSE_JOYSTICK
=no
1260 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1261 DEFAULT_wxUSE_LONGLONG
=no
1263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1265 DEFAULT_wxUSE_POSTSCRIPT
=no
1267 DEFAULT_wxUSE_X_RESOURCES
=no
1268 DEFAULT_wxUSE_CLIPBOARD
=no
1269 DEFAULT_wxUSE_TOOLTIPS
=no
1270 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1271 DEFAULT_wxUSE_SPLINES
=no
1273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1277 DEFAULT_wxUSE_PROLOGIO
=no
1278 DEFAULT_wxUSE_RESOURCES
=no
1279 DEFAULT_wxUSE_CONSTRAINTS
=no
1280 DEFAULT_wxUSE_IPC
=no
1281 DEFAULT_wxUSE_HELP
=no
1282 DEFAULT_wxUSE_WXTREE
=no
1283 DEFAULT_wxUSE_METAFILE
=no
1285 DEFAULT_wxUSE_COMMONDLGS
=no
1286 DEFAULT_wxUSE_DIRDLG
=no
1287 DEFAULT_wxUSE_TEXTDLG
=no
1288 DEFAULT_wxUSE_STARTUP_TIPS
=no
1289 DEFAULT_wxUSE_PROGRESSDLG
=no
1290 DEFAULT_wxUSE_MINIFRAME
=no
1291 DEFAULT_wxUSE_HTML
=no
1292 DEFAULT_wxUSE_FS_INET
=no
1293 DEFAULT_wxUSE_FS_ZIP
=no
1294 DEFAULT_wxUSE_BUSYINFO
=no
1295 DEFAULT_wxUSE_ZIPSTREAM
=no
1296 DEFAULT_wxUSE_VALIDATORS
=yes
1298 DEFAULT_wxUSE_ACCEL
=no
1299 DEFAULT_wxUSE_CARET
=no
1300 DEFAULT_wxUSE_BMPBUTTON
=no
1301 DEFAULT_wxUSE_CHECKBOX
=no
1302 DEFAULT_wxUSE_CHECKLST
=no
1303 DEFAULT_wxUSE_CHOICE
=yes
1304 DEFAULT_wxUSE_COMBOBOX
=no
1305 DEFAULT_wxUSE_GAUGE
=no
1306 DEFAULT_wxUSE_GRID
=no
1307 DEFAULT_wxUSE_NEW_GRID
=no
1308 DEFAULT_wxUSE_IMAGLIST
=no
1309 DEFAULT_wxUSE_LISTBOX
=no
1310 DEFAULT_wxUSE_LISTCTRL
=no
1311 DEFAULT_wxUSE_NOTEBOOK
=no
1312 DEFAULT_wxUSE_RADIOBOX
=no
1313 DEFAULT_wxUSE_RADIOBTN
=no
1314 DEFAULT_wxUSE_SASH
=no
1315 DEFAULT_wxUSE_SCROLLBAR
=no
1316 DEFAULT_wxUSE_SLIDER
=no
1317 DEFAULT_wxUSE_SPINBTN
=no
1318 DEFAULT_wxUSE_SPLITTER
=no
1319 DEFAULT_wxUSE_STATBMP
=no
1320 DEFAULT_wxUSE_STATBOX
=no
1321 DEFAULT_wxUSE_STATLINE
=no
1322 DEFAULT_wxUSE_STATUSBAR
=yes
1323 DEFAULT_wxUSE_TABDIALOG
=no
1324 DEFAULT_wxUSE_TOOLBAR
=no
1325 DEFAULT_wxUSE_TREECTRL
=no
1327 DEFAULT_wxUSE_UNICODE
=no
1328 DEFAULT_wxUSE_WCSRTOMBS
=no
1330 DEFAULT_wxUSE_GIF
=no
1331 DEFAULT_wxUSE_PCX
=no
1332 DEFAULT_wxUSE_PNM
=no
1334 DEFAULT_wxUSE_THREADS
=yes
1336 DEFAULT_wxUSE_SHARED
=yes
1337 DEFAULT_wxUSE_OPTIMISE
=yes
1338 DEFAULT_wxUSE_PROFILE
=no
1339 DEFAULT_wxUSE_NO_DEPS
=no
1340 DEFAULT_wxUSE_NO_RTTI
=no
1341 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1342 DEFAULT_wxUSE_PERMISSIVE
=no
1343 DEFAULT_wxUSE_DEBUG_FLAG
=no
1344 DEFAULT_wxUSE_DEBUG_INFO
=no
1345 DEFAULT_wxUSE_DEBUG_GDB
=no
1346 DEFAULT_wxUSE_MEM_TRACING
=no
1347 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1348 DEFAULT_wxUSE_DMALLOC
=no
1349 DEFAULT_wxUSE_APPLE_IEEE
=yes
1351 DEFAULT_wxUSE_LOG
=yes
1353 DEFAULT_wxUSE_GUI
=yes
1355 DEFAULT_wxUSE_ZLIB
=yes
1356 DEFAULT_wxUSE_LIBPNG
=yes
1357 DEFAULT_wxUSE_LIBJPEG
=yes
1358 DEFAULT_wxUSE_ODBC
=yes
1360 DEFAULT_wxUSE_STD_IOSTREAM
=no
1361 DEFAULT_wxUSE_FILE
=yes
1362 DEFAULT_wxUSE_TEXTFILE
=yes
1363 DEFAULT_wxUSE_TIMEDATE
=yes
1364 DEFAULT_wxUSE_WAVE
=no
1365 DEFAULT_wxUSE_INTL
=yes
1366 DEFAULT_wxUSE_CONFIG
=yes
1367 DEFAULT_wxUSE_STREAMS
=yes
1368 DEFAULT_wxUSE_SOCKETS
=yes
1369 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1370 DEFAULT_wxUSE_SERIAL
=yes
1371 DEFAULT_wxUSE_JOYSTICK
=yes
1372 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1373 DEFAULT_wxUSE_LONGLONG
=no
1375 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1376 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1377 DEFAULT_wxUSE_POSTSCRIPT
=yes
1379 DEFAULT_wxUSE_X_RESOURCES
=no
1380 DEFAULT_wxUSE_CLIPBOARD
=yes
1381 DEFAULT_wxUSE_TOOLTIPS
=yes
1382 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1383 DEFAULT_wxUSE_SPLINES
=yes
1385 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1386 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1387 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1389 DEFAULT_wxUSE_PROLOGIO
=yes
1390 DEFAULT_wxUSE_RESOURCES
=yes
1391 DEFAULT_wxUSE_CONSTRAINTS
=yes
1392 DEFAULT_wxUSE_IPC
=yes
1393 DEFAULT_wxUSE_HELP
=yes
1394 DEFAULT_wxUSE_WXTREE
=yes
1395 DEFAULT_wxUSE_METAFILE
=yes
1397 DEFAULT_wxUSE_COMMONDLGS
=yes
1398 DEFAULT_wxUSE_DIRDLG
=yes
1399 DEFAULT_wxUSE_TEXTDLG
=yes
1400 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1401 DEFAULT_wxUSE_PROGRESSDLG
=yes
1402 DEFAULT_wxUSE_MINIFRAME
=yes
1403 DEFAULT_wxUSE_HTML
=yes
1404 DEFAULT_wxUSE_FS_INET
=yes
1405 DEFAULT_wxUSE_FS_ZIP
=yes
1406 DEFAULT_wxUSE_BUSYINFO
=yes
1407 DEFAULT_wxUSE_ZIPSTREAM
=yes
1408 DEFAULT_wxUSE_VALIDATORS
=yes
1410 DEFAULT_wxUSE_ACCEL
=yes
1411 DEFAULT_wxUSE_CARET
=yes
1412 DEFAULT_wxUSE_BMPBUTTON
=yes
1413 DEFAULT_wxUSE_CHECKBOX
=yes
1414 DEFAULT_wxUSE_CHECKLST
=yes
1415 DEFAULT_wxUSE_CHOICE
=yes
1416 DEFAULT_wxUSE_COMBOBOX
=yes
1417 DEFAULT_wxUSE_GAUGE
=yes
1418 DEFAULT_wxUSE_GRID
=yes
1419 DEFAULT_wxUSE_NEW_GRID
=yes
1420 DEFAULT_wxUSE_IMAGLIST
=yes
1421 DEFAULT_wxUSE_LISTBOX
=yes
1422 DEFAULT_wxUSE_LISTCTRL
=yes
1423 DEFAULT_wxUSE_NOTEBOOK
=yes
1424 DEFAULT_wxUSE_RADIOBOX
=yes
1425 DEFAULT_wxUSE_RADIOBTN
=yes
1426 DEFAULT_wxUSE_SASH
=yes
1427 DEFAULT_wxUSE_SCROLLBAR
=yes
1428 DEFAULT_wxUSE_SLIDER
=yes
1429 DEFAULT_wxUSE_SPINBTN
=yes
1430 DEFAULT_wxUSE_SPLITTER
=yes
1431 DEFAULT_wxUSE_STATBMP
=yes
1432 DEFAULT_wxUSE_STATBOX
=yes
1433 DEFAULT_wxUSE_STATLINE
=yes
1434 DEFAULT_wxUSE_STATUSBAR
=yes
1435 DEFAULT_wxUSE_TABDIALOG
=no
1436 DEFAULT_wxUSE_TOOLBAR
=yes
1437 DEFAULT_wxUSE_TREECTRL
=yes
1439 DEFAULT_wxUSE_UNICODE
=no
1440 DEFAULT_wxUSE_WCSRTOMBS
=no
1442 DEFAULT_wxUSE_GIF
=yes
1443 DEFAULT_wxUSE_PCX
=yes
1444 DEFAULT_wxUSE_PNM
=yes
1449 for toolkit
in `echo $ALL_TOOLKITS`; do
1450 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1451 if test "x$LINE" != x
; then
1452 has_toolkit_in_cache
=1
1453 eval "DEFAULT_$LINE"
1454 eval "CACHE_$toolkit=1"
1460 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1461 echo "configure:1462: checking "for --enable-gui"" >&5
1463 # Check whether --enable-gui or --disable-gui was given.
1464 if test "${enable_gui+set}" = set; then
1465 enableval
="$enable_gui"
1467 if test "$enableval" = yes; then
1468 ac_cv_use_gui
='wxUSE_GUI=yes'
1470 ac_cv_use_gui
='wxUSE_GUI=no'
1475 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1476 if test "x$LINE" != x
; then
1477 eval "DEFAULT_$LINE"
1482 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1487 eval "$ac_cv_use_gui"
1488 if test "$no_cache" != 1; then
1489 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1492 if test "$wxUSE_GUI" = yes; then
1493 echo "$ac_t""yes" 1>&6
1495 echo "$ac_t""no" 1>&6
1499 if test "$wxUSE_GUI" = "no"; then
1500 DEFAULT_wxUSE_ZLIB
=no
1501 DEFAULT_wxUSE_LIBPNG
=no
1502 DEFAULT_wxUSE_LIBJPEG
=no
1503 DEFAULT_wxUSE_SOCKETS
=no
1504 DEFAULT_wxUSE_JOYSTICK
=no
1505 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1506 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1507 DEFAULT_wxUSE_POSTSCRIPT
=no
1508 DEFAULT_wxUSE_X_RESOURCES
=no
1509 DEFAULT_wxUSE_CLIPBOARD
=no
1510 DEFAULT_wxUSE_TOOLTIPS
=no
1511 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1512 DEFAULT_wxUSE_SPLINES
=no
1513 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1514 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1515 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1516 DEFAULT_wxUSE_PROLOGIO
=no
1517 DEFAULT_wxUSE_RESOURCES
=no
1518 DEFAULT_wxUSE_CONSTRAINTS
=no
1519 DEFAULT_wxUSE_IPC
=no
1520 DEFAULT_wxUSE_HELP
=no
1521 DEFAULT_wxUSE_WXTREE
=no
1522 DEFAULT_wxUSE_METAFILE
=no
1523 DEFAULT_wxUSE_COMMONDLGS
=no
1524 DEFAULT_wxUSE_DIRDLG
=no
1525 DEFAULT_wxUSE_TEXTDLG
=no
1526 DEFAULT_wxUSE_STARTUP_TIPS
=no
1527 DEFAULT_wxUSE_PROGRESSDLG
=no
1528 DEFAULT_wxUSE_MINIFRAME
=no
1529 DEFAULT_wxUSE_HTML
=no
1530 DEFAULT_wxUSE_FS_INET
=no
1531 DEFAULT_wxUSE_FS_ZIP
=no
1532 DEFAULT_wxUSE_BUSYINFO
=no
1533 DEFAULT_wxUSE_ZIPSTREAM
=no
1534 DEFAULT_wxUSE_VALIDATORS
=yes
1535 DEFAULT_wxUSE_ACCEL
=no
1536 DEFAULT_wxUSE_CARET
=no
1537 DEFAULT_wxUSE_BMPBUTTON
=no
1538 DEFAULT_wxUSE_CHECKBOX
=no
1539 DEFAULT_wxUSE_CHECKLST
=no
1540 DEFAULT_wxUSE_CHOICE
=yes
1541 DEFAULT_wxUSE_COMBOBOX
=no
1542 DEFAULT_wxUSE_GAUGE
=no
1543 DEFAULT_wxUSE_GRID
=no
1544 DEFAULT_wxUSE_NEW_GRID
=no
1545 DEFAULT_wxUSE_IMAGLIST
=no
1546 DEFAULT_wxUSE_LISTBOX
=no
1547 DEFAULT_wxUSE_LISTCTRL
=no
1548 DEFAULT_wxUSE_NOTEBOOK
=no
1549 DEFAULT_wxUSE_RADIOBOX
=no
1550 DEFAULT_wxUSE_RADIOBTN
=no
1551 DEFAULT_wxUSE_SASH
=no
1552 DEFAULT_wxUSE_SCROLLBAR
=no
1553 DEFAULT_wxUSE_SLIDER
=no
1554 DEFAULT_wxUSE_SPINBTN
=no
1555 DEFAULT_wxUSE_SPLITTER
=no
1556 DEFAULT_wxUSE_STATBMP
=no
1557 DEFAULT_wxUSE_STATBOX
=no
1558 DEFAULT_wxUSE_STATLINE
=no
1559 DEFAULT_wxUSE_STATUSBAR
=yes
1560 DEFAULT_wxUSE_TABDIALOG
=no
1561 DEFAULT_wxUSE_TOOLBAR
=no
1562 DEFAULT_wxUSE_TREECTRL
=no
1563 DEFAULT_wxUSE_GIF
=no
1564 DEFAULT_wxUSE_PCX
=no
1565 DEFAULT_wxUSE_PNM
=no
1568 # Check whether --with-gtk or --without-gtk was given.
1569 if test "${with_gtk+set}" = set; then
1571 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1574 # Check whether --with-motif or --without-motif was given.
1575 if test "${with_motif+set}" = set; then
1576 withval
="$with_motif"
1577 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1580 # Check whether --with-wine or --without-wine was given.
1581 if test "${with_wine+set}" = set; then
1582 withval
="$with_wine"
1583 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1586 # Check whether --with-cygwin or --without-cygwin was given.
1587 if test "${with_cygwin+set}" = set; then
1588 withval
="$with_cygwin"
1589 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1592 # Check whether --with-mingw or --without-mingw was given.
1593 if test "${with_mingw+set}" = set; then
1594 withval
="$with_mingw"
1595 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1599 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1600 if test "${with_gtk_prefix+set}" = set; then
1601 withval
="$with_gtk_prefix"
1602 gtk_config_prefix
="$withval"
1604 gtk_config_prefix
=""
1607 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1608 if test "${with_gtk_exec_prefix+set}" = set; then
1609 withval
="$with_gtk_exec_prefix"
1610 gtk_config_exec_prefix
="$withval"
1612 gtk_config_exec_prefix
=""
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-libpng"""... $ac_c" 1>&6
1696 echo "configure:1697: checking "for --with-libpng"" >&5
1698 # Check whether --with-libpng or --without-libpng was given.
1699 if test "${with_libpng+set}" = set; then
1700 withval
="$with_libpng"
1702 if test "$withval" = yes; then
1703 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1705 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1710 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1711 if test "x$LINE" != x
; then
1712 eval "DEFAULT_$LINE"
1717 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1722 eval "$ac_cv_use_libpng"
1723 if test "$no_cache" != 1; then
1724 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1727 if test "$wxUSE_LIBPNG" = yes; then
1728 echo "$ac_t""yes" 1>&6
1730 echo "$ac_t""no" 1>&6
1734 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1735 echo "configure:1736: checking "for --with-libjpeg"" >&5
1737 # Check whether --with-libjpeg or --without-libjpeg was given.
1738 if test "${with_libjpeg+set}" = set; then
1739 withval
="$with_libjpeg"
1741 if test "$withval" = yes; then
1742 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1744 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1749 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1750 if test "x$LINE" != x
; then
1751 eval "DEFAULT_$LINE"
1756 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1761 eval "$ac_cv_use_libjpeg"
1762 if test "$no_cache" != 1; then
1763 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1766 if test "$wxUSE_LIBJPEG" = yes; then
1767 echo "$ac_t""yes" 1>&6
1769 echo "$ac_t""no" 1>&6
1773 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1774 echo "configure:1775: checking "for --with-opengl"" >&5
1776 # Check whether --with-opengl or --without-opengl was given.
1777 if test "${with_opengl+set}" = set; then
1778 withval
="$with_opengl"
1780 if test "$withval" = yes; then
1781 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1783 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1788 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1789 if test "x$LINE" != x
; then
1790 eval "DEFAULT_$LINE"
1795 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1800 eval "$ac_cv_use_opengl"
1801 if test "$no_cache" != 1; then
1802 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1805 if test "$wxUSE_OPENGL" = yes; then
1806 echo "$ac_t""yes" 1>&6
1808 echo "$ac_t""no" 1>&6
1812 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1813 echo "configure:1814: checking "for --with-odbc"" >&5
1815 # Check whether --with-odbc or --without-odbc was given.
1816 if test "${with_odbc+set}" = set; then
1817 withval
="$with_odbc"
1819 if test "$withval" = yes; then
1820 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1822 ac_cv_use_odbc
='wxUSE_ODBC=no'
1827 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1839 eval "$ac_cv_use_odbc"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_ODBC" = yes; then
1845 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1854 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1855 echo "configure:1856: checking "for --enable-shared"" >&5
1857 # Check whether --enable-shared or --disable-shared was given.
1858 if test "${enable_shared+set}" = set; then
1859 enableval
="$enable_shared"
1861 if test "$enableval" = yes; then
1862 ac_cv_use_shared
='wxUSE_SHARED=yes'
1864 ac_cv_use_shared
='wxUSE_SHARED=no'
1869 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1881 eval "$ac_cv_use_shared"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_SHARED" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1893 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1894 echo "configure:1895: checking "for --enable-optimise"" >&5
1896 # Check whether --enable-optimise or --disable-optimise was given.
1897 if test "${enable_optimise+set}" = set; then
1898 enableval
="$enable_optimise"
1900 if test "$enableval" = yes; then
1901 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1903 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1908 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x
; then
1910 eval "DEFAULT_$LINE"
1915 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1920 eval "$ac_cv_use_optimise"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1925 if test "$wxUSE_OPTIMISE" = yes; then
1926 echo "$ac_t""yes" 1>&6
1928 echo "$ac_t""no" 1>&6
1932 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1933 echo "configure:1934: checking "for --enable-debug"" >&5
1935 # Check whether --enable-debug or --disable-debug was given.
1936 if test "${enable_debug+set}" = set; then
1937 enableval
="$enable_debug"
1939 if test "$enableval" = yes; then
1940 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1942 ac_cv_use_debug
='wxUSE_DEBUG=no'
1947 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1948 if test "x$LINE" != x
; then
1949 eval "DEFAULT_$LINE"
1954 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1959 eval "$ac_cv_use_debug"
1960 if test "$no_cache" != 1; then
1961 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1964 if test "$wxUSE_DEBUG" = yes; then
1965 echo "$ac_t""yes" 1>&6
1967 echo "$ac_t""no" 1>&6
1971 if test "$wxUSE_DEBUG" = "yes"; then
1972 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1973 DEFAULT_wxUSE_DEBUG_INFO
=yes
1974 elif test "$wxUSE_DEBUG" = "no"; then
1975 DEFAULT_wxUSE_DEBUG_FLAG
=no
1976 DEFAULT_wxUSE_DEBUG_INFO
=no
1980 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1981 echo "configure:1982: checking "for --enable-debug_flag"" >&5
1983 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1984 if test "${enable_debug_flag+set}" = set; then
1985 enableval
="$enable_debug_flag"
1987 if test "$enableval" = yes; then
1988 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1990 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1995 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x
; then
1997 eval "DEFAULT_$LINE"
2002 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2007 eval "$ac_cv_use_debug_flag"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2012 if test "$wxUSE_DEBUG_FLAG" = yes; then
2013 echo "$ac_t""yes" 1>&6
2015 echo "$ac_t""no" 1>&6
2019 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-debug_info"" >&5
2022 # Check whether --enable-debug_info or --disable-debug_info was given.
2023 if test "${enable_debug_info+set}" = set; then
2024 enableval
="$enable_debug_info"
2026 if test "$enableval" = yes; then
2027 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2029 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2034 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x
; then
2036 eval "DEFAULT_$LINE"
2041 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2046 eval "$ac_cv_use_debug_info"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2051 if test "$wxUSE_DEBUG_INFO" = yes; then
2052 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-debug_gdb"" >&5
2061 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2062 if test "${enable_debug_gdb+set}" = set; then
2063 enableval
="$enable_debug_gdb"
2065 if test "$enableval" = yes; then
2066 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2068 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2073 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2085 eval "$ac_cv_use_debug_gdb"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_DEBUG_GDB" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-debug_cntxt"" >&5
2100 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2101 if test "${enable_debug_cntxt+set}" = set; then
2102 enableval
="$enable_debug_cntxt"
2104 if test "$enableval" = yes; then
2105 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2107 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2112 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2124 eval "$ac_cv_use_debug_cntxt"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2137 echo "configure:2138: checking "for --enable-mem_tracing"" >&5
2139 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2140 if test "${enable_mem_tracing+set}" = set; then
2141 enableval
="$enable_mem_tracing"
2143 if test "$enableval" = yes; then
2144 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2146 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2151 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2163 eval "$ac_cv_use_mem_tracing"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_MEM_TRACING" = yes; then
2169 echo "$ac_t""yes" 1>&6
2171 echo "$ac_t""no" 1>&6
2175 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-profile"" >&5
2178 # Check whether --enable-profile or --disable-profile was given.
2179 if test "${enable_profile+set}" = set; then
2180 enableval
="$enable_profile"
2182 if test "$enableval" = yes; then
2183 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2185 ac_cv_use_profile
='wxUSE_PROFILE=no'
2190 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2202 eval "$ac_cv_use_profile"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_PROFILE" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-no_rtti"" >&5
2217 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2218 if test "${enable_no_rtti+set}" = set; then
2219 enableval
="$enable_no_rtti"
2221 if test "$enableval" = yes; then
2222 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2224 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2229 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2241 eval "$ac_cv_use_no_rtti"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_NO_RTTI" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2253 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2254 echo "configure:2255: checking "for --enable-no_exceptions"" >&5
2256 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2257 if test "${enable_no_exceptions+set}" = set; then
2258 enableval
="$enable_no_exceptions"
2260 if test "$enableval" = yes; then
2261 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2263 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2268 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2269 if test "x$LINE" != x
; then
2270 eval "DEFAULT_$LINE"
2275 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2280 eval "$ac_cv_use_no_exceptions"
2281 if test "$no_cache" != 1; then
2282 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2285 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2286 echo "$ac_t""yes" 1>&6
2288 echo "$ac_t""no" 1>&6
2292 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2293 echo "configure:2294: checking "for --enable-permissive"" >&5
2295 # Check whether --enable-permissive or --disable-permissive was given.
2296 if test "${enable_permissive+set}" = set; then
2297 enableval
="$enable_permissive"
2299 if test "$enableval" = yes; then
2300 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2302 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2307 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x
; then
2309 eval "DEFAULT_$LINE"
2314 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2319 eval "$ac_cv_use_permissive"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_PERMISSIVE" = yes; then
2325 echo "$ac_t""yes" 1>&6
2327 echo "$ac_t""no" 1>&6
2331 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2332 echo "configure:2333: checking "for --enable-no_deps"" >&5
2334 # Check whether --enable-no_deps or --disable-no_deps was given.
2335 if test "${enable_no_deps+set}" = set; then
2336 enableval
="$enable_no_deps"
2338 if test "$enableval" = yes; then
2339 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2341 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2346 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x
; then
2348 eval "DEFAULT_$LINE"
2353 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2358 eval "$ac_cv_use_no_deps"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_NO_DEPS" = yes; then
2364 echo "$ac_t""yes" 1>&6
2366 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2373 echo "configure:2374: checking "for --enable-intl"" >&5
2375 # Check whether --enable-intl or --disable-intl was given.
2376 if test "${enable_intl+set}" = set; then
2377 enableval
="$enable_intl"
2379 if test "$enableval" = yes; then
2380 ac_cv_use_intl
='wxUSE_INTL=yes'
2382 ac_cv_use_intl
='wxUSE_INTL=no'
2387 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x
; then
2389 eval "DEFAULT_$LINE"
2394 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2399 eval "$ac_cv_use_intl"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_INTL" = yes; then
2405 echo "$ac_t""yes" 1>&6
2407 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2412 echo "configure:2413: checking "for --enable-config"" >&5
2414 # Check whether --enable-config or --disable-config was given.
2415 if test "${enable_config+set}" = set; then
2416 enableval
="$enable_config"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_config
='wxUSE_CONFIG=yes'
2421 ac_cv_use_config
='wxUSE_CONFIG=no'
2426 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2438 eval "$ac_cv_use_config"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_CONFIG" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2451 echo "configure:2452: checking "for --enable-sockets"" >&5
2453 # Check whether --enable-sockets or --disable-sockets was given.
2454 if test "${enable_sockets+set}" = set; then
2455 enableval
="$enable_sockets"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2460 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2465 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2477 eval "$ac_cv_use_sockets"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_SOCKETS" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2489 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2490 echo "configure:2491: checking "for --enable-dialupman"" >&5
2492 # Check whether --enable-dialupman or --disable-dialupman was given.
2493 if test "${enable_dialupman+set}" = set; then
2494 enableval
="$enable_dialupman"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2499 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2504 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2516 eval "$ac_cv_use_dialupman"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2522 echo "$ac_t""yes" 1>&6
2524 echo "$ac_t""no" 1>&6
2528 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2529 echo "configure:2530: checking "for --enable-ipc"" >&5
2531 # Check whether --enable-ipc or --disable-ipc was given.
2532 if test "${enable_ipc+set}" = set; then
2533 enableval
="$enable_ipc"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_ipc
='wxUSE_IPC=yes'
2538 ac_cv_use_ipc
='wxUSE_IPC=no'
2543 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2555 eval "$ac_cv_use_ipc"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_IPC" = yes; then
2561 echo "$ac_t""yes" 1>&6
2563 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2568 echo "configure:2569: checking "for --enable-apple_ieee"" >&5
2570 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2571 if test "${enable_apple_ieee+set}" = set; then
2572 enableval
="$enable_apple_ieee"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2577 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2582 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2594 eval "$ac_cv_use_apple_ieee"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_APPLE_IEEE" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2607 echo "configure:2608: checking "for --enable-timedate"" >&5
2609 # Check whether --enable-timedate or --disable-timedate was given.
2610 if test "${enable_timedate+set}" = set; then
2611 enableval
="$enable_timedate"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2616 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2621 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2633 eval "$ac_cv_use_timedate"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_TIMEDATE" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2645 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2646 echo "configure:2647: checking "for --enable-wave"" >&5
2648 # Check whether --enable-wave or --disable-wave was given.
2649 if test "${enable_wave+set}" = set; then
2650 enableval
="$enable_wave"
2652 if test "$enableval" = yes; then
2653 ac_cv_use_wave
='wxUSE_WAVE=yes'
2655 ac_cv_use_wave
='wxUSE_WAVE=no'
2660 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x
; then
2662 eval "DEFAULT_$LINE"
2667 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2672 eval "$ac_cv_use_wave"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_WAVE" = yes; then
2678 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2684 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2685 echo "configure:2686: checking "for --enable-fraction"" >&5
2687 # Check whether --enable-fraction or --disable-fraction was given.
2688 if test "${enable_fraction+set}" = set; then
2689 enableval
="$enable_fraction"
2691 if test "$enableval" = yes; then
2692 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2694 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2699 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x
; then
2701 eval "DEFAULT_$LINE"
2706 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2711 eval "$ac_cv_use_fraction"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_FRACTION" = yes; then
2717 echo "$ac_t""yes" 1>&6
2719 echo "$ac_t""no" 1>&6
2723 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2724 echo "configure:2725: checking "for --enable-dynlib"" >&5
2726 # Check whether --enable-dynlib or --disable-dynlib was given.
2727 if test "${enable_dynlib+set}" = set; then
2728 enableval
="$enable_dynlib"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2733 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2738 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2750 eval "$ac_cv_use_dynlib"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2756 echo "$ac_t""yes" 1>&6
2758 echo "$ac_t""no" 1>&6
2762 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2763 echo "configure:2764: checking "for --enable-longlong"" >&5
2765 # Check whether --enable-longlong or --disable-longlong was given.
2766 if test "${enable_longlong+set}" = set; then
2767 enableval
="$enable_longlong"
2769 if test "$enableval" = yes; then
2770 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2772 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2777 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2789 eval "$ac_cv_use_longlong"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_LONGLONG" = yes; then
2795 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no" 1>&6
2801 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2802 echo "configure:2803: checking "for --enable-log"" >&5
2804 # Check whether --enable-log or --disable-log was given.
2805 if test "${enable_log+set}" = set; then
2806 enableval
="$enable_log"
2808 if test "$enableval" = yes; then
2809 ac_cv_use_log
='wxUSE_LOG=yes'
2811 ac_cv_use_log
='wxUSE_LOG=no'
2816 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x
; then
2818 eval "DEFAULT_$LINE"
2823 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2828 eval "$ac_cv_use_log"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2833 if test "$wxUSE_LOG" = yes; then
2834 echo "$ac_t""yes" 1>&6
2836 echo "$ac_t""no" 1>&6
2840 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2841 echo "configure:2842: checking "for --enable-streams"" >&5
2843 # Check whether --enable-streams or --disable-streams was given.
2844 if test "${enable_streams+set}" = set; then
2845 enableval
="$enable_streams"
2847 if test "$enableval" = yes; then
2848 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2850 ac_cv_use_streams
='wxUSE_STREAMS=no'
2855 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2856 if test "x$LINE" != x
; then
2857 eval "DEFAULT_$LINE"
2862 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2867 eval "$ac_cv_use_streams"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2872 if test "$wxUSE_STREAMS" = yes; then
2873 echo "$ac_t""yes" 1>&6
2875 echo "$ac_t""no" 1>&6
2879 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2880 echo "configure:2881: checking "for --enable-file"" >&5
2882 # Check whether --enable-file or --disable-file was given.
2883 if test "${enable_file+set}" = set; then
2884 enableval
="$enable_file"
2886 if test "$enableval" = yes; then
2887 ac_cv_use_file
='wxUSE_FILE=yes'
2889 ac_cv_use_file
='wxUSE_FILE=no'
2894 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2895 if test "x$LINE" != x
; then
2896 eval "DEFAULT_$LINE"
2901 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2906 eval "$ac_cv_use_file"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2911 if test "$wxUSE_FILE" = yes; then
2912 echo "$ac_t""yes" 1>&6
2914 echo "$ac_t""no" 1>&6
2918 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2919 echo "configure:2920: checking "for --enable-textfile"" >&5
2921 # Check whether --enable-textfile or --disable-textfile was given.
2922 if test "${enable_textfile+set}" = set; then
2923 enableval
="$enable_textfile"
2925 if test "$enableval" = yes; then
2926 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2928 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2933 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2934 if test "x$LINE" != x
; then
2935 eval "DEFAULT_$LINE"
2940 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2945 eval "$ac_cv_use_textfile"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2950 if test "$wxUSE_TEXTFILE" = yes; then
2951 echo "$ac_t""yes" 1>&6
2953 echo "$ac_t""no" 1>&6
2957 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2958 echo "configure:2959: checking "for --enable-unicode"" >&5
2960 # Check whether --enable-unicode or --disable-unicode was given.
2961 if test "${enable_unicode+set}" = set; then
2962 enableval
="$enable_unicode"
2964 if test "$enableval" = yes; then
2965 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2967 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2972 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x
; then
2974 eval "DEFAULT_$LINE"
2979 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2984 eval "$ac_cv_use_unicode"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2989 if test "$wxUSE_UNICODE" = yes; then
2990 echo "$ac_t""yes" 1>&6
2992 echo "$ac_t""no" 1>&6
2996 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2997 echo "configure:2998: checking "for --enable-wcsrtombs"" >&5
2999 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3000 if test "${enable_wcsrtombs+set}" = set; then
3001 enableval
="$enable_wcsrtombs"
3003 if test "$enableval" = yes; then
3004 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3006 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3011 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3012 if test "x$LINE" != x
; then
3013 eval "DEFAULT_$LINE"
3018 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3023 eval "$ac_cv_use_wcsrtombs"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3028 if test "$wxUSE_WCSRTOMBS" = yes; then
3029 echo "$ac_t""yes" 1>&6
3031 echo "$ac_t""no" 1>&6
3035 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3036 echo "configure:3037: checking "for --enable-wxprintfv"" >&5
3038 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3039 if test "${enable_wxprintfv+set}" = set; then
3040 enableval
="$enable_wxprintfv"
3042 if test "$enableval" = yes; then
3043 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3045 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3050 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3051 if test "x$LINE" != x
; then
3052 eval "DEFAULT_$LINE"
3057 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3062 eval "$ac_cv_use_wxprintfv"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3067 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3068 echo "$ac_t""yes" 1>&6
3070 echo "$ac_t""no" 1>&6
3074 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3075 echo "configure:3076: checking "for --enable-joystick"" >&5
3077 # Check whether --enable-joystick or --disable-joystick was given.
3078 if test "${enable_joystick+set}" = set; then
3079 enableval
="$enable_joystick"
3081 if test "$enableval" = yes; then
3082 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3084 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3089 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x
; then
3091 eval "DEFAULT_$LINE"
3096 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3101 eval "$ac_cv_use_joystick"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_JOYSTICK" = yes; then
3107 echo "$ac_t""yes" 1>&6
3109 echo "$ac_t""no" 1>&6
3113 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3114 echo "configure:3115: checking "for --enable-std_iostreams"" >&5
3116 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3117 if test "${enable_std_iostreams+set}" = set; then
3118 enableval
="$enable_std_iostreams"
3120 if test "$enableval" = yes; then
3121 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3123 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3128 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x
; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3140 eval "$ac_cv_use_std_iostreams"
3141 if test "$no_cache" != 1; then
3142 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3145 if test "$wxUSE_STD_IOSTREAM" = yes; then
3146 echo "$ac_t""yes" 1>&6
3148 echo "$ac_t""no" 1>&6
3152 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3153 echo "configure:3154: checking "for --enable-fs_inet"" >&5
3155 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3156 if test "${enable_fs_inet+set}" = set; then
3157 enableval
="$enable_fs_inet"
3159 if test "$enableval" = yes; then
3160 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3162 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3167 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x
; then
3169 eval "DEFAULT_$LINE"
3174 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3179 eval "$ac_cv_use_fs_inet"
3180 if test "$no_cache" != 1; then
3181 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3184 if test "$wxUSE_FS_INET" = yes; then
3185 echo "$ac_t""yes" 1>&6
3187 echo "$ac_t""no" 1>&6
3191 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3192 echo "configure:3193: checking "for --enable-fs_zip"" >&5
3194 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3195 if test "${enable_fs_zip+set}" = set; then
3196 enableval
="$enable_fs_zip"
3198 if test "$enableval" = yes; then
3199 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3201 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3206 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3207 if test "x$LINE" != x
; then
3208 eval "DEFAULT_$LINE"
3213 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3218 eval "$ac_cv_use_fs_zip"
3219 if test "$no_cache" != 1; then
3220 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3223 if test "$wxUSE_FS_ZIP" = yes; then
3224 echo "$ac_t""yes" 1>&6
3226 echo "$ac_t""no" 1>&6
3230 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3231 echo "configure:3232: checking "for --enable-zipstream"" >&5
3233 # Check whether --enable-zipstream or --disable-zipstream was given.
3234 if test "${enable_zipstream+set}" = set; then
3235 enableval
="$enable_zipstream"
3237 if test "$enableval" = yes; then
3238 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3240 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3245 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3257 eval "$ac_cv_use_zipstream"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3262 if test "$wxUSE_ZIPSTREAM" = yes; then
3263 echo "$ac_t""yes" 1>&6
3265 echo "$ac_t""no" 1>&6
3271 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3272 echo "configure:3273: checking "for --enable-threads"" >&5
3274 # Check whether --enable-threads or --disable-threads was given.
3275 if test "${enable_threads+set}" = set; then
3276 enableval
="$enable_threads"
3278 if test "$enableval" = yes; then
3279 ac_cv_use_threads
='wxUSE_THREADS=yes'
3281 ac_cv_use_threads
='wxUSE_THREADS=no'
3286 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x
; then
3288 eval "DEFAULT_$LINE"
3293 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3298 eval "$ac_cv_use_threads"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3303 if test "$wxUSE_THREADS" = yes; then
3304 echo "$ac_t""yes" 1>&6
3306 echo "$ac_t""no" 1>&6
3310 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3311 echo "configure:3312: checking "for --enable-serial"" >&5
3313 # Check whether --enable-serial or --disable-serial was given.
3314 if test "${enable_serial+set}" = set; then
3315 enableval
="$enable_serial"
3317 if test "$enableval" = yes; then
3318 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3320 ac_cv_use_serial
='wxUSE_SERIAL=no'
3325 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x
; then
3327 eval "DEFAULT_$LINE"
3332 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3337 eval "$ac_cv_use_serial"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3342 if test "$wxUSE_SERIAL" = yes; then
3343 echo "$ac_t""yes" 1>&6
3345 echo "$ac_t""no" 1>&6
3351 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3352 echo "configure:3353: checking "for --enable-docview"" >&5
3354 # Check whether --enable-docview or --disable-docview was given.
3355 if test "${enable_docview+set}" = set; then
3356 enableval
="$enable_docview"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3361 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3366 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3378 eval "$ac_cv_use_docview"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3384 echo "$ac_t""yes" 1>&6
3386 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3391 echo "configure:3392: checking "for --enable-help"" >&5
3393 # Check whether --enable-help or --disable-help was given.
3394 if test "${enable_help+set}" = set; then
3395 enableval
="$enable_help"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_help
='wxUSE_HELP=yes'
3400 ac_cv_use_help
='wxUSE_HELP=no'
3405 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3417 eval "$ac_cv_use_help"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_HELP" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3430 echo "configure:3431: checking "for --enable-constraints"" >&5
3432 # Check whether --enable-constraints or --disable-constraints was given.
3433 if test "${enable_constraints+set}" = set; then
3434 enableval
="$enable_constraints"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3439 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3444 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3456 eval "$ac_cv_use_constraints"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_CONSTRAINTS" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3469 echo "configure:3470: checking "for --enable-printarch"" >&5
3471 # Check whether --enable-printarch or --disable-printarch was given.
3472 if test "${enable_printarch+set}" = set; then
3473 enableval
="$enable_printarch"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3478 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3483 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3495 eval "$ac_cv_use_printarch"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3508 echo "configure:3509: checking "for --enable-mdi"" >&5
3510 # Check whether --enable-mdi or --disable-mdi was given.
3511 if test "${enable_mdi+set}" = set; then
3512 enableval
="$enable_mdi"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3517 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3522 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3534 eval "$ac_cv_use_mdi"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3547 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3548 echo "configure:3549: checking "for --enable-postscript"" >&5
3550 # Check whether --enable-postscript or --disable-postscript was given.
3551 if test "${enable_postscript+set}" = set; then
3552 enableval
="$enable_postscript"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3557 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3562 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3574 eval "$ac_cv_use_postscript"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_POSTSCRIPT" = yes; then
3580 echo "$ac_t""yes" 1>&6
3582 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3589 echo "configure:3590: checking "for --enable-prologio"" >&5
3591 # Check whether --enable-prologio or --disable-prologio was given.
3592 if test "${enable_prologio+set}" = set; then
3593 enableval
="$enable_prologio"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3598 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3603 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3615 eval "$ac_cv_use_prologio"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_PROLOGIO" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3627 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3628 echo "configure:3629: checking "for --enable-resources"" >&5
3630 # Check whether --enable-resources or --disable-resources was given.
3631 if test "${enable_resources+set}" = set; then
3632 enableval
="$enable_resources"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3637 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3642 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3654 eval "$ac_cv_use_resources"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_RESOURCES" = yes; then
3660 echo "$ac_t""yes" 1>&6
3662 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3668 echo "configure:3669: checking "for --enable-xresources"" >&5
3670 # Check whether --enable-xresources or --disable-xresources was given.
3671 if test "${enable_xresources+set}" = set; then
3672 enableval
="$enable_xresources"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3677 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3682 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3694 eval "$ac_cv_use_xresources"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_X_RESOURCES" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-clipboard"" >&5
3711 # Check whether --enable-clipboard or --disable-clipboard was given.
3712 if test "${enable_clipboard+set}" = set; then
3713 enableval
="$enable_clipboard"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3718 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3723 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3735 eval "$ac_cv_use_clipboard"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_CLIPBOARD" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3748 echo "configure:3749: checking "for --enable-dnd"" >&5
3750 # Check whether --enable-dnd or --disable-dnd was given.
3751 if test "${enable_dnd+set}" = set; then
3752 enableval
="$enable_dnd"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3757 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3762 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3774 eval "$ac_cv_use_dnd"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3787 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3788 echo "configure:3789: checking "for --enable-wxtree"" >&5
3790 # Check whether --enable-wxtree or --disable-wxtree was given.
3791 if test "${enable_wxtree+set}" = set; then
3792 enableval
="$enable_wxtree"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3797 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3802 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3814 eval "$ac_cv_use_wxtree"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_WXTREE" = yes; then
3820 echo "$ac_t""yes" 1>&6
3822 echo "$ac_t""no" 1>&6
3828 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3829 echo "configure:3830: checking "for --enable-controls"" >&5
3831 # Check whether --enable-controls or --disable-controls was given.
3832 if test "${enable_controls+set}" = set; then
3833 enableval
="$enable_controls"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3838 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3843 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3855 eval "$ac_cv_use_controls"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_CONTROLS" = yes; then
3861 echo "$ac_t""yes" 1>&6
3863 echo "$ac_t""no" 1>&6
3867 if test "$wxUSE_CONTROLS" = "yes"; then
3868 DEFAULT_wxUSE_ACCEL
=yes
3869 DEFAULT_wxUSE_CARET
=yes
3870 DEFAULT_wxUSE_COMBOBOX
=yes
3871 DEFAULT_wxUSE_BMPBUTTON
=yes
3872 DEFAULT_wxUSE_CHECKBOX
=yes
3873 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3874 DEFAULT_wxUSE_CHOICE
=yes
3875 DEFAULT_wxUSE_GAUGE
=yes
3876 DEFAULT_wxUSE_GRID
=yes
3877 DEFAULT_wxUSE_NEW_GRID
=yes
3878 DEFAULT_wxUSE_IMAGLIST
=yes
3879 DEFAULT_wxUSE_LISTBOX
=yes
3880 DEFAULT_wxUSE_LISTCTRL
=yes
3881 DEFAULT_wxUSE_NOTEBOOK
=yes
3882 DEFAULT_wxUSE_RADIOBOX
=yes
3883 DEFAULT_wxUSE_RADIOBTN
=yes
3884 DEFAULT_wxUSE_SASH
=yes
3885 DEFAULT_wxUSE_SCROLLBAR
=yes
3886 DEFAULT_wxUSE_SLIDER
=yes
3887 DEFAULT_wxUSE_SPINBTN
=yes
3888 DEFAULT_wxUSE_SPLITTER
=yes
3889 DEFAULT_wxUSE_STATBMP
=yes
3890 DEFAULT_wxUSE_STATBOX
=yes
3891 DEFAULT_wxUSE_STATLINE
=yes
3892 DEFAULT_wxUSE_STATUSBAR
=yes
3893 DEFAULT_wxUSE_TAB_DIALOG
=yes
3894 DEFAULT_wxUSE_TOOLBAR
=yes
3895 DEFAULT_wxUSE_TOOLTIPS
=yes
3896 DEFAULT_wxUSE_TREECTRL
=yes
3897 elif test "$wxUSE_CONTROLS" = "no"; then
3898 DEFAULT_wxUSE_ACCEL
=no
3899 DEFAULT_wxUSE_CARET
=no
3900 DEFAULT_wxUSE_COMBOBOX
=no
3901 DEFAULT_wxUSE_BMPBUTTON
=no
3902 DEFAULT_wxUSE_CHECKBOX
=no
3903 DEFAULT_wxUSE_CHECKLISTBOX
=no
3904 DEFAULT_wxUSE_CHOICE
=no
3905 DEFAULT_wxUSE_GAUGE
=no
3906 DEFAULT_wxUSE_GRID
=no
3907 DEFAULT_wxUSE_NEW_GRID
=no
3908 DEFAULT_wxUSE_IMAGLIST
=no
3909 DEFAULT_wxUSE_LISTBOX
=no
3910 DEFAULT_wxUSE_LISTCTRL
=no
3911 DEFAULT_wxUSE_NOTEBOOK
=no
3912 DEFAULT_wxUSE_RADIOBOX
=no
3913 DEFAULT_wxUSE_RADIOBTN
=no
3914 DEFAULT_wxUSE_SASH
=no
3915 DEFAULT_wxUSE_SCROLLBAR
=no
3916 DEFAULT_wxUSE_SLIDER
=no
3917 DEFAULT_wxUSE_SPINBTN
=no
3918 DEFAULT_wxUSE_SPLITTER
=no
3919 DEFAULT_wxUSE_STATBMP
=no
3920 DEFAULT_wxUSE_STATBOX
=no
3921 DEFAULT_wxUSE_STATLINE
=no
3922 DEFAULT_wxUSE_STATUSBAR
=no
3923 DEFAULT_wxUSE_TAB_DIALOG
=no
3924 DEFAULT_wxUSE_TOOLBAR
=no
3925 DEFAULT_wxUSE_TOOLTIPS
=no
3926 DEFAULT_wxUSE_TREECTRL
=no
3930 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3931 echo "configure:3932: checking "for --enable-accel"" >&5
3933 # Check whether --enable-accel or --disable-accel was given.
3934 if test "${enable_accel+set}" = set; then
3935 enableval
="$enable_accel"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3940 ac_cv_use_accel
='wxUSE_ACCEL=no'
3945 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3957 eval "$ac_cv_use_accel"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_ACCEL" = yes; then
3963 echo "$ac_t""yes" 1>&6
3965 echo "$ac_t""no" 1>&6
3969 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3970 echo "configure:3971: checking "for --enable-caret"" >&5
3972 # Check whether --enable-caret or --disable-caret was given.
3973 if test "${enable_caret+set}" = set; then
3974 enableval
="$enable_caret"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_caret
='wxUSE_CARET=yes'
3979 ac_cv_use_caret
='wxUSE_CARET=no'
3984 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3996 eval "$ac_cv_use_caret"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_CARET" = yes; then
4002 echo "$ac_t""yes" 1>&6
4004 echo "$ac_t""no" 1>&6
4008 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4009 echo "configure:4010: checking "for --enable-bmpbutton"" >&5
4011 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4012 if test "${enable_bmpbutton+set}" = set; then
4013 enableval
="$enable_bmpbutton"
4015 if test "$enableval" = yes; then
4016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4018 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4023 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x
; then
4025 eval "DEFAULT_$LINE"
4030 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4035 eval "$ac_cv_use_bmpbutton"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_BMPBUTTON" = yes; then
4041 echo "$ac_t""yes" 1>&6
4043 echo "$ac_t""no" 1>&6
4047 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4048 echo "configure:4049: checking "for --enable-checkbox"" >&5
4050 # Check whether --enable-checkbox or --disable-checkbox was given.
4051 if test "${enable_checkbox+set}" = set; then
4052 enableval
="$enable_checkbox"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4057 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4062 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x
; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4074 eval "$ac_cv_use_checkbox"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_CHECKBOX" = yes; then
4080 echo "$ac_t""yes" 1>&6
4082 echo "$ac_t""no" 1>&6
4086 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4087 echo "configure:4088: checking "for --enable-checklst"" >&5
4089 # Check whether --enable-checklst or --disable-checklst was given.
4090 if test "${enable_checklst+set}" = set; then
4091 enableval
="$enable_checklst"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4096 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4101 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4113 eval "$ac_cv_use_checklst"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4118 if test "$wxUSE_CHECKLST" = yes; then
4119 echo "$ac_t""yes" 1>&6
4121 echo "$ac_t""no" 1>&6
4125 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4126 echo "configure:4127: checking "for --enable-choice"" >&5
4128 # Check whether --enable-choice or --disable-choice was given.
4129 if test "${enable_choice+set}" = set; then
4130 enableval
="$enable_choice"
4132 if test "$enableval" = yes; then
4133 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4135 ac_cv_use_choice
='wxUSE_CHOICE=no'
4140 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x
; then
4142 eval "DEFAULT_$LINE"
4147 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4152 eval "$ac_cv_use_choice"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_CHOICE" = yes; then
4158 echo "$ac_t""yes" 1>&6
4160 echo "$ac_t""no" 1>&6
4164 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4165 echo "configure:4166: checking "for --enable-combobox"" >&5
4167 # Check whether --enable-combobox or --disable-combobox was given.
4168 if test "${enable_combobox+set}" = set; then
4169 enableval
="$enable_combobox"
4171 if test "$enableval" = yes; then
4172 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4174 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4179 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4180 if test "x$LINE" != x
; then
4181 eval "DEFAULT_$LINE"
4186 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4191 eval "$ac_cv_use_combobox"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_COMBOBOX" = yes; then
4197 echo "$ac_t""yes" 1>&6
4199 echo "$ac_t""no" 1>&6
4203 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4204 echo "configure:4205: checking "for --enable-gauge"" >&5
4206 # Check whether --enable-gauge or --disable-gauge was given.
4207 if test "${enable_gauge+set}" = set; then
4208 enableval
="$enable_gauge"
4210 if test "$enableval" = yes; then
4211 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4213 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4218 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4219 if test "x$LINE" != x
; then
4220 eval "DEFAULT_$LINE"
4225 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4230 eval "$ac_cv_use_gauge"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_GAUGE" = yes; then
4236 echo "$ac_t""yes" 1>&6
4238 echo "$ac_t""no" 1>&6
4242 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4243 echo "configure:4244: checking "for --enable-grid"" >&5
4245 # Check whether --enable-grid or --disable-grid was given.
4246 if test "${enable_grid+set}" = set; then
4247 enableval
="$enable_grid"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_grid
='wxUSE_GRID=yes'
4252 ac_cv_use_grid
='wxUSE_GRID=no'
4257 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4269 eval "$ac_cv_use_grid"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_GRID" = yes; then
4275 echo "$ac_t""yes" 1>&6
4277 echo "$ac_t""no" 1>&6
4281 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4282 echo "configure:4283: checking "for --enable-newgrid"" >&5
4284 # Check whether --enable-newgrid or --disable-newgrid was given.
4285 if test "${enable_newgrid+set}" = set; then
4286 enableval
="$enable_newgrid"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4291 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4296 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4308 eval "$ac_cv_use_newgrid"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_NEW_GRID" = yes; then
4314 echo "$ac_t""yes" 1>&6
4316 echo "$ac_t""no" 1>&6
4320 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4321 echo "configure:4322: checking "for --enable-imaglist"" >&5
4323 # Check whether --enable-imaglist or --disable-imaglist was given.
4324 if test "${enable_imaglist+set}" = set; then
4325 enableval
="$enable_imaglist"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4330 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4335 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4347 eval "$ac_cv_use_imaglist"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_IMAGLIST" = yes; then
4353 echo "$ac_t""yes" 1>&6
4355 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4360 echo "configure:4361: checking "for --enable-listbox"" >&5
4362 # Check whether --enable-listbox or --disable-listbox was given.
4363 if test "${enable_listbox+set}" = set; then
4364 enableval
="$enable_listbox"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4369 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4374 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4386 eval "$ac_cv_use_listbox"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_LISTBOX" = yes; then
4392 echo "$ac_t""yes" 1>&6
4394 echo "$ac_t""no" 1>&6
4398 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4399 echo "configure:4400: checking "for --enable-listctrl"" >&5
4401 # Check whether --enable-listctrl or --disable-listctrl was given.
4402 if test "${enable_listctrl+set}" = set; then
4403 enableval
="$enable_listctrl"
4405 if test "$enableval" = yes; then
4406 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4408 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4413 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x
; then
4415 eval "DEFAULT_$LINE"
4420 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4425 eval "$ac_cv_use_listctrl"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4430 if test "$wxUSE_LISTCTRL" = yes; then
4431 echo "$ac_t""yes" 1>&6
4433 echo "$ac_t""no" 1>&6
4437 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4438 echo "configure:4439: checking "for --enable-notebook"" >&5
4440 # Check whether --enable-notebook or --disable-notebook was given.
4441 if test "${enable_notebook+set}" = set; then
4442 enableval
="$enable_notebook"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4447 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4452 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4464 eval "$ac_cv_use_notebook"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_NOTEBOOK" = yes; then
4470 echo "$ac_t""yes" 1>&6
4472 echo "$ac_t""no" 1>&6
4476 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4477 echo "configure:4478: checking "for --enable-radiobox"" >&5
4479 # Check whether --enable-radiobox or --disable-radiobox was given.
4480 if test "${enable_radiobox+set}" = set; then
4481 enableval
="$enable_radiobox"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4486 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4491 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x
; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4503 eval "$ac_cv_use_radiobox"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_RADIOBOX" = yes; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4515 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4516 echo "configure:4517: checking "for --enable-radiobtn"" >&5
4518 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4519 if test "${enable_radiobtn+set}" = set; then
4520 enableval
="$enable_radiobtn"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4525 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4530 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4542 eval "$ac_cv_use_radiobtn"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_RADIOBTN" = yes; then
4548 echo "$ac_t""yes" 1>&6
4550 echo "$ac_t""no" 1>&6
4554 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4555 echo "configure:4556: checking "for --enable-sash"" >&5
4557 # Check whether --enable-sash or --disable-sash was given.
4558 if test "${enable_sash+set}" = set; then
4559 enableval
="$enable_sash"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_sash
='wxUSE_SASH=yes'
4564 ac_cv_use_sash
='wxUSE_SASH=no'
4569 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4581 eval "$ac_cv_use_sash"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_SASH" = yes; then
4587 echo "$ac_t""yes" 1>&6
4589 echo "$ac_t""no" 1>&6
4593 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for --enable-scrollbar"" >&5
4596 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4597 if test "${enable_scrollbar+set}" = set; then
4598 enableval
="$enable_scrollbar"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4603 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4608 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4620 eval "$ac_cv_use_scrollbar"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4625 if test "$wxUSE_SCROLLBAR" = yes; then
4626 echo "$ac_t""yes" 1>&6
4628 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4633 echo "configure:4634: checking "for --enable-slider"" >&5
4635 # Check whether --enable-slider or --disable-slider was given.
4636 if test "${enable_slider+set}" = set; then
4637 enableval
="$enable_slider"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4642 ac_cv_use_slider
='wxUSE_SLIDER=no'
4647 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4659 eval "$ac_cv_use_slider"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_SLIDER" = yes; then
4665 echo "$ac_t""yes" 1>&6
4667 echo "$ac_t""no" 1>&6
4671 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4672 echo "configure:4673: checking "for --enable-spinbtn"" >&5
4674 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4675 if test "${enable_spinbtn+set}" = set; then
4676 enableval
="$enable_spinbtn"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4681 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4686 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x
; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4698 eval "$ac_cv_use_spinbtn"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_SPINBTN" = yes; then
4704 echo "$ac_t""yes" 1>&6
4706 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4711 echo "configure:4712: checking "for --enable-splitter"" >&5
4713 # Check whether --enable-splitter or --disable-splitter was given.
4714 if test "${enable_splitter+set}" = set; then
4715 enableval
="$enable_splitter"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4720 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4725 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4737 eval "$ac_cv_use_splitter"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_SPLITTER" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4750 echo "configure:4751: checking "for --enable-statbmp"" >&5
4752 # Check whether --enable-statbmp or --disable-statbmp was given.
4753 if test "${enable_statbmp+set}" = set; then
4754 enableval
="$enable_statbmp"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4759 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4764 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4776 eval "$ac_cv_use_statbmp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_STATBMP" = yes; then
4782 echo "$ac_t""yes" 1>&6
4784 echo "$ac_t""no" 1>&6
4788 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4789 echo "configure:4790: checking "for --enable-statbox"" >&5
4791 # Check whether --enable-statbox or --disable-statbox was given.
4792 if test "${enable_statbox+set}" = set; then
4793 enableval
="$enable_statbox"
4795 if test "$enableval" = yes; then
4796 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4798 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4803 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x
; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4815 eval "$ac_cv_use_statbox"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4820 if test "$wxUSE_STATBOX" = yes; then
4821 echo "$ac_t""yes" 1>&6
4823 echo "$ac_t""no" 1>&6
4827 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4828 echo "configure:4829: checking "for --enable-statline"" >&5
4830 # Check whether --enable-statline or --disable-statline was given.
4831 if test "${enable_statline+set}" = set; then
4832 enableval
="$enable_statline"
4834 if test "$enableval" = yes; then
4835 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4837 ac_cv_use_statline
='wxUSE_STATLINE=no'
4842 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4843 if test "x$LINE" != x
; then
4844 eval "DEFAULT_$LINE"
4849 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4854 eval "$ac_cv_use_statline"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4859 if test "$wxUSE_STATLINE" = yes; then
4860 echo "$ac_t""yes" 1>&6
4862 echo "$ac_t""no" 1>&6
4866 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4867 echo "configure:4868: checking "for --enable-statusbar"" >&5
4869 # Check whether --enable-statusbar or --disable-statusbar was given.
4870 if test "${enable_statusbar+set}" = set; then
4871 enableval
="$enable_statusbar"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4876 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4881 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4893 eval "$ac_cv_use_statusbar"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_STATUSBAR" = yes; then
4899 echo "$ac_t""yes" 1>&6
4901 echo "$ac_t""no" 1>&6
4905 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4906 echo "configure:4907: checking "for --enable-tabdialog"" >&5
4908 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4909 if test "${enable_tabdialog+set}" = set; then
4910 enableval
="$enable_tabdialog"
4912 if test "$enableval" = yes; then
4913 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4915 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4920 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x
; then
4922 eval "DEFAULT_$LINE"
4927 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4932 eval "$ac_cv_use_tabdialog"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_TABDIALOG" = yes; then
4938 echo "$ac_t""yes" 1>&6
4940 echo "$ac_t""no" 1>&6
4944 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4945 echo "configure:4946: checking "for --enable-toolbar"" >&5
4947 # Check whether --enable-toolbar or --disable-toolbar was given.
4948 if test "${enable_toolbar+set}" = set; then
4949 enableval
="$enable_toolbar"
4951 if test "$enableval" = yes; then
4952 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4954 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4959 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4960 if test "x$LINE" != x
; then
4961 eval "DEFAULT_$LINE"
4966 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4971 eval "$ac_cv_use_toolbar"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_TOOLBAR" = yes; then
4977 echo "$ac_t""yes" 1>&6
4979 echo "$ac_t""no" 1>&6
4983 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4984 echo "configure:4985: checking "for --enable-treectrl"" >&5
4986 # Check whether --enable-treectrl or --disable-treectrl was given.
4987 if test "${enable_treectrl+set}" = set; then
4988 enableval
="$enable_treectrl"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4993 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4998 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5010 eval "$ac_cv_use_treectrl"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_TREECTRL" = yes; then
5016 echo "$ac_t""yes" 1>&6
5018 echo "$ac_t""no" 1>&6
5024 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5025 echo "configure:5026: checking "for --enable-commondlg"" >&5
5027 # Check whether --enable-commondlg or --disable-commondlg was given.
5028 if test "${enable_commondlg+set}" = set; then
5029 enableval
="$enable_commondlg"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5034 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5039 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5051 eval "$ac_cv_use_commondlg"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_COMMONDLGS" = yes; then
5057 echo "$ac_t""yes" 1>&6
5059 echo "$ac_t""no" 1>&6
5063 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5064 echo "configure:5065: checking "for --enable-dirdlg"" >&5
5066 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5067 if test "${enable_dirdlg+set}" = set; then
5068 enableval
="$enable_dirdlg"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5073 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5078 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5090 eval "$ac_cv_use_dirdlg"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5095 if test "$wxUSE_DIRDLG" = yes; then
5096 echo "$ac_t""yes" 1>&6
5098 echo "$ac_t""no" 1>&6
5102 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5103 echo "configure:5104: checking "for --enable-textdlg"" >&5
5105 # Check whether --enable-textdlg or --disable-textdlg was given.
5106 if test "${enable_textdlg+set}" = set; then
5107 enableval
="$enable_textdlg"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5112 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5117 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5129 eval "$ac_cv_use_textdlg"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5134 if test "$wxUSE_TEXTDLG" = yes; then
5135 echo "$ac_t""yes" 1>&6
5137 echo "$ac_t""no" 1>&6
5141 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5142 echo "configure:5143: checking "for --enable-tipdlg"" >&5
5144 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5145 if test "${enable_tipdlg+set}" = set; then
5146 enableval
="$enable_tipdlg"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5151 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5156 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x
; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5168 eval "$ac_cv_use_tipdlg"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_STARTUP_TIPS" = yes; then
5174 echo "$ac_t""yes" 1>&6
5176 echo "$ac_t""no" 1>&6
5180 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5181 echo "configure:5182: checking "for --enable-progressdlg"" >&5
5183 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5184 if test "${enable_progressdlg+set}" = set; then
5185 enableval
="$enable_progressdlg"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5190 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5195 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x
; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5207 eval "$ac_cv_use_progressdlg"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_PROGRESSDLG" = yes; then
5213 echo "$ac_t""yes" 1>&6
5215 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5220 echo "configure:5221: checking "for --enable-miniframe"" >&5
5222 # Check whether --enable-miniframe or --disable-miniframe was given.
5223 if test "${enable_miniframe+set}" = set; then
5224 enableval
="$enable_miniframe"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5229 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5234 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5246 eval "$ac_cv_use_miniframe"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_MINIFRAME" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5258 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5259 echo "configure:5260: checking "for --enable-html"" >&5
5261 # Check whether --enable-html or --disable-html was given.
5262 if test "${enable_html+set}" = set; then
5263 enableval
="$enable_html"
5265 if test "$enableval" = yes; then
5266 ac_cv_use_html
='wxUSE_HTML=yes'
5268 ac_cv_use_html
='wxUSE_HTML=no'
5273 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x
; then
5275 eval "DEFAULT_$LINE"
5280 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5285 eval "$ac_cv_use_html"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_HTML" = yes; then
5291 echo "$ac_t""yes" 1>&6
5293 echo "$ac_t""no" 1>&6
5297 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5298 echo "configure:5299: checking "for --enable-tooltips"" >&5
5300 # Check whether --enable-tooltips or --disable-tooltips was given.
5301 if test "${enable_tooltips+set}" = set; then
5302 enableval
="$enable_tooltips"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5307 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5312 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5324 eval "$ac_cv_use_tooltips"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_TOOLTIPS" = yes; then
5330 echo "$ac_t""yes" 1>&6
5332 echo "$ac_t""no" 1>&6
5336 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5337 echo "configure:5338: checking "for --enable-splines"" >&5
5339 # Check whether --enable-splines or --disable-splines was given.
5340 if test "${enable_splines+set}" = set; then
5341 enableval
="$enable_splines"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5346 ac_cv_use_splines
='wxUSE_SPLINES=no'
5351 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x
; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5363 eval "$ac_cv_use_splines"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_SPLINES" = yes; then
5369 echo "$ac_t""yes" 1>&6
5371 echo "$ac_t""no" 1>&6
5375 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5376 echo "configure:5377: checking "for --enable-validators"" >&5
5378 # Check whether --enable-validators or --disable-validators was given.
5379 if test "${enable_validators+set}" = set; then
5380 enableval
="$enable_validators"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5385 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5390 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5402 eval "$ac_cv_use_validators"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_VALIDATORS" = yes; then
5408 echo "$ac_t""yes" 1>&6
5410 echo "$ac_t""no" 1>&6
5414 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5415 echo "configure:5416: checking "for --enable-busyinfo"" >&5
5417 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5418 if test "${enable_busyinfo+set}" = set; then
5419 enableval
="$enable_busyinfo"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5424 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5429 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5441 eval "$ac_cv_use_busyinfo"
5442 if test "$no_cache" != 1; then
5443 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5446 if test "$wxUSE_BUSYINFO" = yes; then
5447 echo "$ac_t""yes" 1>&6
5449 echo "$ac_t""no" 1>&6
5455 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5456 echo "configure:5457: checking "for --enable-gif"" >&5
5458 # Check whether --enable-gif or --disable-gif was given.
5459 if test "${enable_gif+set}" = set; then
5460 enableval
="$enable_gif"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_gif
='wxUSE_GIF=yes'
5465 ac_cv_use_gif
='wxUSE_GIF=no'
5470 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5482 eval "$ac_cv_use_gif"
5483 if test "$no_cache" != 1; then
5484 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5487 if test "$wxUSE_GIF" = yes; then
5488 echo "$ac_t""yes" 1>&6
5490 echo "$ac_t""no" 1>&6
5494 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5495 echo "configure:5496: checking "for --enable-pcx"" >&5
5497 # Check whether --enable-pcx or --disable-pcx was given.
5498 if test "${enable_pcx+set}" = set; then
5499 enableval
="$enable_pcx"
5501 if test "$enableval" = yes; then
5502 ac_cv_use_pcx
='wxUSE_PCX=yes'
5504 ac_cv_use_pcx
='wxUSE_PCX=no'
5509 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x
; then
5511 eval "DEFAULT_$LINE"
5516 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5521 eval "$ac_cv_use_pcx"
5522 if test "$no_cache" != 1; then
5523 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5526 if test "$wxUSE_PCX" = yes; then
5527 echo "$ac_t""yes" 1>&6
5529 echo "$ac_t""no" 1>&6
5533 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5534 echo "configure:5535: checking "for --enable-pnm"" >&5
5536 # Check whether --enable-pnm or --disable-pnm was given.
5537 if test "${enable_pnm+set}" = set; then
5538 enableval
="$enable_pnm"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_pnm
='wxUSE_PNM=yes'
5543 ac_cv_use_pnm
='wxUSE_PNM=no'
5548 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x
; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5560 eval "$ac_cv_use_pnm"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_PNM" = yes; then
5566 echo "$ac_t""yes" 1>&6
5568 echo "$ac_t""no" 1>&6
5573 echo "saving argument cache $wx_arg_cache_file"
5574 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5578 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5579 echo "configure:5580: checking for toolkit" >&5
5581 if test "$wxUSE_GUI" = "yes"; then
5583 if test "$TOOLKIT_GIVEN" = 1; then
5584 for toolkit
in `echo $ALL_TOOLKITS`; do
5586 eval "value=\$${var}"
5587 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5590 for toolkit
in `echo $ALL_TOOLKITS`; do
5591 if test "$has_toolkit_in_cache" != 1; then
5592 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5594 var
=DEFAULT_wxUSE_
$toolkit
5596 eval "wxUSE_$toolkit=\$${var}"
5600 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5602 case "$NUM_TOOLKITS" in
5606 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5609 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5612 for toolkit
in `echo $ALL_TOOLKITS`; do
5614 eval "value=\$${var}"
5615 if test "x$value" != x
; then
5616 cache_var
=CACHE_
$toolkit
5617 eval "cache=\$${cache_var}"
5618 if test "$cache" = 1; then
5619 echo "$var=$value" >> ${wx_arg_cache_file}
5621 if test "$value" = 1; then
5622 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5628 echo "$ac_t""base only" 1>&6
5632 cat > confcache
<<\EOF
5633 # This file is a shell script that caches the results of configure
5634 # tests run on this system so they can be shared between configure
5635 # scripts and configure runs. It is not useful on other systems.
5636 # If it contains results you don't want to keep, you may remove or edit it.
5638 # By default, configure uses ./config.cache as the cache file,
5639 # creating it if it does not exist already. You can give configure
5640 # the --cache-file=FILE option to use a different cache file; that is
5641 # what configure does when it calls configure scripts in
5642 # subdirectories, so they share the cache.
5643 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5644 # config.status only pays attention to the cache file if you give it the
5645 # --recheck option to rerun configure.
5648 # The following way of writing the cache mishandles newlines in values,
5649 # but we know of no workaround that is simple, portable, and efficient.
5650 # So, don't put newlines in cache variables' values.
5651 # Ultrix sh set writes to stderr and can't be redirected directly,
5652 # and sets the high bit in the cache file unless we assign to the vars.
5654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5656 # `set' does not quote correctly, so add quotes (double-quote substitution
5657 # turns \\\\ into \\, and sed turns \\ into \).
5659 -e "s/'/'\\\\''/g" \
5660 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5663 # `set' quotes correctly as required by POSIX, so do not add quotes.
5664 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5667 if cmp -s $cache_file confcache
; then
5670 if test -w $cache_file; then
5671 echo "updating cache $cache_file"
5672 cat confcache
> $cache_file
5674 echo "not updating unwritable cache $cache_file"
5680 if eval "test $host != $build"; then
5681 if eval "test $host_alias != NONE"; then
5685 RANLIB
=$host_alias-ranlib
5686 DLLTOOL
=$host_alias-dlltool
5689 STRIP
=$host_alias-strip
5693 # Extract the first word of "gcc", so it can be a program name with args.
5694 set dummy gcc
; ac_word
=$2
5695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5696 echo "configure:5697: checking for $ac_word" >&5
5697 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5698 echo $ac_n "(cached) $ac_c" 1>&6
5700 if test -n "$CC"; then
5701 ac_cv_prog_CC
="$CC" # Let the user override the test.
5703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5705 for ac_dir
in $ac_dummy; do
5706 test -z "$ac_dir" && ac_dir
=.
5707 if test -f $ac_dir/$ac_word; then
5716 if test -n "$CC"; then
5717 echo "$ac_t""$CC" 1>&6
5719 echo "$ac_t""no" 1>&6
5722 if test -z "$CC"; then
5723 # Extract the first word of "cc", so it can be a program name with args.
5724 set dummy cc
; ac_word
=$2
5725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5726 echo "configure:5727: checking for $ac_word" >&5
5727 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5728 echo $ac_n "(cached) $ac_c" 1>&6
5730 if test -n "$CC"; then
5731 ac_cv_prog_CC
="$CC" # Let the user override the test.
5733 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5736 for ac_dir
in $ac_dummy; do
5737 test -z "$ac_dir" && ac_dir
=.
5738 if test -f $ac_dir/$ac_word; then
5739 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5740 ac_prog_rejected
=yes
5748 if test $ac_prog_rejected = yes; then
5749 # We found a bogon in the path, so make sure we never use it.
5750 set dummy
$ac_cv_prog_CC
5752 if test $# -gt 0; then
5753 # We chose a different compiler from the bogus one.
5754 # However, it has the same basename, so the bogon will be chosen
5755 # first if we set CC to just the basename; use the full file name.
5757 set dummy
"$ac_dir/$ac_word" "$@"
5765 if test -n "$CC"; then
5766 echo "$ac_t""$CC" 1>&6
5768 echo "$ac_t""no" 1>&6
5771 if test -z "$CC"; then
5772 case "`uname -s`" in
5774 # Extract the first word of "cl", so it can be a program name with args.
5775 set dummy cl
; ac_word
=$2
5776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5777 echo "configure:5778: checking for $ac_word" >&5
5778 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5779 echo $ac_n "(cached) $ac_c" 1>&6
5781 if test -n "$CC"; then
5782 ac_cv_prog_CC
="$CC" # Let the user override the test.
5784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5786 for ac_dir
in $ac_dummy; do
5787 test -z "$ac_dir" && ac_dir
=.
5788 if test -f $ac_dir/$ac_word; then
5797 if test -n "$CC"; then
5798 echo "$ac_t""$CC" 1>&6
5800 echo "$ac_t""no" 1>&6
5805 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5808 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5809 echo "configure:5810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5813 ac_cpp
='$CPP $CPPFLAGS'
5814 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5815 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5816 cross_compiling
=$ac_cv_prog_cc_cross
5818 cat > conftest.
$ac_ext << EOF
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5825 if { (eval echo configure
:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5826 ac_cv_prog_cc_works
=yes
5827 # If we can't run a trivial program, we are probably using a cross compiler.
5828 if (.
/conftest
; exit) 2>/dev
/null
; then
5829 ac_cv_prog_cc_cross
=no
5831 ac_cv_prog_cc_cross
=yes
5834 echo "configure: failed program was:" >&5
5835 cat conftest.
$ac_ext >&5
5836 ac_cv_prog_cc_works
=no
5840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5841 ac_cpp
='$CPP $CPPFLAGS'
5842 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5843 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5844 cross_compiling
=$ac_cv_prog_cc_cross
5846 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5847 if test $ac_cv_prog_cc_works = no
; then
5848 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5850 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5851 echo "configure:5852: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5852 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5853 cross_compiling
=$ac_cv_prog_cc_cross
5855 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5856 echo "configure:5857: checking whether we are using GNU C" >&5
5857 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5858 echo $ac_n "(cached) $ac_c" 1>&6
5860 cat > conftest.c
<<EOF
5865 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5872 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5874 if test $ac_cv_prog_gcc = yes; then
5880 ac_test_CFLAGS
="${CFLAGS+set}"
5881 ac_save_CFLAGS
="$CFLAGS"
5883 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5884 echo "configure:5885: checking whether ${CC-cc} accepts -g" >&5
5885 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5888 echo 'void f(){}' > conftest.c
5889 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5898 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5899 if test "$ac_test_CFLAGS" = set; then
5900 CFLAGS
="$ac_save_CFLAGS"
5901 elif test $ac_cv_prog_cc_g = yes; then
5902 if test "$GCC" = yes; then
5908 if test "$GCC" = yes; then
5916 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5918 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5919 echo "configure:5920: checking how to run the C preprocessor" >&5
5920 # On Suns, sometimes $CPP names a directory.
5921 if test -n "$CPP" && test -d "$CPP"; then
5924 if test -z "$CPP"; then
5925 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5926 echo $ac_n "(cached) $ac_c" 1>&6
5928 # This must be in double quotes, not single quotes, because CPP may get
5929 # substituted into the Makefile and "${CC-cc}" will confuse make.
5931 # On the NeXT, cc -E runs the code through the compiler's parser,
5932 # not just through cpp.
5933 cat > conftest.
$ac_ext <<EOF
5934 #line 5935 "configure"
5935 #include "confdefs.h"
5939 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5940 { (eval echo configure
:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5941 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5942 if test -z "$ac_err"; then
5946 echo "configure: failed program was:" >&5
5947 cat conftest.
$ac_ext >&5
5949 CPP
="${CC-cc} -E -traditional-cpp"
5950 cat > conftest.
$ac_ext <<EOF
5951 #line 5952 "configure"
5952 #include "confdefs.h"
5956 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5957 { (eval echo configure
:5958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5958 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5959 if test -z "$ac_err"; then
5963 echo "configure: failed program was:" >&5
5964 cat conftest.
$ac_ext >&5
5966 CPP
="${CC-cc} -nologo -E"
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
5990 ac_cv_prog_CPP
="$CPP"
5992 CPP
="$ac_cv_prog_CPP"
5994 ac_cv_prog_CPP
="$CPP"
5996 echo "$ac_t""$CPP" 1>&6
5999 if test $ac_cv_prog_gcc = yes; then
6000 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6001 echo "configure:6002: checking whether ${CC-cc} needs -traditional" >&5
6002 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6
6005 ac_pattern
="Autoconf.*'x'"
6006 cat > conftest.
$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6013 egrep "$ac_pattern" >/dev
/null
2>&1; then
6015 ac_cv_prog_gcc_traditional
=yes
6018 ac_cv_prog_gcc_traditional
=no
6023 if test $ac_cv_prog_gcc_traditional = no
; then
6024 cat > conftest.
$ac_ext <<EOF
6025 #line 6026 "configure"
6026 #include "confdefs.h"
6030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6031 egrep "$ac_pattern" >/dev
/null
2>&1; then
6033 ac_cv_prog_gcc_traditional
=yes
6040 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6041 if test $ac_cv_prog_gcc_traditional = yes; then
6042 CC
="$CC -traditional"
6049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6050 ac_cpp
='$CXXCPP $CPPFLAGS'
6051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6052 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6053 cross_compiling
=$ac_cv_prog_cxx_cross
6056 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy
$ac_prog; ac_word
=$2
6060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6061 echo "configure:6062: checking for $ac_word" >&5
6062 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6063 echo $ac_n "(cached) $ac_c" 1>&6
6065 if test -n "$CXX"; then
6066 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6068 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6070 for ac_dir
in $ac_dummy; do
6071 test -z "$ac_dir" && ac_dir
=.
6072 if test -f $ac_dir/$ac_word; then
6073 ac_cv_prog_CXX
="$ac_prog"
6080 CXX
="$ac_cv_prog_CXX"
6081 if test -n "$CXX"; then
6082 echo "$ac_t""$CXX" 1>&6
6084 echo "$ac_t""no" 1>&6
6087 test -n "$CXX" && break
6089 test -n "$CXX" || CXX
="gcc"
6092 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6093 echo "configure:6094: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6097 ac_cpp
='$CXXCPP $CPPFLAGS'
6098 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6099 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6100 cross_compiling
=$ac_cv_prog_cxx_cross
6102 cat > conftest.
$ac_ext << EOF
6104 #line 6105 "configure"
6105 #include "confdefs.h"
6107 int main(){return(0);}
6109 if { (eval echo configure
:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6110 ac_cv_prog_cxx_works
=yes
6111 # If we can't run a trivial program, we are probably using a cross compiler.
6112 if (.
/conftest
; exit) 2>/dev
/null
; then
6113 ac_cv_prog_cxx_cross
=no
6115 ac_cv_prog_cxx_cross
=yes
6118 echo "configure: failed program was:" >&5
6119 cat conftest.
$ac_ext >&5
6120 ac_cv_prog_cxx_works
=no
6124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6125 ac_cpp
='$CXXCPP $CPPFLAGS'
6126 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6127 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6128 cross_compiling
=$ac_cv_prog_cxx_cross
6130 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6131 if test $ac_cv_prog_cxx_works = no
; then
6132 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6134 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6135 echo "configure:6136: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6136 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6137 cross_compiling
=$ac_cv_prog_cxx_cross
6139 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6140 echo "configure:6141: checking whether we are using GNU C++" >&5
6141 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6142 echo $ac_n "(cached) $ac_c" 1>&6
6144 cat > conftest.C
<<EOF
6149 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6156 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6158 if test $ac_cv_prog_gxx = yes; then
6164 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6165 ac_save_CXXFLAGS
="$CXXFLAGS"
6167 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6168 echo "configure:6169: checking whether ${CXX-g++} accepts -g" >&5
6169 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6
6172 echo 'void f(){}' > conftest.cc
6173 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6174 ac_cv_prog_cxx_g
=yes
6182 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6183 if test "$ac_test_CXXFLAGS" = set; then
6184 CXXFLAGS
="$ac_save_CXXFLAGS"
6185 elif test $ac_cv_prog_cxx_g = yes; then
6186 if test "$GXX" = yes; then
6192 if test "$GXX" = yes; then
6200 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6201 echo "configure:6202: checking how to run the C++ preprocessor" >&5
6202 if test -z "$CXXCPP"; then
6203 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6208 ac_cpp
='$CXXCPP $CPPFLAGS'
6209 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6210 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6211 cross_compiling
=$ac_cv_prog_cxx_cross
6212 CXXCPP
="${CXX-g++} -E"
6213 cat > conftest.
$ac_ext <<EOF
6214 #line 6215 "configure"
6215 #include "confdefs.h"
6218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6219 { (eval echo configure
:6220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6221 if test -z "$ac_err"; then
6225 echo "configure: failed program was:" >&5
6226 cat conftest.
$ac_ext >&5
6231 ac_cv_prog_CXXCPP
="$CXXCPP"
6233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6234 ac_cpp
='$CXXCPP $CPPFLAGS'
6235 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6236 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6237 cross_compiling
=$ac_cv_prog_cxx_cross
6240 CXXCPP
="$ac_cv_prog_CXXCPP"
6241 echo "$ac_t""$CXXCPP" 1>&6
6244 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6248 ac_cpp
='$CPP $CPPFLAGS'
6249 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6250 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6251 cross_compiling
=$ac_cv_prog_cc_cross
6254 # Extract the first word of "ranlib", so it can be a program name with args.
6255 set dummy ranlib
; ac_word
=$2
6256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6257 echo "configure:6258: checking for $ac_word" >&5
6258 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6259 echo $ac_n "(cached) $ac_c" 1>&6
6261 if test -n "$RANLIB"; then
6262 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6264 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6266 for ac_dir
in $ac_dummy; do
6267 test -z "$ac_dir" && ac_dir
=.
6268 if test -f $ac_dir/$ac_word; then
6269 ac_cv_prog_RANLIB
="ranlib"
6274 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6277 RANLIB
="$ac_cv_prog_RANLIB"
6278 if test -n "$RANLIB"; then
6279 echo "$ac_t""$RANLIB" 1>&6
6281 echo "$ac_t""no" 1>&6
6285 # Extract the first word of "ar", so it can be a program name with args.
6286 set dummy
ar; ac_word
=$2
6287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6288 echo "configure:6289: checking for $ac_word" >&5
6289 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6290 echo $ac_n "(cached) $ac_c" 1>&6
6292 if test -n "$AR"; then
6293 ac_cv_prog_AR
="$AR" # Let the user override the test.
6295 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6297 for ac_dir
in $ac_dummy; do
6298 test -z "$ac_dir" && ac_dir
=.
6299 if test -f $ac_dir/$ac_word; then
6305 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6309 if test -n "$AR"; then
6310 echo "$ac_t""$AR" 1>&6
6312 echo "$ac_t""no" 1>&6
6316 # Find a good install program. We prefer a C program (faster),
6317 # so one script is as good as another. But avoid the broken or
6318 # incompatible versions:
6319 # SysV /etc/install, /usr/sbin/install
6320 # SunOS /usr/etc/install
6321 # IRIX /sbin/install
6323 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6326 # ./install, which can be erroneously created by make from ./install.sh.
6327 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6328 echo "configure:6329: checking for a BSD compatible install" >&5
6329 if test -z "$INSTALL"; then
6330 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6331 echo $ac_n "(cached) $ac_c" 1>&6
6333 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6334 for ac_dir
in $PATH; do
6335 # Account for people who put trailing slashes in PATH elements.
6337 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6339 # OSF1 and SCO ODT 3.0 have their own names for install.
6340 # Don't use installbsd from OSF since it installs stuff as root
6342 for ac_prog
in ginstall scoinst
install; do
6343 if test -f $ac_dir/$ac_prog; then
6344 if test $ac_prog = install &&
6345 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6346 # AIX install. It has an incompatible calling convention.
6349 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6360 if test "${ac_cv_path_install+set}" = set; then
6361 INSTALL
="$ac_cv_path_install"
6363 # As a last resort, use the slow shell script. We don't cache a
6364 # path for INSTALL within a source directory, because that will
6365 # break other packages using the cache if that directory is
6366 # removed, or if the path is relative.
6367 INSTALL
="$ac_install_sh"
6370 echo "$ac_t""$INSTALL" 1>&6
6372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6373 # It thinks the first close brace ends the variable substitution.
6374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6378 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6381 # Extract the first word of "strip", so it can be a program name with args.
6382 set dummy strip
; ac_word
=$2
6383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6384 echo "configure:6385: checking for $ac_word" >&5
6385 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6386 echo $ac_n "(cached) $ac_c" 1>&6
6388 if test -n "$STRIP"; then
6389 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6391 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6393 for ac_dir
in $ac_dummy; do
6394 test -z "$ac_dir" && ac_dir
=.
6395 if test -f $ac_dir/$ac_word; then
6396 ac_cv_prog_STRIP
="strip"
6401 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6404 STRIP
="$ac_cv_prog_STRIP"
6405 if test -n "$STRIP"; then
6406 echo "$ac_t""$STRIP" 1>&6
6408 echo "$ac_t""no" 1>&6
6412 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6413 echo "configure:6414: checking "make for VPATH support
"" >&5
6414 cat - << EOF > confMake
6420 if test ! -d sub
; then
6423 echo dummy
> sub
/file
6424 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6426 rm -f sub
/file check final_file confMake
6428 if test "$RESULT" = 0; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6432 { echo "configure: error: You need a make-utility that is able to use the variable
6434 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6437 for ac_prog
in 'bison -y' byacc
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy
$ac_prog; ac_word
=$2
6441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6442 echo "configure:6443: checking for $ac_word" >&5
6443 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6444 echo $ac_n "(cached) $ac_c" 1>&6
6446 if test -n "$YACC"; then
6447 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6449 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6451 for ac_dir
in $ac_dummy; do
6452 test -z "$ac_dir" && ac_dir
=.
6453 if test -f $ac_dir/$ac_word; then
6454 ac_cv_prog_YACC
="$ac_prog"
6461 YACC
="$ac_cv_prog_YACC"
6462 if test -n "$YACC"; then
6463 echo "$ac_t""$YACC" 1>&6
6465 echo "$ac_t""no" 1>&6
6468 test -n "$YACC" && break
6470 test -n "$YACC" || YACC
="yacc"
6473 # Extract the first word of "flex", so it can be a program name with args.
6474 set dummy flex
; ac_word
=$2
6475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6476 echo "configure:6477: checking for $ac_word" >&5
6477 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6478 echo $ac_n "(cached) $ac_c" 1>&6
6480 if test -n "$LEX"; then
6481 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6483 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6485 for ac_dir
in $ac_dummy; do
6486 test -z "$ac_dir" && ac_dir
=.
6487 if test -f $ac_dir/$ac_word; then
6488 ac_cv_prog_LEX
="flex"
6493 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6496 LEX
="$ac_cv_prog_LEX"
6497 if test -n "$LEX"; then
6498 echo "$ac_t""$LEX" 1>&6
6500 echo "$ac_t""no" 1>&6
6503 if test -z "$LEXLIB"
6509 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6510 echo "configure:6511: checking for yywrap in -l$ac_lib" >&5
6511 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6513 echo $ac_n "(cached) $ac_c" 1>&6
6515 ac_save_LIBS
="$LIBS"
6516 LIBS
="-l$ac_lib $LIBS"
6517 cat > conftest.
$ac_ext <<EOF
6518 #line 6519 "configure"
6519 #include "confdefs.h"
6520 /* Override any gcc2 internal prototype to avoid an error. */
6521 /* We use char because int might match the return type of a gcc2
6522 builtin and then its argument prototype would still apply. */
6529 if { (eval echo configure
:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6531 eval "ac_cv_lib_$ac_lib_var=yes"
6533 echo "configure: failed program was:" >&5
6534 cat conftest.
$ac_ext >&5
6536 eval "ac_cv_lib_$ac_lib_var=no"
6539 LIBS
="$ac_save_LIBS"
6542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6543 echo "$ac_t""yes" 1>&6
6546 echo "$ac_t""no" 1>&6
6552 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6553 echo "configure:6554: checking whether ln -s works" >&5
6554 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6555 echo $ac_n "(cached) $ac_c" 1>&6
6558 if ln -s X conftestdata
2>/dev
/null
6561 ac_cv_prog_LN_S
="ln -s"
6566 LN_S
="$ac_cv_prog_LN_S"
6567 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6568 echo "$ac_t""yes" 1>&6
6570 echo "$ac_t""no" 1>&6
6576 /usr/Motif-1.2/include \
6577 /usr/Motif-2.1/include \
6579 /usr/include/Motif1.2 \
6580 /opt/xpm/include/X11 \
6581 /opt/GBxpm/include/ \
6582 /opt/GBxpm/X11/include/ \
6584 /usr/Motif1.2/include \
6588 /usr/X11R6/include \
6589 /usr/X11R5/include \
6590 /usr/X11R4/include \
6596 /usr/include/X11R6 \
6597 /usr/include/X11R5 \
6598 /usr/include/X11R4 \
6600 /usr/local/X11R6/include \
6601 /usr/local/X11R5/include \
6602 /usr/local/X11R4/include \
6604 /usr/local/include/X11R6 \
6605 /usr/local/include/X11R5 \
6606 /usr/local/include/X11R4 \
6610 /usr/local/X11/include \
6611 /usr/local/include/X11 \
6615 /usr/XFree86/include/X11 \
6618 /usr/local/include \
6621 /usr/local/include/gtk \
6623 /usr/local/include/glib \
6626 /usr/local/include/qt \
6628 /usr/include/windows \
6630 /usr/local/include/wine \
6632 /usr/unsupported/include \
6633 /usr/athena/include \
6634 /usr/local/x11r5/include \
6635 /usr/lpp/Xamples/include \
6637 /usr/openwin/include \
6638 /usr/openwin/share/include \
6641 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6644 cat > confcache
<<\EOF
6645 # This file is a shell script that caches the results of configure
6646 # tests run on this system so they can be shared between configure
6647 # scripts and configure runs. It is not useful on other systems.
6648 # If it contains results you don't want to keep, you may remove or edit it.
6650 # By default, configure uses ./config.cache as the cache file,
6651 # creating it if it does not exist already. You can give configure
6652 # the --cache-file=FILE option to use a different cache file; that is
6653 # what configure does when it calls configure scripts in
6654 # subdirectories, so they share the cache.
6655 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6656 # config.status only pays attention to the cache file if you give it the
6657 # --recheck option to rerun configure.
6660 # The following way of writing the cache mishandles newlines in values,
6661 # but we know of no workaround that is simple, portable, and efficient.
6662 # So, don't put newlines in cache variables' values.
6663 # Ultrix sh set writes to stderr and can't be redirected directly,
6664 # and sets the high bit in the cache file unless we assign to the vars.
6666 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6668 # `set' does not quote correctly, so add quotes (double-quote substitution
6669 # turns \\\\ into \\, and sed turns \\ into \).
6671 -e "s/'/'\\\\''/g" \
6672 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6675 # `set' quotes correctly as required by POSIX, so do not add quotes.
6676 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6679 if cmp -s $cache_file confcache
; then
6682 if test -w $cache_file; then
6683 echo "updating cache $cache_file"
6684 cat confcache
> $cache_file
6686 echo "not updating unwritable cache $cache_file"
6693 if test "$wxUSE_GUI" = "yes"; then
6711 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6712 if test "$cross_compiling" = "yes" ; then
6713 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6715 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6716 echo "configure:6717: checking for Windows headers" >&5
6719 for ac_dir
in $SEARCH_INCLUDE;
6721 if test -f "$ac_dir/windows.h"; then
6722 ac_find_includes
=$ac_dir
6727 if test "$ac_find_includes" != "" ; then
6728 echo "$ac_t""found $ac_find_includes" 1>&6
6729 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6731 echo "$ac_t""no" 1>&6
6732 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6736 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6737 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6739 if test "$wxUSE_MINGW" = 1; then
6740 LDFLAGS
="$LDFLAGS -mwindows"
6745 GUIOBJS
="\$(MSW_GUIOBJS)"
6746 GUIHEADERS
="\$(MSW_HEADERS)"
6747 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6748 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6754 if test "$wxUSE_GTK" = 1; then
6756 if test x
$gtk_config_exec_prefix != x
; then
6757 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6758 if test x
${GTK_CONFIG+set} != xset
; then
6759 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6762 if test x
$gtk_config_prefix != x
; then
6763 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6764 if test x
${GTK_CONFIG+set} != xset
; then
6765 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6769 # Extract the first word of "gtk-config", so it can be a program name with args.
6770 set dummy gtk
-config; ac_word
=$2
6771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6772 echo "configure:6773: checking for $ac_word" >&5
6773 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6774 echo $ac_n "(cached) $ac_c" 1>&6
6776 case "$GTK_CONFIG" in
6778 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6781 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6786 for ac_dir
in $ac_dummy; do
6787 test -z "$ac_dir" && ac_dir
=.
6788 if test -f $ac_dir/$ac_word; then
6789 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6794 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6798 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6799 if test -n "$GTK_CONFIG"; then
6800 echo "$ac_t""$GTK_CONFIG" 1>&6
6802 echo "$ac_t""no" 1>&6
6805 min_gtk_version
=1.2.1
6806 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6807 echo "configure:6808: checking for GTK - version >= $min_gtk_version" >&5
6809 if test "$GTK_CONFIG" != "no" ; then
6810 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6811 GTK_LIBS
=`$GTK_CONFIG --libs`
6812 ac_save_CFLAGS
="$CFLAGS"
6813 ac_save_LIBS
="$LIBS"
6814 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6815 LIBS
="$LIBS $GTK_LIBS"
6816 if test "$cross_compiling" = yes; then
6817 echo $ac_n "cross compiling; assumed OK... $ac_c"
6819 cat > conftest.
$ac_ext <<EOF
6820 #line 6821 "configure"
6821 #include "confdefs.h"
6823 #include <gtk/gtk.h>
6829 int major, minor, micro;
6831 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6832 printf("%s, bad version string\n", "$min_gtk_version");
6836 if (gtk_minor_version == 1) return FALSE;
6838 return !((gtk_major_version > major) ||
6839 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6840 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6844 if { (eval echo configure
:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6848 echo "configure: failed program was:" >&5
6849 cat conftest.
$ac_ext >&5
6856 CFLAGS
="$ac_save_CFLAGS"
6857 LIBS
="$ac_save_LIBS"
6861 if test "x$no_gtk" = x
; then
6862 echo "$ac_t""yes" 1>&6
6865 echo "$ac_t""no" 1>&6
6868 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6874 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6875 GUI_TK_LIBRARY
="$GTK_LIBS"
6878 GUIOBJS
="\$(GTK_GUIOBJS)"
6879 GUIHEADERS
="\$(GTK_HEADERS)"
6880 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6881 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6882 GUIDEPS
="\$(GTK_GUIDEPS)"
6883 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6884 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6885 UNIXOBJS
="\$(UNIX_OBJS)"
6889 if test "$wxUSE_WINE" = 1; then
6890 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6891 echo "configure:6892: checking for WINE includes" >&5
6894 for ac_dir
in $SEARCH_INCLUDE;
6896 if test -f "$ac_dir/windows.h"; then
6897 ac_find_includes
=$ac_dir
6902 if test "$ac_find_includes" != "" ; then
6903 echo "$ac_t""found $ac_find_includes" 1>&6
6904 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6906 echo "$ac_t""no" 1>&6
6907 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6911 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6912 echo "configure:6913: checking for Xpm library" >&5
6915 for ac_dir
in $SEARCH_LIB;
6917 for ac_extension
in a so sl
; do
6918 if test -f "$ac_dir/libXpm.$ac_extension"; then
6919 ac_find_libraries
=$ac_dir
6925 if test "$ac_find_libraries" != "" ; then
6926 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6928 cat >> confdefs.h
<<\EOF
6929 #define wxHAVE_LIB_XPM 1
6932 echo "$ac_t""found at $ac_find_libraries" 1>&6
6934 echo "$ac_t""no" 1>&6
6935 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6939 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6940 echo "configure:6941: checking for Mesa library" >&5
6943 for ac_dir
in $SEARCH_LIB;
6945 for ac_extension
in a so sl
; do
6946 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6947 ac_find_libraries
=$ac_dir
6953 if test "$ac_find_libraries" != "" ; then
6954 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6955 MESA_LINK
="-lMesaGL"
6956 echo "$ac_t""found at $ac_find_libraries" 1>&6
6958 { echo "configure: error: no" 1>&2; exit 1; }
6961 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6962 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6966 GUIHEADERS
="\$(MSW_HEADERS)"
6967 GUIOBJS
="\$(MSW_GUIOBJS)"
6968 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6969 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6970 GUIDEPS
="\$(MSW_GUIDEPS)"
6971 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6972 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6973 UNIXOBJS
="\$(UNIX_OBJS)"
6977 if test "$wxUSE_MOTIF" = 1; then
6978 # If we find X, set shell vars x_includes and x_libraries to the
6979 # paths, otherwise set no_x=yes.
6980 # Uses ac_ vars as temps to allow command line to override cache and checks.
6981 # --without-x overrides everything else, but does not touch the cache.
6982 echo $ac_n "checking for X""... $ac_c" 1>&6
6983 echo "configure:6984: checking for X" >&5
6985 # Check whether --with-x or --without-x was given.
6986 if test "${with_x+set}" = set; then
6991 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6992 if test "x$with_x" = xno
; then
6993 # The user explicitly disabled X.
6996 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6997 # Both variables are already set.
7000 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7001 echo $ac_n "(cached) $ac_c" 1>&6
7003 # One or both of the vars are not set, and there is no cached value.
7004 ac_x_includes
=NO ac_x_libraries
=NO
7006 if mkdir conftestdir
; then
7008 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7009 cat > Imakefile
<<'EOF'
7011 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7013 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7014 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7015 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7016 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7017 for ac_extension
in a so sl
; do
7018 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7019 test -f $ac_im_libdir/libX11.
$ac_extension; then
7020 ac_im_usrlibdir
=$ac_im_libdir; break
7023 # Screen out bogus values from the imake configuration. They are
7024 # bogus both because they are the default anyway, and because
7025 # using them would break gcc on systems where it needs fixed includes.
7026 case "$ac_im_incroot" in
7028 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7030 case "$ac_im_usrlibdir" in
7032 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7039 if test "$ac_x_includes" = NO
; then
7040 # Guess where to find include files, by looking for this one X11 .h file.
7041 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7043 # First, try using that file with no special directory specified.
7044 cat > conftest.
$ac_ext <<EOF
7045 #line 7046 "configure"
7046 #include "confdefs.h"
7047 #include <$x_direct_test_include>
7049 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7050 { (eval echo configure
:7051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7051 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7052 if test -z "$ac_err"; then
7054 # We can compile using X headers with no special include directory.
7058 echo "configure: failed program was:" >&5
7059 cat conftest.
$ac_ext >&5
7061 # Look for the header file in a standard set of common directories.
7062 # Check X11 before X11Rn because it is often a symlink to the current release.
7065 /usr
/X
11R
6/include \
7066 /usr
/X
11R
5/include \
7067 /usr
/X
11R
4/include \
7070 /usr
/include
/X11R6 \
7071 /usr
/include
/X11R5 \
7072 /usr
/include
/X11R4 \
7074 /usr
/local
/X
11/include \
7075 /usr
/local
/X
11R
6/include \
7076 /usr
/local
/X
11R
5/include \
7077 /usr
/local
/X
11R
4/include \
7079 /usr
/local
/include
/X11 \
7080 /usr
/local
/include
/X11R6 \
7081 /usr
/local
/include
/X11R5 \
7082 /usr
/local
/include
/X11R4 \
7086 /usr
/XFree
86/include
/X11 \
7089 /usr
/local
/include \
7090 /usr
/unsupported
/include \
7091 /usr
/athena
/include \
7092 /usr
/local
/x
11r
5/include \
7093 /usr
/lpp
/Xamples
/include \
7095 /usr
/openwin
/include \
7096 /usr
/openwin
/share
/include \
7099 if test -r "$ac_dir/$x_direct_test_include"; then
7100 ac_x_includes
=$ac_dir
7106 fi # $ac_x_includes = NO
7108 if test "$ac_x_libraries" = NO
; then
7109 # Check for the libraries.
7111 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7112 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7114 # See if we find them without any special options.
7115 # Don't add to $LIBS permanently.
7116 ac_save_LIBS
="$LIBS"
7117 LIBS
="-l$x_direct_test_library $LIBS"
7118 cat > conftest.
$ac_ext <<EOF
7119 #line 7120 "configure"
7120 #include "confdefs.h"
7123 ${x_direct_test_function}()
7126 if { (eval echo configure
:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7128 LIBS
="$ac_save_LIBS"
7129 # We can link X programs with no special library path.
7132 echo "configure: failed program was:" >&5
7133 cat conftest.
$ac_ext >&5
7135 LIBS
="$ac_save_LIBS"
7136 # First see if replacing the include by lib works.
7137 # Check X11 before X11Rn because it is often a symlink to the current release.
7138 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7149 /usr
/local
/X
11/lib \
7150 /usr
/local
/X
11R
6/lib \
7151 /usr
/local
/X
11R
5/lib \
7152 /usr
/local
/X
11R
4/lib \
7154 /usr
/local
/lib
/X11 \
7155 /usr
/local
/lib
/X11R6 \
7156 /usr
/local
/lib
/X11R5 \
7157 /usr
/local
/lib
/X11R4 \
7161 /usr
/XFree
86/lib
/X11 \
7165 /usr
/unsupported
/lib \
7167 /usr
/local
/x
11r
5/lib \
7168 /usr
/lpp
/Xamples
/lib \
7172 /usr
/openwin
/share
/lib \
7175 for ac_extension
in a so sl
; do
7176 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7177 ac_x_libraries
=$ac_dir
7184 fi # $ac_x_libraries = NO
7186 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7187 # Didn't find X anywhere. Cache the known absence of X.
7188 ac_cv_have_x
="have_x=no"
7190 # Record where we found X for the cache.
7191 ac_cv_have_x
="have_x=yes \
7192 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7196 eval "$ac_cv_have_x"
7199 if test "$have_x" != yes; then
7200 echo "$ac_t""$have_x" 1>&6
7203 # If each of the values was on the command line, it overrides each guess.
7204 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7205 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7206 # Update the cache value to reflect the command line values.
7207 ac_cv_have_x
="have_x=yes \
7208 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7209 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7212 if test "$no_x" = yes; then
7213 # Not all programs may use this symbol, but it does not hurt to define it.
7214 cat >> confdefs.h
<<\EOF
7215 #define X_DISPLAY_MISSING 1
7218 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7220 if test -n "$x_includes"; then
7221 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7224 # It would also be nice to do this for all -L options, not just this one.
7225 if test -n "$x_libraries"; then
7226 X_LIBS
="$X_LIBS -L$x_libraries"
7227 # For Solaris; some versions of Sun CC require a space after -R and
7228 # others require no space. Words are not sufficient . . . .
7229 case "`(uname -sr) 2>/dev/null`" in
7231 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7232 echo "configure:7233: checking whether -R must be followed by a space" >&5
7233 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7234 cat > conftest.
$ac_ext <<EOF
7235 #line 7236 "configure"
7236 #include "confdefs.h"
7242 if { (eval echo configure
:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7246 echo "configure: failed program was:" >&5
7247 cat conftest.
$ac_ext >&5
7252 if test $ac_R_nospace = yes; then
7253 echo "$ac_t""no" 1>&6
7254 X_LIBS
="$X_LIBS -R$x_libraries"
7256 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7257 cat > conftest.
$ac_ext <<EOF
7258 #line 7259 "configure"
7259 #include "confdefs.h"
7265 if { (eval echo configure
:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7269 echo "configure: failed program was:" >&5
7270 cat conftest.
$ac_ext >&5
7275 if test $ac_R_space = yes; then
7276 echo "$ac_t""yes" 1>&6
7277 X_LIBS
="$X_LIBS -R $x_libraries"
7279 echo "$ac_t""neither works" 1>&6
7282 LIBS
="$ac_xsave_LIBS"
7286 # Check for system-dependent libraries X programs must link with.
7287 # Do this before checking for the system-independent R6 libraries
7288 # (-lICE), since we may need -lsocket or whatever for X linking.
7290 if test "$ISC" = yes; then
7291 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7293 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7294 # libraries were built with DECnet support. And karl@cs.umb.edu says
7295 # the Alpha needs dnet_stub (dnet does not exist).
7296 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7297 echo "configure:7298: checking for dnet_ntoa in -ldnet" >&5
7298 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7300 echo $ac_n "(cached) $ac_c" 1>&6
7302 ac_save_LIBS
="$LIBS"
7304 cat > conftest.
$ac_ext <<EOF
7305 #line 7306 "configure"
7306 #include "confdefs.h"
7307 /* Override any gcc2 internal prototype to avoid an error. */
7308 /* We use char because int might match the return type of a gcc2
7309 builtin and then its argument prototype would still apply. */
7316 if { (eval echo configure
:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7318 eval "ac_cv_lib_$ac_lib_var=yes"
7320 echo "configure: failed program was:" >&5
7321 cat conftest.
$ac_ext >&5
7323 eval "ac_cv_lib_$ac_lib_var=no"
7326 LIBS
="$ac_save_LIBS"
7329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7330 echo "$ac_t""yes" 1>&6
7331 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7333 echo "$ac_t""no" 1>&6
7336 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7337 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7338 echo "configure:7339: checking for dnet_ntoa in -ldnet_stub" >&5
7339 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7341 echo $ac_n "(cached) $ac_c" 1>&6
7343 ac_save_LIBS
="$LIBS"
7344 LIBS
="-ldnet_stub $LIBS"
7345 cat > conftest.
$ac_ext <<EOF
7346 #line 7347 "configure"
7347 #include "confdefs.h"
7348 /* Override any gcc2 internal prototype to avoid an error. */
7349 /* We use char because int might match the return type of a gcc2
7350 builtin and then its argument prototype would still apply. */
7357 if { (eval echo configure
:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7359 eval "ac_cv_lib_$ac_lib_var=yes"
7361 echo "configure: failed program was:" >&5
7362 cat conftest.
$ac_ext >&5
7364 eval "ac_cv_lib_$ac_lib_var=no"
7367 LIBS
="$ac_save_LIBS"
7370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7371 echo "$ac_t""yes" 1>&6
7372 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7374 echo "$ac_t""no" 1>&6
7379 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7380 # to get the SysV transport functions.
7381 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7383 # The nsl library prevents programs from opening the X display
7384 # on Irix 5.2, according to dickey@clark.net.
7385 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7386 echo "configure:7387: checking for gethostbyname" >&5
7387 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7388 echo $ac_n "(cached) $ac_c" 1>&6
7390 cat > conftest.
$ac_ext <<EOF
7391 #line 7392 "configure"
7392 #include "confdefs.h"
7393 /* System header to define __stub macros and hopefully few prototypes,
7394 which can conflict with char gethostbyname(); below. */
7396 /* Override any gcc2 internal prototype to avoid an error. */
7397 /* We use char because int might match the return type of a gcc2
7398 builtin and then its argument prototype would still apply. */
7399 char gethostbyname();
7403 /* The GNU C library defines this for functions which it implements
7404 to always fail with ENOSYS. Some functions are actually named
7405 something starting with __ and the normal name is an alias. */
7406 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7414 if { (eval echo configure
:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7416 eval "ac_cv_func_gethostbyname=yes"
7418 echo "configure: failed program was:" >&5
7419 cat conftest.
$ac_ext >&5
7421 eval "ac_cv_func_gethostbyname=no"
7426 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7427 echo "$ac_t""yes" 1>&6
7430 echo "$ac_t""no" 1>&6
7433 if test $ac_cv_func_gethostbyname = no
; then
7434 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7435 echo "configure:7436: checking for gethostbyname in -lnsl" >&5
7436 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7437 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7440 ac_save_LIBS
="$LIBS"
7442 cat > conftest.
$ac_ext <<EOF
7443 #line 7444 "configure"
7444 #include "confdefs.h"
7445 /* Override any gcc2 internal prototype to avoid an error. */
7446 /* We use char because int might match the return type of a gcc2
7447 builtin and then its argument prototype would still apply. */
7448 char gethostbyname();
7454 if { (eval echo configure
:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7456 eval "ac_cv_lib_$ac_lib_var=yes"
7458 echo "configure: failed program was:" >&5
7459 cat conftest.
$ac_ext >&5
7461 eval "ac_cv_lib_$ac_lib_var=no"
7464 LIBS
="$ac_save_LIBS"
7467 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7468 echo "$ac_t""yes" 1>&6
7469 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7471 echo "$ac_t""no" 1>&6
7476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7477 # socket/setsockopt and other routines are undefined under SCO ODT
7478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7479 # on later versions), says simon@lia.di.epfl.ch: it contains
7480 # gethostby* variants that don't use the nameserver (or something).
7481 # -lsocket must be given before -lnsl if both are needed.
7482 # We assume that if connect needs -lnsl, so does gethostbyname.
7483 echo $ac_n "checking for connect""... $ac_c" 1>&6
7484 echo "configure:7485: checking for connect" >&5
7485 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7486 echo $ac_n "(cached) $ac_c" 1>&6
7488 cat > conftest.
$ac_ext <<EOF
7489 #line 7490 "configure"
7490 #include "confdefs.h"
7491 /* System header to define __stub macros and hopefully few prototypes,
7492 which can conflict with char connect(); below. */
7494 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7501 /* The GNU C library defines this for functions which it implements
7502 to always fail with ENOSYS. Some functions are actually named
7503 something starting with __ and the normal name is an alias. */
7504 #if defined (__stub_connect) || defined (__stub___connect)
7512 if { (eval echo configure
:7513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7514 eval "ac_cv_func_connect=yes"
7516 echo "configure: failed program was:" >&5
7517 cat conftest.
$ac_ext >&5
7519 eval "ac_cv_func_connect=no"
7524 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7525 echo "$ac_t""yes" 1>&6
7528 echo "$ac_t""no" 1>&6
7531 if test $ac_cv_func_connect = no
; then
7532 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7533 echo "configure:7534: checking for connect in -lsocket" >&5
7534 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7535 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7536 echo $ac_n "(cached) $ac_c" 1>&6
7538 ac_save_LIBS
="$LIBS"
7539 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7540 cat > conftest.
$ac_ext <<EOF
7541 #line 7542 "configure"
7542 #include "confdefs.h"
7543 /* Override any gcc2 internal prototype to avoid an error. */
7544 /* We use char because int might match the return type of a gcc2
7545 builtin and then its argument prototype would still apply. */
7552 if { (eval echo configure
:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7554 eval "ac_cv_lib_$ac_lib_var=yes"
7556 echo "configure: failed program was:" >&5
7557 cat conftest.
$ac_ext >&5
7559 eval "ac_cv_lib_$ac_lib_var=no"
7562 LIBS
="$ac_save_LIBS"
7565 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7566 echo "$ac_t""yes" 1>&6
7567 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7569 echo "$ac_t""no" 1>&6
7574 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7575 echo $ac_n "checking for remove""... $ac_c" 1>&6
7576 echo "configure:7577: checking for remove" >&5
7577 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7578 echo $ac_n "(cached) $ac_c" 1>&6
7580 cat > conftest.
$ac_ext <<EOF
7581 #line 7582 "configure"
7582 #include "confdefs.h"
7583 /* System header to define __stub macros and hopefully few prototypes,
7584 which can conflict with char remove(); below. */
7586 /* Override any gcc2 internal prototype to avoid an error. */
7587 /* We use char because int might match the return type of a gcc2
7588 builtin and then its argument prototype would still apply. */
7593 /* The GNU C library defines this for functions which it implements
7594 to always fail with ENOSYS. Some functions are actually named
7595 something starting with __ and the normal name is an alias. */
7596 #if defined (__stub_remove) || defined (__stub___remove)
7604 if { (eval echo configure
:7605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7606 eval "ac_cv_func_remove=yes"
7608 echo "configure: failed program was:" >&5
7609 cat conftest.
$ac_ext >&5
7611 eval "ac_cv_func_remove=no"
7616 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7617 echo "$ac_t""yes" 1>&6
7620 echo "$ac_t""no" 1>&6
7623 if test $ac_cv_func_remove = no
; then
7624 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7625 echo "configure:7626: checking for remove in -lposix" >&5
7626 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7628 echo $ac_n "(cached) $ac_c" 1>&6
7630 ac_save_LIBS
="$LIBS"
7631 LIBS
="-lposix $LIBS"
7632 cat > conftest.
$ac_ext <<EOF
7633 #line 7634 "configure"
7634 #include "confdefs.h"
7635 /* Override any gcc2 internal prototype to avoid an error. */
7636 /* We use char because int might match the return type of a gcc2
7637 builtin and then its argument prototype would still apply. */
7644 if { (eval echo configure
:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7646 eval "ac_cv_lib_$ac_lib_var=yes"
7648 echo "configure: failed program was:" >&5
7649 cat conftest.
$ac_ext >&5
7651 eval "ac_cv_lib_$ac_lib_var=no"
7654 LIBS
="$ac_save_LIBS"
7657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7658 echo "$ac_t""yes" 1>&6
7659 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7661 echo "$ac_t""no" 1>&6
7666 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7667 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7668 echo "configure:7669: checking for shmat" >&5
7669 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7670 echo $ac_n "(cached) $ac_c" 1>&6
7672 cat > conftest.
$ac_ext <<EOF
7673 #line 7674 "configure"
7674 #include "confdefs.h"
7675 /* System header to define __stub macros and hopefully few prototypes,
7676 which can conflict with char shmat(); below. */
7678 /* Override any gcc2 internal prototype to avoid an error. */
7679 /* We use char because int might match the return type of a gcc2
7680 builtin and then its argument prototype would still apply. */
7685 /* The GNU C library defines this for functions which it implements
7686 to always fail with ENOSYS. Some functions are actually named
7687 something starting with __ and the normal name is an alias. */
7688 #if defined (__stub_shmat) || defined (__stub___shmat)
7696 if { (eval echo configure
:7697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7698 eval "ac_cv_func_shmat=yes"
7700 echo "configure: failed program was:" >&5
7701 cat conftest.
$ac_ext >&5
7703 eval "ac_cv_func_shmat=no"
7708 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7709 echo "$ac_t""yes" 1>&6
7712 echo "$ac_t""no" 1>&6
7715 if test $ac_cv_func_shmat = no
; then
7716 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7717 echo "configure:7718: checking for shmat in -lipc" >&5
7718 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7720 echo $ac_n "(cached) $ac_c" 1>&6
7722 ac_save_LIBS
="$LIBS"
7724 cat > conftest.
$ac_ext <<EOF
7725 #line 7726 "configure"
7726 #include "confdefs.h"
7727 /* Override any gcc2 internal prototype to avoid an error. */
7728 /* We use char because int might match the return type of a gcc2
7729 builtin and then its argument prototype would still apply. */
7736 if { (eval echo configure
:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7738 eval "ac_cv_lib_$ac_lib_var=yes"
7740 echo "configure: failed program was:" >&5
7741 cat conftest.
$ac_ext >&5
7743 eval "ac_cv_lib_$ac_lib_var=no"
7746 LIBS
="$ac_save_LIBS"
7749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7750 echo "$ac_t""yes" 1>&6
7751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7753 echo "$ac_t""no" 1>&6
7759 # Check for libraries that X11R6 Xt/Xaw programs need.
7760 ac_save_LDFLAGS
="$LDFLAGS"
7761 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7762 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7763 # check for ICE first), but we must link in the order -lSM -lICE or
7764 # we get undefined symbols. So assume we have SM if we have ICE.
7765 # These have to be linked with before -lX11, unlike the other
7766 # libraries we check for below, so use a different variable.
7767 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7768 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7769 echo "configure:7770: checking for IceConnectionNumber in -lICE" >&5
7770 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7772 echo $ac_n "(cached) $ac_c" 1>&6
7774 ac_save_LIBS
="$LIBS"
7775 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7776 cat > conftest.
$ac_ext <<EOF
7777 #line 7778 "configure"
7778 #include "confdefs.h"
7779 /* Override any gcc2 internal prototype to avoid an error. */
7780 /* We use char because int might match the return type of a gcc2
7781 builtin and then its argument prototype would still apply. */
7782 char IceConnectionNumber();
7785 IceConnectionNumber()
7788 if { (eval echo configure
:7789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7790 eval "ac_cv_lib_$ac_lib_var=yes"
7792 echo "configure: failed program was:" >&5
7793 cat conftest.
$ac_ext >&5
7795 eval "ac_cv_lib_$ac_lib_var=no"
7798 LIBS
="$ac_save_LIBS"
7801 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7802 echo "$ac_t""yes" 1>&6
7803 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7805 echo "$ac_t""no" 1>&6
7808 LDFLAGS
="$ac_save_LDFLAGS"
7813 if test "$no_x" = "yes"; then
7814 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7817 TOOLKIT_INCLUDE
="$X_CFLAGS"
7818 GUI_TK_LIBRARY
="$X_LIBS"
7820 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7821 echo "configure:7822: checking for Motif/Lesstif includes" >&5
7824 for ac_dir
in $SEARCH_INCLUDE;
7826 if test -f "$ac_dir/Xm/Xm.h"; then
7827 ac_find_includes
=$ac_dir
7832 if test "$ac_find_includes" != "" ; then
7833 echo "$ac_t""found $ac_find_includes" 1>&6
7835 echo "$ac_t""no" 1>&6
7836 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7839 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7840 echo "configure:7841: checking for Motif/Lesstif library" >&5
7843 for ac_dir
in $SEARCH_LIB;
7845 for ac_extension
in a so sl
; do
7846 if test -f "$ac_dir/libXm.$ac_extension"; then
7847 ac_find_libraries
=$ac_dir
7853 if test "$ac_find_libraries" != "" ; then
7855 ac_path_to_include
=$ac_find_includes
7856 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7858 if test $result = 0; then
7859 ac_path_to_include
=""
7861 ac_path_to_include
="-I$ac_find_includes"
7865 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7867 if test $result = 0; then
7870 ac_path_to_link
="-L$ac_find_libraries"
7874 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7875 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7876 echo "$ac_t""found at $ac_find_libraries" 1>&6
7878 echo "$ac_t""no" 1>&6
7879 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7882 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7883 echo "configure:7884: checking for Xt library" >&5
7886 for ac_dir
in $SEARCH_LIB;
7888 for ac_extension
in a so sl
; do
7889 if test -f "$ac_dir/libXt.$ac_extension"; then
7890 ac_find_libraries
=$ac_dir
7896 if test "$ac_find_libraries" != "" ; then
7898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7900 if test $result = 0; then
7903 ac_path_to_link
="-L$ac_find_libraries"
7906 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7907 echo "$ac_t""found at $ac_find_libraries" 1>&6
7909 echo "$ac_t""no" 1>&6
7910 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7914 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7915 echo "configure:7916: checking for Xpm library" >&5
7918 for ac_dir
in $SEARCH_LIB;
7920 for ac_extension
in a so sl
; do
7921 if test -f "$ac_dir/libXpm.$ac_extension"; then
7922 ac_find_libraries
=$ac_dir
7928 if test "$ac_find_libraries" != "" ; then
7930 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7932 if test $result = 0; then
7935 ac_path_to_link
="-L$ac_find_libraries"
7938 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7940 cat >> confdefs.h
<<\EOF
7941 #define wxHAVE_LIB_XPM 1
7944 echo "$ac_t""found at $ac_find_libraries" 1>&6
7946 echo "$ac_t""no" 1>&6
7947 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7950 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm"
7951 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7954 GUIHEADERS
="\$(MOTIF_HEADERS)"
7955 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7956 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7957 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7958 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7959 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7960 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7961 UNIXOBJS
="\$(UNIX_OBJS)"
7965 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7967 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7969 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7971 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7972 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7973 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7976 ALL_OBJECTS
="\$(BASE_OBJS)"
7977 ALL_DEPFILES
="\${BASE_DEPS}"
7978 ALL_HEADERS
="\${BASE_HEADERS}"
7983 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7985 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7987 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7989 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7990 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7991 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7998 if test "$wxUSE_SHARED" = "yes"; then
7999 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8003 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8004 SHARED_LD
="${CXX} -b -o"
8006 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8009 SHARED_LD
="${CC} -shared -o"
8011 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8012 WX_ALL
="CREATE_LINKS"
8014 *-*-irix5* | *-*-irix6* )
8015 if test "$GCC" = yes ; then
8016 SHARED_LD
="${CC} -shared -o"
8019 SHARED_LD
="${CXX} -shared -o"
8021 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8022 WX_ALL
="CREATE_LINKS"
8025 if test "$GCC" = yes ; then
8026 SHARED_LD
="${CC} -shared -o"
8029 SHARED_LD
="${CXX} -G -o"
8032 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8033 WX_ALL
="CREATE_LINKS"
8036 SHARED_LD
="${CC} -shared -o"
8038 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8039 WX_ALL
="CREATE_LINKS"
8041 *-*-freebsd* | *-*-netbsd*)
8042 SHARED_LD
="${CC} -shared -o"
8044 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8045 WX_ALL
="CREATE_LINKS"
8048 SHARED_LD
="${CXX} -shared -o"
8050 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8051 WX_ALL
="CREATE_LINKS"
8054 SHARED_LD
="${CXX} -shared -o"
8056 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8057 WX_ALL
="CREATE_LINKS"
8060 SHARED_LD
="${CC} -shared -o"
8062 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8063 WX_ALL
="CREATE_LINKS"
8066 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8067 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8070 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8071 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8074 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8075 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8080 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8084 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8085 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8089 for ac_hdr
in strings.h
8091 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8092 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8093 echo "configure:8094: checking for $ac_hdr" >&5
8094 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8095 echo $ac_n "(cached) $ac_c" 1>&6
8097 cat > conftest.
$ac_ext <<EOF
8098 #line 8099 "configure"
8099 #include "confdefs.h"
8102 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8103 { (eval echo configure
:8104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8104 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8105 if test -z "$ac_err"; then
8107 eval "ac_cv_header_$ac_safe=yes"
8110 echo "configure: failed program was:" >&5
8111 cat conftest.
$ac_ext >&5
8113 eval "ac_cv_header_$ac_safe=no"
8117 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8118 echo "$ac_t""yes" 1>&6
8119 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8120 cat >> confdefs.h
<<EOF
8121 #define $ac_tr_hdr 1
8125 echo "$ac_t""no" 1>&6
8129 for ac_hdr
in unistd.h
8131 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8132 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8133 echo "configure:8134: checking for $ac_hdr" >&5
8134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8135 echo $ac_n "(cached) $ac_c" 1>&6
8137 cat > conftest.
$ac_ext <<EOF
8138 #line 8139 "configure"
8139 #include "confdefs.h"
8142 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8143 { (eval echo configure
:8144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8144 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8145 if test -z "$ac_err"; then
8147 eval "ac_cv_header_$ac_safe=yes"
8150 echo "configure: failed program was:" >&5
8151 cat conftest.
$ac_ext >&5
8153 eval "ac_cv_header_$ac_safe=no"
8157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8158 echo "$ac_t""yes" 1>&6
8159 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8160 cat >> confdefs.h
<<EOF
8161 #define $ac_tr_hdr 1
8165 echo "$ac_t""no" 1>&6
8169 for ac_hdr
in wchar.h
8171 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8172 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8173 echo "configure:8174: checking for $ac_hdr" >&5
8174 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8175 echo $ac_n "(cached) $ac_c" 1>&6
8177 cat > conftest.
$ac_ext <<EOF
8178 #line 8179 "configure"
8179 #include "confdefs.h"
8182 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8183 { (eval echo configure
:8184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8184 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8185 if test -z "$ac_err"; then
8187 eval "ac_cv_header_$ac_safe=yes"
8190 echo "configure: failed program was:" >&5
8191 cat conftest.
$ac_ext >&5
8193 eval "ac_cv_header_$ac_safe=no"
8197 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8198 echo "$ac_t""yes" 1>&6
8199 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8200 cat >> confdefs.h
<<EOF
8201 #define $ac_tr_hdr 1
8205 echo "$ac_t""no" 1>&6
8209 for ac_hdr
in wcstr.h
8211 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8212 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8213 echo "configure:8214: checking for $ac_hdr" >&5
8214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8215 echo $ac_n "(cached) $ac_c" 1>&6
8217 cat > conftest.
$ac_ext <<EOF
8218 #line 8219 "configure"
8219 #include "confdefs.h"
8222 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8223 { (eval echo configure
:8224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8224 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8225 if test -z "$ac_err"; then
8227 eval "ac_cv_header_$ac_safe=yes"
8230 echo "configure: failed program was:" >&5
8231 cat conftest.
$ac_ext >&5
8233 eval "ac_cv_header_$ac_safe=no"
8237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8238 echo "$ac_t""yes" 1>&6
8239 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8240 cat >> confdefs.h
<<EOF
8241 #define $ac_tr_hdr 1
8245 echo "$ac_t""no" 1>&6
8249 for ac_hdr
in fnmatch.h
8251 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8252 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8253 echo "configure:8254: checking for $ac_hdr" >&5
8254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8255 echo $ac_n "(cached) $ac_c" 1>&6
8257 cat > conftest.
$ac_ext <<EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8262 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8263 { (eval echo configure
:8264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8264 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8265 if test -z "$ac_err"; then
8267 eval "ac_cv_header_$ac_safe=yes"
8270 echo "configure: failed program was:" >&5
8271 cat conftest.
$ac_ext >&5
8273 eval "ac_cv_header_$ac_safe=no"
8277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8278 echo "$ac_t""yes" 1>&6
8279 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8280 cat >> confdefs.h
<<EOF
8281 #define $ac_tr_hdr 1
8285 echo "$ac_t""no" 1>&6
8290 if test "$wxUSE_GUI" = "yes"; then
8291 for ac_hdr
in X
11/XKBlib.h
8293 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8295 echo "configure:8296: checking for $ac_hdr" >&5
8296 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8299 cat > conftest.
$ac_ext <<EOF
8300 #line 8301 "configure"
8301 #include "confdefs.h"
8304 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8305 { (eval echo configure
:8306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8306 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8307 if test -z "$ac_err"; then
8309 eval "ac_cv_header_$ac_safe=yes"
8312 echo "configure: failed program was:" >&5
8313 cat conftest.
$ac_ext >&5
8315 eval "ac_cv_header_$ac_safe=no"
8319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8320 echo "$ac_t""yes" 1>&6
8321 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8322 cat >> confdefs.h
<<EOF
8323 #define $ac_tr_hdr 1
8327 echo "$ac_t""no" 1>&6
8334 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8335 echo "configure:8336: checking for ANSI C header files" >&5
8336 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8337 echo $ac_n "(cached) $ac_c" 1>&6
8339 cat > conftest.
$ac_ext <<EOF
8340 #line 8341 "configure"
8341 #include "confdefs.h"
8347 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8348 { (eval echo configure
:8349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8349 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8350 if test -z "$ac_err"; then
8352 ac_cv_header_stdc
=yes
8355 echo "configure: failed program was:" >&5
8356 cat conftest.
$ac_ext >&5
8358 ac_cv_header_stdc
=no
8362 if test $ac_cv_header_stdc = yes; then
8363 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8364 cat > conftest.
$ac_ext <<EOF
8365 #line 8366 "configure"
8366 #include "confdefs.h"
8369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8370 egrep "memchr" >/dev
/null
2>&1; then
8374 ac_cv_header_stdc
=no
8380 if test $ac_cv_header_stdc = yes; then
8381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8382 cat > conftest.
$ac_ext <<EOF
8383 #line 8384 "configure"
8384 #include "confdefs.h"
8387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8388 egrep "free" >/dev
/null
2>&1; then
8392 ac_cv_header_stdc
=no
8398 if test $ac_cv_header_stdc = yes; then
8399 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8400 if test "$cross_compiling" = yes; then
8403 cat > conftest.
$ac_ext <<EOF
8404 #line 8405 "configure"
8405 #include "confdefs.h"
8407 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8408 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8410 int main () { int i; for (i = 0; i < 256; i++)
8411 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8415 if { (eval echo configure
:8416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8419 echo "configure: failed program was:" >&5
8420 cat conftest.
$ac_ext >&5
8422 ac_cv_header_stdc
=no
8430 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8431 if test $ac_cv_header_stdc = yes; then
8432 cat >> confdefs.h
<<\EOF
8433 #define STDC_HEADERS 1
8438 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8439 echo "configure:8440: checking for mode_t" >&5
8440 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8441 echo $ac_n "(cached) $ac_c" 1>&6
8443 cat > conftest.
$ac_ext <<EOF
8444 #line 8445 "configure"
8445 #include "confdefs.h"
8446 #include <sys/types.h>
8452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8453 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8455 ac_cv_type_mode_t
=yes
8458 ac_cv_type_mode_t
=no
8463 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8464 if test $ac_cv_type_mode_t = no
; then
8465 cat >> confdefs.h
<<\EOF
8471 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8472 echo "configure:8473: checking for off_t" >&5
8473 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8474 echo $ac_n "(cached) $ac_c" 1>&6
8476 cat > conftest.
$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8479 #include <sys/types.h>
8485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8486 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8488 ac_cv_type_off_t
=yes
8496 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8497 if test $ac_cv_type_off_t = no
; then
8498 cat >> confdefs.h
<<\EOF
8504 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8505 echo "configure:8506: checking for pid_t" >&5
8506 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8507 echo $ac_n "(cached) $ac_c" 1>&6
8509 cat > conftest.
$ac_ext <<EOF
8510 #line 8511 "configure"
8511 #include "confdefs.h"
8512 #include <sys/types.h>
8518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8519 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8521 ac_cv_type_pid_t
=yes
8529 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8530 if test $ac_cv_type_pid_t = no
; then
8531 cat >> confdefs.h
<<\EOF
8537 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8538 echo "configure:8539: checking for size_t" >&5
8539 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8542 cat > conftest.
$ac_ext <<EOF
8543 #line 8544 "configure"
8544 #include "confdefs.h"
8545 #include <sys/types.h>
8551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8552 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8554 ac_cv_type_size_t
=yes
8557 ac_cv_type_size_t
=no
8562 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8563 if test $ac_cv_type_size_t = no
; then
8564 cat >> confdefs.h
<<\EOF
8565 #define size_t unsigned
8570 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8571 echo "configure:8572: checking for uid_t in sys/types.h" >&5
8572 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8575 cat > conftest.
$ac_ext <<EOF
8576 #line 8577 "configure"
8577 #include "confdefs.h"
8578 #include <sys/types.h>
8580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8581 egrep "uid_t" >/dev
/null
2>&1; then
8583 ac_cv_type_uid_t
=yes
8592 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8593 if test $ac_cv_type_uid_t = no
; then
8594 cat >> confdefs.h
<<\EOF
8598 cat >> confdefs.h
<<\EOF
8607 echo $ac_n "checking for working const""... $ac_c" 1>&6
8608 echo "configure:8609: checking for working const" >&5
8609 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8612 cat > conftest.
$ac_ext <<EOF
8613 #line 8614 "configure"
8614 #include "confdefs.h"
8618 /* Ultrix mips cc rejects this. */
8619 typedef int charset[2]; const charset x;
8620 /* SunOS 4.1.1 cc rejects this. */
8621 char const *const *ccp;
8623 /* NEC SVR4.0.2 mips cc rejects this. */
8624 struct point {int x, y;};
8625 static struct point const zero = {0,0};
8626 /* AIX XL C 1.02.0.0 rejects this.
8627 It does not let you subtract one const X* pointer from another in an arm
8628 of an if-expression whose if-part is not a constant expression */
8629 const char *g = "string";
8630 ccp = &g + (g ? g-g : 0);
8631 /* HPUX 7.0 cc rejects these. */
8634 ccp = (char const *const *) p;
8635 { /* SCO 3.2v4 cc rejects this. */
8637 char const *s = 0 ? (char *) 0 : (char const *) 0;
8641 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8643 const int *foo = &x[0];
8646 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8647 typedef const int *iptr;
8651 { /* AIX XL C 1.02.0.0 rejects this saying
8652 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8653 struct s { int j; const int *ap[3]; };
8654 struct s *b; b->j = 5;
8656 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8662 if { (eval echo configure
:8663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8666 echo "configure: failed program was:" >&5
8667 cat conftest.
$ac_ext >&5
8674 echo "$ac_t""$ac_cv_c_const" 1>&6
8675 if test $ac_cv_c_const = no
; then
8676 cat >> confdefs.h
<<\EOF
8682 echo $ac_n "checking for inline""... $ac_c" 1>&6
8683 echo "configure:8684: checking for inline" >&5
8684 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8685 echo $ac_n "(cached) $ac_c" 1>&6
8688 for ac_kw
in inline __inline__ __inline
; do
8689 cat > conftest.
$ac_ext <<EOF
8690 #line 8691 "configure"
8691 #include "confdefs.h"
8697 if { (eval echo configure
:8698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8699 ac_cv_c_inline
=$ac_kw; break
8701 echo "configure: failed program was:" >&5
8702 cat conftest.
$ac_ext >&5
8709 echo "$ac_t""$ac_cv_c_inline" 1>&6
8710 case "$ac_cv_c_inline" in
8712 no
) cat >> confdefs.h
<<\EOF
8716 *) cat >> confdefs.h
<<EOF
8717 #define inline $ac_cv_c_inline
8723 echo $ac_n "checking size of char""... $ac_c" 1>&6
8724 echo "configure:8725: checking size of char" >&5
8725 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8726 echo $ac_n "(cached) $ac_c" 1>&6
8728 if test "$cross_compiling" = yes; then
8731 cat > conftest.
$ac_ext <<EOF
8732 #line 8733 "configure"
8733 #include "confdefs.h"
8737 FILE *f=fopen("conftestval", "w");
8739 fprintf(f, "%d\n", sizeof(char));
8743 if { (eval echo configure
:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8745 ac_cv_sizeof_char
=`cat conftestval`
8747 echo "configure: failed program was:" >&5
8748 cat conftest.
$ac_ext >&5
8756 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8757 cat >> confdefs.h
<<EOF
8758 #define SIZEOF_CHAR $ac_cv_sizeof_char
8762 echo $ac_n "checking size of short""... $ac_c" 1>&6
8763 echo "configure:8764: checking size of short" >&5
8764 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8765 echo $ac_n "(cached) $ac_c" 1>&6
8767 if test "$cross_compiling" = yes; then
8768 ac_cv_sizeof_short
=2
8770 cat > conftest.
$ac_ext <<EOF
8771 #line 8772 "configure"
8772 #include "confdefs.h"
8776 FILE *f=fopen("conftestval", "w");
8778 fprintf(f, "%d\n", sizeof(short));
8782 if { (eval echo configure
:8783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8784 ac_cv_sizeof_short
=`cat conftestval`
8786 echo "configure: failed program was:" >&5
8787 cat conftest.
$ac_ext >&5
8789 ac_cv_sizeof_short
=0
8795 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8796 cat >> confdefs.h
<<EOF
8797 #define SIZEOF_SHORT $ac_cv_sizeof_short
8801 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8802 echo "configure:8803: checking size of int *" >&5
8803 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8804 echo $ac_n "(cached) $ac_c" 1>&6
8806 if test "$cross_compiling" = yes; then
8807 ac_cv_sizeof_int_p
=4
8809 cat > conftest.
$ac_ext <<EOF
8810 #line 8811 "configure"
8811 #include "confdefs.h"
8815 FILE *f=fopen("conftestval", "w");
8817 fprintf(f, "%d\n", sizeof(int *));
8821 if { (eval echo configure
:8822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8823 ac_cv_sizeof_int_p
=`cat conftestval`
8825 echo "configure: failed program was:" >&5
8826 cat conftest.
$ac_ext >&5
8828 ac_cv_sizeof_int_p
=0
8834 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8835 cat >> confdefs.h
<<EOF
8836 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8840 echo $ac_n "checking size of int""... $ac_c" 1>&6
8841 echo "configure:8842: checking size of int" >&5
8842 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8843 echo $ac_n "(cached) $ac_c" 1>&6
8845 if test "$cross_compiling" = yes; then
8848 cat > conftest.
$ac_ext <<EOF
8849 #line 8850 "configure"
8850 #include "confdefs.h"
8854 FILE *f=fopen("conftestval", "w");
8856 fprintf(f, "%d\n", sizeof(int));
8860 if { (eval echo configure
:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8862 ac_cv_sizeof_int
=`cat conftestval`
8864 echo "configure: failed program was:" >&5
8865 cat conftest.
$ac_ext >&5
8873 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8874 cat >> confdefs.h
<<EOF
8875 #define SIZEOF_INT $ac_cv_sizeof_int
8879 echo $ac_n "checking size of long""... $ac_c" 1>&6
8880 echo "configure:8881: checking size of long" >&5
8881 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8884 if test "$cross_compiling" = yes; then
8887 cat > conftest.
$ac_ext <<EOF
8888 #line 8889 "configure"
8889 #include "confdefs.h"
8893 FILE *f=fopen("conftestval", "w");
8895 fprintf(f, "%d\n", sizeof(long));
8899 if { (eval echo configure
:8900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8901 ac_cv_sizeof_long
=`cat conftestval`
8903 echo "configure: failed program was:" >&5
8904 cat conftest.
$ac_ext >&5
8912 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8913 cat >> confdefs.h
<<EOF
8914 #define SIZEOF_LONG $ac_cv_sizeof_long
8918 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8919 echo "configure:8920: checking size of long long" >&5
8920 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8923 if test "$cross_compiling" = yes; then
8924 ac_cv_sizeof_long_long
=0
8926 cat > conftest.
$ac_ext <<EOF
8927 #line 8928 "configure"
8928 #include "confdefs.h"
8932 FILE *f=fopen("conftestval", "w");
8934 fprintf(f, "%d\n", sizeof(long long));
8938 if { (eval echo configure
:8939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8940 ac_cv_sizeof_long_long
=`cat conftestval`
8942 echo "configure: failed program was:" >&5
8943 cat conftest.
$ac_ext >&5
8945 ac_cv_sizeof_long_long
=0
8951 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8952 cat >> confdefs.h
<<EOF
8953 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8958 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8959 echo "configure:8960: checking whether byte ordering is bigendian" >&5
8960 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8961 echo $ac_n "(cached) $ac_c" 1>&6
8963 ac_cv_c_bigendian
=unknown
8964 # See if sys/param.h defines the BYTE_ORDER macro.
8965 cat > conftest.
$ac_ext <<EOF
8966 #line 8967 "configure"
8967 #include "confdefs.h"
8968 #include <sys/types.h>
8969 #include <sys/param.h>
8972 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8977 if { (eval echo configure
:8978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8979 # It does; now see whether it defined to BIG_ENDIAN or not.
8980 cat > conftest.
$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8983 #include <sys/types.h>
8984 #include <sys/param.h>
8987 #if BYTE_ORDER != BIG_ENDIAN
8992 if { (eval echo configure
:8993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8994 ac_cv_c_bigendian
=yes
8996 echo "configure: failed program was:" >&5
8997 cat conftest.
$ac_ext >&5
8999 ac_cv_c_bigendian
=no
9003 echo "configure: failed program was:" >&5
9004 cat conftest.
$ac_ext >&5
9007 if test $ac_cv_c_bigendian = unknown
; then
9008 if test "$cross_compiling" = yes; then
9009 ac_cv_c_bigendian
=unknown
9011 cat > conftest.
$ac_ext <<EOF
9012 #line 9013 "configure"
9013 #include "confdefs.h"
9015 /* Are we little or big endian? From Harbison&Steele. */
9019 char c[sizeof (long)];
9022 exit (u.c[sizeof (long) - 1] == 1);
9025 if { (eval echo configure
:9026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9027 ac_cv_c_bigendian
=no
9029 echo "configure: failed program was:" >&5
9030 cat conftest.
$ac_ext >&5
9032 ac_cv_c_bigendian
=yes
9040 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9041 if test $ac_cv_c_bigendian = unknown
; then
9042 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
9044 if test $ac_cv_c_bigendian = yes; then
9045 cat >> confdefs.h
<<\EOF
9046 #define WORDS_BIGENDIAN 1
9053 if test "$cross_compiling" = "yes"; then
9054 cat >> confdefs.h
<<\EOF
9055 #define wxUSE_IOSTREAMH 1
9061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9062 ac_cpp
='$CXXCPP $CPPFLAGS'
9063 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9064 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9065 cross_compiling
=$ac_cv_prog_cxx_cross
9068 for ac_hdr
in iostream
9070 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9072 echo "configure:9073: checking for $ac_hdr" >&5
9073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9074 echo $ac_n "(cached) $ac_c" 1>&6
9076 cat > conftest.
$ac_ext <<EOF
9077 #line 9078 "configure"
9078 #include "confdefs.h"
9081 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9082 { (eval echo configure
:9083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9083 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9084 if test -z "$ac_err"; then
9086 eval "ac_cv_header_$ac_safe=yes"
9089 echo "configure: failed program was:" >&5
9090 cat conftest.
$ac_ext >&5
9092 eval "ac_cv_header_$ac_safe=no"
9096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9097 echo "$ac_t""yes" 1>&6
9098 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9099 cat >> confdefs.h
<<EOF
9100 #define $ac_tr_hdr 1
9104 echo "$ac_t""no" 1>&6
9109 if test "x$HAVE_IOSTREAM" = x
; then
9110 cat >> confdefs.h
<<\EOF
9111 #define wxUSE_IOSTREAMH 1
9119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9120 ac_cpp
='$CPP $CPPFLAGS'
9121 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9122 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9123 cross_compiling
=$ac_cv_prog_cc_cross
9129 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9130 echo "configure:9131: checking if C++ compiler supports bool" >&5
9131 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9132 echo $ac_n "(cached) $ac_c" 1>&6
9137 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9138 ac_cpp
='$CXXCPP $CPPFLAGS'
9139 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9140 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9141 cross_compiling
=$ac_cv_prog_cxx_cross
9144 cat > conftest.
$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9157 if { (eval echo configure
:9158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9160 cat >> confdefs.h
<<\EOF
9167 echo "configure: failed program was:" >&5
9168 cat conftest.
$ac_ext >&5
9178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9179 ac_cpp
='$CPP $CPPFLAGS'
9180 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9181 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9182 cross_compiling
=$ac_cv_prog_cc_cross
9187 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9189 if test "$wx_cv_cpp_bool" = "yes"; then
9190 cat >> confdefs.h
<<\EOF
9198 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9199 echo "configure:9200: checking if size_t and int are different types" >&5
9200 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9201 echo $ac_n "(cached) $ac_c" 1>&6
9206 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9207 ac_cpp
='$CXXCPP $CPPFLAGS'
9208 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9209 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9210 cross_compiling
=$ac_cv_prog_cxx_cross
9213 if test "$cross_compiling" = yes; then
9214 wx_cv_cpp_sizet_not_int
=no
9217 cat > conftest.
$ac_ext <<EOF
9218 #line 9219 "configure"
9219 #include "confdefs.h"
9221 extern "C" void exit(int);
9229 S(char *s) { m_s = s; }
9231 char operator[](size_t n) const { return m_s[n]; }
9232 char operator[](int n) const { return m_s[n]; }
9244 return s[n1] == s[n2];
9248 if { (eval echo configure
:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9250 cat >> confdefs.h
<<\EOF
9251 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9253 wx_cv_cpp_sizet_not_int
=yes
9255 echo "configure: failed program was:" >&5
9256 cat conftest.
$ac_ext >&5
9258 wx_cv_cpp_sizet_not_int
=no
9265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9266 ac_cpp
='$CPP $CPPFLAGS'
9267 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9268 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9269 cross_compiling
=$ac_cv_prog_cc_cross
9274 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9278 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9279 echo "configure:9280: checking if you need GNU extensions" >&5
9280 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9284 cat > conftest.
$ac_ext <<EOF
9285 #line 9286 "configure"
9286 #include "confdefs.h"
9287 #include <features.h>
9291 #ifndef __GNU_LIBRARY__
9292 Compile error wanted
9298 if { (eval echo configure
:9299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9300 wx_cv_gnu_extensions
=yes
9302 echo "configure: failed program was:" >&5
9303 cat conftest.
$ac_ext >&5
9305 wx_cv_gnu_extensions
=no
9312 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9313 if test "$wx_cv_gnu_extensions" = "yes"; then
9314 cat >> confdefs.h
<<EOF
9315 #define _GNU_SOURCE 1
9322 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9323 echo "configure:9324: checking for wcslen in -lc" >&5
9324 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9326 echo $ac_n "(cached) $ac_c" 1>&6
9328 ac_save_LIBS
="$LIBS"
9330 cat > conftest.
$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9333 /* Override any gcc2 internal prototype to avoid an error. */
9334 /* We use char because int might match the return type of a gcc2
9335 builtin and then its argument prototype would still apply. */
9342 if { (eval echo configure
:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9344 eval "ac_cv_lib_$ac_lib_var=yes"
9346 echo "configure: failed program was:" >&5
9347 cat conftest.
$ac_ext >&5
9349 eval "ac_cv_lib_$ac_lib_var=no"
9352 LIBS
="$ac_save_LIBS"
9355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9356 echo "$ac_t""yes" 1>&6
9358 cat >> confdefs.h
<<\EOF
9359 #define HAVE_WCSLEN 1
9365 echo "$ac_t""no" 1>&6
9367 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9368 echo "configure:9369: checking for wcslen in -lw" >&5
9369 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9370 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9371 echo $ac_n "(cached) $ac_c" 1>&6
9373 ac_save_LIBS
="$LIBS"
9375 cat > conftest.
$ac_ext <<EOF
9376 #line 9377 "configure"
9377 #include "confdefs.h"
9378 /* Override any gcc2 internal prototype to avoid an error. */
9379 /* We use char because int might match the return type of a gcc2
9380 builtin and then its argument prototype would still apply. */
9387 if { (eval echo configure
:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9389 eval "ac_cv_lib_$ac_lib_var=yes"
9391 echo "configure: failed program was:" >&5
9392 cat conftest.
$ac_ext >&5
9394 eval "ac_cv_lib_$ac_lib_var=no"
9397 LIBS
="$ac_save_LIBS"
9400 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9401 echo "$ac_t""yes" 1>&6
9403 cat >> confdefs.h
<<\EOF
9404 #define HAVE_WCSLEN 1
9410 echo "$ac_t""no" 1>&6
9417 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9418 echo "configure:9419: checking for vprintf" >&5
9419 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9420 echo $ac_n "(cached) $ac_c" 1>&6
9422 cat > conftest.
$ac_ext <<EOF
9423 #line 9424 "configure"
9424 #include "confdefs.h"
9425 /* System header to define __stub macros and hopefully few prototypes,
9426 which can conflict with char vprintf(); below. */
9428 /* Override any gcc2 internal prototype to avoid an error. */
9429 /* We use char because int might match the return type of a gcc2
9430 builtin and then its argument prototype would still apply. */
9435 /* The GNU C library defines this for functions which it implements
9436 to always fail with ENOSYS. Some functions are actually named
9437 something starting with __ and the normal name is an alias. */
9438 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9446 if { (eval echo configure
:9447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9448 eval "ac_cv_func_vprintf=yes"
9450 echo "configure: failed program was:" >&5
9451 cat conftest.
$ac_ext >&5
9453 eval "ac_cv_func_vprintf=no"
9458 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9459 echo "$ac_t""yes" 1>&6
9460 cat >> confdefs.h
<<\EOF
9461 #define HAVE_VPRINTF 1
9465 echo "$ac_t""no" 1>&6
9468 if test "$ac_cv_func_vprintf" != yes; then
9469 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9470 echo "configure:9471: checking for _doprnt" >&5
9471 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9472 echo $ac_n "(cached) $ac_c" 1>&6
9474 cat > conftest.
$ac_ext <<EOF
9475 #line 9476 "configure"
9476 #include "confdefs.h"
9477 /* System header to define __stub macros and hopefully few prototypes,
9478 which can conflict with char _doprnt(); below. */
9480 /* Override any gcc2 internal prototype to avoid an error. */
9481 /* We use char because int might match the return type of a gcc2
9482 builtin and then its argument prototype would still apply. */
9487 /* The GNU C library defines this for functions which it implements
9488 to always fail with ENOSYS. Some functions are actually named
9489 something starting with __ and the normal name is an alias. */
9490 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9498 if { (eval echo configure
:9499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9500 eval "ac_cv_func__doprnt=yes"
9502 echo "configure: failed program was:" >&5
9503 cat conftest.
$ac_ext >&5
9505 eval "ac_cv_func__doprnt=no"
9510 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9511 echo "$ac_t""yes" 1>&6
9512 cat >> confdefs.h
<<\EOF
9513 #define HAVE_DOPRNT 1
9517 echo "$ac_t""no" 1>&6
9523 for ac_func
in vsnprintf
9525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9526 echo "configure:9527: checking for $ac_func" >&5
9527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9530 cat > conftest.
$ac_ext <<EOF
9531 #line 9532 "configure"
9532 #include "confdefs.h"
9533 /* System header to define __stub macros and hopefully few prototypes,
9534 which can conflict with char $ac_func(); below. */
9536 /* Override any gcc2 internal prototype to avoid an error. */
9537 /* We use char because int might match the return type of a gcc2
9538 builtin and then its argument prototype would still apply. */
9543 /* The GNU C library defines this for functions which it implements
9544 to always fail with ENOSYS. Some functions are actually named
9545 something starting with __ and the normal name is an alias. */
9546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9554 if { (eval echo configure
:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9556 eval "ac_cv_func_$ac_func=yes"
9558 echo "configure: failed program was:" >&5
9559 cat conftest.
$ac_ext >&5
9561 eval "ac_cv_func_$ac_func=no"
9566 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9567 echo "$ac_t""yes" 1>&6
9568 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9569 cat >> confdefs.h
<<EOF
9570 #define $ac_tr_func 1
9572 cat >> confdefs.h
<<\EOF
9573 #define HAVE_VSNPRINTF 1
9577 echo "$ac_t""no" 1>&6
9578 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9587 ac_cpp
='$CXXCPP $CPPFLAGS'
9588 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9589 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9590 cross_compiling
=$ac_cv_prog_cxx_cross
9593 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9594 echo "configure:9595: checking for vsscanf" >&5
9595 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9596 echo $ac_n "(cached) $ac_c" 1>&6
9599 if test "$cross_compiling" = yes; then
9600 wx_cv_func_vsscanf
=no
9603 cat > conftest.
$ac_ext <<EOF
9604 #line 9605 "configure"
9605 #include "confdefs.h"
9607 extern "C" void exit(int);
9613 int try_vsscanf(const char *format, ...)
9616 va_start(ap, format);
9618 vsscanf("17", format, ap);
9626 try_vsscanf("%d", &i);
9627 return i == 17 ? 0 : 1;
9631 if { (eval echo configure
:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9634 cat >> confdefs.h
<<\EOF
9635 #define HAVE_VSSCANF 1
9638 wx_cv_func_vsscanf
=yes
9641 echo "configure: failed program was:" >&5
9642 cat conftest.
$ac_ext >&5
9644 wx_cv_func_vsscanf
=no
9652 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9656 ac_cpp
='$CPP $CPPFLAGS'
9657 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9658 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9659 cross_compiling
=$ac_cv_prog_cc_cross
9662 if test "$USE_UNIX" = 1; then
9664 for ac_func
in vfork
9666 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9667 echo "configure:9668: checking for $ac_func" >&5
9668 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9669 echo $ac_n "(cached) $ac_c" 1>&6
9671 cat > conftest.
$ac_ext <<EOF
9672 #line 9673 "configure"
9673 #include "confdefs.h"
9674 /* System header to define __stub macros and hopefully few prototypes,
9675 which can conflict with char $ac_func(); below. */
9677 /* Override any gcc2 internal prototype to avoid an error. */
9678 /* We use char because int might match the return type of a gcc2
9679 builtin and then its argument prototype would still apply. */
9684 /* The GNU C library defines this for functions which it implements
9685 to always fail with ENOSYS. Some functions are actually named
9686 something starting with __ and the normal name is an alias. */
9687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9695 if { (eval echo configure
:9696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9697 eval "ac_cv_func_$ac_func=yes"
9699 echo "configure: failed program was:" >&5
9700 cat conftest.
$ac_ext >&5
9702 eval "ac_cv_func_$ac_func=no"
9707 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9708 echo "$ac_t""yes" 1>&6
9709 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9710 cat >> confdefs.h
<<EOF
9711 #define $ac_tr_func 1
9715 echo "$ac_t""no" 1>&6
9721 for ac_func
in nanosleep
9723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9724 echo "configure:9725: checking for $ac_func" >&5
9725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9726 echo $ac_n "(cached) $ac_c" 1>&6
9728 cat > conftest.
$ac_ext <<EOF
9729 #line 9730 "configure"
9730 #include "confdefs.h"
9731 /* System header to define __stub macros and hopefully few prototypes,
9732 which can conflict with char $ac_func(); below. */
9734 /* Override any gcc2 internal prototype to avoid an error. */
9735 /* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
9741 /* The GNU C library defines this for functions which it implements
9742 to always fail with ENOSYS. Some functions are actually named
9743 something starting with __ and the normal name is an alias. */
9744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9752 if { (eval echo configure
:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9754 eval "ac_cv_func_$ac_func=yes"
9756 echo "configure: failed program was:" >&5
9757 cat conftest.
$ac_ext >&5
9759 eval "ac_cv_func_$ac_func=no"
9764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9765 echo "$ac_t""yes" 1>&6
9766 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9767 cat >> confdefs.h
<<EOF
9768 #define $ac_tr_func 1
9770 cat >> confdefs.h
<<\EOF
9771 #define HAVE_NANOSLEEP 1
9775 echo "$ac_t""no" 1>&6
9776 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9777 echo "configure:9778: checking for nanosleep in -lposix4" >&5
9778 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9782 ac_save_LIBS
="$LIBS"
9783 LIBS
="-lposix4 $LIBS"
9784 cat > conftest.
$ac_ext <<EOF
9785 #line 9786 "configure"
9786 #include "confdefs.h"
9787 /* Override any gcc2 internal prototype to avoid an error. */
9788 /* We use char because int might match the return type of a gcc2
9789 builtin and then its argument prototype would still apply. */
9796 if { (eval echo configure
:9797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9798 eval "ac_cv_lib_$ac_lib_var=yes"
9800 echo "configure: failed program was:" >&5
9801 cat conftest.
$ac_ext >&5
9803 eval "ac_cv_lib_$ac_lib_var=no"
9806 LIBS
="$ac_save_LIBS"
9809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9810 echo "$ac_t""yes" 1>&6
9812 cat >> confdefs.h
<<\EOF
9813 #define HAVE_NANOSLEEP 1
9816 POSIX4_LINK
="-lposix4"
9819 echo "$ac_t""no" 1>&6
9821 for ac_func
in usleep
9823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9824 echo "configure:9825: checking for $ac_func" >&5
9825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9826 echo $ac_n "(cached) $ac_c" 1>&6
9828 cat > conftest.
$ac_ext <<EOF
9829 #line 9830 "configure"
9830 #include "confdefs.h"
9831 /* System header to define __stub macros and hopefully few prototypes,
9832 which can conflict with char $ac_func(); below. */
9834 /* Override any gcc2 internal prototype to avoid an error. */
9835 /* We use char because int might match the return type of a gcc2
9836 builtin and then its argument prototype would still apply. */
9841 /* The GNU C library defines this for functions which it implements
9842 to always fail with ENOSYS. Some functions are actually named
9843 something starting with __ and the normal name is an alias. */
9844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9852 if { (eval echo configure
:9853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9854 eval "ac_cv_func_$ac_func=yes"
9856 echo "configure: failed program was:" >&5
9857 cat conftest.
$ac_ext >&5
9859 eval "ac_cv_func_$ac_func=no"
9864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9865 echo "$ac_t""yes" 1>&6
9866 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9867 cat >> confdefs.h
<<EOF
9868 #define $ac_tr_func 1
9870 cat >> confdefs.h
<<\EOF
9871 #define HAVE_USLEEP 1
9875 echo "$ac_t""no" 1>&6
9876 echo "configure: warning: wxSleep() function will not work" 1>&2
9888 for ac_func
in uname gethostname
9890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9891 echo "configure:9892: checking for $ac_func" >&5
9892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9893 echo $ac_n "(cached) $ac_c" 1>&6
9895 cat > conftest.
$ac_ext <<EOF
9896 #line 9897 "configure"
9897 #include "confdefs.h"
9898 /* System header to define __stub macros and hopefully few prototypes,
9899 which can conflict with char $ac_func(); below. */
9901 /* Override any gcc2 internal prototype to avoid an error. */
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9908 /* The GNU C library defines this for functions which it implements
9909 to always fail with ENOSYS. Some functions are actually named
9910 something starting with __ and the normal name is an alias. */
9911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9919 if { (eval echo configure
:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9921 eval "ac_cv_func_$ac_func=yes"
9923 echo "configure: failed program was:" >&5
9924 cat conftest.
$ac_ext >&5
9926 eval "ac_cv_func_$ac_func=no"
9931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9932 echo "$ac_t""yes" 1>&6
9933 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9934 cat >> confdefs.h
<<EOF
9935 #define $ac_tr_func 1
9939 echo "$ac_t""no" 1>&6
9944 for ac_func
in strtok_r
9946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9947 echo "configure:9948: checking for $ac_func" >&5
9948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9949 echo $ac_n "(cached) $ac_c" 1>&6
9951 cat > conftest.
$ac_ext <<EOF
9952 #line 9953 "configure"
9953 #include "confdefs.h"
9954 /* System header to define __stub macros and hopefully few prototypes,
9955 which can conflict with char $ac_func(); below. */
9957 /* Override any gcc2 internal prototype to avoid an error. */
9958 /* We use char because int might match the return type of a gcc2
9959 builtin and then its argument prototype would still apply. */
9964 /* The GNU C library defines this for functions which it implements
9965 to always fail with ENOSYS. Some functions are actually named
9966 something starting with __ and the normal name is an alias. */
9967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9975 if { (eval echo configure
:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9977 eval "ac_cv_func_$ac_func=yes"
9979 echo "configure: failed program was:" >&5
9980 cat conftest.
$ac_ext >&5
9982 eval "ac_cv_func_$ac_func=no"
9987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9988 echo "$ac_t""yes" 1>&6
9989 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9990 cat >> confdefs.h
<<EOF
9991 #define $ac_tr_func 1
9995 echo "$ac_t""no" 1>&6
10000 for ac_func
in inet_addr
10002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10003 echo "configure:10004: checking for $ac_func" >&5
10004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10007 cat > conftest.
$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10010 /* System header to define __stub macros and hopefully few prototypes,
10011 which can conflict with char $ac_func(); below. */
10012 #include <assert.h>
10013 /* Override any gcc2 internal prototype to avoid an error. */
10014 /* We use char because int might match the return type of a gcc2
10015 builtin and then its argument prototype would still apply. */
10020 /* The GNU C library defines this for functions which it implements
10021 to always fail with ENOSYS. Some functions are actually named
10022 something starting with __ and the normal name is an alias. */
10023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10031 if { (eval echo configure
:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10033 eval "ac_cv_func_$ac_func=yes"
10035 echo "configure: failed program was:" >&5
10036 cat conftest.
$ac_ext >&5
10038 eval "ac_cv_func_$ac_func=no"
10043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10044 echo "$ac_t""yes" 1>&6
10045 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10046 cat >> confdefs.h
<<EOF
10047 #define $ac_tr_func 1
10051 echo "$ac_t""no" 1>&6
10055 for ac_func
in inet_aton
10057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10058 echo "configure:10059: checking for $ac_func" >&5
10059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10060 echo $ac_n "(cached) $ac_c" 1>&6
10062 cat > conftest.
$ac_ext <<EOF
10063 #line 10064 "configure"
10064 #include "confdefs.h"
10065 /* System header to define __stub macros and hopefully few prototypes,
10066 which can conflict with char $ac_func(); below. */
10067 #include <assert.h>
10068 /* Override any gcc2 internal prototype to avoid an error. */
10069 /* We use char because int might match the return type of a gcc2
10070 builtin and then its argument prototype would still apply. */
10075 /* The GNU C library defines this for functions which it implements
10076 to always fail with ENOSYS. Some functions are actually named
10077 something starting with __ and the normal name is an alias. */
10078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10086 if { (eval echo configure
:10087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10088 eval "ac_cv_func_$ac_func=yes"
10090 echo "configure: failed program was:" >&5
10091 cat conftest.
$ac_ext >&5
10093 eval "ac_cv_func_$ac_func=no"
10098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10099 echo "$ac_t""yes" 1>&6
10100 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10101 cat >> confdefs.h
<<EOF
10102 #define $ac_tr_func 1
10106 echo "$ac_t""no" 1>&6
10110 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
10111 echo "configure:10112: checking for inet_aton in -lresolv" >&5
10112 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
10113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10116 ac_save_LIBS
="$LIBS"
10117 LIBS
="-lresolv $LIBS"
10118 cat > conftest.
$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.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. */
10130 if { (eval echo configure
:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10132 eval "ac_cv_lib_$ac_lib_var=yes"
10134 echo "configure: failed program was:" >&5
10135 cat conftest.
$ac_ext >&5
10137 eval "ac_cv_lib_$ac_lib_var=no"
10140 LIBS
="$ac_save_LIBS"
10143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10144 echo "$ac_t""yes" 1>&6
10145 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10146 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10147 cat >> confdefs.h
<<EOF
10148 #define $ac_tr_lib 1
10151 LIBS
="-lresolv $LIBS"
10154 echo "$ac_t""no" 1>&6
10161 cat > confcache
<<\EOF
10162 # This file is a shell script that caches the results of configure
10163 # tests run on this system so they can be shared between configure
10164 # scripts and configure runs. It is not useful on other systems.
10165 # If it contains results you don't want to keep, you may remove or edit it.
10167 # By default, configure uses ./config.cache as the cache file,
10168 # creating it if it does not exist already. You can give configure
10169 # the --cache-file=FILE option to use a different cache file; that is
10170 # what configure does when it calls configure scripts in
10171 # subdirectories, so they share the cache.
10172 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10173 # config.status only pays attention to the cache file if you give it the
10174 # --recheck option to rerun configure.
10177 # The following way of writing the cache mishandles newlines in values,
10178 # but we know of no workaround that is simple, portable, and efficient.
10179 # So, don't put newlines in cache variables' values.
10180 # Ultrix sh set writes to stderr and can't be redirected directly,
10181 # and sets the high bit in the cache file unless we assign to the vars.
10183 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10185 # `set' does not quote correctly, so add quotes (double-quote substitution
10186 # turns \\\\ into \\, and sed turns \\ into \).
10188 -e "s/'/'\\\\''/g" \
10189 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10192 # `set' quotes correctly as required by POSIX, so do not add quotes.
10193 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10196 if cmp -s $cache_file confcache
; then
10199 if test -w $cache_file; then
10200 echo "updating cache $cache_file"
10201 cat confcache
> $cache_file
10203 echo "not updating unwritable cache $cache_file"
10210 if test "$USE_UNIX" = 1; then
10216 if test "$wxUSE_THREADS" = "yes" ; then
10217 if test "$wxUSE_WINE" = 1 ; then
10218 echo "configure: warning: Threads are not supported under WINE" 1>&2
10223 if test "$wxUSE_THREADS" = "yes" ; then
10225 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10226 echo "configure:10227: checking for pthread_create in -lpthread" >&5
10227 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10229 echo $ac_n "(cached) $ac_c" 1>&6
10231 ac_save_LIBS
="$LIBS"
10232 LIBS
="-lpthread $LIBS"
10233 cat > conftest.
$ac_ext <<EOF
10234 #line 10235 "configure"
10235 #include "confdefs.h"
10236 /* Override any gcc2 internal prototype to avoid an error. */
10237 /* We use char because int might match the return type of a gcc2
10238 builtin and then its argument prototype would still apply. */
10239 char pthread_create();
10245 if { (eval echo configure
:10246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10247 eval "ac_cv_lib_$ac_lib_var=yes"
10249 echo "configure: failed program was:" >&5
10250 cat conftest.
$ac_ext >&5
10252 eval "ac_cv_lib_$ac_lib_var=no"
10255 LIBS
="$ac_save_LIBS"
10258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10259 echo "$ac_t""yes" 1>&6
10261 THREADS_OBJ
="threadpsx.lo"
10262 THREADS_LINK
="pthread"
10265 echo "$ac_t""no" 1>&6
10267 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10268 echo "configure:10269: checking for pthread_create in -lc_r" >&5
10269 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10270 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10271 echo $ac_n "(cached) $ac_c" 1>&6
10273 ac_save_LIBS
="$LIBS"
10275 cat > conftest.
$ac_ext <<EOF
10276 #line 10277 "configure"
10277 #include "confdefs.h"
10278 /* Override any gcc2 internal prototype to avoid an error. */
10279 /* We use char because int might match the return type of a gcc2
10280 builtin and then its argument prototype would still apply. */
10281 char pthread_create();
10287 if { (eval echo configure
:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10289 eval "ac_cv_lib_$ac_lib_var=yes"
10291 echo "configure: failed program was:" >&5
10292 cat conftest.
$ac_ext >&5
10294 eval "ac_cv_lib_$ac_lib_var=no"
10297 LIBS
="$ac_save_LIBS"
10300 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10301 echo "$ac_t""yes" 1>&6
10303 THREADS_OBJ
="threadpsx.lo"
10307 echo "$ac_t""no" 1>&6
10309 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10310 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10311 echo "configure:10312: checking for sys/prctl.h" >&5
10312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10313 echo $ac_n "(cached) $ac_c" 1>&6
10315 cat > conftest.
$ac_ext <<EOF
10316 #line 10317 "configure"
10317 #include "confdefs.h"
10318 #include <sys/prctl.h>
10320 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10321 { (eval echo configure
:10322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10322 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10323 if test -z "$ac_err"; then
10325 eval "ac_cv_header_$ac_safe=yes"
10328 echo "configure: failed program was:" >&5
10329 cat conftest.
$ac_ext >&5
10331 eval "ac_cv_header_$ac_safe=no"
10335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10336 echo "$ac_t""yes" 1>&6
10338 THREADS_OBJ
="threadsgi.lo"
10341 echo "$ac_t""no" 1>&6
10351 if test -z "$THREADS_OBJ" ; then
10353 echo "configure: warning: No thread support on this system" 1>&2
10357 if test "$wxUSE_THREADS" = "yes" ; then
10359 for ac_hdr
in sched.h
10361 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10362 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10363 echo "configure:10364: checking for $ac_hdr" >&5
10364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10365 echo $ac_n "(cached) $ac_c" 1>&6
10367 cat > conftest.
$ac_ext <<EOF
10368 #line 10369 "configure"
10369 #include "confdefs.h"
10372 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10373 { (eval echo configure
:10374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10374 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10375 if test -z "$ac_err"; then
10377 eval "ac_cv_header_$ac_safe=yes"
10380 echo "configure: failed program was:" >&5
10381 cat conftest.
$ac_ext >&5
10383 eval "ac_cv_header_$ac_safe=no"
10387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10388 echo "$ac_t""yes" 1>&6
10389 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10390 cat >> confdefs.h
<<EOF
10391 #define $ac_tr_hdr 1
10395 echo "$ac_t""no" 1>&6
10400 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10401 echo "configure:10402: checking for sched_yield in -l$THREADS_LINK" >&5
10402 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10404 echo $ac_n "(cached) $ac_c" 1>&6
10406 ac_save_LIBS
="$LIBS"
10407 LIBS
="-l$THREADS_LINK $LIBS"
10408 cat > conftest.
$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10411 /* Override any gcc2 internal prototype to avoid an error. */
10412 /* We use char because int might match the return type of a gcc2
10413 builtin and then its argument prototype would still apply. */
10414 char sched_yield();
10420 if { (eval echo configure
:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10422 eval "ac_cv_lib_$ac_lib_var=yes"
10424 echo "configure: failed program was:" >&5
10425 cat conftest.
$ac_ext >&5
10427 eval "ac_cv_lib_$ac_lib_var=no"
10430 LIBS
="$ac_save_LIBS"
10433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10434 echo "$ac_t""yes" 1>&6
10435 cat >> confdefs.h
<<\EOF
10436 #define HAVE_SCHED_YIELD 1
10440 echo "$ac_t""no" 1>&6
10441 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10442 echo "configure:10443: checking for sched_yield in -l"posix4
"" >&5
10443 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10447 ac_save_LIBS
="$LIBS"
10448 LIBS
="-l"posix4
" $LIBS"
10449 cat > conftest.
$ac_ext <<EOF
10450 #line 10451 "configure"
10451 #include "confdefs.h"
10452 /* Override any gcc2 internal prototype to avoid an error. */
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char sched_yield();
10461 if { (eval echo configure
:10462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10463 eval "ac_cv_lib_$ac_lib_var=yes"
10465 echo "configure: failed program was:" >&5
10466 cat conftest.
$ac_ext >&5
10468 eval "ac_cv_lib_$ac_lib_var=no"
10471 LIBS
="$ac_save_LIBS"
10474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10475 echo "$ac_t""yes" 1>&6
10476 cat >> confdefs.h
<<\EOF
10477 #define HAVE_SCHED_YIELD 1
10479 POSIX4_LINK
="-lposix4"
10481 echo "$ac_t""no" 1>&6
10482 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10490 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10491 echo "configure:10492: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10492 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10494 echo $ac_n "(cached) $ac_c" 1>&6
10496 ac_save_LIBS
="$LIBS"
10497 LIBS
="-l$THREADS_LINK $LIBS"
10498 cat > conftest.
$ac_ext <<EOF
10499 #line 10500 "configure"
10500 #include "confdefs.h"
10501 /* Override any gcc2 internal prototype to avoid an error. */
10502 /* We use char because int might match the return type of a gcc2
10503 builtin and then its argument prototype would still apply. */
10504 char pthread_attr_getschedpolicy();
10507 pthread_attr_getschedpolicy()
10510 if { (eval echo configure
:10511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10512 eval "ac_cv_lib_$ac_lib_var=yes"
10514 echo "configure: failed program was:" >&5
10515 cat conftest.
$ac_ext >&5
10517 eval "ac_cv_lib_$ac_lib_var=no"
10520 LIBS
="$ac_save_LIBS"
10523 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10524 echo "$ac_t""yes" 1>&6
10525 cat >> confdefs.h
<<\EOF
10526 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10530 echo "$ac_t""no" 1>&6
10531 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10532 echo "configure:10533: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10533 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10535 echo $ac_n "(cached) $ac_c" 1>&6
10537 ac_save_LIBS
="$LIBS"
10538 LIBS
="-l"posix4
" $LIBS"
10539 cat > conftest.
$ac_ext <<EOF
10540 #line 10541 "configure"
10541 #include "confdefs.h"
10542 /* Override any gcc2 internal prototype to avoid an error. */
10543 /* We use char because int might match the return type of a gcc2
10544 builtin and then its argument prototype would still apply. */
10545 char pthread_attr_getschedpolicy();
10548 pthread_attr_getschedpolicy()
10551 if { (eval echo configure
:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10553 eval "ac_cv_lib_$ac_lib_var=yes"
10555 echo "configure: failed program was:" >&5
10556 cat conftest.
$ac_ext >&5
10558 eval "ac_cv_lib_$ac_lib_var=no"
10561 LIBS
="$ac_save_LIBS"
10564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10565 echo "$ac_t""yes" 1>&6
10566 cat >> confdefs.h
<<\EOF
10567 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10569 POSIX4_LINK
="-lposix4"
10571 echo "$ac_t""no" 1>&6
10572 echo "configure: warning: Setting thread priority will not work" 1>&2
10580 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10581 echo "configure:10582: checking for pthread_cancel in -l$THREADS_LINK" >&5
10582 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10584 echo $ac_n "(cached) $ac_c" 1>&6
10586 ac_save_LIBS
="$LIBS"
10587 LIBS
="-l$THREADS_LINK $LIBS"
10588 cat > conftest.
$ac_ext <<EOF
10589 #line 10590 "configure"
10590 #include "confdefs.h"
10591 /* Override any gcc2 internal prototype to avoid an error. */
10592 /* We use char because int might match the return type of a gcc2
10593 builtin and then its argument prototype would still apply. */
10594 char pthread_cancel();
10600 if { (eval echo configure
:10601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10602 eval "ac_cv_lib_$ac_lib_var=yes"
10604 echo "configure: failed program was:" >&5
10605 cat conftest.
$ac_ext >&5
10607 eval "ac_cv_lib_$ac_lib_var=no"
10610 LIBS
="$ac_save_LIBS"
10613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10614 echo "$ac_t""yes" 1>&6
10615 cat >> confdefs.h
<<\EOF
10616 #define HAVE_PTHREAD_CANCEL 1
10620 echo "$ac_t""no" 1>&6
10621 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10625 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10626 echo "configure:10627: checking for pthread_cleanup_push/pop" >&5
10627 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10628 echo $ac_n "(cached) $ac_c" 1>&6
10631 cat > conftest.
$ac_ext <<EOF
10632 #line 10633 "configure"
10633 #include "confdefs.h"
10634 #include <pthread.h>
10637 pthread_cleanup_push(NULL, NULL);
10638 pthread_cleanup_pop(0);
10642 if { (eval echo configure
:10643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10645 wx_cv_func_pthread_cleanup_push
=yes
10646 cat >> confdefs.h
<<\EOF
10647 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10652 echo "configure: failed program was:" >&5
10653 cat conftest.
$ac_ext >&5
10656 wx_cv_func_pthread_cleanup_push
=no
10663 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10665 THREADS_LINK
="-l$THREADS_LINK"
10670 if test "$wxUSE_THREADS" = "yes"; then
10671 cat >> confdefs.h
<<\EOF
10672 #define wxUSE_THREADS 1
10676 CFLAGS
="${CFLAGS} -D_REENTRANT"
10677 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10682 if test "$WXGTK12" = 1 ; then
10683 cat >> confdefs.h
<<EOF
10684 #define __WXGTK12__ $WXGTK12
10689 if test "$WXWINE" = 1 ; then
10690 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10693 if test "$wxUSE_CYGWIN" = 1 ; then
10694 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10699 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10704 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10705 wxUSE_DEBUG_INFO
=yes
10709 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10710 cat >> confdefs.h
<<\EOF
10714 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10716 if test "$wxUSE_GTK" = 1 ; then
10717 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10721 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10722 cat >> confdefs.h
<<\EOF
10723 #define wxUSE_MEMORY_TRACING 1
10726 cat >> confdefs.h
<<\EOF
10727 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10733 if test "$wxUSE_DMALLOC" = "yes" ; then
10734 DMALLOC_LINK
="-ldmalloc"
10738 if test "$wxUSE_PROFILE" = "yes" ; then
10743 if test "$GCC" = yes ; then
10744 if test "$wxUSE_NO_RTTI" = "yes" ; then
10745 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10747 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10748 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10750 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10751 CFLAGS
="${CFLAGS} -fpermissive"
10752 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10754 if test "$wxUSE_NO_DEPS" = "no" ; then
10755 DEP_INFO_FLAGS
="-MMD"
10760 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10761 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10762 if test "$wxUSE_OPTIMISE" = "no" ; then
10765 if test "$GCC" = yes ; then
10768 i586
-*-*|i686
-*-* )
10769 OPTIMISE
="${OPTIMISE} "
10779 if test "$wxUSE_ZLIB" = "yes" ; then
10780 cat >> confdefs.h
<<\EOF
10781 #define wxUSE_ZLIB 1
10784 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10788 if test "$wxUSE_LIBPNG" = "yes" ; then
10789 cat >> confdefs.h
<<\EOF
10790 #define wxUSE_LIBPNG 1
10793 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10798 if test "$wxUSE_LIBJPEG" = "yes" ; then
10799 cat >> confdefs.h
<<\EOF
10800 #define wxUSE_LIBJPEG 1
10803 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10806 if test "$wxUSE_OPENGL" = "yes"; then
10807 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10808 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10809 echo "configure:10810: checking for GL/gl.h" >&5
10810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10811 echo $ac_n "(cached) $ac_c" 1>&6
10813 cat > conftest.
$ac_ext <<EOF
10814 #line 10815 "configure"
10815 #include "confdefs.h"
10818 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10819 { (eval echo configure
:10820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10820 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10821 if test -z "$ac_err"; then
10823 eval "ac_cv_header_$ac_safe=yes"
10826 echo "configure: failed program was:" >&5
10827 cat conftest.
$ac_ext >&5
10829 eval "ac_cv_header_$ac_safe=no"
10833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10834 echo "$ac_t""yes" 1>&6
10836 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10837 echo "configure:10838: checking for glInitNames in -lGL" >&5
10838 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10839 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10840 echo $ac_n "(cached) $ac_c" 1>&6
10842 ac_save_LIBS
="$LIBS"
10843 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10844 cat > conftest.
$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10847 /* Override any gcc2 internal prototype to avoid an error. */
10848 /* We use char because int might match the return type of a gcc2
10849 builtin and then its argument prototype would still apply. */
10850 char glInitNames();
10856 if { (eval echo configure
:10857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10858 eval "ac_cv_lib_$ac_lib_var=yes"
10860 echo "configure: failed program was:" >&5
10861 cat conftest.
$ac_ext >&5
10863 eval "ac_cv_lib_$ac_lib_var=no"
10866 LIBS
="$ac_save_LIBS"
10869 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10870 echo "$ac_t""yes" 1>&6
10873 cat >> confdefs.h
<<\EOF
10874 #define wxUSE_OPENGL 1
10877 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10880 echo "$ac_t""no" 1>&6
10882 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10883 echo "configure:10884: checking for glInitNames in -lMesaGL" >&5
10884 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10886 echo $ac_n "(cached) $ac_c" 1>&6
10888 ac_save_LIBS
="$LIBS"
10889 LIBS
="-lMesaGL $LIBS"
10890 cat > conftest.
$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10893 /* Override any gcc2 internal prototype to avoid an error. */
10894 /* We use char because int might match the return type of a gcc2
10895 builtin and then its argument prototype would still apply. */
10896 char glInitNames();
10902 if { (eval echo configure
:10903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10904 eval "ac_cv_lib_$ac_lib_var=yes"
10906 echo "configure: failed program was:" >&5
10907 cat conftest.
$ac_ext >&5
10909 eval "ac_cv_lib_$ac_lib_var=no"
10912 LIBS
="$ac_save_LIBS"
10915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10916 echo "$ac_t""yes" 1>&6
10918 OPENGL_LINK
="-lMesaGL"
10919 cat >> confdefs.h
<<\EOF
10920 #define wxUSE_OPENGL 1
10923 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10926 echo "$ac_t""no" 1>&6
10935 echo "$ac_t""no" 1>&6
10942 if test "$wxUSE_GUI" = "yes"; then
10943 cat >> confdefs.h
<<\EOF
10944 #define wxUSE_GUI 1
10949 cat >> confdefs.h
<<\EOF
10950 #define wxUSE_NOGUI 1
10956 if test "$wxUSE_UNIX" = "yes"; then
10957 cat >> confdefs.h
<<\EOF
10958 #define wxUSE_UNIX 1
10964 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10965 cat >> confdefs.h
<<\EOF
10966 #define wxUSE_APPLE_IEEE 1
10971 if test "$wxUSE_TIMEDATE" = "yes"; then
10972 cat >> confdefs.h
<<\EOF
10973 #define wxUSE_TIMEDATE 1
10976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10979 if test "$wxUSE_WAVE" = "yes"; then
10980 cat >> confdefs.h
<<\EOF
10981 #define wxUSE_WAVE 1
10986 if test "$wxUSE_FILE" = "yes"; then
10987 cat >> confdefs.h
<<\EOF
10988 #define wxUSE_FILE 1
10993 if test "$wxUSE_FS_INET" = "yes"; then
10994 cat >> confdefs.h
<<\EOF
10995 #define wxUSE_FS_INET 1
11000 if test "$wxUSE_FS_ZIP" = "yes"; then
11001 cat >> confdefs.h
<<\EOF
11002 #define wxUSE_FS_ZIP 1
11007 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11008 cat >> confdefs.h
<<\EOF
11009 #define wxUSE_ZIPSTREAM 1
11014 if test "$wxUSE_BUSYINFO" = "yes"; then
11015 cat >> confdefs.h
<<\EOF
11016 #define wxUSE_BUSYINFO 1
11021 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11022 cat >> confdefs.h
<<\EOF
11023 #define wxUSE_STD_IOSTREAM 1
11028 if test "$wxUSE_TEXTFILE" = "yes"; then
11029 if test "$wxUSE_FILE" != "yes"; then
11030 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11032 cat >> confdefs.h
<<\EOF
11033 #define wxUSE_TEXTFILE 1
11039 if test "$wxUSE_CONFIG" = "yes" ; then
11040 if test "$wxUSE_TEXTFILE" != "yes"; then
11041 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11043 cat >> confdefs.h
<<\EOF
11044 #define wxUSE_CONFIG 1
11047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11051 if test "$wxUSE_INTL" = "yes" ; then
11052 if test "$wxUSE_FILE" != "yes"; then
11053 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11055 cat >> confdefs.h
<<\EOF
11056 #define wxUSE_INTL 1
11059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11063 if test "$wxUSE_LOG" = "yes"; then
11064 cat >> confdefs.h
<<\EOF
11065 #define wxUSE_LOG 1
11070 if test "$wxUSE_LONGLONG" = "yes"; then
11071 cat >> confdefs.h
<<\EOF
11072 #define wxUSE_LONGLONG 1
11077 if test "$wxUSE_SOCKETS" = "yes" ; then
11078 cat >> confdefs.h
<<\EOF
11079 #define wxUSE_SOCKETS 1
11082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11083 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11086 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11087 cat >> confdefs.h
<<\EOF
11088 #define wxUSE_DIALUP_MANAGER 1
11093 if test "$wxUSE_STREAMS" = "yes" ; then
11094 cat >> confdefs.h
<<\EOF
11095 #define wxUSE_STREAMS 1
11100 if test "$wxUSE_SERIAL" = "yes" ; then
11101 cat >> confdefs.h
<<\EOF
11102 #define wxUSE_SERIAL 1
11108 if test "$wxUSE_SOCKETS" = "yes"; then
11111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11112 ac_cpp
='$CXXCPP $CPPFLAGS'
11113 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11114 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11115 cross_compiling
=$ac_cv_prog_cxx_cross
11117 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11118 echo "configure:11119: checking the type of the third argument of getsockname" >&5
11119 cat > conftest.
$ac_ext <<EOF
11120 #line 11121 "configure"
11121 #include "confdefs.h"
11122 #include <sys/socket.h>
11124 socklen_t len; getsockname(0, NULL, &len);
11127 if { (eval echo configure
:11128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11129 cat >> confdefs.h
<<\EOF
11130 #define SOCKLEN_T socklen_t
11132 echo "$ac_t""socklen_t" 1>&6
11134 echo "configure: failed program was:" >&5
11135 cat conftest.
$ac_ext >&5
11137 cat > conftest.
$ac_ext <<EOF
11138 #line 11139 "configure"
11139 #include "confdefs.h"
11140 #include <sys/socket.h>
11142 size_t len; getsockname(0, NULL, &len);
11145 if { (eval echo configure
:11146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11147 cat >> confdefs.h
<<\EOF
11148 #define SOCKLEN_T size_t
11150 echo "$ac_t""size_t" 1>&6
11152 echo "configure: failed program was:" >&5
11153 cat conftest.
$ac_ext >&5
11155 cat > conftest.
$ac_ext <<EOF
11156 #line 11157 "configure"
11157 #include "confdefs.h"
11158 #include <sys/socket.h>
11160 int len; getsockname(0, NULL, &len);
11163 if { (eval echo configure
:11164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11165 cat >> confdefs.h
<<\EOF
11166 #define SOCKLEN_T int
11168 echo "$ac_t""int" 1>&6
11170 echo "configure: failed program was:" >&5
11171 cat conftest.
$ac_ext >&5
11173 echo "$ac_t""unknown" 1>&6
11184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11185 ac_cpp
='$CPP $CPPFLAGS'
11186 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11187 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11188 cross_compiling
=$ac_cv_prog_cc_cross
11193 if test "$wxUSE_JOYSTICK" = 1; then
11194 for ac_hdr
in linux
/joystick.h
11196 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11197 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11198 echo "configure:11199: checking for $ac_hdr" >&5
11199 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11202 cat > conftest.
$ac_ext <<EOF
11203 #line 11204 "configure"
11204 #include "confdefs.h"
11207 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11208 { (eval echo configure
:11209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11209 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11210 if test -z "$ac_err"; then
11212 eval "ac_cv_header_$ac_safe=yes"
11215 echo "configure: failed program was:" >&5
11216 cat conftest.
$ac_ext >&5
11218 eval "ac_cv_header_$ac_safe=no"
11222 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11223 echo "$ac_t""yes" 1>&6
11224 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11225 cat >> confdefs.h
<<EOF
11226 #define $ac_tr_hdr 1
11230 echo "$ac_t""no" 1>&6
11234 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11235 cat >> confdefs.h
<<\EOF
11236 #define wxUSE_JOYSTICK 1
11239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11246 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11247 for ac_func
in dlopen
11249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11250 echo "configure:11251: checking for $ac_func" >&5
11251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11252 echo $ac_n "(cached) $ac_c" 1>&6
11254 cat > conftest.
$ac_ext <<EOF
11255 #line 11256 "configure"
11256 #include "confdefs.h"
11257 /* System header to define __stub macros and hopefully few prototypes,
11258 which can conflict with char $ac_func(); below. */
11259 #include <assert.h>
11260 /* Override any gcc2 internal prototype to avoid an error. */
11261 /* We use char because int might match the return type of a gcc2
11262 builtin and then its argument prototype would still apply. */
11267 /* The GNU C library defines this for functions which it implements
11268 to always fail with ENOSYS. Some functions are actually named
11269 something starting with __ and the normal name is an alias. */
11270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11278 if { (eval echo configure
:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11280 eval "ac_cv_func_$ac_func=yes"
11282 echo "configure: failed program was:" >&5
11283 cat conftest.
$ac_ext >&5
11285 eval "ac_cv_func_$ac_func=no"
11290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11291 echo "$ac_t""yes" 1>&6
11292 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11293 cat >> confdefs.h
<<EOF
11294 #define $ac_tr_func 1
11297 cat >> confdefs.h
<<\EOF
11298 #define HAVE_DLOPEN 1
11304 echo "$ac_t""no" 1>&6
11305 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11306 echo "configure:11307: checking for dlopen in -ldl" >&5
11307 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11309 echo $ac_n "(cached) $ac_c" 1>&6
11311 ac_save_LIBS
="$LIBS"
11313 cat > conftest.
$ac_ext <<EOF
11314 #line 11315 "configure"
11315 #include "confdefs.h"
11316 /* Override any gcc2 internal prototype to avoid an error. */
11317 /* We use char because int might match the return type of a gcc2
11318 builtin and then its argument prototype would still apply. */
11325 if { (eval echo configure
:11326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11327 eval "ac_cv_lib_$ac_lib_var=yes"
11329 echo "configure: failed program was:" >&5
11330 cat conftest.
$ac_ext >&5
11332 eval "ac_cv_lib_$ac_lib_var=no"
11335 LIBS
="$ac_save_LIBS"
11338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11339 echo "$ac_t""yes" 1>&6
11341 cat >> confdefs.h
<<\EOF
11342 #define HAVE_DLOPEN 1
11349 echo "$ac_t""no" 1>&6
11351 for ac_func
in shl_load
11353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11354 echo "configure:11355: checking for $ac_func" >&5
11355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11356 echo $ac_n "(cached) $ac_c" 1>&6
11358 cat > conftest.
$ac_ext <<EOF
11359 #line 11360 "configure"
11360 #include "confdefs.h"
11361 /* System header to define __stub macros and hopefully few prototypes,
11362 which can conflict with char $ac_func(); below. */
11363 #include <assert.h>
11364 /* Override any gcc2 internal prototype to avoid an error. */
11365 /* We use char because int might match the return type of a gcc2
11366 builtin and then its argument prototype would still apply. */
11371 /* The GNU C library defines this for functions which it implements
11372 to always fail with ENOSYS. Some functions are actually named
11373 something starting with __ and the normal name is an alias. */
11374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11382 if { (eval echo configure
:11383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11384 eval "ac_cv_func_$ac_func=yes"
11386 echo "configure: failed program was:" >&5
11387 cat conftest.
$ac_ext >&5
11389 eval "ac_cv_func_$ac_func=no"
11394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11395 echo "$ac_t""yes" 1>&6
11396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11397 cat >> confdefs.h
<<EOF
11398 #define $ac_tr_func 1
11401 cat >> confdefs.h
<<\EOF
11402 #define HAVE_SHL_LOAD 1
11408 echo "$ac_t""no" 1>&6
11420 if test "$HAVE_DL_FUNCS" = 0; then
11421 if test "$HAVE_SHL_FUNCS" = 0; then
11422 if test "$USE_UNIX" = 1; then
11423 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11425 wxUSE_DYNLIB_CLASS
=no
11427 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11433 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11434 cat >> confdefs.h
<<\EOF
11435 #define wxUSE_DYNLIB_CLASS 1
11441 if test "$wxUSE_UNICODE" = "yes" ; then
11442 cat >> confdefs.h
<<\EOF
11443 #define wxUSE_UNICODE 1
11448 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11449 cat >> confdefs.h
<<\EOF
11450 #define wxUSE_WCSRTOMBS 1
11455 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11456 cat >> confdefs.h
<<\EOF
11457 #define wxUSE_EXPERIMENTAL_PRINTF 1
11464 if test "$wxUSE_ODBC" = "yes" ; then
11465 cat >> confdefs.h
<<\EOF
11466 #define wxUSE_ODBC 1
11469 WXODBCFLAG
="-D_IODBC_"
11470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11471 IODBCOBJS
="\$(IODBC_OBJS)"
11477 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11478 cat >> confdefs.h
<<\EOF
11479 #define wxUSE_POSTSCRIPT 1
11484 cat >> confdefs.h
<<\EOF
11485 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11489 cat >> confdefs.h
<<\EOF
11490 #define wxUSE_NORMALIZED_PS_FONTS 1
11495 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11496 cat >> confdefs.h
<<\EOF
11497 #define wxUSE_CONSTRAINTS 1
11500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11503 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11504 cat >> confdefs.h
<<\EOF
11505 #define wxUSE_MDI_ARCHITECTURE 1
11508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11511 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11512 cat >> confdefs.h
<<\EOF
11513 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11517 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11522 if test "$wxUSE_HELP" = "yes"; then
11523 cat >> confdefs.h
<<\EOF
11524 #define wxUSE_HELP 1
11527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11530 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11531 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11532 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11534 cat >> confdefs.h
<<\EOF
11535 #define wxUSE_PRINTING_ARCHITECTURE 1
11539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11542 if test "$wxUSE_PROLOGIO" = "yes" ; then
11543 cat >> confdefs.h
<<\EOF
11544 #define wxUSE_PROLOGIO 1
11549 if test "$wxUSE_RESOURCES" = "yes" ; then
11550 if test "$wxUSE_PROLOGIO" = "yes" ; then
11551 cat >> confdefs.h
<<\EOF
11552 #define wxUSE_RESOURCES 1
11555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11557 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11561 if test "$wxUSE_X_RESOURCES" = "yes"; then
11562 cat >> confdefs.h
<<\EOF
11563 #define wxUSE_X_RESOURCES 1
11569 if test "$wxUSE_IPC" = "yes"; then
11570 cat >> confdefs.h
<<\EOF
11571 #define wxUSE_IPC 1
11576 if test "$wxUSE_CLIPBOARD" = "yes"; then
11577 cat >> confdefs.h
<<\EOF
11578 #define wxUSE_CLIPBOARD 1
11583 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11584 if test "$wxUSE_GTK" = 1; then
11585 if test "$WXGTK12" != 1; then
11586 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11587 wxUSE_DRAG_AND_DROP
=no
11591 if test "$wxUSE_MOTIF" = 1; then
11592 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11593 wxUSE_DRAG_AND_DROP
=no
11596 if test "$USE_WIN32" = 1; then
11597 for ac_hdr
in ole2.h
11599 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11601 echo "configure:11602: checking for $ac_hdr" >&5
11602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11603 echo $ac_n "(cached) $ac_c" 1>&6
11605 cat > conftest.
$ac_ext <<EOF
11606 #line 11607 "configure"
11607 #include "confdefs.h"
11610 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11611 { (eval echo configure
:11612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11612 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11613 if test -z "$ac_err"; then
11615 eval "ac_cv_header_$ac_safe=yes"
11618 echo "configure: failed program was:" >&5
11619 cat conftest.
$ac_ext >&5
11621 eval "ac_cv_header_$ac_safe=no"
11625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11626 echo "$ac_t""yes" 1>&6
11627 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11628 cat >> confdefs.h
<<EOF
11629 #define $ac_tr_hdr 1
11633 echo "$ac_t""no" 1>&6
11637 if test "x$HAVE_OLE2_H" = x
; then
11638 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11639 wxUSE_DRAG_AND_DROP
=no
11643 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11644 cat >> confdefs.h
<<\EOF
11645 #define wxUSE_DRAG_AND_DROP 1
11648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11653 if test "$wxUSE_SPLINES" = "yes" ; then
11654 cat >> confdefs.h
<<\EOF
11655 #define wxUSE_SPLINES 1
11661 if test "$wxUSE_ACCEL" = "yes"; then
11662 cat >> confdefs.h
<<\EOF
11663 #define wxUSE_ACCEL 1
11668 if test "$wxUSE_CARET" = "yes"; then
11669 cat >> confdefs.h
<<\EOF
11670 #define wxUSE_CARET 1
11673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11676 if test "$wxUSE_COMBOBOX" = "yes"; then
11677 cat >> confdefs.h
<<\EOF
11678 #define wxUSE_COMBOBOX 1
11683 if test "$wxUSE_CHOICE" = "yes"; then
11684 cat >> confdefs.h
<<\EOF
11685 #define wxUSE_CHOICE 1
11690 if test "$wxUSE_BMPBUTTON" = "yes"; then
11691 cat >> confdefs.h
<<\EOF
11692 #define wxUSE_BMPBUTTON 1
11697 if test "$wxUSE_CHECKBOX" = "yes"; then
11698 cat >> confdefs.h
<<\EOF
11699 #define wxUSE_CHECKBOX 1
11704 if test "$wxUSE_CHECKLST" = "yes"; then
11705 cat >> confdefs.h
<<\EOF
11706 #define wxUSE_CHECKLISTBOX 1
11709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11712 if test "$wxUSE_GAUGE" = "yes"; then
11713 cat >> confdefs.h
<<\EOF
11714 #define wxUSE_GAUGE 1
11719 if test "$wxUSE_GRID" = "yes"; then
11720 cat >> confdefs.h
<<\EOF
11721 #define wxUSE_GRID 1
11724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11727 if test "$wxUSE_NEW_GRID" = "yes"; then
11728 cat >> confdefs.h
<<\EOF
11729 #define wxUSE_NEW_GRID 1
11732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
11735 if test "$wxUSE_IMAGLIST" = "yes"; then
11736 cat >> confdefs.h
<<\EOF
11737 #define wxUSE_IMAGLIST 1
11742 if test "$wxUSE_LISTBOX" = "yes"; then
11743 cat >> confdefs.h
<<\EOF
11744 #define wxUSE_LISTBOX 1
11749 if test "$wxUSE_LISTCTRL" = "yes"; then
11750 if test "$wxUSE_IMAGLIST" = "yes"; then
11751 cat >> confdefs.h
<<\EOF
11752 #define wxUSE_LISTCTRL 1
11755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11757 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11761 if test "$wxUSE_NOTEBOOK" = "yes"; then
11762 cat >> confdefs.h
<<\EOF
11763 #define wxUSE_NOTEBOOK 1
11766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11769 if test "$wxUSE_RADIOBOX" = "yes"; then
11770 cat >> confdefs.h
<<\EOF
11771 #define wxUSE_RADIOBOX 1
11776 if test "$wxUSE_RADIOBTN" = "yes"; then
11777 cat >> confdefs.h
<<\EOF
11778 #define wxUSE_RADIOBTN 1
11783 if test "$wxUSE_SASH" = "yes"; then
11784 cat >> confdefs.h
<<\EOF
11785 #define wxUSE_SASH 1
11788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11791 if test "$wxUSE_SCROLLBAR" = "yes"; then
11792 cat >> confdefs.h
<<\EOF
11793 #define wxUSE_SCROLLBAR 1
11796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11799 if test "$wxUSE_SLIDER" = "yes"; then
11800 cat >> confdefs.h
<<\EOF
11801 #define wxUSE_SLIDER 1
11806 if test "$wxUSE_SPINBTN" = "yes"; then
11807 cat >> confdefs.h
<<\EOF
11808 #define wxUSE_SPINBTN 1
11813 if test "$wxUSE_SPLITTER" = "yes"; then
11814 cat >> confdefs.h
<<\EOF
11815 #define wxUSE_SPLITTER 1
11818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11821 if test "$wxUSE_STATBMP" = "yes"; then
11822 cat >> confdefs.h
<<\EOF
11823 #define wxUSE_STATBMP 1
11828 if test "$wxUSE_STATBOX" = "yes"; then
11829 cat >> confdefs.h
<<\EOF
11830 #define wxUSE_STATBOX 1
11835 if test "$wxUSE_STATLINE" = "yes"; then
11836 if test "$wxUSE_WINE" = 1 ; then
11837 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11839 cat >> confdefs.h
<<\EOF
11840 #define wxUSE_STATLINE 1
11846 if test "$wxUSE_STATUSBAR" = "yes"; then
11847 cat >> confdefs.h
<<\EOF
11848 #define wxUSE_STATUSBAR 1
11853 if test "$wxUSE_TABDIALOG" = "yes"; then
11854 cat >> confdefs.h
<<\EOF
11855 #define wxUSE_TAB_DIALOG 1
11858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11861 if test "$wxUSE_TOOLBAR" = "yes"; then
11862 cat >> confdefs.h
<<\EOF
11863 #define wxUSE_TOOLBAR 1
11866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11869 if test "$wxUSE_TOOLTIPS" = "yes"; then
11870 if test "$wxUSE_MOTIF" = 1; then
11871 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11873 if test "$wxUSE_WINE" = 1; then
11874 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11876 cat >> confdefs.h
<<\EOF
11877 #define wxUSE_TOOLTIPS 1
11884 if test "$wxUSE_TREECTRL" = "yes"; then
11885 if test "$wxUSE_IMAGLIST" = "yes"; then
11886 cat >> confdefs.h
<<\EOF
11887 #define wxUSE_TREECTRL 1
11890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11892 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11898 if test "$wxUSE_METAFILE" = "yes"; then
11899 cat >> confdefs.h
<<\EOF
11900 #define wxUSE_METAFILE 1
11905 if test "$wxUSE_DIRDLG" = "yes"; then
11906 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11907 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11909 if test "$wxUSE_TREECTRL" != "yes"; then
11910 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11912 cat >> confdefs.h
<<\EOF
11913 #define wxUSE_DIRDLG 1
11920 if test "$wxUSE_TEXTDLG" = "yes"; then
11921 cat >> confdefs.h
<<\EOF
11922 #define wxUSE_TEXTDLG 1
11927 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11928 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11929 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11931 cat >> confdefs.h
<<\EOF
11932 #define wxUSE_STARTUP_TIPS 1
11938 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11939 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11940 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11942 cat >> confdefs.h
<<\EOF
11943 #define wxUSE_PROGRESSDLG 1
11949 if test "$wxUSE_MINIFRAME" = "yes"; then
11950 cat >> confdefs.h
<<\EOF
11951 #define wxUSE_MINIFRAME 1
11954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11957 if test "$wxUSE_HTML" = "yes"; then
11958 cat >> confdefs.h
<<\EOF
11959 #define wxUSE_HTML 1
11962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11963 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11966 if test "$wxUSE_VALIDATORS" = "yes"; then
11967 cat >> confdefs.h
<<\EOF
11968 #define wxUSE_VALIDATORS 1
11971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11974 if test "$wxUSE_GIF" = "yes" ; then
11975 cat >> confdefs.h
<<\EOF
11976 #define wxUSE_GIF 1
11981 if test "$wxUSE_PCX" = "yes" ; then
11982 cat >> confdefs.h
<<\EOF
11983 #define wxUSE_PCX 1
11988 if test "$wxUSE_PNM" = "yes" ; then
11989 cat >> confdefs.h
<<\EOF
11990 #define wxUSE_PNM 1
11996 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11998 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
11999 if test "$wxUSE_GUI" = "yes"; then
12000 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12003 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12005 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12007 if test "$GXX" = yes ; then
12008 CXXWARNINGS
="-Wall"
12010 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12012 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
12013 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
12014 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
12016 if test "$wxUSE_GUI" = "yes"; then
12018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12019 forty fractal image wxpoem"
12024 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12079 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12080 echo "configure:12081: checking whether ${MAKE-make} sets \${MAKE}" >&5
12081 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12082 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12083 echo $ac_n "(cached) $ac_c" 1>&6
12085 cat > conftestmake
<<\EOF
12087 @
echo 'ac_maketemp="${MAKE}"'
12089 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12090 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12091 if test -n "$ac_maketemp"; then
12092 eval ac_cv_prog_make_
${ac_make}_set
=yes
12094 eval ac_cv_prog_make_
${ac_make}_set
=no
12098 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12099 echo "$ac_t""yes" 1>&6
12102 echo "$ac_t""no" 1>&6
12103 SET_MAKE
="MAKE=${MAKE-make}"
12109 if test "${TOOLKIT_DIR}" = "msw" ; then
12110 GL_TOOLKIT_DIR
="win"
12112 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12117 cat > confcache
<<\EOF
12118 # This file is a shell script that caches the results of configure
12119 # tests run on this system so they can be shared between configure
12120 # scripts and configure runs. It is not useful on other systems.
12121 # If it contains results you don't want to keep, you may remove or edit it.
12123 # By default, configure uses ./config.cache as the cache file,
12124 # creating it if it does not exist already. You can give configure
12125 # the --cache-file=FILE option to use a different cache file; that is
12126 # what configure does when it calls configure scripts in
12127 # subdirectories, so they share the cache.
12128 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12129 # config.status only pays attention to the cache file if you give it the
12130 # --recheck option to rerun configure.
12133 # The following way of writing the cache mishandles newlines in values,
12134 # but we know of no workaround that is simple, portable, and efficient.
12135 # So, don't put newlines in cache variables' values.
12136 # Ultrix sh set writes to stderr and can't be redirected directly,
12137 # and sets the high bit in the cache file unless we assign to the vars.
12139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12141 # `set' does not quote correctly, so add quotes (double-quote substitution
12142 # turns \\\\ into \\, and sed turns \\ into \).
12144 -e "s/'/'\\\\''/g" \
12145 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12148 # `set' quotes correctly as required by POSIX, so do not add quotes.
12149 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12152 if cmp -s $cache_file confcache
; then
12155 if test -w $cache_file; then
12156 echo "updating cache $cache_file"
12157 cat confcache
> $cache_file
12159 echo "not updating unwritable cache $cache_file"
12164 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12166 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12167 # Let make expand exec_prefix.
12168 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12170 # Any assignment to VPATH causes Sun make to only execute
12171 # the first set of double-colon rules, so remove it if not needed.
12172 # If there is a colon in the path, we need to keep it.
12173 if test "x$srcdir" = x.
; then
12174 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12177 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12179 DEFS
=-DHAVE_CONFIG_H
12181 # Without the "./", some shells look in PATH for config.status.
12182 : ${CONFIG_STATUS=./config.status}
12184 echo creating
$CONFIG_STATUS
12185 rm -f $CONFIG_STATUS
12186 cat > $CONFIG_STATUS <<EOF
12188 # Generated automatically by configure.
12189 # Run this file to recreate the current configuration.
12190 # This directory was configured as follows,
12191 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12193 # $0 $ac_configure_args
12195 # Compiler output produced by configure, useful for debugging
12196 # configure, is in ./config.log if it exists.
12198 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12201 case "\$ac_option" in
12202 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12203 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12204 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12205 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12206 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12208 -help | --help | --hel | --he | --h)
12209 echo "\$ac_cs_usage"; exit 0 ;;
12210 *) echo "\$ac_cs_usage"; exit 1 ;;
12214 ac_given_srcdir=$srcdir
12215 ac_given_INSTALL="$INSTALL"
12217 trap 'rm -fr `echo "
12224 samples/bombs/Makefile
12225 samples/caret/Makefile
12226 samples/checklst/Makefile
12227 samples/config/Makefile
12228 samples/controls/Makefile
12229 samples/db/Makefile
12230 samples/dialogs/Makefile
12231 samples/docview/Makefile
12232 samples/docvwmdi/Makefile
12233 samples/dnd/Makefile
12234 samples/drawing/Makefile
12235 samples/forty/Makefile
12236 samples/fractal/Makefile
12237 samples/image/Makefile
12238 samples/internat/Makefile
12239 samples/layout/Makefile
12240 samples/listctrl/Makefile
12241 samples/mdi/Makefile
12242 samples/minifram/Makefile
12243 samples/minimal/Makefile
12244 samples/nettest/Makefile
12245 samples/newgrid/Makefile
12246 samples/notebook/Makefile
12247 samples/png/Makefile
12248 samples/printing/Makefile
12249 samples/proplist/Makefile
12250 samples/richedit/Makefile
12251 samples/resource/Makefile
12252 samples/sashtest/Makefile
12253 samples/scroll/Makefile
12254 samples/splitter/Makefile
12255 samples/text/Makefile
12256 samples/thread/Makefile
12257 samples/toolbar/Makefile
12258 samples/treectrl/Makefile
12259 samples/typetest/Makefile
12260 samples/validate/Makefile
12261 samples/wxpoem/Makefile
12262 samples/wxsocket/Makefile
12263 samples/wizard/Makefile
12264 samples/html/Makefile
12265 samples/html/about/Makefile
12266 samples/html/help/Makefile
12267 samples/html/printing/Makefile
12268 samples/html/test/Makefile
12269 samples/html/zip/Makefile
12270 samples/html/virtual/Makefile
12271 samples/html/widget/Makefile
12273 utils/wxMMedia2/Makefile
12274 utils/wxMMedia2/lib/Makefile
12275 utils/wxMMedia2/sample/Makefile
12276 utils/glcanvas/Makefile
12277 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12279 utils/ogl/src/Makefile
12280 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12282 cat >> $CONFIG_STATUS <<EOF
12284 # Protect against being on the right side of a sed subst in config.status.
12285 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12286 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12290 s%@CFLAGS@%$CFLAGS%g
12291 s%@CPPFLAGS@%$CPPFLAGS%g
12292 s%@CXXFLAGS@%$CXXFLAGS%g
12293 s%@FFLAGS@%$FFLAGS%g
12295 s%@LDFLAGS@%$LDFLAGS%g
12297 s%@exec_prefix@%$exec_prefix%g
12298 s%@prefix@%$prefix%g
12299 s%@program_transform_name@%$program_transform_name%g
12300 s%@bindir@%$bindir%g
12301 s%@sbindir@%$sbindir%g
12302 s%@libexecdir@%$libexecdir%g
12303 s%@datadir@%$datadir%g
12304 s%@sysconfdir@%$sysconfdir%g
12305 s%@sharedstatedir@%$sharedstatedir%g
12306 s%@localstatedir@%$localstatedir%g
12307 s%@libdir@%$libdir%g
12308 s%@includedir@%$includedir%g
12309 s%@oldincludedir@%$oldincludedir%g
12310 s%@infodir@%$infodir%g
12311 s%@mandir@%$mandir%g
12313 s%@host_alias@%$host_alias%g
12314 s%@host_cpu@%$host_cpu%g
12315 s%@host_vendor@%$host_vendor%g
12316 s%@host_os@%$host_os%g
12317 s%@target@%$target%g
12318 s%@target_alias@%$target_alias%g
12319 s%@target_cpu@%$target_cpu%g
12320 s%@target_vendor@%$target_vendor%g
12321 s%@target_os@%$target_os%g
12323 s%@build_alias@%$build_alias%g
12324 s%@build_cpu@%$build_cpu%g
12325 s%@build_vendor@%$build_vendor%g
12326 s%@build_os@%$build_os%g
12330 s%@CXXCPP@%$CXXCPP%g
12331 s%@RANLIB@%$RANLIB%g
12333 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12334 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12335 s%@INSTALL_DATA@%$INSTALL_DATA%g
12339 s%@LEXLIB@%$LEXLIB%g
12341 s%@GTK_CONFIG@%$GTK_CONFIG%g
12342 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12343 s%@GTK_LIBS@%$GTK_LIBS%g
12344 s%@X_CFLAGS@%$X_CFLAGS%g
12345 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12346 s%@X_LIBS@%$X_LIBS%g
12347 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12348 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12349 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12350 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12351 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12352 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12353 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12354 s%@WX_LIBRARY@%$WX_LIBRARY%g
12355 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12356 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12357 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12358 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12359 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12360 s%@WX_ALL@%$WX_ALL%g
12361 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12362 s%@SHARED_LD@%$SHARED_LD%g
12363 s%@PIC_FLAG@%$PIC_FLAG%g
12364 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12365 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12366 s%@TOOLKIT@%$TOOLKIT%g
12367 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12368 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12369 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12370 s%@GUIHEADERS@%$GUIHEADERS%g
12371 s%@GUIOBJS@%$GUIOBJS%g
12372 s%@COMMONOBJS@%$COMMONOBJS%g
12373 s%@GENERICOBJS@%$GENERICOBJS%g
12374 s%@GUIDEPS@%$GUIDEPS%g
12375 s%@COMMONDEPS@%$COMMONDEPS%g
12376 s%@GENERICDEPS@%$GENERICDEPS%g
12377 s%@IODBCOBJS@%$IODBCOBJS%g
12378 s%@UNIXOBJS@%$UNIXOBJS%g
12379 s%@UNIXDEPS@%$UNIXDEPS%g
12380 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12381 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12382 s%@ALL_HEADERS@%$ALL_HEADERS%g
12383 s%@GUIDIST@%$GUIDIST%g
12384 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12385 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12386 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12387 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12388 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12389 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12390 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12391 s%@LD_LIBS@%$LD_LIBS%g
12392 s%@SET_MAKE@%$SET_MAKE%g
12393 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12398 cat >> $CONFIG_STATUS <<\EOF
12400 # Split the substitutions into bite-sized pieces for seds with
12401 # small command number limits, like on Digital OSF/1 and HP-UX.
12402 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12403 ac_file
=1 # Number of current file.
12404 ac_beg
=1 # First line for current file.
12405 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12408 while $ac_more_lines; do
12409 if test $ac_beg -gt 1; then
12410 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12412 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12414 if test ! -s conftest.s
$ac_file; then
12415 ac_more_lines
=false
12416 rm -f conftest.s
$ac_file
12418 if test -z "$ac_sed_cmds"; then
12419 ac_sed_cmds
="sed -f conftest.s$ac_file"
12421 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12423 ac_file
=`expr $ac_file + 1`
12425 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12428 if test -z "$ac_sed_cmds"; then
12433 cat >> $CONFIG_STATUS <<EOF
12435 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12441 samples/bombs/Makefile
12442 samples/caret/Makefile
12443 samples/checklst/Makefile
12444 samples/config/Makefile
12445 samples/controls/Makefile
12446 samples/db/Makefile
12447 samples/dialogs/Makefile
12448 samples/docview/Makefile
12449 samples/docvwmdi/Makefile
12450 samples/dnd/Makefile
12451 samples/drawing/Makefile
12452 samples/forty/Makefile
12453 samples/fractal/Makefile
12454 samples/image/Makefile
12455 samples/internat/Makefile
12456 samples/layout/Makefile
12457 samples/listctrl/Makefile
12458 samples/mdi/Makefile
12459 samples/minifram/Makefile
12460 samples/minimal/Makefile
12461 samples/nettest/Makefile
12462 samples/newgrid/Makefile
12463 samples/notebook/Makefile
12464 samples/png/Makefile
12465 samples/printing/Makefile
12466 samples/proplist/Makefile
12467 samples/richedit/Makefile
12468 samples/resource/Makefile
12469 samples/sashtest/Makefile
12470 samples/scroll/Makefile
12471 samples/splitter/Makefile
12472 samples/text/Makefile
12473 samples/thread/Makefile
12474 samples/toolbar/Makefile
12475 samples/treectrl/Makefile
12476 samples/typetest/Makefile
12477 samples/validate/Makefile
12478 samples/wxpoem/Makefile
12479 samples/wxsocket/Makefile
12480 samples/wizard/Makefile
12481 samples/html/Makefile
12482 samples/html/about/Makefile
12483 samples/html/help/Makefile
12484 samples/html/printing/Makefile
12485 samples/html/test/Makefile
12486 samples/html/zip/Makefile
12487 samples/html/virtual/Makefile
12488 samples/html/widget/Makefile
12490 utils/wxMMedia2/Makefile
12491 utils/wxMMedia2/lib/Makefile
12492 utils/wxMMedia2/sample/Makefile
12493 utils/glcanvas/Makefile
12494 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12496 utils/ogl/src/Makefile
12499 cat >> $CONFIG_STATUS <<\EOF
12500 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12501 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12503 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12504 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12505 *) ac_file_in
="${ac_file}.in" ;;
12508 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12510 # Remove last slash and all that follows it. Not all systems have dirname.
12511 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12512 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12513 # The file is in a subdirectory.
12514 test ! -d "$ac_dir" && mkdir "$ac_dir"
12515 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12516 # A "../" for each directory in $ac_dir_suffix.
12517 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12519 ac_dir_suffix
= ac_dots
=
12522 case "$ac_given_srcdir" in
12524 if test -z "$ac_dots"; then top_srcdir
=.
12525 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12526 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12527 *) # Relative path.
12528 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12529 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12532 case "$ac_given_INSTALL" in
12533 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12534 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12537 echo creating
"$ac_file"
12539 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12541 *Makefile
*) ac_comsub
="1i\\
12542 # $configure_input" ;;
12546 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12548 s%@configure_input@%$configure_input%g
12549 s%@srcdir@%$srcdir%g
12550 s%@top_srcdir@%$top_srcdir%g
12551 s%@INSTALL@%$INSTALL%g
12552 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12556 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12557 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12559 # ac_d sets the value in "#define NAME VALUE" lines.
12560 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12561 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12564 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12565 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12566 ac_uB
='\([ ]\)%\1#\2define\3'
12569 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12570 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12571 ac_eB
='$%\1#\2define\3'
12575 if test "${CONFIG_HEADERS+set}" != set; then
12577 cat >> $CONFIG_STATUS <<EOF
12578 CONFIG_HEADERS="setup.h:setup.h.in"
12580 cat >> $CONFIG_STATUS <<\EOF
12582 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12583 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12585 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12586 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12587 *) ac_file_in
="${ac_file}.in" ;;
12590 echo creating
$ac_file
12592 rm -f conftest.frag conftest.
in conftest.out
12593 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12594 cat $ac_file_inputs > conftest.
in
12598 # Transform confdefs.h into a sed script conftest.vals that substitutes
12599 # the proper values into config.h.in to produce config.h. And first:
12600 # Protect against being on the right side of a sed subst in config.status.
12601 # Protect against being in an unquoted here document in config.status.
12602 rm -f conftest.vals
12603 cat > conftest.hdr
<<\EOF
12606 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12610 sed -n -f conftest.hdr confdefs.h > conftest.vals
12613 # This sed command replaces #undef with comments. This is necessary, for
12614 # example, in the case of _POSIX_SOURCE, which is predefined and required
12615 # on some systems where configure will not decide to define it.
12616 cat >> conftest.vals <<\EOF
12617 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12620 # Break up conftest.vals because some shells have a limit on
12621 # the size of here documents, and old seds have small limits too.
12623 rm -f conftest.tail
12626 ac_lines=`grep -c . conftest.vals
`
12627 # grep -c gives empty output for an empty file on some AIX systems.
12628 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12629 # Write a limited-size here document to conftest.frag.
12630 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12631 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12633 sed -f conftest.frag conftest.in > conftest.out
12635 mv conftest.out conftest.in
12636 ' >> $CONFIG_STATUS
12637 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12638 rm -f conftest.vals
12639 mv conftest.tail conftest.vals
12641 rm -f conftest.vals
12643 cat >> $CONFIG_STATUS <<\EOF
12644 rm -f conftest.frag conftest.h
12645 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12646 cat conftest.in >> conftest.h
12648 if cmp -s $ac_file conftest.h 2>/dev/null; then
12649 echo "$ac_file is unchanged"
12652 # Remove last slash and all that follows it. Not all systems have dirname.
12653 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12654 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12655 # The file is in a subdirectory.
12656 test ! -d "$ac_dir" && mkdir "$ac_dir"
12659 mv conftest.h $ac_file
12664 cat >> $CONFIG_STATUS <<EOF
12666 LN_S="${ac_cv_prog_LN_S}"
12667 TOOLKIT_DIR="${TOOLKIT_DIR}"
12671 cat >> $CONFIG_STATUS <<\EOF
12674 if test ! -d include; then
12677 if test ! -d include/wx; then
12680 if test ! -d include/wx/${TOOLKIT_DIR}; then
12681 mkdir include/wx/${TOOLKIT_DIR}
12683 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12687 chmod +x $CONFIG_STATUS
12688 rm -fr confdefs* $ac_clean_files
12689 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1