3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.12
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 # Maximum number of lines to put in a shell here document.
315 # If the previous option needs an argument, assign it.
316 if test -n "$ac_prev"; then
317 eval "$ac_prev=\$ac_option"
323 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir
="$ac_optarg" ;;
336 -build | --build | --buil | --bui | --bu)
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build
="$ac_optarg" ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev
=cache_file
;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file
="$ac_optarg" ;;
348 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
350 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
352 datadir
="$ac_optarg" ;;
354 -disable-* | --disable-*)
355 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
356 # Reject names that are not valid shell variable names.
357 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
358 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
360 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
361 eval "enable_${ac_feature}=no" ;;
363 -enable-* | --enable-*)
364 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
365 # Reject names that are not valid shell variable names.
366 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
367 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
369 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
374 eval "enable_${ac_feature}='$ac_optarg'" ;;
376 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
377 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
378 | --exec | --exe | --ex)
379 ac_prev
=exec_prefix
;;
380 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
381 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
382 | --exec=* | --exe=* | --ex=*)
383 exec_prefix
="$ac_optarg" ;;
385 -gas | --gas | --ga | --g)
386 # Obsolete; use --with-gas.
389 -help | --help | --hel | --he)
390 # Omit some internal or obsolete options to make the list less imposing.
391 # This message is too long to be a string in the A/UX 3.1 sh.
393 Usage: configure [options] [host]
394 Options: [defaults in brackets after descriptions]
396 --cache-file=FILE cache test results in FILE
397 --help print this message
398 --no-create do not create output files
399 --quiet, --silent do not print \`checking...' messages
400 --version print the version of autoconf that created configure
401 Directory and file names:
402 --prefix=PREFIX install architecture-independent files in PREFIX
404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
406 --bindir=DIR user executables in DIR [EPREFIX/bin]
407 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
408 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
409 --datadir=DIR read-only architecture-independent data in DIR
411 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
412 --sharedstatedir=DIR modifiable architecture-independent data in DIR
414 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
415 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
416 --includedir=DIR C header files in DIR [PREFIX/include]
417 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
418 --infodir=DIR info documentation in DIR [PREFIX/info]
419 --mandir=DIR man documentation in DIR [PREFIX/man]
420 --srcdir=DIR find the sources in DIR [configure dir or ..]
421 --program-prefix=PREFIX prepend PREFIX to installed program names
422 --program-suffix=SUFFIX append SUFFIX to installed program names
423 --program-transform-name=PROGRAM
424 run sed PROGRAM on installed program names
428 --build=BUILD configure for building on BUILD [BUILD=HOST]
429 --host=HOST configure for HOST [guessed]
430 --target=TARGET configure for TARGET [TARGET=HOST]
431 Features and packages:
432 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
433 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
434 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
435 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
436 --x-includes=DIR X include files are in DIR
437 --x-libraries=DIR X library files are in DIR
439 if test -n "$ac_help"; then
440 echo "--enable and --with options recognized:$ac_help"
444 -host | --host | --hos | --ho)
446 -host=* | --host=* | --hos=* | --ho=*)
449 -includedir | --includedir | --includedi | --included | --include \
450 | --includ | --inclu | --incl | --inc)
451 ac_prev
=includedir
;;
452 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
453 | --includ=* | --inclu=* | --incl=* | --inc=*)
454 includedir
="$ac_optarg" ;;
456 -infodir | --infodir | --infodi | --infod | --info | --inf)
458 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
459 infodir
="$ac_optarg" ;;
461 -libdir | --libdir | --libdi | --libd)
463 -libdir=* | --libdir=* | --libdi=* | --libd=*)
464 libdir
="$ac_optarg" ;;
466 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
467 | --libexe | --libex | --libe)
468 ac_prev
=libexecdir
;;
469 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
470 | --libexe=* | --libex=* | --libe=*)
471 libexecdir
="$ac_optarg" ;;
473 -localstatedir | --localstatedir | --localstatedi | --localstated \
474 | --localstate | --localstat | --localsta | --localst \
475 | --locals | --local | --loca | --loc | --lo)
476 ac_prev
=localstatedir
;;
477 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
478 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
479 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
480 localstatedir
="$ac_optarg" ;;
482 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
484 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 mandir
="$ac_optarg" ;;
488 # Obsolete; use --without-fp.
491 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
495 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
496 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
499 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
500 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
501 | --oldin | --oldi | --old | --ol | --o)
502 ac_prev
=oldincludedir
;;
503 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
504 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
505 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
506 oldincludedir
="$ac_optarg" ;;
508 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
510 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
511 prefix
="$ac_optarg" ;;
513 -program-prefix | --program-prefix | --program-prefi | --program-pref \
514 | --program-pre | --program-pr | --program-p)
515 ac_prev
=program_prefix
;;
516 -program-prefix=* | --program-prefix=* | --program-prefi=* \
517 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
518 program_prefix
="$ac_optarg" ;;
520 -program-suffix | --program-suffix | --program-suffi | --program-suff \
521 | --program-suf | --program-su | --program-s)
522 ac_prev
=program_suffix
;;
523 -program-suffix=* | --program-suffix=* | --program-suffi=* \
524 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
525 program_suffix
="$ac_optarg" ;;
527 -program-transform-name | --program-transform-name \
528 | --program-transform-nam | --program-transform-na \
529 | --program-transform-n | --program-transform- \
530 | --program-transform | --program-transfor \
531 | --program-transfo | --program-transf \
532 | --program-trans | --program-tran \
533 | --progr-tra | --program-tr | --program-t)
534 ac_prev
=program_transform_name
;;
535 -program-transform-name=* | --program-transform-name=* \
536 | --program-transform-nam=* | --program-transform-na=* \
537 | --program-transform-n=* | --program-transform-=* \
538 | --program-transform=* | --program-transfor=* \
539 | --program-transfo=* | --program-transf=* \
540 | --program-trans=* | --program-tran=* \
541 | --progr-tra=* | --program-tr=* | --program-t=*)
542 program_transform_name
="$ac_optarg" ;;
544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
545 | -silent | --silent | --silen | --sile | --sil)
548 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
550 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
552 sbindir
="$ac_optarg" ;;
554 -sharedstatedir | --sharedstatedir | --sharedstatedi \
555 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
556 | --sharedst | --shareds | --shared | --share | --shar \
558 ac_prev
=sharedstatedir
;;
559 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
560 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
561 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
563 sharedstatedir
="$ac_optarg" ;;
565 -site | --site | --sit)
567 -site=* | --site=* | --sit=*)
570 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
572 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
573 srcdir
="$ac_optarg" ;;
575 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
576 | --syscon | --sysco | --sysc | --sys | --sy)
577 ac_prev
=sysconfdir
;;
578 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
579 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
580 sysconfdir
="$ac_optarg" ;;
582 -target | --target | --targe | --targ | --tar | --ta | --t)
584 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
585 target
="$ac_optarg" ;;
587 -v | -verbose | --verbose | --verbos | --verbo | --verb)
590 -version | --version | --versio | --versi | --vers)
591 echo "configure generated by autoconf version 2.12"
595 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
596 # Reject names that are not valid shell variable names.
597 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
598 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
600 ac_package
=`echo $ac_package| sed 's/-/_/g'`
605 eval "with_${ac_package}='$ac_optarg'" ;;
607 -without-* | --without-*)
608 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
609 # Reject names that are not valid shell variable names.
610 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
611 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
613 ac_package
=`echo $ac_package| sed 's/-/_/g'`
614 eval "with_${ac_package}=no" ;;
617 # Obsolete; use --with-x.
620 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
621 | --x-incl | --x-inc | --x-in | --x-i)
622 ac_prev
=x_includes
;;
623 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
624 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
625 x_includes
="$ac_optarg" ;;
627 -x-libraries | --x-libraries | --x-librarie | --x-librari \
628 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
629 ac_prev
=x_libraries
;;
630 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
631 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
632 x_libraries
="$ac_optarg" ;;
634 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
638 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
639 echo "configure: warning: $ac_option: invalid host type" 1>&2
641 if test "x$nonopt" != xNONE
; then
642 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
650 if test -n "$ac_prev"; then
651 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
654 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
656 # File descriptor usage:
659 # 2 errors and warnings
660 # 3 some systems may open it to /dev/tty
661 # 4 used on the Kubota Titan
662 # 6 checking for... messages and results
663 # 5 compiler messages saved in config.log
664 if test "$silent" = yes; then
672 This file contains any messages produced by compilers while
673 running configure, to aid debugging if configure makes a mistake.
676 # Strip out --no-create and --no-recursion so they do not pile up.
677 # Also quote any args containing shell metacharacters.
682 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
683 | --no-cr | --no-c) ;;
684 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
685 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
686 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
687 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
688 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
693 # Only set these to C if already set. These must not be set unconditionally
694 # because not all systems understand e.g. LANG=C (notably SCO).
695 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
696 # Non-C LC_CTYPE values break the ctype check.
697 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
698 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
699 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
700 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
702 # confdefs.h avoids OS command line length limits that DEFS can exceed.
703 rm -rf conftest
* confdefs.h
704 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
707 # A filename unique to this package, relative to the directory that
708 # configure is in, which we can look for to find out if srcdir is correct.
709 ac_unique_file
=wx
-config.
in
711 # Find the source files, if location was not specified.
712 if test -z "$srcdir"; then
713 ac_srcdir_defaulted
=yes
714 # Try the directory containing this script, then its parent.
716 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
717 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
719 if test ! -r $srcdir/$ac_unique_file; then
723 ac_srcdir_defaulted
=no
725 if test ! -r $srcdir/$ac_unique_file; then
726 if test "$ac_srcdir_defaulted" = yes; then
727 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
729 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
732 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
734 # Prefer explicitly selected file to automatically selected ones.
735 if test -z "$CONFIG_SITE"; then
736 if test "x$prefix" != xNONE
; then
737 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
739 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
742 for ac_site_file
in $CONFIG_SITE; do
743 if test -r "$ac_site_file"; then
744 echo "loading site script $ac_site_file"
749 if test -r "$cache_file"; then
750 echo "loading cache $cache_file"
753 echo "creating cache $cache_file"
758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
759 ac_cpp
='$CPP $CPPFLAGS'
760 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
761 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
762 cross_compiling
=$ac_cv_prog_cc_cross
764 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
765 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
766 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
773 ac_n
= ac_c
='\c' ac_t
=
779 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
780 if test -f $ac_dir/install-sh; then
782 ac_install_sh
="$ac_aux_dir/install-sh -c"
784 elif test -f $ac_dir/install.sh
; then
786 ac_install_sh
="$ac_aux_dir/install.sh -c"
790 if test -z "$ac_aux_dir"; then
791 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
793 ac_config_guess
=$ac_aux_dir/config.guess
794 ac_config_sub
=$ac_aux_dir/config.sub
795 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
798 # Do some error checking and defaulting for the host and target type.
800 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
803 # 1. You are not allowed to specify --host, --target, and nonopt at the
805 # 2. Host defaults to nonopt.
806 # 3. If nonopt is not specified, then host defaults to the current host,
807 # as determined by config.guess.
808 # 4. Target and build default to nonopt.
809 # 5. If nonopt is not specified, then target and build default to host.
811 # The aliases save the names the user supplied, while $host etc.
812 # will get canonicalized.
813 case $host---$target---$nonopt in
814 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
815 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
819 # Make sure we can run config.sub.
820 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
821 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
824 echo $ac_n "checking host system type""... $ac_c" 1>&6
825 echo "configure:826: checking host system type" >&5
828 case "$host_alias" in
832 if host_alias
=`$ac_config_guess`; then :
833 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
835 *) host_alias
=$nonopt ;;
839 host=`$ac_config_sub $host_alias`
840 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
841 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
842 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
843 echo "$ac_t""$host" 1>&6
845 echo $ac_n "checking target system type""... $ac_c" 1>&6
846 echo "configure:847: checking target system type" >&5
849 case "$target_alias" in
852 NONE
) target_alias
=$host_alias ;;
853 *) target_alias
=$nonopt ;;
857 target
=`$ac_config_sub $target_alias`
858 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$target" 1>&6
863 echo $ac_n "checking build system type""... $ac_c" 1>&6
864 echo "configure:865: checking build system type" >&5
867 case "$build_alias" in
870 NONE
) build_alias
=$host_alias ;;
871 *) build_alias
=$nonopt ;;
875 build
=`$ac_config_sub $build_alias`
876 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$build" 1>&6
881 test "$host_alias" != "$target_alias" &&
882 test "$program_prefix$program_suffix$program_transform_name" = \
884 program_prefix
=${target_alias}-
888 WX_MAJOR_VERSION_NUMBER
=2
889 WX_MINOR_VERSION_NUMBER
=1
895 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
897 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
898 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
899 WX_REVISION
=$WX_INTERFACE_AGE
900 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
923 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
926 DEFAULT_wxUSE_MOTIF
=0
930 DEFAULT_DEFAULT_wxUSE_GTK
=0
931 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
932 DEFAULT_DEFAULT_wxUSE_MSW
=0
933 DEFAULT_DEFAULT_wxUSE_WINE
=0
938 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
939 cat >> confdefs.h
<<\EOF
946 cat >> confdefs.h
<<\EOF
951 if test "x$TMP" = "xalpha"; then
953 cat >> confdefs.h
<<\EOF
958 DEFAULT_DEFAULT_wxUSE_GTK
=1
960 *-*-irix5* | *-*-irix6* )
963 cat >> confdefs.h
<<\EOF
967 cat >> confdefs.h
<<\EOF
971 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
977 cat >> confdefs.h
<<\EOF
981 cat >> confdefs.h
<<\EOF
982 #define __SOLARIS__ 1
985 cat >> confdefs.h
<<\EOF
989 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
995 cat >> confdefs.h
<<\EOF
999 cat >> confdefs.h
<<\EOF
1003 cat >> confdefs.h
<<\EOF
1007 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1009 *-*-freebsd* | *-*-netbsd*)
1012 cat >> confdefs.h
<<\EOF
1013 #define __FREEBSD__ 1
1016 cat >> confdefs.h
<<\EOF
1020 DEFAULT_DEFAULT_wxUSE_GTK
=1
1025 cat >> confdefs.h
<<\EOF
1029 cat >> confdefs.h
<<\EOF
1033 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1038 cat >> confdefs.h
<<\EOF
1042 cat >> confdefs.h
<<\EOF
1046 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1051 cat >> confdefs.h
<<\EOF
1055 cat >> confdefs.h
<<\EOF
1059 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1065 cat >> confdefs.h
<<\EOF
1069 cat >> confdefs.h
<<\EOF
1073 cat >> confdefs.h
<<\EOF
1077 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1082 cat >> confdefs.h
<<\EOF
1086 cat >> confdefs.h
<<\EOF
1090 cat >> confdefs.h
<<\EOF
1091 #define __WINDOWS__ 1
1094 cat >> confdefs.h
<<\EOF
1095 #define __GNUWIN32__ 1
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1103 #define WINVER 0x0400
1106 DEFAULT_DEFAULT_wxUSE_MSW
=1
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1119 #define __WINDOWS__ 1
1122 cat >> confdefs.h
<<\EOF
1123 #define __GNUWIN32__ 1
1126 cat >> confdefs.h
<<\EOF
1130 cat >> confdefs.h
<<\EOF
1131 #define WINVER 0x0400
1134 DEFAULT_DEFAULT_wxUSE_MSW
=1
1138 cat >> confdefs.h
<<\EOF
1145 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1148 if test "$USE_UNIX" = 1 ; then
1150 cat >> confdefs.h
<<\EOF
1154 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1155 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1158 if test "$USE_LINUX" = 1; then
1159 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1160 echo "configure:1161: checking for gettext in -lc" >&5
1161 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1163 echo $ac_n "(cached) $ac_c" 1>&6
1165 ac_save_LIBS
="$LIBS"
1167 cat > conftest.
$ac_ext <<EOF
1168 #line 1169 "configure"
1169 #include "confdefs.h"
1170 /* Override any gcc2 internal prototype to avoid an error. */
1171 /* We use char because int might match the return type of a gcc2
1172 builtin and then its argument prototype would still apply. */
1179 if { (eval echo configure
:1180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1181 eval "ac_cv_lib_$ac_lib_var=yes"
1183 echo "configure: failed program was:" >&5
1184 cat conftest.
$ac_ext >&5
1186 eval "ac_cv_lib_$ac_lib_var=no"
1189 LIBS
="$ac_save_LIBS"
1192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1193 echo "$ac_t""yes" 1>&6
1194 cat >> confdefs.h
<<\EOF
1195 #define wxHAVE_GLIBC2 1
1199 echo "$ac_t""no" 1>&6
1207 wx_arg_cache_file
="configarg.cache"
1208 echo "loading argument cache $wx_arg_cache_file"
1209 rm -f ${wx_arg_cache_file}.tmp
1210 touch ${wx_arg_cache_file}.tmp
1211 touch ${wx_arg_cache_file}
1215 if test $DEBUG_CONFIGURE = 1; then
1216 DEFAULT_wxUSE_THREADS
=yes
1218 DEFAULT_wxUSE_SHARED
=yes
1219 DEFAULT_wxUSE_OPTIMISE
=yes
1220 DEFAULT_wxUSE_PROFILE
=no
1221 DEFAULT_wxUSE_NO_DEPS
=no
1222 DEFAULT_wxUSE_NO_RTTI
=no
1223 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1224 DEFAULT_wxUSE_PERMISSIVE
=no
1225 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1226 DEFAULT_wxUSE_DEBUG_INFO
=yes
1227 DEFAULT_wxUSE_DEBUG_GDB
=yes
1228 DEFAULT_wxUSE_MEM_TRACING
=no
1229 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1230 DEFAULT_wxUSE_DMALLOC
=no
1231 DEFAULT_wxUSE_APPLE_IEEE
=no
1233 DEFAULT_wxUSE_LOG
=yes
1235 DEFAULT_wxUSE_GUI
=yes
1237 DEFAULT_wxUSE_ZLIB
=no
1238 DEFAULT_wxUSE_LIBPNG
=no
1239 DEFAULT_wxUSE_LIBJPEG
=no
1240 DEFAULT_wxUSE_ODBC
=no
1242 DEFAULT_wxUSE_STD_IOSTREAM
=no
1243 DEFAULT_wxUSE_FILE
=no
1244 DEFAULT_wxUSE_TEXTFILE
=no
1245 DEFAULT_wxUSE_TIMEDATE
=no
1246 DEFAULT_wxUSE_WAVE
=no
1247 DEFAULT_wxUSE_INTL
=no
1248 DEFAULT_wxUSE_CONFIG
=no
1249 DEFAULT_wxUSE_STREAMS
=no
1250 DEFAULT_wxUSE_SOCKETS
=no
1251 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1252 DEFAULT_wxUSE_SERIAL
=no
1253 DEFAULT_wxUSE_JOYSTICK
=no
1254 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1255 DEFAULT_wxUSE_LONGLONG
=no
1257 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1258 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1259 DEFAULT_wxUSE_POSTSCRIPT
=no
1261 DEFAULT_wxUSE_X_RESOURCES
=no
1262 DEFAULT_wxUSE_CLIPBOARD
=no
1263 DEFAULT_wxUSE_TOOLTIPS
=no
1264 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1265 DEFAULT_wxUSE_SPLINES
=no
1267 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1268 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1269 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1271 DEFAULT_wxUSE_PROLOGIO
=no
1272 DEFAULT_wxUSE_RESOURCES
=no
1273 DEFAULT_wxUSE_CONSTRAINTS
=no
1274 DEFAULT_wxUSE_IPC
=no
1275 DEFAULT_wxUSE_HELP
=no
1276 DEFAULT_wxUSE_WXTREE
=no
1277 DEFAULT_wxUSE_METAFILE
=no
1279 DEFAULT_wxUSE_COMMONDLGS
=no
1280 DEFAULT_wxUSE_DIRDLG
=no
1281 DEFAULT_wxUSE_TEXTDLG
=no
1282 DEFAULT_wxUSE_STARTUP_TIPS
=no
1283 DEFAULT_wxUSE_PROGRESSDLG
=no
1284 DEFAULT_wxUSE_MINIFRAME
=no
1285 DEFAULT_wxUSE_HTML
=no
1286 DEFAULT_wxUSE_FS_INET
=no
1287 DEFAULT_wxUSE_FS_ZIP
=no
1288 DEFAULT_wxUSE_BUSYINFO
=no
1289 DEFAULT_wxUSE_ZIPSTREAM
=no
1290 DEFAULT_wxUSE_VALIDATORS
=yes
1292 DEFAULT_wxUSE_ACCEL
=no
1293 DEFAULT_wxUSE_CARET
=no
1294 DEFAULT_wxUSE_BMPBUTTON
=no
1295 DEFAULT_wxUSE_CHECKBOX
=no
1296 DEFAULT_wxUSE_CHECKLST
=no
1297 DEFAULT_wxUSE_CHOICE
=yes
1298 DEFAULT_wxUSE_COMBOBOX
=no
1299 DEFAULT_wxUSE_GAUGE
=no
1300 DEFAULT_wxUSE_GRID
=no
1301 DEFAULT_wxUSE_NEW_GRID
=no
1302 DEFAULT_wxUSE_IMAGLIST
=no
1303 DEFAULT_wxUSE_LISTBOX
=no
1304 DEFAULT_wxUSE_LISTCTRL
=no
1305 DEFAULT_wxUSE_NOTEBOOK
=no
1306 DEFAULT_wxUSE_RADIOBOX
=no
1307 DEFAULT_wxUSE_RADIOBTN
=no
1308 DEFAULT_wxUSE_SASH
=no
1309 DEFAULT_wxUSE_SCROLLBAR
=no
1310 DEFAULT_wxUSE_SLIDER
=no
1311 DEFAULT_wxUSE_SPINBTN
=no
1312 DEFAULT_wxUSE_SPLITTER
=no
1313 DEFAULT_wxUSE_STATBMP
=no
1314 DEFAULT_wxUSE_STATBOX
=no
1315 DEFAULT_wxUSE_STATLINE
=no
1316 DEFAULT_wxUSE_STATUSBAR
=yes
1317 DEFAULT_wxUSE_TABDIALOG
=no
1318 DEFAULT_wxUSE_TOOLBAR
=no
1319 DEFAULT_wxUSE_TREECTRL
=no
1321 DEFAULT_wxUSE_UNICODE
=no
1322 DEFAULT_wxUSE_WCSRTOMBS
=no
1324 DEFAULT_wxUSE_GIF
=no
1325 DEFAULT_wxUSE_PCX
=no
1326 DEFAULT_wxUSE_PNM
=no
1328 DEFAULT_wxUSE_THREADS
=yes
1330 DEFAULT_wxUSE_SHARED
=yes
1331 DEFAULT_wxUSE_OPTIMISE
=yes
1332 DEFAULT_wxUSE_PROFILE
=no
1333 DEFAULT_wxUSE_NO_DEPS
=no
1334 DEFAULT_wxUSE_NO_RTTI
=no
1335 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1336 DEFAULT_wxUSE_PERMISSIVE
=no
1337 DEFAULT_wxUSE_DEBUG_FLAG
=no
1338 DEFAULT_wxUSE_DEBUG_INFO
=no
1339 DEFAULT_wxUSE_DEBUG_GDB
=no
1340 DEFAULT_wxUSE_MEM_TRACING
=no
1341 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1342 DEFAULT_wxUSE_DMALLOC
=no
1343 DEFAULT_wxUSE_APPLE_IEEE
=yes
1345 DEFAULT_wxUSE_LOG
=yes
1347 DEFAULT_wxUSE_GUI
=yes
1349 DEFAULT_wxUSE_ZLIB
=yes
1350 DEFAULT_wxUSE_LIBPNG
=yes
1351 DEFAULT_wxUSE_LIBJPEG
=yes
1352 DEFAULT_wxUSE_ODBC
=yes
1354 DEFAULT_wxUSE_STD_IOSTREAM
=no
1355 DEFAULT_wxUSE_FILE
=yes
1356 DEFAULT_wxUSE_TEXTFILE
=yes
1357 DEFAULT_wxUSE_TIMEDATE
=yes
1358 DEFAULT_wxUSE_WAVE
=no
1359 DEFAULT_wxUSE_INTL
=yes
1360 DEFAULT_wxUSE_CONFIG
=yes
1361 DEFAULT_wxUSE_STREAMS
=yes
1362 DEFAULT_wxUSE_SOCKETS
=yes
1363 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1364 DEFAULT_wxUSE_SERIAL
=yes
1365 DEFAULT_wxUSE_JOYSTICK
=yes
1366 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1367 DEFAULT_wxUSE_LONGLONG
=no
1369 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1370 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1371 DEFAULT_wxUSE_POSTSCRIPT
=yes
1373 DEFAULT_wxUSE_X_RESOURCES
=no
1374 DEFAULT_wxUSE_CLIPBOARD
=yes
1375 DEFAULT_wxUSE_TOOLTIPS
=yes
1376 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1377 DEFAULT_wxUSE_SPLINES
=yes
1379 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1380 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1381 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1383 DEFAULT_wxUSE_PROLOGIO
=yes
1384 DEFAULT_wxUSE_RESOURCES
=yes
1385 DEFAULT_wxUSE_CONSTRAINTS
=yes
1386 DEFAULT_wxUSE_IPC
=yes
1387 DEFAULT_wxUSE_HELP
=yes
1388 DEFAULT_wxUSE_WXTREE
=yes
1389 DEFAULT_wxUSE_METAFILE
=yes
1391 DEFAULT_wxUSE_COMMONDLGS
=yes
1392 DEFAULT_wxUSE_DIRDLG
=yes
1393 DEFAULT_wxUSE_TEXTDLG
=yes
1394 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1395 DEFAULT_wxUSE_PROGRESSDLG
=yes
1396 DEFAULT_wxUSE_MINIFRAME
=yes
1397 DEFAULT_wxUSE_HTML
=yes
1398 DEFAULT_wxUSE_FS_INET
=yes
1399 DEFAULT_wxUSE_FS_ZIP
=yes
1400 DEFAULT_wxUSE_BUSYINFO
=yes
1401 DEFAULT_wxUSE_ZIPSTREAM
=yes
1402 DEFAULT_wxUSE_VALIDATORS
=yes
1404 DEFAULT_wxUSE_ACCEL
=yes
1405 DEFAULT_wxUSE_CARET
=yes
1406 DEFAULT_wxUSE_BMPBUTTON
=yes
1407 DEFAULT_wxUSE_CHECKBOX
=yes
1408 DEFAULT_wxUSE_CHECKLST
=yes
1409 DEFAULT_wxUSE_CHOICE
=yes
1410 DEFAULT_wxUSE_COMBOBOX
=yes
1411 DEFAULT_wxUSE_GAUGE
=yes
1412 DEFAULT_wxUSE_GRID
=yes
1413 DEFAULT_wxUSE_NEW_GRID
=yes
1414 DEFAULT_wxUSE_IMAGLIST
=yes
1415 DEFAULT_wxUSE_LISTBOX
=yes
1416 DEFAULT_wxUSE_LISTCTRL
=yes
1417 DEFAULT_wxUSE_NOTEBOOK
=yes
1418 DEFAULT_wxUSE_RADIOBOX
=yes
1419 DEFAULT_wxUSE_RADIOBTN
=yes
1420 DEFAULT_wxUSE_SASH
=yes
1421 DEFAULT_wxUSE_SCROLLBAR
=yes
1422 DEFAULT_wxUSE_SLIDER
=yes
1423 DEFAULT_wxUSE_SPINBTN
=yes
1424 DEFAULT_wxUSE_SPLITTER
=yes
1425 DEFAULT_wxUSE_STATBMP
=yes
1426 DEFAULT_wxUSE_STATBOX
=yes
1427 DEFAULT_wxUSE_STATLINE
=yes
1428 DEFAULT_wxUSE_STATUSBAR
=yes
1429 DEFAULT_wxUSE_TABDIALOG
=no
1430 DEFAULT_wxUSE_TOOLBAR
=yes
1431 DEFAULT_wxUSE_TREECTRL
=yes
1433 DEFAULT_wxUSE_UNICODE
=no
1434 DEFAULT_wxUSE_WCSRTOMBS
=no
1436 DEFAULT_wxUSE_GIF
=yes
1437 DEFAULT_wxUSE_PCX
=yes
1438 DEFAULT_wxUSE_PNM
=yes
1443 for toolkit
in `echo $ALL_TOOLKITS`; do
1444 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1445 if test "x$LINE" != x
; then
1446 has_toolkit_in_cache
=1
1447 eval "DEFAULT_$LINE"
1448 eval "CACHE_$toolkit=1"
1454 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1455 echo "configure:1456: checking "for --enable-gui"" >&5
1457 # Check whether --enable-gui or --disable-gui was given.
1458 if test "${enable_gui+set}" = set; then
1459 enableval
="$enable_gui"
1461 if test "$enableval" = yes; then
1462 ac_cv_use_gui
='wxUSE_GUI=yes'
1464 ac_cv_use_gui
='wxUSE_GUI=no'
1469 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1470 if test "x$LINE" != x
; then
1471 eval "DEFAULT_$LINE"
1476 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1481 eval "$ac_cv_use_gui"
1482 if test "$no_cache" != 1; then
1483 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1486 if test "$wxUSE_GUI" = yes; then
1487 echo "$ac_t""yes" 1>&6
1489 echo "$ac_t""no" 1>&6
1493 if test "$wxUSE_GUI" = "no"; then
1494 DEFAULT_wxUSE_ZLIB
=no
1495 DEFAULT_wxUSE_LIBPNG
=no
1496 DEFAULT_wxUSE_LIBJPEG
=no
1497 DEFAULT_wxUSE_SOCKETS
=no
1498 DEFAULT_wxUSE_JOYSTICK
=no
1499 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1500 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1501 DEFAULT_wxUSE_POSTSCRIPT
=no
1502 DEFAULT_wxUSE_X_RESOURCES
=no
1503 DEFAULT_wxUSE_CLIPBOARD
=no
1504 DEFAULT_wxUSE_TOOLTIPS
=no
1505 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1506 DEFAULT_wxUSE_SPLINES
=no
1507 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1508 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1509 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1510 DEFAULT_wxUSE_PROLOGIO
=no
1511 DEFAULT_wxUSE_RESOURCES
=no
1512 DEFAULT_wxUSE_CONSTRAINTS
=no
1513 DEFAULT_wxUSE_IPC
=no
1514 DEFAULT_wxUSE_HELP
=no
1515 DEFAULT_wxUSE_WXTREE
=no
1516 DEFAULT_wxUSE_METAFILE
=no
1517 DEFAULT_wxUSE_COMMONDLGS
=no
1518 DEFAULT_wxUSE_DIRDLG
=no
1519 DEFAULT_wxUSE_TEXTDLG
=no
1520 DEFAULT_wxUSE_STARTUP_TIPS
=no
1521 DEFAULT_wxUSE_PROGRESSDLG
=no
1522 DEFAULT_wxUSE_MINIFRAME
=no
1523 DEFAULT_wxUSE_HTML
=no
1524 DEFAULT_wxUSE_FS_INET
=no
1525 DEFAULT_wxUSE_FS_ZIP
=no
1526 DEFAULT_wxUSE_BUSYINFO
=no
1527 DEFAULT_wxUSE_ZIPSTREAM
=no
1528 DEFAULT_wxUSE_VALIDATORS
=yes
1529 DEFAULT_wxUSE_ACCEL
=no
1530 DEFAULT_wxUSE_CARET
=no
1531 DEFAULT_wxUSE_BMPBUTTON
=no
1532 DEFAULT_wxUSE_CHECKBOX
=no
1533 DEFAULT_wxUSE_CHECKLST
=no
1534 DEFAULT_wxUSE_CHOICE
=yes
1535 DEFAULT_wxUSE_COMBOBOX
=no
1536 DEFAULT_wxUSE_GAUGE
=no
1537 DEFAULT_wxUSE_GRID
=no
1538 DEFAULT_wxUSE_NEW_GRID
=no
1539 DEFAULT_wxUSE_IMAGLIST
=no
1540 DEFAULT_wxUSE_LISTBOX
=no
1541 DEFAULT_wxUSE_LISTCTRL
=no
1542 DEFAULT_wxUSE_NOTEBOOK
=no
1543 DEFAULT_wxUSE_RADIOBOX
=no
1544 DEFAULT_wxUSE_RADIOBTN
=no
1545 DEFAULT_wxUSE_SASH
=no
1546 DEFAULT_wxUSE_SCROLLBAR
=no
1547 DEFAULT_wxUSE_SLIDER
=no
1548 DEFAULT_wxUSE_SPINBTN
=no
1549 DEFAULT_wxUSE_SPLITTER
=no
1550 DEFAULT_wxUSE_STATBMP
=no
1551 DEFAULT_wxUSE_STATBOX
=no
1552 DEFAULT_wxUSE_STATLINE
=no
1553 DEFAULT_wxUSE_STATUSBAR
=yes
1554 DEFAULT_wxUSE_TABDIALOG
=no
1555 DEFAULT_wxUSE_TOOLBAR
=no
1556 DEFAULT_wxUSE_TREECTRL
=no
1557 DEFAULT_wxUSE_GIF
=no
1558 DEFAULT_wxUSE_PCX
=no
1559 DEFAULT_wxUSE_PNM
=no
1562 # Check whether --with-gtk or --without-gtk was given.
1563 if test "${with_gtk+set}" = set; then
1565 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1568 # Check whether --with-motif or --without-motif was given.
1569 if test "${with_motif+set}" = set; then
1570 withval
="$with_motif"
1571 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1574 # Check whether --with-wine or --without-wine was given.
1575 if test "${with_wine+set}" = set; then
1576 withval
="$with_wine"
1577 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1580 # Check whether --with-cygwin or --without-cygwin was given.
1581 if test "${with_cygwin+set}" = set; then
1582 withval
="$with_cygwin"
1583 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1586 # Check whether --with-mingw or --without-mingw was given.
1587 if test "${with_mingw+set}" = set; then
1588 withval
="$with_mingw"
1589 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1593 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1594 if test "${with_gtk_prefix+set}" = set; then
1595 withval
="$with_gtk_prefix"
1596 gtk_config_prefix
="$withval"
1598 gtk_config_prefix
=""
1601 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1602 if test "${with_gtk_exec_prefix+set}" = set; then
1603 withval
="$with_gtk_exec_prefix"
1604 gtk_config_exec_prefix
="$withval"
1606 gtk_config_exec_prefix
=""
1611 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1612 echo "configure:1613: checking "for --with-dmalloc"" >&5
1614 # Check whether --with-dmalloc or --without-dmalloc was given.
1615 if test "${with_dmalloc+set}" = set; then
1616 withval
="$with_dmalloc"
1618 if test "$withval" = yes; then
1619 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1621 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1626 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1627 if test "x$LINE" != x
; then
1628 eval "DEFAULT_$LINE"
1633 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1638 eval "$ac_cv_use_dmalloc"
1639 if test "$no_cache" != 1; then
1640 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1643 if test "$wxUSE_DMALLOC" = yes; then
1644 echo "$ac_t""yes" 1>&6
1646 echo "$ac_t""no" 1>&6
1650 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1651 echo "configure:1652: checking "for --with-zlib"" >&5
1653 # Check whether --with-zlib or --without-zlib was given.
1654 if test "${with_zlib+set}" = set; then
1655 withval
="$with_zlib"
1657 if test "$withval" = yes; then
1658 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1660 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1665 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1666 if test "x$LINE" != x
; then
1667 eval "DEFAULT_$LINE"
1672 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1677 eval "$ac_cv_use_zlib"
1678 if test "$no_cache" != 1; then
1679 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1682 if test "$wxUSE_ZLIB" = yes; then
1683 echo "$ac_t""yes" 1>&6
1685 echo "$ac_t""no" 1>&6
1689 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1690 echo "configure:1691: checking "for --with-libpng"" >&5
1692 # Check whether --with-libpng or --without-libpng was given.
1693 if test "${with_libpng+set}" = set; then
1694 withval
="$with_libpng"
1696 if test "$withval" = yes; then
1697 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1699 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1704 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1705 if test "x$LINE" != x
; then
1706 eval "DEFAULT_$LINE"
1711 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1716 eval "$ac_cv_use_libpng"
1717 if test "$no_cache" != 1; then
1718 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1721 if test "$wxUSE_LIBPNG" = yes; then
1722 echo "$ac_t""yes" 1>&6
1724 echo "$ac_t""no" 1>&6
1728 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1729 echo "configure:1730: checking "for --with-libjpeg"" >&5
1731 # Check whether --with-libjpeg or --without-libjpeg was given.
1732 if test "${with_libjpeg+set}" = set; then
1733 withval
="$with_libjpeg"
1735 if test "$withval" = yes; then
1736 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1738 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1743 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1744 if test "x$LINE" != x
; then
1745 eval "DEFAULT_$LINE"
1750 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1755 eval "$ac_cv_use_libjpeg"
1756 if test "$no_cache" != 1; then
1757 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1760 if test "$wxUSE_LIBJPEG" = yes; then
1761 echo "$ac_t""yes" 1>&6
1763 echo "$ac_t""no" 1>&6
1767 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1768 echo "configure:1769: checking "for --with-opengl"" >&5
1770 # Check whether --with-opengl or --without-opengl was given.
1771 if test "${with_opengl+set}" = set; then
1772 withval
="$with_opengl"
1774 if test "$withval" = yes; then
1775 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1777 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1782 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1783 if test "x$LINE" != x
; then
1784 eval "DEFAULT_$LINE"
1789 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1794 eval "$ac_cv_use_opengl"
1795 if test "$no_cache" != 1; then
1796 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1799 if test "$wxUSE_OPENGL" = yes; then
1800 echo "$ac_t""yes" 1>&6
1802 echo "$ac_t""no" 1>&6
1806 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1807 echo "configure:1808: checking "for --with-odbc"" >&5
1809 # Check whether --with-odbc or --without-odbc was given.
1810 if test "${with_odbc+set}" = set; then
1811 withval
="$with_odbc"
1813 if test "$withval" = yes; then
1814 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1816 ac_cv_use_odbc
='wxUSE_ODBC=no'
1821 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1822 if test "x$LINE" != x
; then
1823 eval "DEFAULT_$LINE"
1828 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1833 eval "$ac_cv_use_odbc"
1834 if test "$no_cache" != 1; then
1835 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1838 if test "$wxUSE_ODBC" = yes; then
1839 echo "$ac_t""yes" 1>&6
1841 echo "$ac_t""no" 1>&6
1848 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1849 echo "configure:1850: checking "for --enable-shared"" >&5
1851 # Check whether --enable-shared or --disable-shared was given.
1852 if test "${enable_shared+set}" = set; then
1853 enableval
="$enable_shared"
1855 if test "$enableval" = yes; then
1856 ac_cv_use_shared
='wxUSE_SHARED=yes'
1858 ac_cv_use_shared
='wxUSE_SHARED=no'
1863 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1864 if test "x$LINE" != x
; then
1865 eval "DEFAULT_$LINE"
1870 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1875 eval "$ac_cv_use_shared"
1876 if test "$no_cache" != 1; then
1877 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1880 if test "$wxUSE_SHARED" = yes; then
1881 echo "$ac_t""yes" 1>&6
1883 echo "$ac_t""no" 1>&6
1887 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1888 echo "configure:1889: checking "for --enable-optimise"" >&5
1890 # Check whether --enable-optimise or --disable-optimise was given.
1891 if test "${enable_optimise+set}" = set; then
1892 enableval
="$enable_optimise"
1894 if test "$enableval" = yes; then
1895 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1897 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1902 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1903 if test "x$LINE" != x
; then
1904 eval "DEFAULT_$LINE"
1909 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1914 eval "$ac_cv_use_optimise"
1915 if test "$no_cache" != 1; then
1916 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1919 if test "$wxUSE_OPTIMISE" = yes; then
1920 echo "$ac_t""yes" 1>&6
1922 echo "$ac_t""no" 1>&6
1926 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1927 echo "configure:1928: checking "for --enable-debug"" >&5
1929 # Check whether --enable-debug or --disable-debug was given.
1930 if test "${enable_debug+set}" = set; then
1931 enableval
="$enable_debug"
1933 if test "$enableval" = yes; then
1934 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1936 ac_cv_use_debug
='wxUSE_DEBUG=no'
1941 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1942 if test "x$LINE" != x
; then
1943 eval "DEFAULT_$LINE"
1948 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1953 eval "$ac_cv_use_debug"
1954 if test "$no_cache" != 1; then
1955 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1958 if test "$wxUSE_DEBUG" = yes; then
1959 echo "$ac_t""yes" 1>&6
1961 echo "$ac_t""no" 1>&6
1965 if test "$wxUSE_DEBUG" = "yes"; then
1966 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1967 DEFAULT_wxUSE_DEBUG_INFO
=yes
1968 elif test "$wxUSE_DEBUG" = "no"; then
1969 DEFAULT_wxUSE_DEBUG_FLAG
=no
1970 DEFAULT_wxUSE_DEBUG_INFO
=no
1974 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1975 echo "configure:1976: checking "for --enable-debug_flag"" >&5
1977 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1978 if test "${enable_debug_flag+set}" = set; then
1979 enableval
="$enable_debug_flag"
1981 if test "$enableval" = yes; then
1982 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1984 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1989 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1990 if test "x$LINE" != x
; then
1991 eval "DEFAULT_$LINE"
1996 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2001 eval "$ac_cv_use_debug_flag"
2002 if test "$no_cache" != 1; then
2003 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2006 if test "$wxUSE_DEBUG_FLAG" = yes; then
2007 echo "$ac_t""yes" 1>&6
2009 echo "$ac_t""no" 1>&6
2013 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2014 echo "configure:2015: checking "for --enable-debug_info"" >&5
2016 # Check whether --enable-debug_info or --disable-debug_info was given.
2017 if test "${enable_debug_info+set}" = set; then
2018 enableval
="$enable_debug_info"
2020 if test "$enableval" = yes; then
2021 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2023 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2028 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2029 if test "x$LINE" != x
; then
2030 eval "DEFAULT_$LINE"
2035 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2040 eval "$ac_cv_use_debug_info"
2041 if test "$no_cache" != 1; then
2042 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2045 if test "$wxUSE_DEBUG_INFO" = yes; then
2046 echo "$ac_t""yes" 1>&6
2048 echo "$ac_t""no" 1>&6
2052 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2053 echo "configure:2054: checking "for --enable-debug_gdb"" >&5
2055 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2056 if test "${enable_debug_gdb+set}" = set; then
2057 enableval
="$enable_debug_gdb"
2059 if test "$enableval" = yes; then
2060 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2062 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2067 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2068 if test "x$LINE" != x
; then
2069 eval "DEFAULT_$LINE"
2074 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2079 eval "$ac_cv_use_debug_gdb"
2080 if test "$no_cache" != 1; then
2081 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2084 if test "$wxUSE_DEBUG_GDB" = yes; then
2085 echo "$ac_t""yes" 1>&6
2087 echo "$ac_t""no" 1>&6
2091 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2092 echo "configure:2093: checking "for --enable-debug_cntxt"" >&5
2094 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2095 if test "${enable_debug_cntxt+set}" = set; then
2096 enableval
="$enable_debug_cntxt"
2098 if test "$enableval" = yes; then
2099 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2101 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2106 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2107 if test "x$LINE" != x
; then
2108 eval "DEFAULT_$LINE"
2113 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2118 eval "$ac_cv_use_debug_cntxt"
2119 if test "$no_cache" != 1; then
2120 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2123 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2124 echo "$ac_t""yes" 1>&6
2126 echo "$ac_t""no" 1>&6
2130 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2131 echo "configure:2132: checking "for --enable-mem_tracing"" >&5
2133 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2134 if test "${enable_mem_tracing+set}" = set; then
2135 enableval
="$enable_mem_tracing"
2137 if test "$enableval" = yes; then
2138 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2140 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2145 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2146 if test "x$LINE" != x
; then
2147 eval "DEFAULT_$LINE"
2152 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2157 eval "$ac_cv_use_mem_tracing"
2158 if test "$no_cache" != 1; then
2159 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2162 if test "$wxUSE_MEM_TRACING" = yes; then
2163 echo "$ac_t""yes" 1>&6
2165 echo "$ac_t""no" 1>&6
2169 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2170 echo "configure:2171: checking "for --enable-profile"" >&5
2172 # Check whether --enable-profile or --disable-profile was given.
2173 if test "${enable_profile+set}" = set; then
2174 enableval
="$enable_profile"
2176 if test "$enableval" = yes; then
2177 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2179 ac_cv_use_profile
='wxUSE_PROFILE=no'
2184 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2185 if test "x$LINE" != x
; then
2186 eval "DEFAULT_$LINE"
2191 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2196 eval "$ac_cv_use_profile"
2197 if test "$no_cache" != 1; then
2198 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2201 if test "$wxUSE_PROFILE" = yes; then
2202 echo "$ac_t""yes" 1>&6
2204 echo "$ac_t""no" 1>&6
2208 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2209 echo "configure:2210: checking "for --enable-no_rtti"" >&5
2211 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2212 if test "${enable_no_rtti+set}" = set; then
2213 enableval
="$enable_no_rtti"
2215 if test "$enableval" = yes; then
2216 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2218 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2223 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2224 if test "x$LINE" != x
; then
2225 eval "DEFAULT_$LINE"
2230 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2235 eval "$ac_cv_use_no_rtti"
2236 if test "$no_cache" != 1; then
2237 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2240 if test "$wxUSE_NO_RTTI" = yes; then
2241 echo "$ac_t""yes" 1>&6
2243 echo "$ac_t""no" 1>&6
2247 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2248 echo "configure:2249: checking "for --enable-no_exceptions"" >&5
2250 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2251 if test "${enable_no_exceptions+set}" = set; then
2252 enableval
="$enable_no_exceptions"
2254 if test "$enableval" = yes; then
2255 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2257 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2262 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2263 if test "x$LINE" != x
; then
2264 eval "DEFAULT_$LINE"
2269 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2274 eval "$ac_cv_use_no_exceptions"
2275 if test "$no_cache" != 1; then
2276 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2279 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2280 echo "$ac_t""yes" 1>&6
2282 echo "$ac_t""no" 1>&6
2286 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2287 echo "configure:2288: checking "for --enable-permissive"" >&5
2289 # Check whether --enable-permissive or --disable-permissive was given.
2290 if test "${enable_permissive+set}" = set; then
2291 enableval
="$enable_permissive"
2293 if test "$enableval" = yes; then
2294 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2296 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2301 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2302 if test "x$LINE" != x
; then
2303 eval "DEFAULT_$LINE"
2308 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2313 eval "$ac_cv_use_permissive"
2314 if test "$no_cache" != 1; then
2315 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2318 if test "$wxUSE_PERMISSIVE" = yes; then
2319 echo "$ac_t""yes" 1>&6
2321 echo "$ac_t""no" 1>&6
2325 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2326 echo "configure:2327: checking "for --enable-no_deps"" >&5
2328 # Check whether --enable-no_deps or --disable-no_deps was given.
2329 if test "${enable_no_deps+set}" = set; then
2330 enableval
="$enable_no_deps"
2332 if test "$enableval" = yes; then
2333 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2335 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2340 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2341 if test "x$LINE" != x
; then
2342 eval "DEFAULT_$LINE"
2347 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2352 eval "$ac_cv_use_no_deps"
2353 if test "$no_cache" != 1; then
2354 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2357 if test "$wxUSE_NO_DEPS" = yes; then
2358 echo "$ac_t""yes" 1>&6
2360 echo "$ac_t""no" 1>&6
2366 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2367 echo "configure:2368: checking "for --enable-intl"" >&5
2369 # Check whether --enable-intl or --disable-intl was given.
2370 if test "${enable_intl+set}" = set; then
2371 enableval
="$enable_intl"
2373 if test "$enableval" = yes; then
2374 ac_cv_use_intl
='wxUSE_INTL=yes'
2376 ac_cv_use_intl
='wxUSE_INTL=no'
2381 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2382 if test "x$LINE" != x
; then
2383 eval "DEFAULT_$LINE"
2388 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2393 eval "$ac_cv_use_intl"
2394 if test "$no_cache" != 1; then
2395 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2398 if test "$wxUSE_INTL" = yes; then
2399 echo "$ac_t""yes" 1>&6
2401 echo "$ac_t""no" 1>&6
2405 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2406 echo "configure:2407: checking "for --enable-config"" >&5
2408 # Check whether --enable-config or --disable-config was given.
2409 if test "${enable_config+set}" = set; then
2410 enableval
="$enable_config"
2412 if test "$enableval" = yes; then
2413 ac_cv_use_config
='wxUSE_CONFIG=yes'
2415 ac_cv_use_config
='wxUSE_CONFIG=no'
2420 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2421 if test "x$LINE" != x
; then
2422 eval "DEFAULT_$LINE"
2427 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2432 eval "$ac_cv_use_config"
2433 if test "$no_cache" != 1; then
2434 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2437 if test "$wxUSE_CONFIG" = yes; then
2438 echo "$ac_t""yes" 1>&6
2440 echo "$ac_t""no" 1>&6
2444 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2445 echo "configure:2446: checking "for --enable-sockets"" >&5
2447 # Check whether --enable-sockets or --disable-sockets was given.
2448 if test "${enable_sockets+set}" = set; then
2449 enableval
="$enable_sockets"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2454 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2459 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2471 eval "$ac_cv_use_sockets"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_SOCKETS" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2483 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2484 echo "configure:2485: checking "for --enable-dialupman"" >&5
2486 # Check whether --enable-dialupman or --disable-dialupman was given.
2487 if test "${enable_dialupman+set}" = set; then
2488 enableval
="$enable_dialupman"
2490 if test "$enableval" = yes; then
2491 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2493 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2498 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2499 if test "x$LINE" != x
; then
2500 eval "DEFAULT_$LINE"
2505 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2510 eval "$ac_cv_use_dialupman"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2515 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2516 echo "$ac_t""yes" 1>&6
2518 echo "$ac_t""no" 1>&6
2522 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2523 echo "configure:2524: checking "for --enable-ipc"" >&5
2525 # Check whether --enable-ipc or --disable-ipc was given.
2526 if test "${enable_ipc+set}" = set; then
2527 enableval
="$enable_ipc"
2529 if test "$enableval" = yes; then
2530 ac_cv_use_ipc
='wxUSE_IPC=yes'
2532 ac_cv_use_ipc
='wxUSE_IPC=no'
2537 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2538 if test "x$LINE" != x
; then
2539 eval "DEFAULT_$LINE"
2544 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2549 eval "$ac_cv_use_ipc"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2554 if test "$wxUSE_IPC" = yes; then
2555 echo "$ac_t""yes" 1>&6
2557 echo "$ac_t""no" 1>&6
2561 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2562 echo "configure:2563: checking "for --enable-apple_ieee"" >&5
2564 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2565 if test "${enable_apple_ieee+set}" = set; then
2566 enableval
="$enable_apple_ieee"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2571 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2576 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2588 eval "$ac_cv_use_apple_ieee"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2593 if test "$wxUSE_APPLE_IEEE" = yes; then
2594 echo "$ac_t""yes" 1>&6
2596 echo "$ac_t""no" 1>&6
2600 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2601 echo "configure:2602: checking "for --enable-timedate"" >&5
2603 # Check whether --enable-timedate or --disable-timedate was given.
2604 if test "${enable_timedate+set}" = set; then
2605 enableval
="$enable_timedate"
2607 if test "$enableval" = yes; then
2608 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2610 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2615 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x
; then
2617 eval "DEFAULT_$LINE"
2622 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2627 eval "$ac_cv_use_timedate"
2628 if test "$no_cache" != 1; then
2629 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2632 if test "$wxUSE_TIMEDATE" = yes; then
2633 echo "$ac_t""yes" 1>&6
2635 echo "$ac_t""no" 1>&6
2639 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2640 echo "configure:2641: checking "for --enable-wave"" >&5
2642 # Check whether --enable-wave or --disable-wave was given.
2643 if test "${enable_wave+set}" = set; then
2644 enableval
="$enable_wave"
2646 if test "$enableval" = yes; then
2647 ac_cv_use_wave
='wxUSE_WAVE=yes'
2649 ac_cv_use_wave
='wxUSE_WAVE=no'
2654 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x
; then
2656 eval "DEFAULT_$LINE"
2661 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2666 eval "$ac_cv_use_wave"
2667 if test "$no_cache" != 1; then
2668 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2671 if test "$wxUSE_WAVE" = yes; then
2672 echo "$ac_t""yes" 1>&6
2674 echo "$ac_t""no" 1>&6
2678 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2679 echo "configure:2680: checking "for --enable-fraction"" >&5
2681 # Check whether --enable-fraction or --disable-fraction was given.
2682 if test "${enable_fraction+set}" = set; then
2683 enableval
="$enable_fraction"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2688 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2693 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2705 eval "$ac_cv_use_fraction"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2710 if test "$wxUSE_FRACTION" = yes; then
2711 echo "$ac_t""yes" 1>&6
2713 echo "$ac_t""no" 1>&6
2717 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2718 echo "configure:2719: checking "for --enable-dynlib"" >&5
2720 # Check whether --enable-dynlib or --disable-dynlib was given.
2721 if test "${enable_dynlib+set}" = set; then
2722 enableval
="$enable_dynlib"
2724 if test "$enableval" = yes; then
2725 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2727 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2732 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x
; then
2734 eval "DEFAULT_$LINE"
2739 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2744 eval "$ac_cv_use_dynlib"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2749 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2750 echo "$ac_t""yes" 1>&6
2752 echo "$ac_t""no" 1>&6
2756 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2757 echo "configure:2758: checking "for --enable-longlong"" >&5
2759 # Check whether --enable-longlong or --disable-longlong was given.
2760 if test "${enable_longlong+set}" = set; then
2761 enableval
="$enable_longlong"
2763 if test "$enableval" = yes; then
2764 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2766 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2771 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2772 if test "x$LINE" != x
; then
2773 eval "DEFAULT_$LINE"
2778 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2783 eval "$ac_cv_use_longlong"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2788 if test "$wxUSE_LONGLONG" = yes; then
2789 echo "$ac_t""yes" 1>&6
2791 echo "$ac_t""no" 1>&6
2795 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2796 echo "configure:2797: checking "for --enable-log"" >&5
2798 # Check whether --enable-log or --disable-log was given.
2799 if test "${enable_log+set}" = set; then
2800 enableval
="$enable_log"
2802 if test "$enableval" = yes; then
2803 ac_cv_use_log
='wxUSE_LOG=yes'
2805 ac_cv_use_log
='wxUSE_LOG=no'
2810 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x
; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2822 eval "$ac_cv_use_log"
2823 if test "$no_cache" != 1; then
2824 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2827 if test "$wxUSE_LOG" = yes; then
2828 echo "$ac_t""yes" 1>&6
2830 echo "$ac_t""no" 1>&6
2834 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2835 echo "configure:2836: checking "for --enable-streams"" >&5
2837 # Check whether --enable-streams or --disable-streams was given.
2838 if test "${enable_streams+set}" = set; then
2839 enableval
="$enable_streams"
2841 if test "$enableval" = yes; then
2842 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2844 ac_cv_use_streams
='wxUSE_STREAMS=no'
2849 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x
; then
2851 eval "DEFAULT_$LINE"
2856 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2861 eval "$ac_cv_use_streams"
2862 if test "$no_cache" != 1; then
2863 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2866 if test "$wxUSE_STREAMS" = yes; then
2867 echo "$ac_t""yes" 1>&6
2869 echo "$ac_t""no" 1>&6
2873 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2874 echo "configure:2875: checking "for --enable-file"" >&5
2876 # Check whether --enable-file or --disable-file was given.
2877 if test "${enable_file+set}" = set; then
2878 enableval
="$enable_file"
2880 if test "$enableval" = yes; then
2881 ac_cv_use_file
='wxUSE_FILE=yes'
2883 ac_cv_use_file
='wxUSE_FILE=no'
2888 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2889 if test "x$LINE" != x
; then
2890 eval "DEFAULT_$LINE"
2895 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2900 eval "$ac_cv_use_file"
2901 if test "$no_cache" != 1; then
2902 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2905 if test "$wxUSE_FILE" = yes; then
2906 echo "$ac_t""yes" 1>&6
2908 echo "$ac_t""no" 1>&6
2912 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2913 echo "configure:2914: checking "for --enable-textfile"" >&5
2915 # Check whether --enable-textfile or --disable-textfile was given.
2916 if test "${enable_textfile+set}" = set; then
2917 enableval
="$enable_textfile"
2919 if test "$enableval" = yes; then
2920 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2922 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2927 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x
; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2939 eval "$ac_cv_use_textfile"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2944 if test "$wxUSE_TEXTFILE" = yes; then
2945 echo "$ac_t""yes" 1>&6
2947 echo "$ac_t""no" 1>&6
2951 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2952 echo "configure:2953: checking "for --enable-unicode"" >&5
2954 # Check whether --enable-unicode or --disable-unicode was given.
2955 if test "${enable_unicode+set}" = set; then
2956 enableval
="$enable_unicode"
2958 if test "$enableval" = yes; then
2959 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2961 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2966 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2967 if test "x$LINE" != x
; then
2968 eval "DEFAULT_$LINE"
2973 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2978 eval "$ac_cv_use_unicode"
2979 if test "$no_cache" != 1; then
2980 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2983 if test "$wxUSE_UNICODE" = yes; then
2984 echo "$ac_t""yes" 1>&6
2986 echo "$ac_t""no" 1>&6
2990 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2991 echo "configure:2992: checking "for --enable-wcsrtombs"" >&5
2993 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2994 if test "${enable_wcsrtombs+set}" = set; then
2995 enableval
="$enable_wcsrtombs"
2997 if test "$enableval" = yes; then
2998 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3000 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3005 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x
; then
3007 eval "DEFAULT_$LINE"
3012 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3017 eval "$ac_cv_use_wcsrtombs"
3018 if test "$no_cache" != 1; then
3019 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3022 if test "$wxUSE_WCSRTOMBS" = yes; then
3023 echo "$ac_t""yes" 1>&6
3025 echo "$ac_t""no" 1>&6
3029 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3030 echo "configure:3031: checking "for --enable-wxprintfv"" >&5
3032 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3033 if test "${enable_wxprintfv+set}" = set; then
3034 enableval
="$enable_wxprintfv"
3036 if test "$enableval" = yes; then
3037 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3039 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3044 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x
; then
3046 eval "DEFAULT_$LINE"
3051 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3056 eval "$ac_cv_use_wxprintfv"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3061 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3062 echo "$ac_t""yes" 1>&6
3064 echo "$ac_t""no" 1>&6
3068 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3069 echo "configure:3070: checking "for --enable-joystick"" >&5
3071 # Check whether --enable-joystick or --disable-joystick was given.
3072 if test "${enable_joystick+set}" = set; then
3073 enableval
="$enable_joystick"
3075 if test "$enableval" = yes; then
3076 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3078 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3083 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3084 if test "x$LINE" != x
; then
3085 eval "DEFAULT_$LINE"
3090 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3095 eval "$ac_cv_use_joystick"
3096 if test "$no_cache" != 1; then
3097 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3100 if test "$wxUSE_JOYSTICK" = yes; then
3101 echo "$ac_t""yes" 1>&6
3103 echo "$ac_t""no" 1>&6
3107 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3108 echo "configure:3109: checking "for --enable-std_iostreams"" >&5
3110 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3111 if test "${enable_std_iostreams+set}" = set; then
3112 enableval
="$enable_std_iostreams"
3114 if test "$enableval" = yes; then
3115 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3117 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3122 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3123 if test "x$LINE" != x
; then
3124 eval "DEFAULT_$LINE"
3129 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3134 eval "$ac_cv_use_std_iostreams"
3135 if test "$no_cache" != 1; then
3136 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3139 if test "$wxUSE_STD_IOSTREAM" = yes; then
3140 echo "$ac_t""yes" 1>&6
3142 echo "$ac_t""no" 1>&6
3146 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3147 echo "configure:3148: checking "for --enable-fs_inet"" >&5
3149 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3150 if test "${enable_fs_inet+set}" = set; then
3151 enableval
="$enable_fs_inet"
3153 if test "$enableval" = yes; then
3154 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3156 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3161 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x
; then
3163 eval "DEFAULT_$LINE"
3168 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3173 eval "$ac_cv_use_fs_inet"
3174 if test "$no_cache" != 1; then
3175 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3178 if test "$wxUSE_FS_INET" = yes; then
3179 echo "$ac_t""yes" 1>&6
3181 echo "$ac_t""no" 1>&6
3185 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3186 echo "configure:3187: checking "for --enable-fs_zip"" >&5
3188 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3189 if test "${enable_fs_zip+set}" = set; then
3190 enableval
="$enable_fs_zip"
3192 if test "$enableval" = yes; then
3193 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3195 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3200 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x
; then
3202 eval "DEFAULT_$LINE"
3207 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3212 eval "$ac_cv_use_fs_zip"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_FS_ZIP" = yes; then
3218 echo "$ac_t""yes" 1>&6
3220 echo "$ac_t""no" 1>&6
3224 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3225 echo "configure:3226: checking "for --enable-zipstream"" >&5
3227 # Check whether --enable-zipstream or --disable-zipstream was given.
3228 if test "${enable_zipstream+set}" = set; then
3229 enableval
="$enable_zipstream"
3231 if test "$enableval" = yes; then
3232 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3234 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3239 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x
; then
3241 eval "DEFAULT_$LINE"
3246 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3251 eval "$ac_cv_use_zipstream"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3256 if test "$wxUSE_ZIPSTREAM" = yes; then
3257 echo "$ac_t""yes" 1>&6
3259 echo "$ac_t""no" 1>&6
3265 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3266 echo "configure:3267: checking "for --enable-threads"" >&5
3268 # Check whether --enable-threads or --disable-threads was given.
3269 if test "${enable_threads+set}" = set; then
3270 enableval
="$enable_threads"
3272 if test "$enableval" = yes; then
3273 ac_cv_use_threads
='wxUSE_THREADS=yes'
3275 ac_cv_use_threads
='wxUSE_THREADS=no'
3280 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x
; then
3282 eval "DEFAULT_$LINE"
3287 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3292 eval "$ac_cv_use_threads"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3297 if test "$wxUSE_THREADS" = yes; then
3298 echo "$ac_t""yes" 1>&6
3300 echo "$ac_t""no" 1>&6
3304 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3305 echo "configure:3306: checking "for --enable-serial"" >&5
3307 # Check whether --enable-serial or --disable-serial was given.
3308 if test "${enable_serial+set}" = set; then
3309 enableval
="$enable_serial"
3311 if test "$enableval" = yes; then
3312 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3314 ac_cv_use_serial
='wxUSE_SERIAL=no'
3319 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x
; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3331 eval "$ac_cv_use_serial"
3332 if test "$no_cache" != 1; then
3333 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3336 if test "$wxUSE_SERIAL" = yes; then
3337 echo "$ac_t""yes" 1>&6
3339 echo "$ac_t""no" 1>&6
3345 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3346 echo "configure:3347: checking "for --enable-docview"" >&5
3348 # Check whether --enable-docview or --disable-docview was given.
3349 if test "${enable_docview+set}" = set; then
3350 enableval
="$enable_docview"
3352 if test "$enableval" = yes; then
3353 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3355 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3360 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x
; then
3362 eval "DEFAULT_$LINE"
3367 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3372 eval "$ac_cv_use_docview"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3378 echo "$ac_t""yes" 1>&6
3380 echo "$ac_t""no" 1>&6
3384 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3385 echo "configure:3386: checking "for --enable-help"" >&5
3387 # Check whether --enable-help or --disable-help was given.
3388 if test "${enable_help+set}" = set; then
3389 enableval
="$enable_help"
3391 if test "$enableval" = yes; then
3392 ac_cv_use_help
='wxUSE_HELP=yes'
3394 ac_cv_use_help
='wxUSE_HELP=no'
3399 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3411 eval "$ac_cv_use_help"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_HELP" = yes; then
3417 echo "$ac_t""yes" 1>&6
3419 echo "$ac_t""no" 1>&6
3423 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3424 echo "configure:3425: checking "for --enable-constraints"" >&5
3426 # Check whether --enable-constraints or --disable-constraints was given.
3427 if test "${enable_constraints+set}" = set; then
3428 enableval
="$enable_constraints"
3430 if test "$enableval" = yes; then
3431 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3433 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3438 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x
; then
3440 eval "DEFAULT_$LINE"
3445 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3450 eval "$ac_cv_use_constraints"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3455 if test "$wxUSE_CONSTRAINTS" = yes; then
3456 echo "$ac_t""yes" 1>&6
3458 echo "$ac_t""no" 1>&6
3462 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3463 echo "configure:3464: checking "for --enable-printarch"" >&5
3465 # Check whether --enable-printarch or --disable-printarch was given.
3466 if test "${enable_printarch+set}" = set; then
3467 enableval
="$enable_printarch"
3469 if test "$enableval" = yes; then
3470 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3472 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3477 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x
; then
3479 eval "DEFAULT_$LINE"
3484 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3489 eval "$ac_cv_use_printarch"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3495 echo "$ac_t""yes" 1>&6
3497 echo "$ac_t""no" 1>&6
3501 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3502 echo "configure:3503: checking "for --enable-mdi"" >&5
3504 # Check whether --enable-mdi or --disable-mdi was given.
3505 if test "${enable_mdi+set}" = set; then
3506 enableval
="$enable_mdi"
3508 if test "$enableval" = yes; then
3509 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3511 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3516 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x
; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3528 eval "$ac_cv_use_mdi"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3533 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3534 echo "$ac_t""yes" 1>&6
3536 echo "$ac_t""no" 1>&6
3541 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3542 echo "configure:3543: checking "for --enable-postscript"" >&5
3544 # Check whether --enable-postscript or --disable-postscript was given.
3545 if test "${enable_postscript+set}" = set; then
3546 enableval
="$enable_postscript"
3548 if test "$enableval" = yes; then
3549 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3551 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3556 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3557 if test "x$LINE" != x
; then
3558 eval "DEFAULT_$LINE"
3563 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3568 eval "$ac_cv_use_postscript"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3573 if test "$wxUSE_POSTSCRIPT" = yes; then
3574 echo "$ac_t""yes" 1>&6
3576 echo "$ac_t""no" 1>&6
3582 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3583 echo "configure:3584: checking "for --enable-prologio"" >&5
3585 # Check whether --enable-prologio or --disable-prologio was given.
3586 if test "${enable_prologio+set}" = set; then
3587 enableval
="$enable_prologio"
3589 if test "$enableval" = yes; then
3590 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3592 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3597 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x
; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3609 eval "$ac_cv_use_prologio"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3614 if test "$wxUSE_PROLOGIO" = yes; then
3615 echo "$ac_t""yes" 1>&6
3617 echo "$ac_t""no" 1>&6
3621 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3622 echo "configure:3623: checking "for --enable-resources"" >&5
3624 # Check whether --enable-resources or --disable-resources was given.
3625 if test "${enable_resources+set}" = set; then
3626 enableval
="$enable_resources"
3628 if test "$enableval" = yes; then
3629 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3631 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3636 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3637 if test "x$LINE" != x
; then
3638 eval "DEFAULT_$LINE"
3643 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3648 eval "$ac_cv_use_resources"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_RESOURCES" = yes; then
3654 echo "$ac_t""yes" 1>&6
3656 echo "$ac_t""no" 1>&6
3661 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3662 echo "configure:3663: checking "for --enable-xresources"" >&5
3664 # Check whether --enable-xresources or --disable-xresources was given.
3665 if test "${enable_xresources+set}" = set; then
3666 enableval
="$enable_xresources"
3668 if test "$enableval" = yes; then
3669 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3671 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3676 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x
; then
3678 eval "DEFAULT_$LINE"
3683 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3688 eval "$ac_cv_use_xresources"
3689 if test "$no_cache" != 1; then
3690 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3693 if test "$wxUSE_X_RESOURCES" = yes; then
3694 echo "$ac_t""yes" 1>&6
3696 echo "$ac_t""no" 1>&6
3702 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3703 echo "configure:3704: checking "for --enable-clipboard"" >&5
3705 # Check whether --enable-clipboard or --disable-clipboard was given.
3706 if test "${enable_clipboard+set}" = set; then
3707 enableval
="$enable_clipboard"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3712 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3717 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3729 eval "$ac_cv_use_clipboard"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3734 if test "$wxUSE_CLIPBOARD" = yes; then
3735 echo "$ac_t""yes" 1>&6
3737 echo "$ac_t""no" 1>&6
3741 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3742 echo "configure:3743: checking "for --enable-dnd"" >&5
3744 # Check whether --enable-dnd or --disable-dnd was given.
3745 if test "${enable_dnd+set}" = set; then
3746 enableval
="$enable_dnd"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3751 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3756 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3768 eval "$ac_cv_use_dnd"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3774 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3781 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3782 echo "configure:3783: checking "for --enable-wxtree"" >&5
3784 # Check whether --enable-wxtree or --disable-wxtree was given.
3785 if test "${enable_wxtree+set}" = set; then
3786 enableval
="$enable_wxtree"
3788 if test "$enableval" = yes; then
3789 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3791 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3796 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3797 if test "x$LINE" != x
; then
3798 eval "DEFAULT_$LINE"
3803 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3808 eval "$ac_cv_use_wxtree"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_WXTREE" = yes; then
3814 echo "$ac_t""yes" 1>&6
3816 echo "$ac_t""no" 1>&6
3822 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3823 echo "configure:3824: checking "for --enable-controls"" >&5
3825 # Check whether --enable-controls or --disable-controls was given.
3826 if test "${enable_controls+set}" = set; then
3827 enableval
="$enable_controls"
3829 if test "$enableval" = yes; then
3830 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3832 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3837 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x
; then
3839 eval "DEFAULT_$LINE"
3844 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3849 eval "$ac_cv_use_controls"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_CONTROLS" = yes; then
3855 echo "$ac_t""yes" 1>&6
3857 echo "$ac_t""no" 1>&6
3861 if test "$wxUSE_CONTROLS" = "yes"; then
3862 DEFAULT_wxUSE_ACCEL
=yes
3863 DEFAULT_wxUSE_CARET
=yes
3864 DEFAULT_wxUSE_COMBOBOX
=yes
3865 DEFAULT_wxUSE_BMPBUTTON
=yes
3866 DEFAULT_wxUSE_CHECKBOX
=yes
3867 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3868 DEFAULT_wxUSE_CHOICE
=yes
3869 DEFAULT_wxUSE_GAUGE
=yes
3870 DEFAULT_wxUSE_GRID
=yes
3871 DEFAULT_wxUSE_NEW_GRID
=yes
3872 DEFAULT_wxUSE_IMAGLIST
=yes
3873 DEFAULT_wxUSE_LISTBOX
=yes
3874 DEFAULT_wxUSE_LISTCTRL
=yes
3875 DEFAULT_wxUSE_NOTEBOOK
=yes
3876 DEFAULT_wxUSE_RADIOBOX
=yes
3877 DEFAULT_wxUSE_RADIOBTN
=yes
3878 DEFAULT_wxUSE_SASH
=yes
3879 DEFAULT_wxUSE_SCROLLBAR
=yes
3880 DEFAULT_wxUSE_SLIDER
=yes
3881 DEFAULT_wxUSE_SPINBTN
=yes
3882 DEFAULT_wxUSE_SPLITTER
=yes
3883 DEFAULT_wxUSE_STATBMP
=yes
3884 DEFAULT_wxUSE_STATBOX
=yes
3885 DEFAULT_wxUSE_STATLINE
=yes
3886 DEFAULT_wxUSE_STATUSBAR
=yes
3887 DEFAULT_wxUSE_TAB_DIALOG
=yes
3888 DEFAULT_wxUSE_TOOLBAR
=yes
3889 DEFAULT_wxUSE_TOOLTIPS
=yes
3890 DEFAULT_wxUSE_TREECTRL
=yes
3891 elif test "$wxUSE_CONTROLS" = "no"; then
3892 DEFAULT_wxUSE_ACCEL
=no
3893 DEFAULT_wxUSE_CARET
=no
3894 DEFAULT_wxUSE_COMBOBOX
=no
3895 DEFAULT_wxUSE_BMPBUTTON
=no
3896 DEFAULT_wxUSE_CHECKBOX
=no
3897 DEFAULT_wxUSE_CHECKLISTBOX
=no
3898 DEFAULT_wxUSE_CHOICE
=no
3899 DEFAULT_wxUSE_GAUGE
=no
3900 DEFAULT_wxUSE_GRID
=no
3901 DEFAULT_wxUSE_NEW_GRID
=no
3902 DEFAULT_wxUSE_IMAGLIST
=no
3903 DEFAULT_wxUSE_LISTBOX
=no
3904 DEFAULT_wxUSE_LISTCTRL
=no
3905 DEFAULT_wxUSE_NOTEBOOK
=no
3906 DEFAULT_wxUSE_RADIOBOX
=no
3907 DEFAULT_wxUSE_RADIOBTN
=no
3908 DEFAULT_wxUSE_SASH
=no
3909 DEFAULT_wxUSE_SCROLLBAR
=no
3910 DEFAULT_wxUSE_SLIDER
=no
3911 DEFAULT_wxUSE_SPINBTN
=no
3912 DEFAULT_wxUSE_SPLITTER
=no
3913 DEFAULT_wxUSE_STATBMP
=no
3914 DEFAULT_wxUSE_STATBOX
=no
3915 DEFAULT_wxUSE_STATLINE
=no
3916 DEFAULT_wxUSE_STATUSBAR
=no
3917 DEFAULT_wxUSE_TAB_DIALOG
=no
3918 DEFAULT_wxUSE_TOOLBAR
=no
3919 DEFAULT_wxUSE_TOOLTIPS
=no
3920 DEFAULT_wxUSE_TREECTRL
=no
3924 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3925 echo "configure:3926: checking "for --enable-accel"" >&5
3927 # Check whether --enable-accel or --disable-accel was given.
3928 if test "${enable_accel+set}" = set; then
3929 enableval
="$enable_accel"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3934 ac_cv_use_accel
='wxUSE_ACCEL=no'
3939 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x
; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3951 eval "$ac_cv_use_accel"
3952 if test "$no_cache" != 1; then
3953 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3956 if test "$wxUSE_ACCEL" = yes; then
3957 echo "$ac_t""yes" 1>&6
3959 echo "$ac_t""no" 1>&6
3963 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3964 echo "configure:3965: checking "for --enable-caret"" >&5
3966 # Check whether --enable-caret or --disable-caret was given.
3967 if test "${enable_caret+set}" = set; then
3968 enableval
="$enable_caret"
3970 if test "$enableval" = yes; then
3971 ac_cv_use_caret
='wxUSE_CARET=yes'
3973 ac_cv_use_caret
='wxUSE_CARET=no'
3978 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x
; then
3980 eval "DEFAULT_$LINE"
3985 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3990 eval "$ac_cv_use_caret"
3991 if test "$no_cache" != 1; then
3992 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3995 if test "$wxUSE_CARET" = yes; then
3996 echo "$ac_t""yes" 1>&6
3998 echo "$ac_t""no" 1>&6
4002 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4003 echo "configure:4004: checking "for --enable-bmpbutton"" >&5
4005 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4006 if test "${enable_bmpbutton+set}" = set; then
4007 enableval
="$enable_bmpbutton"
4009 if test "$enableval" = yes; then
4010 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4012 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4017 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x
; then
4019 eval "DEFAULT_$LINE"
4024 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4029 eval "$ac_cv_use_bmpbutton"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_BMPBUTTON" = yes; then
4035 echo "$ac_t""yes" 1>&6
4037 echo "$ac_t""no" 1>&6
4041 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4042 echo "configure:4043: checking "for --enable-checkbox"" >&5
4044 # Check whether --enable-checkbox or --disable-checkbox was given.
4045 if test "${enable_checkbox+set}" = set; then
4046 enableval
="$enable_checkbox"
4048 if test "$enableval" = yes; then
4049 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4051 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4056 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x
; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4068 eval "$ac_cv_use_checkbox"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4073 if test "$wxUSE_CHECKBOX" = yes; then
4074 echo "$ac_t""yes" 1>&6
4076 echo "$ac_t""no" 1>&6
4080 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4081 echo "configure:4082: checking "for --enable-checklst"" >&5
4083 # Check whether --enable-checklst or --disable-checklst was given.
4084 if test "${enable_checklst+set}" = set; then
4085 enableval
="$enable_checklst"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4090 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4095 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x
; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4107 eval "$ac_cv_use_checklst"
4108 if test "$no_cache" != 1; then
4109 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4112 if test "$wxUSE_CHECKLST" = yes; then
4113 echo "$ac_t""yes" 1>&6
4115 echo "$ac_t""no" 1>&6
4119 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4120 echo "configure:4121: checking "for --enable-choice"" >&5
4122 # Check whether --enable-choice or --disable-choice was given.
4123 if test "${enable_choice+set}" = set; then
4124 enableval
="$enable_choice"
4126 if test "$enableval" = yes; then
4127 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4129 ac_cv_use_choice
='wxUSE_CHOICE=no'
4134 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x
; then
4136 eval "DEFAULT_$LINE"
4141 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4146 eval "$ac_cv_use_choice"
4147 if test "$no_cache" != 1; then
4148 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4151 if test "$wxUSE_CHOICE" = yes; then
4152 echo "$ac_t""yes" 1>&6
4154 echo "$ac_t""no" 1>&6
4158 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4159 echo "configure:4160: checking "for --enable-combobox"" >&5
4161 # Check whether --enable-combobox or --disable-combobox was given.
4162 if test "${enable_combobox+set}" = set; then
4163 enableval
="$enable_combobox"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4168 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4173 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4185 eval "$ac_cv_use_combobox"
4186 if test "$no_cache" != 1; then
4187 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4190 if test "$wxUSE_COMBOBOX" = yes; then
4191 echo "$ac_t""yes" 1>&6
4193 echo "$ac_t""no" 1>&6
4197 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4198 echo "configure:4199: checking "for --enable-gauge"" >&5
4200 # Check whether --enable-gauge or --disable-gauge was given.
4201 if test "${enable_gauge+set}" = set; then
4202 enableval
="$enable_gauge"
4204 if test "$enableval" = yes; then
4205 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4207 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4212 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x
; then
4214 eval "DEFAULT_$LINE"
4219 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4224 eval "$ac_cv_use_gauge"
4225 if test "$no_cache" != 1; then
4226 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4229 if test "$wxUSE_GAUGE" = yes; then
4230 echo "$ac_t""yes" 1>&6
4232 echo "$ac_t""no" 1>&6
4236 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4237 echo "configure:4238: checking "for --enable-grid"" >&5
4239 # Check whether --enable-grid or --disable-grid was given.
4240 if test "${enable_grid+set}" = set; then
4241 enableval
="$enable_grid"
4243 if test "$enableval" = yes; then
4244 ac_cv_use_grid
='wxUSE_GRID=yes'
4246 ac_cv_use_grid
='wxUSE_GRID=no'
4251 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x
; then
4253 eval "DEFAULT_$LINE"
4258 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4263 eval "$ac_cv_use_grid"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_GRID" = yes; then
4269 echo "$ac_t""yes" 1>&6
4271 echo "$ac_t""no" 1>&6
4275 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4276 echo "configure:4277: checking "for --enable-newgrid"" >&5
4278 # Check whether --enable-newgrid or --disable-newgrid was given.
4279 if test "${enable_newgrid+set}" = set; then
4280 enableval
="$enable_newgrid"
4282 if test "$enableval" = yes; then
4283 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4285 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4290 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x
; then
4292 eval "DEFAULT_$LINE"
4297 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4302 eval "$ac_cv_use_newgrid"
4303 if test "$no_cache" != 1; then
4304 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4307 if test "$wxUSE_NEW_GRID" = yes; then
4308 echo "$ac_t""yes" 1>&6
4310 echo "$ac_t""no" 1>&6
4314 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4315 echo "configure:4316: checking "for --enable-imaglist"" >&5
4317 # Check whether --enable-imaglist or --disable-imaglist was given.
4318 if test "${enable_imaglist+set}" = set; then
4319 enableval
="$enable_imaglist"
4321 if test "$enableval" = yes; then
4322 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4324 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4329 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4330 if test "x$LINE" != x
; then
4331 eval "DEFAULT_$LINE"
4336 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4341 eval "$ac_cv_use_imaglist"
4342 if test "$no_cache" != 1; then
4343 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4346 if test "$wxUSE_IMAGLIST" = yes; then
4347 echo "$ac_t""yes" 1>&6
4349 echo "$ac_t""no" 1>&6
4353 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4354 echo "configure:4355: checking "for --enable-listbox"" >&5
4356 # Check whether --enable-listbox or --disable-listbox was given.
4357 if test "${enable_listbox+set}" = set; then
4358 enableval
="$enable_listbox"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4363 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4368 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x
; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4380 eval "$ac_cv_use_listbox"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_LISTBOX" = yes; then
4386 echo "$ac_t""yes" 1>&6
4388 echo "$ac_t""no" 1>&6
4392 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4393 echo "configure:4394: checking "for --enable-listctrl"" >&5
4395 # Check whether --enable-listctrl or --disable-listctrl was given.
4396 if test "${enable_listctrl+set}" = set; then
4397 enableval
="$enable_listctrl"
4399 if test "$enableval" = yes; then
4400 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4402 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4407 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x
; then
4409 eval "DEFAULT_$LINE"
4414 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4419 eval "$ac_cv_use_listctrl"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_LISTCTRL" = yes; then
4425 echo "$ac_t""yes" 1>&6
4427 echo "$ac_t""no" 1>&6
4431 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4432 echo "configure:4433: checking "for --enable-notebook"" >&5
4434 # Check whether --enable-notebook or --disable-notebook was given.
4435 if test "${enable_notebook+set}" = set; then
4436 enableval
="$enable_notebook"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4441 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4446 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x
; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4458 eval "$ac_cv_use_notebook"
4459 if test "$no_cache" != 1; then
4460 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4463 if test "$wxUSE_NOTEBOOK" = yes; then
4464 echo "$ac_t""yes" 1>&6
4466 echo "$ac_t""no" 1>&6
4470 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4471 echo "configure:4472: checking "for --enable-radiobox"" >&5
4473 # Check whether --enable-radiobox or --disable-radiobox was given.
4474 if test "${enable_radiobox+set}" = set; then
4475 enableval
="$enable_radiobox"
4477 if test "$enableval" = yes; then
4478 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4480 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4485 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x
; then
4487 eval "DEFAULT_$LINE"
4492 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4497 eval "$ac_cv_use_radiobox"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_RADIOBOX" = yes; then
4503 echo "$ac_t""yes" 1>&6
4505 echo "$ac_t""no" 1>&6
4509 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4510 echo "configure:4511: checking "for --enable-radiobtn"" >&5
4512 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4513 if test "${enable_radiobtn+set}" = set; then
4514 enableval
="$enable_radiobtn"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4519 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4524 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4536 eval "$ac_cv_use_radiobtn"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4541 if test "$wxUSE_RADIOBTN" = yes; then
4542 echo "$ac_t""yes" 1>&6
4544 echo "$ac_t""no" 1>&6
4548 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4549 echo "configure:4550: checking "for --enable-sash"" >&5
4551 # Check whether --enable-sash or --disable-sash was given.
4552 if test "${enable_sash+set}" = set; then
4553 enableval
="$enable_sash"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_sash
='wxUSE_SASH=yes'
4558 ac_cv_use_sash
='wxUSE_SASH=no'
4563 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4575 eval "$ac_cv_use_sash"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4580 if test "$wxUSE_SASH" = yes; then
4581 echo "$ac_t""yes" 1>&6
4583 echo "$ac_t""no" 1>&6
4587 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4588 echo "configure:4589: checking "for --enable-scrollbar"" >&5
4590 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4591 if test "${enable_scrollbar+set}" = set; then
4592 enableval
="$enable_scrollbar"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4597 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4602 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4614 eval "$ac_cv_use_scrollbar"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4619 if test "$wxUSE_SCROLLBAR" = yes; then
4620 echo "$ac_t""yes" 1>&6
4622 echo "$ac_t""no" 1>&6
4626 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4627 echo "configure:4628: checking "for --enable-slider"" >&5
4629 # Check whether --enable-slider or --disable-slider was given.
4630 if test "${enable_slider+set}" = set; then
4631 enableval
="$enable_slider"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4636 ac_cv_use_slider
='wxUSE_SLIDER=no'
4641 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x
; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4653 eval "$ac_cv_use_slider"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4658 if test "$wxUSE_SLIDER" = yes; then
4659 echo "$ac_t""yes" 1>&6
4661 echo "$ac_t""no" 1>&6
4665 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4666 echo "configure:4667: checking "for --enable-spinbtn"" >&5
4668 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4669 if test "${enable_spinbtn+set}" = set; then
4670 enableval
="$enable_spinbtn"
4672 if test "$enableval" = yes; then
4673 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4675 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4680 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x
; then
4682 eval "DEFAULT_$LINE"
4687 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4692 eval "$ac_cv_use_spinbtn"
4693 if test "$no_cache" != 1; then
4694 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4697 if test "$wxUSE_SPINBTN" = yes; then
4698 echo "$ac_t""yes" 1>&6
4700 echo "$ac_t""no" 1>&6
4704 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4705 echo "configure:4706: checking "for --enable-splitter"" >&5
4707 # Check whether --enable-splitter or --disable-splitter was given.
4708 if test "${enable_splitter+set}" = set; then
4709 enableval
="$enable_splitter"
4711 if test "$enableval" = yes; then
4712 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4714 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4719 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4720 if test "x$LINE" != x
; then
4721 eval "DEFAULT_$LINE"
4726 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4731 eval "$ac_cv_use_splitter"
4732 if test "$no_cache" != 1; then
4733 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4736 if test "$wxUSE_SPLITTER" = yes; then
4737 echo "$ac_t""yes" 1>&6
4739 echo "$ac_t""no" 1>&6
4743 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4744 echo "configure:4745: checking "for --enable-statbmp"" >&5
4746 # Check whether --enable-statbmp or --disable-statbmp was given.
4747 if test "${enable_statbmp+set}" = set; then
4748 enableval
="$enable_statbmp"
4750 if test "$enableval" = yes; then
4751 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4753 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4758 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x
; then
4760 eval "DEFAULT_$LINE"
4765 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4770 eval "$ac_cv_use_statbmp"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4775 if test "$wxUSE_STATBMP" = yes; then
4776 echo "$ac_t""yes" 1>&6
4778 echo "$ac_t""no" 1>&6
4782 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4783 echo "configure:4784: checking "for --enable-statbox"" >&5
4785 # Check whether --enable-statbox or --disable-statbox was given.
4786 if test "${enable_statbox+set}" = set; then
4787 enableval
="$enable_statbox"
4789 if test "$enableval" = yes; then
4790 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4792 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4797 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x
; then
4799 eval "DEFAULT_$LINE"
4804 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4809 eval "$ac_cv_use_statbox"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_STATBOX" = yes; then
4815 echo "$ac_t""yes" 1>&6
4817 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4822 echo "configure:4823: checking "for --enable-statline"" >&5
4824 # Check whether --enable-statline or --disable-statline was given.
4825 if test "${enable_statline+set}" = set; then
4826 enableval
="$enable_statline"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4831 ac_cv_use_statline
='wxUSE_STATLINE=no'
4836 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4848 eval "$ac_cv_use_statline"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_STATLINE" = yes; then
4854 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4860 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4861 echo "configure:4862: checking "for --enable-statusbar"" >&5
4863 # Check whether --enable-statusbar or --disable-statusbar was given.
4864 if test "${enable_statusbar+set}" = set; then
4865 enableval
="$enable_statusbar"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4870 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4875 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4887 eval "$ac_cv_use_statusbar"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_STATUSBAR" = yes; then
4893 echo "$ac_t""yes" 1>&6
4895 echo "$ac_t""no" 1>&6
4899 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4900 echo "configure:4901: checking "for --enable-tabdialog"" >&5
4902 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4903 if test "${enable_tabdialog+set}" = set; then
4904 enableval
="$enable_tabdialog"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4909 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4914 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4926 eval "$ac_cv_use_tabdialog"
4927 if test "$no_cache" != 1; then
4928 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4931 if test "$wxUSE_TABDIALOG" = yes; then
4932 echo "$ac_t""yes" 1>&6
4934 echo "$ac_t""no" 1>&6
4938 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4939 echo "configure:4940: checking "for --enable-toolbar"" >&5
4941 # Check whether --enable-toolbar or --disable-toolbar was given.
4942 if test "${enable_toolbar+set}" = set; then
4943 enableval
="$enable_toolbar"
4945 if test "$enableval" = yes; then
4946 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4948 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4953 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x
; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4965 eval "$ac_cv_use_toolbar"
4966 if test "$no_cache" != 1; then
4967 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4970 if test "$wxUSE_TOOLBAR" = yes; then
4971 echo "$ac_t""yes" 1>&6
4973 echo "$ac_t""no" 1>&6
4977 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4978 echo "configure:4979: checking "for --enable-treectrl"" >&5
4980 # Check whether --enable-treectrl or --disable-treectrl was given.
4981 if test "${enable_treectrl+set}" = set; then
4982 enableval
="$enable_treectrl"
4984 if test "$enableval" = yes; then
4985 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4987 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4992 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x
; then
4994 eval "DEFAULT_$LINE"
4999 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5004 eval "$ac_cv_use_treectrl"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5009 if test "$wxUSE_TREECTRL" = yes; then
5010 echo "$ac_t""yes" 1>&6
5012 echo "$ac_t""no" 1>&6
5018 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5019 echo "configure:5020: checking "for --enable-commondlg"" >&5
5021 # Check whether --enable-commondlg or --disable-commondlg was given.
5022 if test "${enable_commondlg+set}" = set; then
5023 enableval
="$enable_commondlg"
5025 if test "$enableval" = yes; then
5026 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5028 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5033 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x
; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5045 eval "$ac_cv_use_commondlg"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_COMMONDLGS" = yes; then
5051 echo "$ac_t""yes" 1>&6
5053 echo "$ac_t""no" 1>&6
5057 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5058 echo "configure:5059: checking "for --enable-dirdlg"" >&5
5060 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5061 if test "${enable_dirdlg+set}" = set; then
5062 enableval
="$enable_dirdlg"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5067 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5072 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x
; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5084 eval "$ac_cv_use_dirdlg"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5089 if test "$wxUSE_DIRDLG" = yes; then
5090 echo "$ac_t""yes" 1>&6
5092 echo "$ac_t""no" 1>&6
5096 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5097 echo "configure:5098: checking "for --enable-textdlg"" >&5
5099 # Check whether --enable-textdlg or --disable-textdlg was given.
5100 if test "${enable_textdlg+set}" = set; then
5101 enableval
="$enable_textdlg"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5106 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5111 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5123 eval "$ac_cv_use_textdlg"
5124 if test "$no_cache" != 1; then
5125 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5128 if test "$wxUSE_TEXTDLG" = yes; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5135 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5136 echo "configure:5137: checking "for --enable-tipdlg"" >&5
5138 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5139 if test "${enable_tipdlg+set}" = set; then
5140 enableval
="$enable_tipdlg"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5145 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5150 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5162 eval "$ac_cv_use_tipdlg"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_STARTUP_TIPS" = yes; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5174 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5175 echo "configure:5176: checking "for --enable-progressdlg"" >&5
5177 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5178 if test "${enable_progressdlg+set}" = set; then
5179 enableval
="$enable_progressdlg"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5184 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5189 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5201 eval "$ac_cv_use_progressdlg"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_PROGRESSDLG" = yes; then
5207 echo "$ac_t""yes" 1>&6
5209 echo "$ac_t""no" 1>&6
5213 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5214 echo "configure:5215: checking "for --enable-miniframe"" >&5
5216 # Check whether --enable-miniframe or --disable-miniframe was given.
5217 if test "${enable_miniframe+set}" = set; then
5218 enableval
="$enable_miniframe"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5223 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5228 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5240 eval "$ac_cv_use_miniframe"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_MINIFRAME" = yes; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5252 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5253 echo "configure:5254: checking "for --enable-html"" >&5
5255 # Check whether --enable-html or --disable-html was given.
5256 if test "${enable_html+set}" = set; then
5257 enableval
="$enable_html"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_html
='wxUSE_HTML=yes'
5262 ac_cv_use_html
='wxUSE_HTML=no'
5267 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5279 eval "$ac_cv_use_html"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_HTML" = yes; then
5285 echo "$ac_t""yes" 1>&6
5287 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5292 echo "configure:5293: checking "for --enable-tooltips"" >&5
5294 # Check whether --enable-tooltips or --disable-tooltips was given.
5295 if test "${enable_tooltips+set}" = set; then
5296 enableval
="$enable_tooltips"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5301 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5306 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5318 eval "$ac_cv_use_tooltips"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_TOOLTIPS" = yes; then
5324 echo "$ac_t""yes" 1>&6
5326 echo "$ac_t""no" 1>&6
5330 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5331 echo "configure:5332: checking "for --enable-splines"" >&5
5333 # Check whether --enable-splines or --disable-splines was given.
5334 if test "${enable_splines+set}" = set; then
5335 enableval
="$enable_splines"
5337 if test "$enableval" = yes; then
5338 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5340 ac_cv_use_splines
='wxUSE_SPLINES=no'
5345 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x
; then
5347 eval "DEFAULT_$LINE"
5352 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5357 eval "$ac_cv_use_splines"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_SPLINES" = yes; then
5363 echo "$ac_t""yes" 1>&6
5365 echo "$ac_t""no" 1>&6
5369 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5370 echo "configure:5371: checking "for --enable-validators"" >&5
5372 # Check whether --enable-validators or --disable-validators was given.
5373 if test "${enable_validators+set}" = set; then
5374 enableval
="$enable_validators"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5379 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5384 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x
; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5396 eval "$ac_cv_use_validators"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_VALIDATORS" = yes; then
5402 echo "$ac_t""yes" 1>&6
5404 echo "$ac_t""no" 1>&6
5408 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5409 echo "configure:5410: checking "for --enable-busyinfo"" >&5
5411 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5412 if test "${enable_busyinfo+set}" = set; then
5413 enableval
="$enable_busyinfo"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5418 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5423 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5435 eval "$ac_cv_use_busyinfo"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_BUSYINFO" = yes; then
5441 echo "$ac_t""yes" 1>&6
5443 echo "$ac_t""no" 1>&6
5449 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5450 echo "configure:5451: checking "for --enable-gif"" >&5
5452 # Check whether --enable-gif or --disable-gif was given.
5453 if test "${enable_gif+set}" = set; then
5454 enableval
="$enable_gif"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_gif
='wxUSE_GIF=yes'
5459 ac_cv_use_gif
='wxUSE_GIF=no'
5464 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5476 eval "$ac_cv_use_gif"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_GIF" = yes; then
5482 echo "$ac_t""yes" 1>&6
5484 echo "$ac_t""no" 1>&6
5488 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5489 echo "configure:5490: checking "for --enable-pcx"" >&5
5491 # Check whether --enable-pcx or --disable-pcx was given.
5492 if test "${enable_pcx+set}" = set; then
5493 enableval
="$enable_pcx"
5495 if test "$enableval" = yes; then
5496 ac_cv_use_pcx
='wxUSE_PCX=yes'
5498 ac_cv_use_pcx
='wxUSE_PCX=no'
5503 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5504 if test "x$LINE" != x
; then
5505 eval "DEFAULT_$LINE"
5510 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5515 eval "$ac_cv_use_pcx"
5516 if test "$no_cache" != 1; then
5517 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5520 if test "$wxUSE_PCX" = yes; then
5521 echo "$ac_t""yes" 1>&6
5523 echo "$ac_t""no" 1>&6
5527 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5528 echo "configure:5529: checking "for --enable-pnm"" >&5
5530 # Check whether --enable-pnm or --disable-pnm was given.
5531 if test "${enable_pnm+set}" = set; then
5532 enableval
="$enable_pnm"
5534 if test "$enableval" = yes; then
5535 ac_cv_use_pnm
='wxUSE_PNM=yes'
5537 ac_cv_use_pnm
='wxUSE_PNM=no'
5542 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5543 if test "x$LINE" != x
; then
5544 eval "DEFAULT_$LINE"
5549 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5554 eval "$ac_cv_use_pnm"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_PNM" = yes; then
5560 echo "$ac_t""yes" 1>&6
5562 echo "$ac_t""no" 1>&6
5567 echo "saving argument cache $wx_arg_cache_file"
5568 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5572 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5573 echo "configure:5574: checking for toolkit" >&5
5575 if test "$wxUSE_GUI" = "yes"; then
5577 if test "$TOOLKIT_GIVEN" = 1; then
5578 for toolkit
in `echo $ALL_TOOLKITS`; do
5580 eval "value=\$${var}"
5581 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5584 for toolkit
in `echo $ALL_TOOLKITS`; do
5585 if test "$has_toolkit_in_cache" != 1; then
5586 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5588 var
=DEFAULT_wxUSE_
$toolkit
5590 eval "wxUSE_$toolkit=\$${var}"
5594 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5596 case "$NUM_TOOLKITS" in
5600 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5603 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5606 for toolkit
in `echo $ALL_TOOLKITS`; do
5608 eval "value=\$${var}"
5609 if test "x$value" != x
; then
5610 cache_var
=CACHE_
$toolkit
5611 eval "cache=\$${cache_var}"
5612 if test "$cache" = 1; then
5613 echo "$var=$value" >> ${wx_arg_cache_file}
5615 if test "$value" = 1; then
5616 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5622 echo "$ac_t""base only" 1>&6
5626 cat > confcache
<<\EOF
5627 # This file is a shell script that caches the results of configure
5628 # tests run on this system so they can be shared between configure
5629 # scripts and configure runs. It is not useful on other systems.
5630 # If it contains results you don't want to keep, you may remove or edit it.
5632 # By default, configure uses ./config.cache as the cache file,
5633 # creating it if it does not exist already. You can give configure
5634 # the --cache-file=FILE option to use a different cache file; that is
5635 # what configure does when it calls configure scripts in
5636 # subdirectories, so they share the cache.
5637 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5638 # config.status only pays attention to the cache file if you give it the
5639 # --recheck option to rerun configure.
5642 # The following way of writing the cache mishandles newlines in values,
5643 # but we know of no workaround that is simple, portable, and efficient.
5644 # So, don't put newlines in cache variables' values.
5645 # Ultrix sh set writes to stderr and can't be redirected directly,
5646 # and sets the high bit in the cache file unless we assign to the vars.
5648 case `(ac_space=' '; set) 2>&1` in
5650 # `set' does not quote correctly, so add quotes (double-quote substitution
5651 # turns \\\\ into \\, and sed turns \\ into \).
5653 -e "s/'/'\\\\''/g" \
5654 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5657 # `set' quotes correctly as required by POSIX, so do not add quotes.
5658 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5661 if cmp -s $cache_file confcache
; then
5664 if test -w $cache_file; then
5665 echo "updating cache $cache_file"
5666 cat confcache
> $cache_file
5668 echo "not updating unwritable cache $cache_file"
5674 if eval "test $host != $build"; then
5675 if eval "test $host_alias != NONE"; then
5679 RANLIB
=$host_alias-ranlib
5680 DLLTOOL
=$host_alias-dlltool
5683 STRIP
=$host_alias-strip
5687 # Extract the first word of "gcc", so it can be a program name with args.
5688 set dummy gcc
; ac_word
=$2
5689 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5690 echo "configure:5691: checking for $ac_word" >&5
5691 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5692 echo $ac_n "(cached) $ac_c" 1>&6
5694 if test -n "$CC"; then
5695 ac_cv_prog_CC
="$CC" # Let the user override the test.
5697 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5698 for ac_dir
in $PATH; do
5699 test -z "$ac_dir" && ac_dir
=.
5700 if test -f $ac_dir/$ac_word; then
5709 if test -n "$CC"; then
5710 echo "$ac_t""$CC" 1>&6
5712 echo "$ac_t""no" 1>&6
5715 if test -z "$CC"; then
5716 # Extract the first word of "cc", so it can be a program name with args.
5717 set dummy cc
; ac_word
=$2
5718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5719 echo "configure:5720: checking for $ac_word" >&5
5720 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5721 echo $ac_n "(cached) $ac_c" 1>&6
5723 if test -n "$CC"; then
5724 ac_cv_prog_CC
="$CC" # Let the user override the test.
5726 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5728 for ac_dir
in $PATH; do
5729 test -z "$ac_dir" && ac_dir
=.
5730 if test -f $ac_dir/$ac_word; then
5731 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5732 ac_prog_rejected
=yes
5740 if test $ac_prog_rejected = yes; then
5741 # We found a bogon in the path, so make sure we never use it.
5742 set dummy
$ac_cv_prog_CC
5744 if test $# -gt 0; then
5745 # We chose a different compiler from the bogus one.
5746 # However, it has the same basename, so the bogon will be chosen
5747 # first if we set CC to just the basename; use the full file name.
5749 set dummy
"$ac_dir/$ac_word" "$@"
5757 if test -n "$CC"; then
5758 echo "$ac_t""$CC" 1>&6
5760 echo "$ac_t""no" 1>&6
5763 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5766 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5767 echo "configure:5768: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5771 ac_cpp
='$CPP $CPPFLAGS'
5772 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5773 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5774 cross_compiling
=$ac_cv_prog_cc_cross
5776 cat > conftest.
$ac_ext <<EOF
5777 #line 5778 "configure"
5778 #include "confdefs.h"
5781 if { (eval echo configure
:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5782 ac_cv_prog_cc_works
=yes
5783 # If we can't run a trivial program, we are probably using a cross compiler.
5784 if (.
/conftest
; exit) 2>/dev
/null
; then
5785 ac_cv_prog_cc_cross
=no
5787 ac_cv_prog_cc_cross
=yes
5790 echo "configure: failed program was:" >&5
5791 cat conftest.
$ac_ext >&5
5792 ac_cv_prog_cc_works
=no
5796 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5797 if test $ac_cv_prog_cc_works = no
; then
5798 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5800 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5801 echo "configure:5802: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5802 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5803 cross_compiling
=$ac_cv_prog_cc_cross
5805 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5806 echo "configure:5807: checking whether we are using GNU C" >&5
5807 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5808 echo $ac_n "(cached) $ac_c" 1>&6
5810 cat > conftest.c
<<EOF
5815 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5822 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5824 if test $ac_cv_prog_gcc = yes; then
5826 ac_test_CFLAGS
="${CFLAGS+set}"
5827 ac_save_CFLAGS
="$CFLAGS"
5829 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5830 echo "configure:5831: checking whether ${CC-cc} accepts -g" >&5
5831 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5832 echo $ac_n "(cached) $ac_c" 1>&6
5834 echo 'void f(){}' > conftest.c
5835 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5844 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5845 if test "$ac_test_CFLAGS" = set; then
5846 CFLAGS
="$ac_save_CFLAGS"
5847 elif test $ac_cv_prog_cc_g = yes; then
5854 test "${CFLAGS+set}" = set || CFLAGS
="-g"
5858 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5860 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5861 echo "configure:5862: checking how to run the C preprocessor" >&5
5862 # On Suns, sometimes $CPP names a directory.
5863 if test -n "$CPP" && test -d "$CPP"; then
5866 if test -z "$CPP"; then
5867 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5868 echo $ac_n "(cached) $ac_c" 1>&6
5870 # This must be in double quotes, not single quotes, because CPP may get
5871 # substituted into the Makefile and "${CC-cc}" will confuse make.
5873 # On the NeXT, cc -E runs the code through the compiler's parser,
5874 # not just through cpp.
5875 cat > conftest.
$ac_ext <<EOF
5876 #line 5877 "configure"
5877 #include "confdefs.h"
5881 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5882 { (eval echo configure
:5883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5883 ac_err
=`grep -v '^ *+' conftest.out`
5884 if test -z "$ac_err"; then
5888 echo "configure: failed program was:" >&5
5889 cat conftest.
$ac_ext >&5
5891 CPP
="${CC-cc} -E -traditional-cpp"
5892 cat > conftest.
$ac_ext <<EOF
5893 #line 5894 "configure"
5894 #include "confdefs.h"
5898 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5899 { (eval echo configure
:5900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5900 ac_err
=`grep -v '^ *+' conftest.out`
5901 if test -z "$ac_err"; then
5905 echo "configure: failed program was:" >&5
5906 cat conftest.
$ac_ext >&5
5913 ac_cv_prog_CPP
="$CPP"
5915 CPP
="$ac_cv_prog_CPP"
5917 ac_cv_prog_CPP
="$CPP"
5919 echo "$ac_t""$CPP" 1>&6
5922 if test $ac_cv_prog_gcc = yes; then
5923 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5924 echo "configure:5925: checking whether ${CC-cc} needs -traditional" >&5
5925 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5926 echo $ac_n "(cached) $ac_c" 1>&6
5928 ac_pattern
="Autoconf.*'x'"
5929 cat > conftest.
$ac_ext <<EOF
5930 #line 5931 "configure"
5931 #include "confdefs.h"
5935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5936 egrep "$ac_pattern" >/dev
/null
2>&1; then
5938 ac_cv_prog_gcc_traditional
=yes
5941 ac_cv_prog_gcc_traditional
=no
5946 if test $ac_cv_prog_gcc_traditional = no
; then
5947 cat > conftest.
$ac_ext <<EOF
5948 #line 5949 "configure"
5949 #include "confdefs.h"
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 egrep "$ac_pattern" >/dev
/null
2>&1; then
5956 ac_cv_prog_gcc_traditional
=yes
5963 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5964 if test $ac_cv_prog_gcc_traditional = yes; then
5965 CC
="$CC -traditional"
5972 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5973 ac_cpp
='$CXXCPP $CPPFLAGS'
5974 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5975 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5976 cross_compiling
=$ac_cv_prog_cxx_cross
5979 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
5981 # Extract the first word of "$ac_prog", so it can be a program name with args.
5982 set dummy
$ac_prog; ac_word
=$2
5983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5984 echo "configure:5985: checking for $ac_word" >&5
5985 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
5986 echo $ac_n "(cached) $ac_c" 1>&6
5988 if test -n "$CXX"; then
5989 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5991 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5992 for ac_dir
in $PATH; do
5993 test -z "$ac_dir" && ac_dir
=.
5994 if test -f $ac_dir/$ac_word; then
5995 ac_cv_prog_CXX
="$ac_prog"
6002 CXX
="$ac_cv_prog_CXX"
6003 if test -n "$CXX"; then
6004 echo "$ac_t""$CXX" 1>&6
6006 echo "$ac_t""no" 1>&6
6009 test -n "$CXX" && break
6011 test -n "$CXX" || CXX
="gcc"
6014 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6015 echo "configure:6016: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6019 ac_cpp
='$CXXCPP $CPPFLAGS'
6020 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6021 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6022 cross_compiling
=$ac_cv_prog_cxx_cross
6024 cat > conftest.
$ac_ext <<EOF
6025 #line 6026 "configure"
6026 #include "confdefs.h"
6029 if { (eval echo configure
:6030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6030 ac_cv_prog_cxx_works
=yes
6031 # If we can't run a trivial program, we are probably using a cross compiler.
6032 if (.
/conftest
; exit) 2>/dev
/null
; then
6033 ac_cv_prog_cxx_cross
=no
6035 ac_cv_prog_cxx_cross
=yes
6038 echo "configure: failed program was:" >&5
6039 cat conftest.
$ac_ext >&5
6040 ac_cv_prog_cxx_works
=no
6044 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6045 if test $ac_cv_prog_cxx_works = no
; then
6046 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6048 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6049 echo "configure:6050: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6050 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6051 cross_compiling
=$ac_cv_prog_cxx_cross
6053 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6054 echo "configure:6055: checking whether we are using GNU C++" >&5
6055 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6056 echo $ac_n "(cached) $ac_c" 1>&6
6058 cat > conftest.C
<<EOF
6063 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6070 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6072 if test $ac_cv_prog_gxx = yes; then
6074 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6075 ac_save_CXXFLAGS
="$CXXFLAGS"
6077 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6078 echo "configure:6079: checking whether ${CXX-g++} accepts -g" >&5
6079 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6080 echo $ac_n "(cached) $ac_c" 1>&6
6082 echo 'void f(){}' > conftest.cc
6083 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6084 ac_cv_prog_cxx_g
=yes
6092 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6093 if test "$ac_test_CXXFLAGS" = set; then
6094 CXXFLAGS
="$ac_save_CXXFLAGS"
6095 elif test $ac_cv_prog_cxx_g = yes; then
6102 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
6106 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6107 echo "configure:6108: checking how to run the C++ preprocessor" >&5
6108 if test -z "$CXXCPP"; then
6109 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6110 echo $ac_n "(cached) $ac_c" 1>&6
6113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6114 ac_cpp
='$CXXCPP $CPPFLAGS'
6115 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6116 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6117 cross_compiling
=$ac_cv_prog_cxx_cross
6118 CXXCPP
="${CXX-g++} -E"
6119 cat > conftest.
$ac_ext <<EOF
6120 #line 6121 "configure"
6121 #include "confdefs.h"
6124 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6125 { (eval echo configure
:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6126 ac_err
=`grep -v '^ *+' conftest.out`
6127 if test -z "$ac_err"; then
6131 echo "configure: failed program was:" >&5
6132 cat conftest.
$ac_ext >&5
6137 ac_cv_prog_CXXCPP
="$CXXCPP"
6140 CXXCPP
="$ac_cv_prog_CXXCPP"
6141 echo "$ac_t""$CXXCPP" 1>&6
6144 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6148 ac_cpp
='$CPP $CPPFLAGS'
6149 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6150 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6151 cross_compiling
=$ac_cv_prog_cc_cross
6154 # Extract the first word of "ranlib", so it can be a program name with args.
6155 set dummy ranlib
; ac_word
=$2
6156 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6157 echo "configure:6158: checking for $ac_word" >&5
6158 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6159 echo $ac_n "(cached) $ac_c" 1>&6
6161 if test -n "$RANLIB"; then
6162 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6164 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6165 for ac_dir
in $PATH; do
6166 test -z "$ac_dir" && ac_dir
=.
6167 if test -f $ac_dir/$ac_word; then
6168 ac_cv_prog_RANLIB
="ranlib"
6173 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6176 RANLIB
="$ac_cv_prog_RANLIB"
6177 if test -n "$RANLIB"; then
6178 echo "$ac_t""$RANLIB" 1>&6
6180 echo "$ac_t""no" 1>&6
6184 # Extract the first word of "ar", so it can be a program name with args.
6185 set dummy
ar; ac_word
=$2
6186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6187 echo "configure:6188: checking for $ac_word" >&5
6188 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6189 echo $ac_n "(cached) $ac_c" 1>&6
6191 if test -n "$AR"; then
6192 ac_cv_prog_AR
="$AR" # Let the user override the test.
6194 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6195 for ac_dir
in $PATH; do
6196 test -z "$ac_dir" && ac_dir
=.
6197 if test -f $ac_dir/$ac_word; then
6203 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6207 if test -n "$AR"; then
6208 echo "$ac_t""$AR" 1>&6
6210 echo "$ac_t""no" 1>&6
6214 # Find a good install program. We prefer a C program (faster),
6215 # so one script is as good as another. But avoid the broken or
6216 # incompatible versions:
6217 # SysV /etc/install, /usr/sbin/install
6218 # SunOS /usr/etc/install
6219 # IRIX /sbin/install
6221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6223 # ./install, which can be erroneously created by make from ./install.sh.
6224 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6225 echo "configure:6226: checking for a BSD compatible install" >&5
6226 if test -z "$INSTALL"; then
6227 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6228 echo $ac_n "(cached) $ac_c" 1>&6
6230 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
6231 for ac_dir
in $PATH; do
6232 # Account for people who put trailing slashes in PATH elements.
6234 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6236 # OSF1 and SCO ODT 3.0 have their own names for install.
6237 for ac_prog
in ginstall installbsd scoinst
install; do
6238 if test -f $ac_dir/$ac_prog; then
6239 if test $ac_prog = install &&
6240 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6241 # AIX install. It has an incompatible calling convention.
6242 # OSF/1 installbsd also uses dspmsg, but is usable.
6245 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6256 if test "${ac_cv_path_install+set}" = set; then
6257 INSTALL
="$ac_cv_path_install"
6259 # As a last resort, use the slow shell script. We don't cache a
6260 # path for INSTALL within a source directory, because that will
6261 # break other packages using the cache if that directory is
6262 # removed, or if the path is relative.
6263 INSTALL
="$ac_install_sh"
6266 echo "$ac_t""$INSTALL" 1>&6
6268 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6269 # It thinks the first close brace ends the variable substitution.
6270 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6272 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6275 # Extract the first word of "strip", so it can be a program name with args.
6276 set dummy strip
; ac_word
=$2
6277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6278 echo "configure:6279: checking for $ac_word" >&5
6279 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6280 echo $ac_n "(cached) $ac_c" 1>&6
6282 if test -n "$STRIP"; then
6283 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6285 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6286 for ac_dir
in $PATH; do
6287 test -z "$ac_dir" && ac_dir
=.
6288 if test -f $ac_dir/$ac_word; then
6289 ac_cv_prog_STRIP
="strip"
6294 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6297 STRIP
="$ac_cv_prog_STRIP"
6298 if test -n "$STRIP"; then
6299 echo "$ac_t""$STRIP" 1>&6
6301 echo "$ac_t""no" 1>&6
6305 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6306 echo "configure:6307: checking "make for VPATH support
"" >&5
6307 cat - << EOF > confMake
6313 if test ! -d sub
; then
6316 echo dummy
> sub
/file
6317 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6319 rm -f sub
/file check final_file confMake
6321 if test "$RESULT" = 0; then
6322 echo "$ac_t""yes" 1>&6
6324 echo "$ac_t""no" 1>&6
6325 { echo "configure: error: You need a make-utility that is able to use the variable
6327 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6330 for ac_prog
in 'bison -y' byacc
6332 # Extract the first word of "$ac_prog", so it can be a program name with args.
6333 set dummy
$ac_prog; ac_word
=$2
6334 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6335 echo "configure:6336: checking for $ac_word" >&5
6336 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6337 echo $ac_n "(cached) $ac_c" 1>&6
6339 if test -n "$YACC"; then
6340 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6342 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6343 for ac_dir
in $PATH; do
6344 test -z "$ac_dir" && ac_dir
=.
6345 if test -f $ac_dir/$ac_word; then
6346 ac_cv_prog_YACC
="$ac_prog"
6353 YACC
="$ac_cv_prog_YACC"
6354 if test -n "$YACC"; then
6355 echo "$ac_t""$YACC" 1>&6
6357 echo "$ac_t""no" 1>&6
6360 test -n "$YACC" && break
6362 test -n "$YACC" || YACC
="yacc"
6365 # Extract the first word of "flex", so it can be a program name with args.
6366 set dummy flex
; ac_word
=$2
6367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6368 echo "configure:6369: checking for $ac_word" >&5
6369 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6370 echo $ac_n "(cached) $ac_c" 1>&6
6372 if test -n "$LEX"; then
6373 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6376 for ac_dir
in $PATH; do
6377 test -z "$ac_dir" && ac_dir
=.
6378 if test -f $ac_dir/$ac_word; then
6379 ac_cv_prog_LEX
="flex"
6384 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6387 LEX
="$ac_cv_prog_LEX"
6388 if test -n "$LEX"; then
6389 echo "$ac_t""$LEX" 1>&6
6391 echo "$ac_t""no" 1>&6
6394 if test -z "$LEXLIB"
6400 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6401 echo "configure:6402: checking for yywrap in -l$ac_lib" >&5
6402 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6404 echo $ac_n "(cached) $ac_c" 1>&6
6406 ac_save_LIBS
="$LIBS"
6407 LIBS
="-l$ac_lib $LIBS"
6408 cat > conftest.
$ac_ext <<EOF
6409 #line 6410 "configure"
6410 #include "confdefs.h"
6411 /* Override any gcc2 internal prototype to avoid an error. */
6412 /* We use char because int might match the return type of a gcc2
6413 builtin and then its argument prototype would still apply. */
6420 if { (eval echo configure
:6421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6422 eval "ac_cv_lib_$ac_lib_var=yes"
6424 echo "configure: failed program was:" >&5
6425 cat conftest.
$ac_ext >&5
6427 eval "ac_cv_lib_$ac_lib_var=no"
6430 LIBS
="$ac_save_LIBS"
6433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6434 echo "$ac_t""yes" 1>&6
6437 echo "$ac_t""no" 1>&6
6443 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6444 echo "configure:6445: checking whether ln -s works" >&5
6445 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6446 echo $ac_n "(cached) $ac_c" 1>&6
6449 if ln -s X conftestdata
2>/dev
/null
6452 ac_cv_prog_LN_S
="ln -s"
6457 LN_S
="$ac_cv_prog_LN_S"
6458 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6459 echo "$ac_t""yes" 1>&6
6461 echo "$ac_t""no" 1>&6
6467 /usr/Motif-1.2/include \
6468 /usr/Motif-2.1/include \
6470 /usr/include/Motif1.2 \
6471 /opt/xpm/include/X11 \
6472 /opt/GBxpm/include/ \
6473 /opt/GBxpm/X11/include/ \
6475 /usr/Motif1.2/include \
6479 /usr/X11R6/include \
6480 /usr/X11R5/include \
6481 /usr/X11R4/include \
6487 /usr/include/X11R6 \
6488 /usr/include/X11R5 \
6489 /usr/include/X11R4 \
6491 /usr/local/X11R6/include \
6492 /usr/local/X11R5/include \
6493 /usr/local/X11R4/include \
6495 /usr/local/include/X11R6 \
6496 /usr/local/include/X11R5 \
6497 /usr/local/include/X11R4 \
6501 /usr/local/X11/include \
6502 /usr/local/include/X11 \
6506 /usr/XFree86/include/X11 \
6509 /usr/local/include \
6512 /usr/local/include/gtk \
6514 /usr/local/include/glib \
6517 /usr/local/include/qt \
6519 /usr/include/windows \
6521 /usr/local/include/wine \
6523 /usr/unsupported/include \
6524 /usr/athena/include \
6525 /usr/local/x11r5/include \
6526 /usr/lpp/Xamples/include \
6528 /usr/openwin/include \
6529 /usr/openwin/share/include \
6532 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6535 cat > confcache
<<\EOF
6536 # This file is a shell script that caches the results of configure
6537 # tests run on this system so they can be shared between configure
6538 # scripts and configure runs. It is not useful on other systems.
6539 # If it contains results you don't want to keep, you may remove or edit it.
6541 # By default, configure uses ./config.cache as the cache file,
6542 # creating it if it does not exist already. You can give configure
6543 # the --cache-file=FILE option to use a different cache file; that is
6544 # what configure does when it calls configure scripts in
6545 # subdirectories, so they share the cache.
6546 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6547 # config.status only pays attention to the cache file if you give it the
6548 # --recheck option to rerun configure.
6551 # The following way of writing the cache mishandles newlines in values,
6552 # but we know of no workaround that is simple, portable, and efficient.
6553 # So, don't put newlines in cache variables' values.
6554 # Ultrix sh set writes to stderr and can't be redirected directly,
6555 # and sets the high bit in the cache file unless we assign to the vars.
6557 case `(ac_space=' '; set) 2>&1` in
6559 # `set' does not quote correctly, so add quotes (double-quote substitution
6560 # turns \\\\ into \\, and sed turns \\ into \).
6562 -e "s/'/'\\\\''/g" \
6563 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6566 # `set' quotes correctly as required by POSIX, so do not add quotes.
6567 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6570 if cmp -s $cache_file confcache
; then
6573 if test -w $cache_file; then
6574 echo "updating cache $cache_file"
6575 cat confcache
> $cache_file
6577 echo "not updating unwritable cache $cache_file"
6584 if test "$wxUSE_GUI" = "yes"; then
6602 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6603 if test "$cross_compiling" = "yes" ; then
6604 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6606 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6607 echo "configure:6608: checking for Windows headers" >&5
6610 for ac_dir
in $SEARCH_INCLUDE;
6612 if test -f "$ac_dir/windows.h"; then
6613 ac_find_includes
=$ac_dir
6618 if test "$ac_find_includes" != "" ; then
6619 echo "$ac_t""found $ac_find_includes" 1>&6
6620 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6622 echo "$ac_t""no" 1>&6
6623 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6627 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6628 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6632 GUIOBJS
="\$(MSW_GUIOBJS)"
6633 GUIHEADERS
="\$(MSW_HEADERS)"
6634 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6635 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6641 if test "$wxUSE_GTK" = 1; then
6643 if test x
$gtk_config_exec_prefix != x
; then
6644 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6645 if test x
${GTK_CONFIG+set} != xset
; then
6646 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6649 if test x
$gtk_config_prefix != x
; then
6650 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6651 if test x
${GTK_CONFIG+set} != xset
; then
6652 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6656 # Extract the first word of "gtk-config", so it can be a program name with args.
6657 set dummy gtk
-config; ac_word
=$2
6658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6659 echo "configure:6660: checking for $ac_word" >&5
6660 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6661 echo $ac_n "(cached) $ac_c" 1>&6
6663 case "$GTK_CONFIG" in
6665 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6668 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6669 for ac_dir
in $PATH; do
6670 test -z "$ac_dir" && ac_dir
=.
6671 if test -f $ac_dir/$ac_word; then
6672 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6677 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6681 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6682 if test -n "$GTK_CONFIG"; then
6683 echo "$ac_t""$GTK_CONFIG" 1>&6
6685 echo "$ac_t""no" 1>&6
6688 min_gtk_version
=1.2.0
6689 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6690 echo "configure:6691: checking for GTK - version >= $min_gtk_version" >&5
6692 if test "$GTK_CONFIG" != "no" ; then
6693 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6694 GTK_LIBS
=`$GTK_CONFIG --libs`
6695 ac_save_CFLAGS
="$CFLAGS"
6696 ac_save_LIBS
="$LIBS"
6697 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6698 LIBS
="$LIBS $GTK_LIBS"
6699 if test "$cross_compiling" = yes; then
6700 echo $ac_n "cross compiling; assumed OK... $ac_c"
6702 cat > conftest.
$ac_ext <<EOF
6703 #line 6704 "configure"
6704 #include "confdefs.h"
6706 #include <gtk/gtk.h>
6712 int major, minor, micro;
6714 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6715 printf("%s, bad version string\n", "$min_gtk_version");
6719 if (gtk_minor_version == 1) return FALSE;
6721 return !((gtk_major_version > major) ||
6722 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6723 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6727 if { (eval echo configure
:6728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6731 echo "configure: failed program was:" >&5
6732 cat conftest.
$ac_ext >&5
6739 CFLAGS
="$ac_save_CFLAGS"
6740 LIBS
="$ac_save_LIBS"
6744 if test "x$no_gtk" = x
; then
6745 echo "$ac_t""yes" 1>&6
6748 echo "$ac_t""no" 1>&6
6756 if test "$WXGTK12" != 1; then
6758 if test x
$gtk_config_exec_prefix != x
; then
6759 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6760 if test x
${GTK_CONFIG+set} != xset
; then
6761 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6764 if test x
$gtk_config_prefix != x
; then
6765 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6766 if test x
${GTK_CONFIG+set} != xset
; then
6767 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6771 # Extract the first word of "gtk-config", so it can be a program name with args.
6772 set dummy gtk
-config; ac_word
=$2
6773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6774 echo "configure:6775: checking for $ac_word" >&5
6775 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6776 echo $ac_n "(cached) $ac_c" 1>&6
6778 case "$GTK_CONFIG" in
6780 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6784 for ac_dir
in $PATH; do
6785 test -z "$ac_dir" && ac_dir
=.
6786 if test -f $ac_dir/$ac_word; then
6787 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6792 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6796 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6797 if test -n "$GTK_CONFIG"; then
6798 echo "$ac_t""$GTK_CONFIG" 1>&6
6800 echo "$ac_t""no" 1>&6
6803 min_gtk_version
=1.0.0
6804 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6805 echo "configure:6806: checking for GTK - version >= $min_gtk_version" >&5
6807 if test "$GTK_CONFIG" != "no" ; then
6808 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6809 GTK_LIBS
=`$GTK_CONFIG --libs`
6810 ac_save_CFLAGS
="$CFLAGS"
6811 ac_save_LIBS
="$LIBS"
6812 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6813 LIBS
="$LIBS $GTK_LIBS"
6814 if test "$cross_compiling" = yes; then
6815 echo $ac_n "cross compiling; assumed OK... $ac_c"
6817 cat > conftest.
$ac_ext <<EOF
6818 #line 6819 "configure"
6819 #include "confdefs.h"
6821 #include <gtk/gtk.h>
6827 int major, minor, micro;
6829 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6830 printf("%s, bad version string\n", "$min_gtk_version");
6834 if (gtk_minor_version == 1) return FALSE;
6836 return !((gtk_major_version > major) ||
6837 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6838 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6842 if { (eval echo configure
:6843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6846 echo "configure: failed program was:" >&5
6847 cat conftest.
$ac_ext >&5
6854 CFLAGS
="$ac_save_CFLAGS"
6855 LIBS
="$ac_save_LIBS"
6859 if test "x$no_gtk" = x
; then
6860 echo "$ac_t""yes" 1>&6
6863 echo "$ac_t""no" 1>&6
6866 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6873 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6874 GUI_TK_LIBRARY
="$GTK_LIBS"
6877 GUIOBJS
="\$(GTK_GUIOBJS)"
6878 GUIHEADERS
="\$(GTK_HEADERS)"
6879 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6880 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6881 GUIDEPS
="\$(GTK_GUIDEPS)"
6882 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6883 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6884 UNIXOBJS
="\$(UNIX_OBJS)"
6888 if test "$wxUSE_WINE" = 1; then
6889 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6890 echo "configure:6891: checking for WINE includes" >&5
6893 for ac_dir
in $SEARCH_INCLUDE;
6895 if test -f "$ac_dir/windows.h"; then
6896 ac_find_includes
=$ac_dir
6901 if test "$ac_find_includes" != "" ; then
6902 echo "$ac_t""found $ac_find_includes" 1>&6
6903 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6905 echo "$ac_t""no" 1>&6
6906 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6910 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6911 echo "configure:6912: checking for Xpm library" >&5
6914 for ac_dir
in $SEARCH_LIB;
6916 for ac_extension
in a so sl
; do
6917 if test -f "$ac_dir/libXpm.$ac_extension"; then
6918 ac_find_libraries
=$ac_dir
6924 if test "$ac_find_libraries" != "" ; then
6925 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6927 cat >> confdefs.h
<<\EOF
6928 #define wxHAVE_LIB_XPM 1
6931 echo "$ac_t""found at $ac_find_libraries" 1>&6
6933 echo "$ac_t""no" 1>&6
6934 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6938 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6939 echo "configure:6940: checking for Mesa library" >&5
6942 for ac_dir
in $SEARCH_LIB;
6944 for ac_extension
in a so sl
; do
6945 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6946 ac_find_libraries
=$ac_dir
6952 if test "$ac_find_libraries" != "" ; then
6953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6954 MESA_LINK
="-lMesaGL"
6955 echo "$ac_t""found at $ac_find_libraries" 1>&6
6957 { echo "configure: error: no" 1>&2; exit 1; }
6960 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6961 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6965 GUIHEADERS
="\$(MSW_HEADERS)"
6966 GUIOBJS
="\$(MSW_GUIOBJS)"
6967 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6968 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6969 GUIDEPS
="\$(MSW_GUIDEPS)"
6970 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6971 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6972 UNIXOBJS
="\$(UNIX_OBJS)"
6976 if test "$wxUSE_MOTIF" = 1; then
6977 # If we find X, set shell vars x_includes and x_libraries to the
6978 # paths, otherwise set no_x=yes.
6979 # Uses ac_ vars as temps to allow command line to override cache and checks.
6980 # --without-x overrides everything else, but does not touch the cache.
6981 echo $ac_n "checking for X""... $ac_c" 1>&6
6982 echo "configure:6983: checking for X" >&5
6984 # Check whether --with-x or --without-x was given.
6985 if test "${with_x+set}" = set; then
6990 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6991 if test "x$with_x" = xno
; then
6992 # The user explicitly disabled X.
6995 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6996 # Both variables are already set.
6999 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7000 echo $ac_n "(cached) $ac_c" 1>&6
7002 # One or both of the vars are not set, and there is no cached value.
7003 ac_x_includes
=NO ac_x_libraries
=NO
7005 if mkdir conftestdir
; then
7007 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7008 cat > Imakefile
<<'EOF'
7010 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7012 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7014 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7015 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7016 for ac_extension
in a so sl
; do
7017 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7018 test -f $ac_im_libdir/libX11.
$ac_extension; then
7019 ac_im_usrlibdir
=$ac_im_libdir; break
7022 # Screen out bogus values from the imake configuration. They are
7023 # bogus both because they are the default anyway, and because
7024 # using them would break gcc on systems where it needs fixed includes.
7025 case "$ac_im_incroot" in
7027 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7029 case "$ac_im_usrlibdir" in
7031 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7038 if test "$ac_x_includes" = NO
; then
7039 # Guess where to find include files, by looking for this one X11 .h file.
7040 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7042 # First, try using that file with no special directory specified.
7043 cat > conftest.
$ac_ext <<EOF
7044 #line 7045 "configure"
7045 #include "confdefs.h"
7046 #include <$x_direct_test_include>
7048 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7049 { (eval echo configure
:7050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7050 ac_err
=`grep -v '^ *+' conftest.out`
7051 if test -z "$ac_err"; then
7053 # We can compile using X headers with no special include directory.
7057 echo "configure: failed program was:" >&5
7058 cat conftest.
$ac_ext >&5
7060 # Look for the header file in a standard set of common directories.
7061 # Check X11 before X11Rn because it is often a symlink to the current release.
7064 /usr
/X
11R
6/include \
7065 /usr
/X
11R
5/include \
7066 /usr
/X
11R
4/include \
7069 /usr
/include
/X11R6 \
7070 /usr
/include
/X11R5 \
7071 /usr
/include
/X11R4 \
7073 /usr
/local
/X
11/include \
7074 /usr
/local
/X
11R
6/include \
7075 /usr
/local
/X
11R
5/include \
7076 /usr
/local
/X
11R
4/include \
7078 /usr
/local
/include
/X11 \
7079 /usr
/local
/include
/X11R6 \
7080 /usr
/local
/include
/X11R5 \
7081 /usr
/local
/include
/X11R4 \
7085 /usr
/XFree
86/include
/X11 \
7088 /usr
/local
/include \
7089 /usr
/unsupported
/include \
7090 /usr
/athena
/include \
7091 /usr
/local
/x
11r
5/include \
7092 /usr
/lpp
/Xamples
/include \
7094 /usr
/openwin
/include \
7095 /usr
/openwin
/share
/include \
7098 if test -r "$ac_dir/$x_direct_test_include"; then
7099 ac_x_includes
=$ac_dir
7105 fi # $ac_x_includes = NO
7107 if test "$ac_x_libraries" = NO
; then
7108 # Check for the libraries.
7110 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7111 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7113 # See if we find them without any special options.
7114 # Don't add to $LIBS permanently.
7115 ac_save_LIBS
="$LIBS"
7116 LIBS
="-l$x_direct_test_library $LIBS"
7117 cat > conftest.
$ac_ext <<EOF
7118 #line 7119 "configure"
7119 #include "confdefs.h"
7122 ${x_direct_test_function}()
7125 if { (eval echo configure
:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7127 LIBS
="$ac_save_LIBS"
7128 # We can link X programs with no special library path.
7131 echo "configure: failed program was:" >&5
7132 cat conftest.
$ac_ext >&5
7134 LIBS
="$ac_save_LIBS"
7135 # First see if replacing the include by lib works.
7136 # Check X11 before X11Rn because it is often a symlink to the current release.
7137 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7148 /usr
/local
/X
11/lib \
7149 /usr
/local
/X
11R
6/lib \
7150 /usr
/local
/X
11R
5/lib \
7151 /usr
/local
/X
11R
4/lib \
7153 /usr
/local
/lib
/X11 \
7154 /usr
/local
/lib
/X11R6 \
7155 /usr
/local
/lib
/X11R5 \
7156 /usr
/local
/lib
/X11R4 \
7160 /usr
/XFree
86/lib
/X11 \
7164 /usr
/unsupported
/lib \
7166 /usr
/local
/x
11r
5/lib \
7167 /usr
/lpp
/Xamples
/lib \
7171 /usr
/openwin
/share
/lib \
7174 for ac_extension
in a so sl
; do
7175 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7176 ac_x_libraries
=$ac_dir
7183 fi # $ac_x_libraries = NO
7185 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7186 # Didn't find X anywhere. Cache the known absence of X.
7187 ac_cv_have_x
="have_x=no"
7189 # Record where we found X for the cache.
7190 ac_cv_have_x
="have_x=yes \
7191 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7195 eval "$ac_cv_have_x"
7198 if test "$have_x" != yes; then
7199 echo "$ac_t""$have_x" 1>&6
7202 # If each of the values was on the command line, it overrides each guess.
7203 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7204 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7205 # Update the cache value to reflect the command line values.
7206 ac_cv_have_x
="have_x=yes \
7207 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7208 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7211 if test "$no_x" = yes; then
7212 # Not all programs may use this symbol, but it does not hurt to define it.
7213 cat >> confdefs.h
<<\EOF
7214 #define X_DISPLAY_MISSING 1
7217 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7219 if test -n "$x_includes"; then
7220 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7223 # It would also be nice to do this for all -L options, not just this one.
7224 if test -n "$x_libraries"; then
7225 X_LIBS
="$X_LIBS -L$x_libraries"
7226 # For Solaris; some versions of Sun CC require a space after -R and
7227 # others require no space. Words are not sufficient . . . .
7228 case "`(uname -sr) 2>/dev/null`" in
7230 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7231 echo "configure:7232: checking whether -R must be followed by a space" >&5
7232 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7233 cat > conftest.
$ac_ext <<EOF
7234 #line 7235 "configure"
7235 #include "confdefs.h"
7241 if { (eval echo configure
:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7245 echo "configure: failed program was:" >&5
7246 cat conftest.
$ac_ext >&5
7251 if test $ac_R_nospace = yes; then
7252 echo "$ac_t""no" 1>&6
7253 X_LIBS
="$X_LIBS -R$x_libraries"
7255 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7256 cat > conftest.
$ac_ext <<EOF
7257 #line 7258 "configure"
7258 #include "confdefs.h"
7264 if { (eval echo configure
:7265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7268 echo "configure: failed program was:" >&5
7269 cat conftest.
$ac_ext >&5
7274 if test $ac_R_space = yes; then
7275 echo "$ac_t""yes" 1>&6
7276 X_LIBS
="$X_LIBS -R $x_libraries"
7278 echo "$ac_t""neither works" 1>&6
7281 LIBS
="$ac_xsave_LIBS"
7285 # Check for system-dependent libraries X programs must link with.
7286 # Do this before checking for the system-independent R6 libraries
7287 # (-lICE), since we may need -lsocket or whatever for X linking.
7289 if test "$ISC" = yes; then
7290 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7292 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7293 # libraries were built with DECnet support. And karl@cs.umb.edu says
7294 # the Alpha needs dnet_stub (dnet does not exist).
7295 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7296 echo "configure:7297: checking for dnet_ntoa in -ldnet" >&5
7297 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7299 echo $ac_n "(cached) $ac_c" 1>&6
7301 ac_save_LIBS
="$LIBS"
7303 cat > conftest.
$ac_ext <<EOF
7304 #line 7305 "configure"
7305 #include "confdefs.h"
7306 /* Override any gcc2 internal prototype to avoid an error. */
7307 /* We use char because int might match the return type of a gcc2
7308 builtin and then its argument prototype would still apply. */
7315 if { (eval echo configure
:7316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7317 eval "ac_cv_lib_$ac_lib_var=yes"
7319 echo "configure: failed program was:" >&5
7320 cat conftest.
$ac_ext >&5
7322 eval "ac_cv_lib_$ac_lib_var=no"
7325 LIBS
="$ac_save_LIBS"
7328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7329 echo "$ac_t""yes" 1>&6
7330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7332 echo "$ac_t""no" 1>&6
7335 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7336 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7337 echo "configure:7338: checking for dnet_ntoa in -ldnet_stub" >&5
7338 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7340 echo $ac_n "(cached) $ac_c" 1>&6
7342 ac_save_LIBS
="$LIBS"
7343 LIBS
="-ldnet_stub $LIBS"
7344 cat > conftest.
$ac_ext <<EOF
7345 #line 7346 "configure"
7346 #include "confdefs.h"
7347 /* Override any gcc2 internal prototype to avoid an error. */
7348 /* We use char because int might match the return type of a gcc2
7349 builtin and then its argument prototype would still apply. */
7356 if { (eval echo configure
:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7358 eval "ac_cv_lib_$ac_lib_var=yes"
7360 echo "configure: failed program was:" >&5
7361 cat conftest.
$ac_ext >&5
7363 eval "ac_cv_lib_$ac_lib_var=no"
7366 LIBS
="$ac_save_LIBS"
7369 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7370 echo "$ac_t""yes" 1>&6
7371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7373 echo "$ac_t""no" 1>&6
7378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7379 # to get the SysV transport functions.
7380 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7382 # The nsl library prevents programs from opening the X display
7383 # on Irix 5.2, according to dickey@clark.net.
7384 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7385 echo "configure:7386: checking for gethostbyname" >&5
7386 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7387 echo $ac_n "(cached) $ac_c" 1>&6
7389 cat > conftest.
$ac_ext <<EOF
7390 #line 7391 "configure"
7391 #include "confdefs.h"
7392 /* System header to define __stub macros and hopefully few prototypes,
7393 which can conflict with char gethostbyname(); below. */
7395 /* Override any gcc2 internal prototype to avoid an error. */
7396 /* We use char because int might match the return type of a gcc2
7397 builtin and then its argument prototype would still apply. */
7398 char gethostbyname();
7402 /* The GNU C library defines this for functions which it implements
7403 to always fail with ENOSYS. Some functions are actually named
7404 something starting with __ and the normal name is an alias. */
7405 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7413 if { (eval echo configure
:7414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7415 eval "ac_cv_func_gethostbyname=yes"
7417 echo "configure: failed program was:" >&5
7418 cat conftest.
$ac_ext >&5
7420 eval "ac_cv_func_gethostbyname=no"
7425 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7426 echo "$ac_t""yes" 1>&6
7429 echo "$ac_t""no" 1>&6
7432 if test $ac_cv_func_gethostbyname = no
; then
7433 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7434 echo "configure:7435: checking for gethostbyname in -lnsl" >&5
7435 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7436 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7437 echo $ac_n "(cached) $ac_c" 1>&6
7439 ac_save_LIBS
="$LIBS"
7441 cat > conftest.
$ac_ext <<EOF
7442 #line 7443 "configure"
7443 #include "confdefs.h"
7444 /* Override any gcc2 internal prototype to avoid an error. */
7445 /* We use char because int might match the return type of a gcc2
7446 builtin and then its argument prototype would still apply. */
7447 char gethostbyname();
7453 if { (eval echo configure
:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7455 eval "ac_cv_lib_$ac_lib_var=yes"
7457 echo "configure: failed program was:" >&5
7458 cat conftest.
$ac_ext >&5
7460 eval "ac_cv_lib_$ac_lib_var=no"
7463 LIBS
="$ac_save_LIBS"
7466 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7467 echo "$ac_t""yes" 1>&6
7468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7470 echo "$ac_t""no" 1>&6
7475 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7476 # socket/setsockopt and other routines are undefined under SCO ODT
7477 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7478 # on later versions), says simon@lia.di.epfl.ch: it contains
7479 # gethostby* variants that don't use the nameserver (or something).
7480 # -lsocket must be given before -lnsl if both are needed.
7481 # We assume that if connect needs -lnsl, so does gethostbyname.
7482 echo $ac_n "checking for connect""... $ac_c" 1>&6
7483 echo "configure:7484: checking for connect" >&5
7484 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7485 echo $ac_n "(cached) $ac_c" 1>&6
7487 cat > conftest.
$ac_ext <<EOF
7488 #line 7489 "configure"
7489 #include "confdefs.h"
7490 /* System header to define __stub macros and hopefully few prototypes,
7491 which can conflict with char connect(); below. */
7493 /* Override any gcc2 internal prototype to avoid an error. */
7494 /* We use char because int might match the return type of a gcc2
7495 builtin and then its argument prototype would still apply. */
7500 /* The GNU C library defines this for functions which it implements
7501 to always fail with ENOSYS. Some functions are actually named
7502 something starting with __ and the normal name is an alias. */
7503 #if defined (__stub_connect) || defined (__stub___connect)
7511 if { (eval echo configure
:7512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7513 eval "ac_cv_func_connect=yes"
7515 echo "configure: failed program was:" >&5
7516 cat conftest.
$ac_ext >&5
7518 eval "ac_cv_func_connect=no"
7523 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7524 echo "$ac_t""yes" 1>&6
7527 echo "$ac_t""no" 1>&6
7530 if test $ac_cv_func_connect = no
; then
7531 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7532 echo "configure:7533: checking for connect in -lsocket" >&5
7533 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7535 echo $ac_n "(cached) $ac_c" 1>&6
7537 ac_save_LIBS
="$LIBS"
7538 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7539 cat > conftest.
$ac_ext <<EOF
7540 #line 7541 "configure"
7541 #include "confdefs.h"
7542 /* Override any gcc2 internal prototype to avoid an error. */
7543 /* We use char because int might match the return type of a gcc2
7544 builtin and then its argument prototype would still apply. */
7551 if { (eval echo configure
:7552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7553 eval "ac_cv_lib_$ac_lib_var=yes"
7555 echo "configure: failed program was:" >&5
7556 cat conftest.
$ac_ext >&5
7558 eval "ac_cv_lib_$ac_lib_var=no"
7561 LIBS
="$ac_save_LIBS"
7564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7565 echo "$ac_t""yes" 1>&6
7566 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7568 echo "$ac_t""no" 1>&6
7573 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7574 echo $ac_n "checking for remove""... $ac_c" 1>&6
7575 echo "configure:7576: checking for remove" >&5
7576 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7577 echo $ac_n "(cached) $ac_c" 1>&6
7579 cat > conftest.
$ac_ext <<EOF
7580 #line 7581 "configure"
7581 #include "confdefs.h"
7582 /* System header to define __stub macros and hopefully few prototypes,
7583 which can conflict with char remove(); below. */
7585 /* Override any gcc2 internal prototype to avoid an error. */
7586 /* We use char because int might match the return type of a gcc2
7587 builtin and then its argument prototype would still apply. */
7592 /* The GNU C library defines this for functions which it implements
7593 to always fail with ENOSYS. Some functions are actually named
7594 something starting with __ and the normal name is an alias. */
7595 #if defined (__stub_remove) || defined (__stub___remove)
7603 if { (eval echo configure
:7604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7605 eval "ac_cv_func_remove=yes"
7607 echo "configure: failed program was:" >&5
7608 cat conftest.
$ac_ext >&5
7610 eval "ac_cv_func_remove=no"
7615 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7616 echo "$ac_t""yes" 1>&6
7619 echo "$ac_t""no" 1>&6
7622 if test $ac_cv_func_remove = no
; then
7623 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7624 echo "configure:7625: checking for remove in -lposix" >&5
7625 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7627 echo $ac_n "(cached) $ac_c" 1>&6
7629 ac_save_LIBS
="$LIBS"
7630 LIBS
="-lposix $LIBS"
7631 cat > conftest.
$ac_ext <<EOF
7632 #line 7633 "configure"
7633 #include "confdefs.h"
7634 /* Override any gcc2 internal prototype to avoid an error. */
7635 /* We use char because int might match the return type of a gcc2
7636 builtin and then its argument prototype would still apply. */
7643 if { (eval echo configure
:7644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7645 eval "ac_cv_lib_$ac_lib_var=yes"
7647 echo "configure: failed program was:" >&5
7648 cat conftest.
$ac_ext >&5
7650 eval "ac_cv_lib_$ac_lib_var=no"
7653 LIBS
="$ac_save_LIBS"
7656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7657 echo "$ac_t""yes" 1>&6
7658 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7660 echo "$ac_t""no" 1>&6
7665 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7666 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7667 echo "configure:7668: checking for shmat" >&5
7668 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7669 echo $ac_n "(cached) $ac_c" 1>&6
7671 cat > conftest.
$ac_ext <<EOF
7672 #line 7673 "configure"
7673 #include "confdefs.h"
7674 /* System header to define __stub macros and hopefully few prototypes,
7675 which can conflict with char shmat(); below. */
7677 /* Override any gcc2 internal prototype to avoid an error. */
7678 /* We use char because int might match the return type of a gcc2
7679 builtin and then its argument prototype would still apply. */
7684 /* The GNU C library defines this for functions which it implements
7685 to always fail with ENOSYS. Some functions are actually named
7686 something starting with __ and the normal name is an alias. */
7687 #if defined (__stub_shmat) || defined (__stub___shmat)
7695 if { (eval echo configure
:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7697 eval "ac_cv_func_shmat=yes"
7699 echo "configure: failed program was:" >&5
7700 cat conftest.
$ac_ext >&5
7702 eval "ac_cv_func_shmat=no"
7707 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7708 echo "$ac_t""yes" 1>&6
7711 echo "$ac_t""no" 1>&6
7714 if test $ac_cv_func_shmat = no
; then
7715 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7716 echo "configure:7717: checking for shmat in -lipc" >&5
7717 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7718 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7719 echo $ac_n "(cached) $ac_c" 1>&6
7721 ac_save_LIBS
="$LIBS"
7723 cat > conftest.
$ac_ext <<EOF
7724 #line 7725 "configure"
7725 #include "confdefs.h"
7726 /* Override any gcc2 internal prototype to avoid an error. */
7727 /* We use char because int might match the return type of a gcc2
7728 builtin and then its argument prototype would still apply. */
7735 if { (eval echo configure
:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7737 eval "ac_cv_lib_$ac_lib_var=yes"
7739 echo "configure: failed program was:" >&5
7740 cat conftest.
$ac_ext >&5
7742 eval "ac_cv_lib_$ac_lib_var=no"
7745 LIBS
="$ac_save_LIBS"
7748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7749 echo "$ac_t""yes" 1>&6
7750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7752 echo "$ac_t""no" 1>&6
7758 # Check for libraries that X11R6 Xt/Xaw programs need.
7759 ac_save_LDFLAGS
="$LDFLAGS"
7760 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7761 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7762 # check for ICE first), but we must link in the order -lSM -lICE or
7763 # we get undefined symbols. So assume we have SM if we have ICE.
7764 # These have to be linked with before -lX11, unlike the other
7765 # libraries we check for below, so use a different variable.
7766 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7767 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7768 echo "configure:7769: checking for IceConnectionNumber in -lICE" >&5
7769 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7771 echo $ac_n "(cached) $ac_c" 1>&6
7773 ac_save_LIBS
="$LIBS"
7775 cat > conftest.
$ac_ext <<EOF
7776 #line 7777 "configure"
7777 #include "confdefs.h"
7778 /* Override any gcc2 internal prototype to avoid an error. */
7779 /* We use char because int might match the return type of a gcc2
7780 builtin and then its argument prototype would still apply. */
7781 char IceConnectionNumber();
7784 IceConnectionNumber()
7787 if { (eval echo configure
:7788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7789 eval "ac_cv_lib_$ac_lib_var=yes"
7791 echo "configure: failed program was:" >&5
7792 cat conftest.
$ac_ext >&5
7794 eval "ac_cv_lib_$ac_lib_var=no"
7797 LIBS
="$ac_save_LIBS"
7800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7801 echo "$ac_t""yes" 1>&6
7802 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7804 echo "$ac_t""no" 1>&6
7807 LDFLAGS
="$ac_save_LDFLAGS"
7812 if test "$no_x" = "yes"; then
7813 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7816 TOOLKIT_INCLUDE
="$X_CFLAGS"
7817 GUI_TK_LIBRARY
="$X_LIBS"
7819 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7820 echo "configure:7821: checking for Motif/Lesstif includes" >&5
7823 for ac_dir
in $SEARCH_INCLUDE;
7825 if test -f "$ac_dir/Xm/Xm.h"; then
7826 ac_find_includes
=$ac_dir
7831 if test "$ac_find_includes" != "" ; then
7832 echo "$ac_t""found $ac_find_includes" 1>&6
7834 echo "$ac_t""no" 1>&6
7835 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7838 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7839 echo "configure:7840: checking for Motif/Lesstif library" >&5
7842 for ac_dir
in $SEARCH_LIB;
7844 for ac_extension
in a so sl
; do
7845 if test -f "$ac_dir/libXm.$ac_extension"; then
7846 ac_find_libraries
=$ac_dir
7852 if test "$ac_find_libraries" != "" ; then
7854 ac_path_to_include
=$ac_find_includes
7855 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7857 if test $result = 0; then
7858 ac_path_to_include
=""
7860 ac_path_to_include
="-I$ac_find_includes"
7864 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7866 if test $result = 0; then
7869 ac_path_to_link
="-L$ac_find_libraries"
7873 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7874 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7875 echo "$ac_t""found at $ac_find_libraries" 1>&6
7877 echo "$ac_t""no" 1>&6
7878 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7881 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7882 echo "configure:7883: checking for Xt library" >&5
7885 for ac_dir
in $SEARCH_LIB;
7887 for ac_extension
in a so sl
; do
7888 if test -f "$ac_dir/libXt.$ac_extension"; then
7889 ac_find_libraries
=$ac_dir
7895 if test "$ac_find_libraries" != "" ; then
7897 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7899 if test $result = 0; then
7902 ac_path_to_link
="-L$ac_find_libraries"
7905 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7906 echo "$ac_t""found at $ac_find_libraries" 1>&6
7908 echo "$ac_t""no" 1>&6
7909 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7913 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7914 echo "configure:7915: checking for Xpm library" >&5
7917 for ac_dir
in $SEARCH_LIB;
7919 for ac_extension
in a so sl
; do
7920 if test -f "$ac_dir/libXpm.$ac_extension"; then
7921 ac_find_libraries
=$ac_dir
7927 if test "$ac_find_libraries" != "" ; then
7929 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7931 if test $result = 0; then
7934 ac_path_to_link
="-L$ac_find_libraries"
7937 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7939 cat >> confdefs.h
<<\EOF
7940 #define wxHAVE_LIB_XPM 1
7943 echo "$ac_t""found at $ac_find_libraries" 1>&6
7945 echo "$ac_t""no" 1>&6
7946 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7949 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm"
7950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7953 GUIHEADERS
="\$(MOTIF_HEADERS)"
7954 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7955 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7956 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7957 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7958 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7959 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7960 UNIXOBJS
="\$(UNIX_OBJS)"
7964 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7966 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7968 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7970 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS)"
7971 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7972 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7975 ALL_OBJECTS
="\$(BASE_OBJS)"
7976 ALL_DEPFILES
="\${BASE_DEPS}"
7977 ALL_HEADERS
="\${BASE_HEADERS}"
7982 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7984 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7986 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7988 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7989 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7990 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7997 if test "$wxUSE_SHARED" = "yes"; then
7998 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8002 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8003 SHARED_LD
="${CXX} -b -o"
8005 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8008 SHARED_LD
="${CC} -shared -o"
8010 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8011 WX_ALL
="CREATE_LINKS"
8013 *-*-irix5* | *-*-irix6* )
8014 if test "$GCC" = yes ; then
8015 SHARED_LD
="${CC} -shared -o"
8018 SHARED_LD
="${CXX} -shared -o"
8020 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8021 WX_ALL
="CREATE_LINKS"
8024 if test "$GCC" = yes ; then
8025 SHARED_LD
="${CC} -shared -o"
8028 SHARED_LD
="${CXX} -G -o"
8031 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8032 WX_ALL
="CREATE_LINKS"
8035 SHARED_LD
="${CC} -shared -o"
8037 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8038 WX_ALL
="CREATE_LINKS"
8040 *-*-freebsd* | *-*-netbsd*)
8041 SHARED_LD
="${CC} -shared -o"
8043 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8044 WX_ALL
="CREATE_LINKS"
8047 SHARED_LD
="${CXX} -shared -o"
8049 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8050 WX_ALL
="CREATE_LINKS"
8053 SHARED_LD
="${CXX} -shared -o"
8055 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8056 WX_ALL
="CREATE_LINKS"
8059 SHARED_LD
="${CC} -shared -o"
8061 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8062 WX_ALL
="CREATE_LINKS"
8065 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8066 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8069 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8070 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8073 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8074 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8079 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8083 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8084 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8088 for ac_hdr
in strings.h
8090 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8091 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8092 echo "configure:8093: checking for $ac_hdr" >&5
8093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8094 echo $ac_n "(cached) $ac_c" 1>&6
8096 cat > conftest.
$ac_ext <<EOF
8097 #line 8098 "configure"
8098 #include "confdefs.h"
8101 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8102 { (eval echo configure
:8103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8103 ac_err
=`grep -v '^ *+' conftest.out`
8104 if test -z "$ac_err"; then
8106 eval "ac_cv_header_$ac_safe=yes"
8109 echo "configure: failed program was:" >&5
8110 cat conftest.
$ac_ext >&5
8112 eval "ac_cv_header_$ac_safe=no"
8116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8117 echo "$ac_t""yes" 1>&6
8118 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8119 cat >> confdefs.h
<<EOF
8120 #define $ac_tr_hdr 1
8124 echo "$ac_t""no" 1>&6
8128 for ac_hdr
in unistd.h
8130 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8131 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8132 echo "configure:8133: checking for $ac_hdr" >&5
8133 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8134 echo $ac_n "(cached) $ac_c" 1>&6
8136 cat > conftest.
$ac_ext <<EOF
8137 #line 8138 "configure"
8138 #include "confdefs.h"
8141 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8142 { (eval echo configure
:8143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8143 ac_err
=`grep -v '^ *+' conftest.out`
8144 if test -z "$ac_err"; then
8146 eval "ac_cv_header_$ac_safe=yes"
8149 echo "configure: failed program was:" >&5
8150 cat conftest.
$ac_ext >&5
8152 eval "ac_cv_header_$ac_safe=no"
8156 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8157 echo "$ac_t""yes" 1>&6
8158 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8159 cat >> confdefs.h
<<EOF
8160 #define $ac_tr_hdr 1
8164 echo "$ac_t""no" 1>&6
8168 for ac_hdr
in wchar.h
8170 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8171 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8172 echo "configure:8173: checking for $ac_hdr" >&5
8173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8174 echo $ac_n "(cached) $ac_c" 1>&6
8176 cat > conftest.
$ac_ext <<EOF
8177 #line 8178 "configure"
8178 #include "confdefs.h"
8181 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8182 { (eval echo configure
:8183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8183 ac_err
=`grep -v '^ *+' conftest.out`
8184 if test -z "$ac_err"; then
8186 eval "ac_cv_header_$ac_safe=yes"
8189 echo "configure: failed program was:" >&5
8190 cat conftest.
$ac_ext >&5
8192 eval "ac_cv_header_$ac_safe=no"
8196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8197 echo "$ac_t""yes" 1>&6
8198 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8199 cat >> confdefs.h
<<EOF
8200 #define $ac_tr_hdr 1
8204 echo "$ac_t""no" 1>&6
8208 for ac_hdr
in wcstr.h
8210 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8212 echo "configure:8213: checking for $ac_hdr" >&5
8213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8216 cat > conftest.
$ac_ext <<EOF
8217 #line 8218 "configure"
8218 #include "confdefs.h"
8221 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8222 { (eval echo configure
:8223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8223 ac_err
=`grep -v '^ *+' conftest.out`
8224 if test -z "$ac_err"; then
8226 eval "ac_cv_header_$ac_safe=yes"
8229 echo "configure: failed program was:" >&5
8230 cat conftest.
$ac_ext >&5
8232 eval "ac_cv_header_$ac_safe=no"
8236 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8237 echo "$ac_t""yes" 1>&6
8238 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8239 cat >> confdefs.h
<<EOF
8240 #define $ac_tr_hdr 1
8244 echo "$ac_t""no" 1>&6
8248 for ac_hdr
in fnmatch.h
8250 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8251 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8252 echo "configure:8253: checking for $ac_hdr" >&5
8253 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8254 echo $ac_n "(cached) $ac_c" 1>&6
8256 cat > conftest.
$ac_ext <<EOF
8257 #line 8258 "configure"
8258 #include "confdefs.h"
8261 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8262 { (eval echo configure
:8263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8263 ac_err
=`grep -v '^ *+' conftest.out`
8264 if test -z "$ac_err"; then
8266 eval "ac_cv_header_$ac_safe=yes"
8269 echo "configure: failed program was:" >&5
8270 cat conftest.
$ac_ext >&5
8272 eval "ac_cv_header_$ac_safe=no"
8276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8277 echo "$ac_t""yes" 1>&6
8278 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8279 cat >> confdefs.h
<<EOF
8280 #define $ac_tr_hdr 1
8284 echo "$ac_t""no" 1>&6
8289 if test "$wxUSE_GUI" = "yes"; then
8290 for ac_hdr
in X
11/XKBlib.h
8292 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8293 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8294 echo "configure:8295: checking for $ac_hdr" >&5
8295 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8296 echo $ac_n "(cached) $ac_c" 1>&6
8298 cat > conftest.
$ac_ext <<EOF
8299 #line 8300 "configure"
8300 #include "confdefs.h"
8303 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8304 { (eval echo configure
:8305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8305 ac_err
=`grep -v '^ *+' conftest.out`
8306 if test -z "$ac_err"; then
8308 eval "ac_cv_header_$ac_safe=yes"
8311 echo "configure: failed program was:" >&5
8312 cat conftest.
$ac_ext >&5
8314 eval "ac_cv_header_$ac_safe=no"
8318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8319 echo "$ac_t""yes" 1>&6
8320 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8321 cat >> confdefs.h
<<EOF
8322 #define $ac_tr_hdr 1
8326 echo "$ac_t""no" 1>&6
8333 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8334 echo "configure:8335: checking for ANSI C header files" >&5
8335 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8336 echo $ac_n "(cached) $ac_c" 1>&6
8338 cat > conftest.
$ac_ext <<EOF
8339 #line 8340 "configure"
8340 #include "confdefs.h"
8346 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8347 { (eval echo configure
:8348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8348 ac_err
=`grep -v '^ *+' conftest.out`
8349 if test -z "$ac_err"; then
8351 ac_cv_header_stdc
=yes
8354 echo "configure: failed program was:" >&5
8355 cat conftest.
$ac_ext >&5
8357 ac_cv_header_stdc
=no
8361 if test $ac_cv_header_stdc = yes; then
8362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8363 cat > conftest.
$ac_ext <<EOF
8364 #line 8365 "configure"
8365 #include "confdefs.h"
8368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8369 egrep "memchr" >/dev
/null
2>&1; then
8373 ac_cv_header_stdc
=no
8379 if test $ac_cv_header_stdc = yes; then
8380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8381 cat > conftest.
$ac_ext <<EOF
8382 #line 8383 "configure"
8383 #include "confdefs.h"
8386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8387 egrep "free" >/dev
/null
2>&1; then
8391 ac_cv_header_stdc
=no
8397 if test $ac_cv_header_stdc = yes; then
8398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8399 if test "$cross_compiling" = yes; then
8402 cat > conftest.
$ac_ext <<EOF
8403 #line 8404 "configure"
8404 #include "confdefs.h"
8406 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8407 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8408 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8409 int main () { int i; for (i = 0; i < 256; i++)
8410 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8414 if { (eval echo configure
:8415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8418 echo "configure: failed program was:" >&5
8419 cat conftest.
$ac_ext >&5
8421 ac_cv_header_stdc
=no
8429 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8430 if test $ac_cv_header_stdc = yes; then
8431 cat >> confdefs.h
<<\EOF
8432 #define STDC_HEADERS 1
8437 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8438 echo "configure:8439: checking for mode_t" >&5
8439 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8440 echo $ac_n "(cached) $ac_c" 1>&6
8442 cat > conftest.
$ac_ext <<EOF
8443 #line 8444 "configure"
8444 #include "confdefs.h"
8445 #include <sys/types.h>
8451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8452 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8454 ac_cv_type_mode_t
=yes
8457 ac_cv_type_mode_t
=no
8462 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8463 if test $ac_cv_type_mode_t = no
; then
8464 cat >> confdefs.h
<<\EOF
8470 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8471 echo "configure:8472: checking for off_t" >&5
8472 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8473 echo $ac_n "(cached) $ac_c" 1>&6
8475 cat > conftest.
$ac_ext <<EOF
8476 #line 8477 "configure"
8477 #include "confdefs.h"
8478 #include <sys/types.h>
8484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8485 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8487 ac_cv_type_off_t
=yes
8495 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8496 if test $ac_cv_type_off_t = no
; then
8497 cat >> confdefs.h
<<\EOF
8503 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8504 echo "configure:8505: checking for pid_t" >&5
8505 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8506 echo $ac_n "(cached) $ac_c" 1>&6
8508 cat > conftest.
$ac_ext <<EOF
8509 #line 8510 "configure"
8510 #include "confdefs.h"
8511 #include <sys/types.h>
8517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8518 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8520 ac_cv_type_pid_t
=yes
8528 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8529 if test $ac_cv_type_pid_t = no
; then
8530 cat >> confdefs.h
<<\EOF
8536 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8537 echo "configure:8538: checking for size_t" >&5
8538 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8539 echo $ac_n "(cached) $ac_c" 1>&6
8541 cat > conftest.
$ac_ext <<EOF
8542 #line 8543 "configure"
8543 #include "confdefs.h"
8544 #include <sys/types.h>
8550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8551 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8553 ac_cv_type_size_t
=yes
8556 ac_cv_type_size_t
=no
8561 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8562 if test $ac_cv_type_size_t = no
; then
8563 cat >> confdefs.h
<<\EOF
8564 #define size_t unsigned
8569 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8570 echo "configure:8571: checking for uid_t in sys/types.h" >&5
8571 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8572 echo $ac_n "(cached) $ac_c" 1>&6
8574 cat > conftest.
$ac_ext <<EOF
8575 #line 8576 "configure"
8576 #include "confdefs.h"
8577 #include <sys/types.h>
8579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8580 egrep "uid_t" >/dev
/null
2>&1; then
8582 ac_cv_type_uid_t
=yes
8591 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8592 if test $ac_cv_type_uid_t = no
; then
8593 cat >> confdefs.h
<<\EOF
8597 cat >> confdefs.h
<<\EOF
8606 echo $ac_n "checking for working const""... $ac_c" 1>&6
8607 echo "configure:8608: checking for working const" >&5
8608 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8609 echo $ac_n "(cached) $ac_c" 1>&6
8611 cat > conftest.
$ac_ext <<EOF
8612 #line 8613 "configure"
8613 #include "confdefs.h"
8617 /* Ultrix mips cc rejects this. */
8618 typedef int charset[2]; const charset x;
8619 /* SunOS 4.1.1 cc rejects this. */
8620 char const *const *ccp;
8622 /* NEC SVR4.0.2 mips cc rejects this. */
8623 struct point {int x, y;};
8624 static struct point const zero = {0,0};
8625 /* AIX XL C 1.02.0.0 rejects this.
8626 It does not let you subtract one const X* pointer from another in an arm
8627 of an if-expression whose if-part is not a constant expression */
8628 const char *g = "string";
8629 ccp = &g + (g ? g-g : 0);
8630 /* HPUX 7.0 cc rejects these. */
8633 ccp = (char const *const *) p;
8634 { /* SCO 3.2v4 cc rejects this. */
8636 char const *s = 0 ? (char *) 0 : (char const *) 0;
8640 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8642 const int *foo = &x[0];
8645 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8646 typedef const int *iptr;
8650 { /* AIX XL C 1.02.0.0 rejects this saying
8651 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8652 struct s { int j; const int *ap[3]; };
8653 struct s *b; b->j = 5;
8655 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8661 if { (eval echo configure
:8662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8665 echo "configure: failed program was:" >&5
8666 cat conftest.
$ac_ext >&5
8673 echo "$ac_t""$ac_cv_c_const" 1>&6
8674 if test $ac_cv_c_const = no
; then
8675 cat >> confdefs.h
<<\EOF
8681 echo $ac_n "checking for inline""... $ac_c" 1>&6
8682 echo "configure:8683: checking for inline" >&5
8683 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8687 for ac_kw
in inline __inline__ __inline
; do
8688 cat > conftest.
$ac_ext <<EOF
8689 #line 8690 "configure"
8690 #include "confdefs.h"
8696 if { (eval echo configure
:8697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8698 ac_cv_c_inline
=$ac_kw; break
8700 echo "configure: failed program was:" >&5
8701 cat conftest.
$ac_ext >&5
8708 echo "$ac_t""$ac_cv_c_inline" 1>&6
8709 case "$ac_cv_c_inline" in
8711 no
) cat >> confdefs.h
<<\EOF
8715 *) cat >> confdefs.h
<<EOF
8716 #define inline $ac_cv_c_inline
8722 echo $ac_n "checking size of char""... $ac_c" 1>&6
8723 echo "configure:8724: checking size of char" >&5
8724 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8725 echo $ac_n "(cached) $ac_c" 1>&6
8727 if test "$cross_compiling" = yes; then
8730 cat > conftest.
$ac_ext <<EOF
8731 #line 8732 "configure"
8732 #include "confdefs.h"
8736 FILE *f=fopen("conftestval", "w");
8738 fprintf(f, "%d\n", sizeof(char));
8742 if { (eval echo configure
:8743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8744 ac_cv_sizeof_char
=`cat conftestval`
8746 echo "configure: failed program was:" >&5
8747 cat conftest.
$ac_ext >&5
8755 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8756 cat >> confdefs.h
<<EOF
8757 #define SIZEOF_CHAR $ac_cv_sizeof_char
8761 echo $ac_n "checking size of short""... $ac_c" 1>&6
8762 echo "configure:8763: checking size of short" >&5
8763 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8764 echo $ac_n "(cached) $ac_c" 1>&6
8766 if test "$cross_compiling" = yes; then
8767 ac_cv_sizeof_short
=2
8769 cat > conftest.
$ac_ext <<EOF
8770 #line 8771 "configure"
8771 #include "confdefs.h"
8775 FILE *f=fopen("conftestval", "w");
8777 fprintf(f, "%d\n", sizeof(short));
8781 if { (eval echo configure
:8782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8783 ac_cv_sizeof_short
=`cat conftestval`
8785 echo "configure: failed program was:" >&5
8786 cat conftest.
$ac_ext >&5
8788 ac_cv_sizeof_short
=0
8794 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8795 cat >> confdefs.h
<<EOF
8796 #define SIZEOF_SHORT $ac_cv_sizeof_short
8800 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8801 echo "configure:8802: checking size of int *" >&5
8802 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8803 echo $ac_n "(cached) $ac_c" 1>&6
8805 if test "$cross_compiling" = yes; then
8806 ac_cv_sizeof_int_p
=4
8808 cat > conftest.
$ac_ext <<EOF
8809 #line 8810 "configure"
8810 #include "confdefs.h"
8814 FILE *f=fopen("conftestval", "w");
8816 fprintf(f, "%d\n", sizeof(int *));
8820 if { (eval echo configure
:8821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8822 ac_cv_sizeof_int_p
=`cat conftestval`
8824 echo "configure: failed program was:" >&5
8825 cat conftest.
$ac_ext >&5
8827 ac_cv_sizeof_int_p
=0
8833 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8834 cat >> confdefs.h
<<EOF
8835 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8839 echo $ac_n "checking size of int""... $ac_c" 1>&6
8840 echo "configure:8841: checking size of int" >&5
8841 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8842 echo $ac_n "(cached) $ac_c" 1>&6
8844 if test "$cross_compiling" = yes; then
8847 cat > conftest.
$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8853 FILE *f=fopen("conftestval", "w");
8855 fprintf(f, "%d\n", sizeof(int));
8859 if { (eval echo configure
:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8861 ac_cv_sizeof_int
=`cat conftestval`
8863 echo "configure: failed program was:" >&5
8864 cat conftest.
$ac_ext >&5
8872 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8873 cat >> confdefs.h
<<EOF
8874 #define SIZEOF_INT $ac_cv_sizeof_int
8878 echo $ac_n "checking size of long""... $ac_c" 1>&6
8879 echo "configure:8880: checking size of long" >&5
8880 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8881 echo $ac_n "(cached) $ac_c" 1>&6
8883 if test "$cross_compiling" = yes; then
8886 cat > conftest.
$ac_ext <<EOF
8887 #line 8888 "configure"
8888 #include "confdefs.h"
8892 FILE *f=fopen("conftestval", "w");
8894 fprintf(f, "%d\n", sizeof(long));
8898 if { (eval echo configure
:8899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8900 ac_cv_sizeof_long
=`cat conftestval`
8902 echo "configure: failed program was:" >&5
8903 cat conftest.
$ac_ext >&5
8911 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8912 cat >> confdefs.h
<<EOF
8913 #define SIZEOF_LONG $ac_cv_sizeof_long
8917 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8918 echo "configure:8919: checking size of long long" >&5
8919 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8920 echo $ac_n "(cached) $ac_c" 1>&6
8922 if test "$cross_compiling" = yes; then
8923 ac_cv_sizeof_long_long
=0
8925 cat > conftest.
$ac_ext <<EOF
8926 #line 8927 "configure"
8927 #include "confdefs.h"
8931 FILE *f=fopen("conftestval", "w");
8933 fprintf(f, "%d\n", sizeof(long long));
8937 if { (eval echo configure
:8938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8939 ac_cv_sizeof_long_long
=`cat conftestval`
8941 echo "configure: failed program was:" >&5
8942 cat conftest.
$ac_ext >&5
8944 ac_cv_sizeof_long_long
=0
8950 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8951 cat >> confdefs.h
<<EOF
8952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8957 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8958 echo "configure:8959: checking whether byte ordering is bigendian" >&5
8959 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8960 echo $ac_n "(cached) $ac_c" 1>&6
8962 ac_cv_c_bigendian
=unknown
8963 # See if sys/param.h defines the BYTE_ORDER macro.
8964 cat > conftest.
$ac_ext <<EOF
8965 #line 8966 "configure"
8966 #include "confdefs.h"
8967 #include <sys/types.h>
8968 #include <sys/param.h>
8971 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8976 if { (eval echo configure
:8977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8978 # It does; now see whether it defined to BIG_ENDIAN or not.
8979 cat > conftest.
$ac_ext <<EOF
8980 #line 8981 "configure"
8981 #include "confdefs.h"
8982 #include <sys/types.h>
8983 #include <sys/param.h>
8986 #if BYTE_ORDER != BIG_ENDIAN
8991 if { (eval echo configure
:8992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8993 ac_cv_c_bigendian
=yes
8995 echo "configure: failed program was:" >&5
8996 cat conftest.
$ac_ext >&5
8998 ac_cv_c_bigendian
=no
9002 echo "configure: failed program was:" >&5
9003 cat conftest.
$ac_ext >&5
9006 if test $ac_cv_c_bigendian = unknown
; then
9007 if test "$cross_compiling" = yes; then
9008 ac_cv_c_bigendian
=unknown
9010 cat > conftest.
$ac_ext <<EOF
9011 #line 9012 "configure"
9012 #include "confdefs.h"
9014 /* Are we little or big endian? From Harbison&Steele. */
9018 char c[sizeof (long)];
9021 exit (u.c[sizeof (long) - 1] == 1);
9024 if { (eval echo configure
:9025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9026 ac_cv_c_bigendian
=no
9028 echo "configure: failed program was:" >&5
9029 cat conftest.
$ac_ext >&5
9031 ac_cv_c_bigendian
=yes
9039 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9040 if test $ac_cv_c_bigendian = unknown
; then
9041 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
9043 if test $ac_cv_c_bigendian = yes; then
9044 cat >> confdefs.h
<<\EOF
9045 #define WORDS_BIGENDIAN 1
9052 if test "$cross_compiling" = "yes"; then
9053 cat >> confdefs.h
<<\EOF
9054 #define wxUSE_IOSTREAMH 1
9060 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9061 ac_cpp
='$CXXCPP $CPPFLAGS'
9062 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9063 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9064 cross_compiling
=$ac_cv_prog_cxx_cross
9067 for ac_hdr
in iostream
9069 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9070 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9071 echo "configure:9072: checking for $ac_hdr" >&5
9072 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9073 echo $ac_n "(cached) $ac_c" 1>&6
9075 cat > conftest.
$ac_ext <<EOF
9076 #line 9077 "configure"
9077 #include "confdefs.h"
9080 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9081 { (eval echo configure
:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9082 ac_err
=`grep -v '^ *+' conftest.out`
9083 if test -z "$ac_err"; then
9085 eval "ac_cv_header_$ac_safe=yes"
9088 echo "configure: failed program was:" >&5
9089 cat conftest.
$ac_ext >&5
9091 eval "ac_cv_header_$ac_safe=no"
9095 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9096 echo "$ac_t""yes" 1>&6
9097 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9098 cat >> confdefs.h
<<EOF
9099 #define $ac_tr_hdr 1
9103 echo "$ac_t""no" 1>&6
9108 if test "x$HAVE_IOSTREAM" = x
; then
9109 cat >> confdefs.h
<<\EOF
9110 #define wxUSE_IOSTREAMH 1
9118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9119 ac_cpp
='$CPP $CPPFLAGS'
9120 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9121 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9122 cross_compiling
=$ac_cv_prog_cc_cross
9128 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9129 echo "configure:9130: checking if C++ compiler supports bool" >&5
9130 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9131 echo $ac_n "(cached) $ac_c" 1>&6
9136 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9137 ac_cpp
='$CXXCPP $CPPFLAGS'
9138 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9139 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9140 cross_compiling
=$ac_cv_prog_cxx_cross
9143 cat > conftest.
$ac_ext <<EOF
9144 #line 9145 "configure"
9145 #include "confdefs.h"
9156 if { (eval echo configure
:9157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9159 cat >> confdefs.h
<<\EOF
9166 echo "configure: failed program was:" >&5
9167 cat conftest.
$ac_ext >&5
9177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9178 ac_cpp
='$CPP $CPPFLAGS'
9179 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9180 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9181 cross_compiling
=$ac_cv_prog_cc_cross
9186 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9188 if test "$wx_cv_cpp_bool" = "yes"; then
9189 cat >> confdefs.h
<<\EOF
9197 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9198 echo "configure:9199: checking if size_t and int are different types" >&5
9199 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9200 echo $ac_n "(cached) $ac_c" 1>&6
9205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9206 ac_cpp
='$CXXCPP $CPPFLAGS'
9207 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9208 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9209 cross_compiling
=$ac_cv_prog_cxx_cross
9212 if test "$cross_compiling" = yes; then
9213 wx_cv_cpp_sizet_not_int
=no
9216 cat > conftest.
$ac_ext <<EOF
9217 #line 9218 "configure"
9218 #include "confdefs.h"
9220 extern "C" void exit(int);
9228 S(char *s) { m_s = s; }
9230 char operator[](size_t n) const { return m_s[n]; }
9231 char operator[](int n) const { return m_s[n]; }
9243 return s[n1] == s[n2];
9247 if { (eval echo configure
:9248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9249 cat >> confdefs.h
<<\EOF
9250 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9252 wx_cv_cpp_sizet_not_int
=yes
9254 echo "configure: failed program was:" >&5
9255 cat conftest.
$ac_ext >&5
9257 wx_cv_cpp_sizet_not_int
=no
9264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9265 ac_cpp
='$CPP $CPPFLAGS'
9266 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9267 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9268 cross_compiling
=$ac_cv_prog_cc_cross
9273 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9277 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9278 echo "configure:9279: checking if you need GNU extensions" >&5
9279 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9280 echo $ac_n "(cached) $ac_c" 1>&6
9283 cat > conftest.
$ac_ext <<EOF
9284 #line 9285 "configure"
9285 #include "confdefs.h"
9286 #include <features.h>
9290 #ifndef __GNU_LIBRARY__
9291 Compile error wanted
9297 if { (eval echo configure
:9298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9299 wx_cv_gnu_extensions
=yes
9301 echo "configure: failed program was:" >&5
9302 cat conftest.
$ac_ext >&5
9304 wx_cv_gnu_extensions
=no
9311 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9312 if test "$wx_cv_gnu_extensions" = "yes"; then
9313 cat >> confdefs.h
<<EOF
9314 #define _GNU_SOURCE 1
9321 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9322 echo "configure:9323: checking for wcslen in -lc" >&5
9323 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9324 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9325 echo $ac_n "(cached) $ac_c" 1>&6
9327 ac_save_LIBS
="$LIBS"
9329 cat > conftest.
$ac_ext <<EOF
9330 #line 9331 "configure"
9331 #include "confdefs.h"
9332 /* Override any gcc2 internal prototype to avoid an error. */
9333 /* We use char because int might match the return type of a gcc2
9334 builtin and then its argument prototype would still apply. */
9341 if { (eval echo configure
:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9343 eval "ac_cv_lib_$ac_lib_var=yes"
9345 echo "configure: failed program was:" >&5
9346 cat conftest.
$ac_ext >&5
9348 eval "ac_cv_lib_$ac_lib_var=no"
9351 LIBS
="$ac_save_LIBS"
9354 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9355 echo "$ac_t""yes" 1>&6
9357 cat >> confdefs.h
<<\EOF
9358 #define HAVE_WCSLEN 1
9364 echo "$ac_t""no" 1>&6
9366 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9367 echo "configure:9368: checking for wcslen in -lw" >&5
9368 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9369 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9370 echo $ac_n "(cached) $ac_c" 1>&6
9372 ac_save_LIBS
="$LIBS"
9374 cat > conftest.
$ac_ext <<EOF
9375 #line 9376 "configure"
9376 #include "confdefs.h"
9377 /* Override any gcc2 internal prototype to avoid an error. */
9378 /* We use char because int might match the return type of a gcc2
9379 builtin and then its argument prototype would still apply. */
9386 if { (eval echo configure
:9387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9388 eval "ac_cv_lib_$ac_lib_var=yes"
9390 echo "configure: failed program was:" >&5
9391 cat conftest.
$ac_ext >&5
9393 eval "ac_cv_lib_$ac_lib_var=no"
9396 LIBS
="$ac_save_LIBS"
9399 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9400 echo "$ac_t""yes" 1>&6
9402 cat >> confdefs.h
<<\EOF
9403 #define HAVE_WCSLEN 1
9409 echo "$ac_t""no" 1>&6
9416 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9417 echo "configure:9418: checking for vprintf" >&5
9418 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9419 echo $ac_n "(cached) $ac_c" 1>&6
9421 cat > conftest.
$ac_ext <<EOF
9422 #line 9423 "configure"
9423 #include "confdefs.h"
9424 /* System header to define __stub macros and hopefully few prototypes,
9425 which can conflict with char vprintf(); below. */
9427 /* Override any gcc2 internal prototype to avoid an error. */
9428 /* We use char because int might match the return type of a gcc2
9429 builtin and then its argument prototype would still apply. */
9434 /* The GNU C library defines this for functions which it implements
9435 to always fail with ENOSYS. Some functions are actually named
9436 something starting with __ and the normal name is an alias. */
9437 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9445 if { (eval echo configure
:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9447 eval "ac_cv_func_vprintf=yes"
9449 echo "configure: failed program was:" >&5
9450 cat conftest.
$ac_ext >&5
9452 eval "ac_cv_func_vprintf=no"
9457 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9458 echo "$ac_t""yes" 1>&6
9459 cat >> confdefs.h
<<\EOF
9460 #define HAVE_VPRINTF 1
9464 echo "$ac_t""no" 1>&6
9467 if test "$ac_cv_func_vprintf" != yes; then
9468 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9469 echo "configure:9470: checking for _doprnt" >&5
9470 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9471 echo $ac_n "(cached) $ac_c" 1>&6
9473 cat > conftest.
$ac_ext <<EOF
9474 #line 9475 "configure"
9475 #include "confdefs.h"
9476 /* System header to define __stub macros and hopefully few prototypes,
9477 which can conflict with char _doprnt(); below. */
9479 /* Override any gcc2 internal prototype to avoid an error. */
9480 /* We use char because int might match the return type of a gcc2
9481 builtin and then its argument prototype would still apply. */
9486 /* The GNU C library defines this for functions which it implements
9487 to always fail with ENOSYS. Some functions are actually named
9488 something starting with __ and the normal name is an alias. */
9489 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9497 if { (eval echo configure
:9498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9499 eval "ac_cv_func__doprnt=yes"
9501 echo "configure: failed program was:" >&5
9502 cat conftest.
$ac_ext >&5
9504 eval "ac_cv_func__doprnt=no"
9509 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9510 echo "$ac_t""yes" 1>&6
9511 cat >> confdefs.h
<<\EOF
9512 #define HAVE_DOPRNT 1
9516 echo "$ac_t""no" 1>&6
9522 for ac_func
in vsnprintf
9524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9525 echo "configure:9526: checking for $ac_func" >&5
9526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9527 echo $ac_n "(cached) $ac_c" 1>&6
9529 cat > conftest.
$ac_ext <<EOF
9530 #line 9531 "configure"
9531 #include "confdefs.h"
9532 /* System header to define __stub macros and hopefully few prototypes,
9533 which can conflict with char $ac_func(); below. */
9535 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */
9542 /* The GNU C library defines this for functions which it implements
9543 to always fail with ENOSYS. Some functions are actually named
9544 something starting with __ and the normal name is an alias. */
9545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9553 if { (eval echo configure
:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9555 eval "ac_cv_func_$ac_func=yes"
9557 echo "configure: failed program was:" >&5
9558 cat conftest.
$ac_ext >&5
9560 eval "ac_cv_func_$ac_func=no"
9565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9566 echo "$ac_t""yes" 1>&6
9567 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9568 cat >> confdefs.h
<<EOF
9569 #define $ac_tr_func 1
9571 cat >> confdefs.h
<<\EOF
9572 #define HAVE_VSNPRINTF 1
9576 echo "$ac_t""no" 1>&6
9577 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9586 ac_cpp
='$CXXCPP $CPPFLAGS'
9587 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9588 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9589 cross_compiling
=$ac_cv_prog_cxx_cross
9592 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9593 echo "configure:9594: checking for vsscanf" >&5
9594 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9595 echo $ac_n "(cached) $ac_c" 1>&6
9598 if test "$cross_compiling" = yes; then
9599 wx_cv_func_vsscanf
=no
9602 cat > conftest.
$ac_ext <<EOF
9603 #line 9604 "configure"
9604 #include "confdefs.h"
9606 extern "C" void exit(int);
9612 int try_vsscanf(const char *format, ...)
9615 va_start(ap, format);
9617 vsscanf("17", format, ap);
9625 try_vsscanf("%d", &i);
9626 return i == 17 ? 0 : 1;
9630 if { (eval echo configure
:9631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9633 cat >> confdefs.h
<<\EOF
9634 #define HAVE_VSSCANF 1
9637 wx_cv_func_vsscanf
=yes
9640 echo "configure: failed program was:" >&5
9641 cat conftest.
$ac_ext >&5
9643 wx_cv_func_vsscanf
=no
9651 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9654 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9655 ac_cpp
='$CPP $CPPFLAGS'
9656 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9657 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9658 cross_compiling
=$ac_cv_prog_cc_cross
9661 for ac_func
in vfork
9663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9664 echo "configure:9665: checking for $ac_func" >&5
9665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9666 echo $ac_n "(cached) $ac_c" 1>&6
9668 cat > conftest.
$ac_ext <<EOF
9669 #line 9670 "configure"
9670 #include "confdefs.h"
9671 /* System header to define __stub macros and hopefully few prototypes,
9672 which can conflict with char $ac_func(); below. */
9674 /* Override any gcc2 internal prototype to avoid an error. */
9675 /* We use char because int might match the return type of a gcc2
9676 builtin and then its argument prototype would still apply. */
9681 /* The GNU C library defines this for functions which it implements
9682 to always fail with ENOSYS. Some functions are actually named
9683 something starting with __ and the normal name is an alias. */
9684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9692 if { (eval echo configure
:9693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9694 eval "ac_cv_func_$ac_func=yes"
9696 echo "configure: failed program was:" >&5
9697 cat conftest.
$ac_ext >&5
9699 eval "ac_cv_func_$ac_func=no"
9704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9705 echo "$ac_t""yes" 1>&6
9706 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9707 cat >> confdefs.h
<<EOF
9708 #define $ac_tr_func 1
9712 echo "$ac_t""no" 1>&6
9718 for ac_func
in nanosleep
9720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9721 echo "configure:9722: checking for $ac_func" >&5
9722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9723 echo $ac_n "(cached) $ac_c" 1>&6
9725 cat > conftest.
$ac_ext <<EOF
9726 #line 9727 "configure"
9727 #include "confdefs.h"
9728 /* System header to define __stub macros and hopefully few prototypes,
9729 which can conflict with char $ac_func(); below. */
9731 /* Override any gcc2 internal prototype to avoid an error. */
9732 /* We use char because int might match the return type of a gcc2
9733 builtin and then its argument prototype would still apply. */
9738 /* The GNU C library defines this for functions which it implements
9739 to always fail with ENOSYS. Some functions are actually named
9740 something starting with __ and the normal name is an alias. */
9741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9749 if { (eval echo configure
:9750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9751 eval "ac_cv_func_$ac_func=yes"
9753 echo "configure: failed program was:" >&5
9754 cat conftest.
$ac_ext >&5
9756 eval "ac_cv_func_$ac_func=no"
9761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9762 echo "$ac_t""yes" 1>&6
9763 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9764 cat >> confdefs.h
<<EOF
9765 #define $ac_tr_func 1
9767 cat >> confdefs.h
<<\EOF
9768 #define HAVE_NANOSLEEP 1
9772 echo "$ac_t""no" 1>&6
9773 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9774 echo "configure:9775: checking for nanosleep in -lposix4" >&5
9775 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9779 ac_save_LIBS
="$LIBS"
9780 LIBS
="-lposix4 $LIBS"
9781 cat > conftest.
$ac_ext <<EOF
9782 #line 9783 "configure"
9783 #include "confdefs.h"
9784 /* Override any gcc2 internal prototype to avoid an error. */
9785 /* We use char because int might match the return type of a gcc2
9786 builtin and then its argument prototype would still apply. */
9793 if { (eval echo configure
:9794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9795 eval "ac_cv_lib_$ac_lib_var=yes"
9797 echo "configure: failed program was:" >&5
9798 cat conftest.
$ac_ext >&5
9800 eval "ac_cv_lib_$ac_lib_var=no"
9803 LIBS
="$ac_save_LIBS"
9806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9807 echo "$ac_t""yes" 1>&6
9809 cat >> confdefs.h
<<\EOF
9810 #define HAVE_NANOSLEEP 1
9813 POSIX4_LINK
="-lposix4"
9816 echo "$ac_t""no" 1>&6
9818 for ac_func
in usleep
9820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9821 echo "configure:9822: checking for $ac_func" >&5
9822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9825 cat > conftest.
$ac_ext <<EOF
9826 #line 9827 "configure"
9827 #include "confdefs.h"
9828 /* System header to define __stub macros and hopefully few prototypes,
9829 which can conflict with char $ac_func(); below. */
9831 /* Override any gcc2 internal prototype to avoid an error. */
9832 /* We use char because int might match the return type of a gcc2
9833 builtin and then its argument prototype would still apply. */
9838 /* The GNU C library defines this for functions which it implements
9839 to always fail with ENOSYS. Some functions are actually named
9840 something starting with __ and the normal name is an alias. */
9841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9849 if { (eval echo configure
:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9851 eval "ac_cv_func_$ac_func=yes"
9853 echo "configure: failed program was:" >&5
9854 cat conftest.
$ac_ext >&5
9856 eval "ac_cv_func_$ac_func=no"
9861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9862 echo "$ac_t""yes" 1>&6
9863 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9864 cat >> confdefs.h
<<EOF
9865 #define $ac_tr_func 1
9867 cat >> confdefs.h
<<\EOF
9868 #define HAVE_USLEEP 1
9872 echo "$ac_t""no" 1>&6
9873 echo "configure: warning: wxSleep() function will not work" 1>&2
9885 for ac_func
in uname gethostname
9887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9888 echo "configure:9889: checking for $ac_func" >&5
9889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9890 echo $ac_n "(cached) $ac_c" 1>&6
9892 cat > conftest.
$ac_ext <<EOF
9893 #line 9894 "configure"
9894 #include "confdefs.h"
9895 /* System header to define __stub macros and hopefully few prototypes,
9896 which can conflict with char $ac_func(); below. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 /* We use char because int might match the return type of a gcc2
9900 builtin and then its argument prototype would still apply. */
9905 /* The GNU C library defines this for functions which it implements
9906 to always fail with ENOSYS. Some functions are actually named
9907 something starting with __ and the normal name is an alias. */
9908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9916 if { (eval echo configure
:9917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9918 eval "ac_cv_func_$ac_func=yes"
9920 echo "configure: failed program was:" >&5
9921 cat conftest.
$ac_ext >&5
9923 eval "ac_cv_func_$ac_func=no"
9928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9930 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9931 cat >> confdefs.h
<<EOF
9932 #define $ac_tr_func 1
9936 echo "$ac_t""no" 1>&6
9941 for ac_func
in strtok_r
9943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9944 echo "configure:9945: checking for $ac_func" >&5
9945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9946 echo $ac_n "(cached) $ac_c" 1>&6
9948 cat > conftest.
$ac_ext <<EOF
9949 #line 9950 "configure"
9950 #include "confdefs.h"
9951 /* System header to define __stub macros and hopefully few prototypes,
9952 which can conflict with char $ac_func(); below. */
9954 /* Override any gcc2 internal prototype to avoid an error. */
9955 /* We use char because int might match the return type of a gcc2
9956 builtin and then its argument prototype would still apply. */
9961 /* The GNU C library defines this for functions which it implements
9962 to always fail with ENOSYS. Some functions are actually named
9963 something starting with __ and the normal name is an alias. */
9964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9972 if { (eval echo configure
:9973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9974 eval "ac_cv_func_$ac_func=yes"
9976 echo "configure: failed program was:" >&5
9977 cat conftest.
$ac_ext >&5
9979 eval "ac_cv_func_$ac_func=no"
9984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9985 echo "$ac_t""yes" 1>&6
9986 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9987 cat >> confdefs.h
<<EOF
9988 #define $ac_tr_func 1
9992 echo "$ac_t""no" 1>&6
9997 for ac_func
in inet_addr
9999 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10000 echo "configure:10001: checking for $ac_func" >&5
10001 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10002 echo $ac_n "(cached) $ac_c" 1>&6
10004 cat > conftest.
$ac_ext <<EOF
10005 #line 10006 "configure"
10006 #include "confdefs.h"
10007 /* System header to define __stub macros and hopefully few prototypes,
10008 which can conflict with char $ac_func(); below. */
10009 #include <assert.h>
10010 /* Override any gcc2 internal prototype to avoid an error. */
10011 /* We use char because int might match the return type of a gcc2
10012 builtin and then its argument prototype would still apply. */
10017 /* The GNU C library defines this for functions which it implements
10018 to always fail with ENOSYS. Some functions are actually named
10019 something starting with __ and the normal name is an alias. */
10020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10028 if { (eval echo configure
:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10030 eval "ac_cv_func_$ac_func=yes"
10032 echo "configure: failed program was:" >&5
10033 cat conftest.
$ac_ext >&5
10035 eval "ac_cv_func_$ac_func=no"
10040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10041 echo "$ac_t""yes" 1>&6
10042 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10043 cat >> confdefs.h
<<EOF
10044 #define $ac_tr_func 1
10048 echo "$ac_t""no" 1>&6
10052 for ac_func
in inet_aton
10054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10055 echo "configure:10056: checking for $ac_func" >&5
10056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10057 echo $ac_n "(cached) $ac_c" 1>&6
10059 cat > conftest.
$ac_ext <<EOF
10060 #line 10061 "configure"
10061 #include "confdefs.h"
10062 /* System header to define __stub macros and hopefully few prototypes,
10063 which can conflict with char $ac_func(); below. */
10064 #include <assert.h>
10065 /* Override any gcc2 internal prototype to avoid an error. */
10066 /* We use char because int might match the return type of a gcc2
10067 builtin and then its argument prototype would still apply. */
10072 /* The GNU C library defines this for functions which it implements
10073 to always fail with ENOSYS. Some functions are actually named
10074 something starting with __ and the normal name is an alias. */
10075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10083 if { (eval echo configure
:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10085 eval "ac_cv_func_$ac_func=yes"
10087 echo "configure: failed program was:" >&5
10088 cat conftest.
$ac_ext >&5
10090 eval "ac_cv_func_$ac_func=no"
10095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10096 echo "$ac_t""yes" 1>&6
10097 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10098 cat >> confdefs.h
<<EOF
10099 #define $ac_tr_func 1
10103 echo "$ac_t""no" 1>&6
10107 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
10108 echo "configure:10109: checking for inet_aton in -lresolv" >&5
10109 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
10110 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10111 echo $ac_n "(cached) $ac_c" 1>&6
10113 ac_save_LIBS
="$LIBS"
10114 LIBS
="-lresolv $LIBS"
10115 cat > conftest.
$ac_ext <<EOF
10116 #line 10117 "configure"
10117 #include "confdefs.h"
10118 /* Override any gcc2 internal prototype to avoid an error. */
10119 /* We use char because int might match the return type of a gcc2
10120 builtin and then its argument prototype would still apply. */
10127 if { (eval echo configure
:10128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10129 eval "ac_cv_lib_$ac_lib_var=yes"
10131 echo "configure: failed program was:" >&5
10132 cat conftest.
$ac_ext >&5
10134 eval "ac_cv_lib_$ac_lib_var=no"
10137 LIBS
="$ac_save_LIBS"
10140 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10141 echo "$ac_t""yes" 1>&6
10142 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10143 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10144 cat >> confdefs.h
<<EOF
10145 #define $ac_tr_lib 1
10148 LIBS
="-lresolv $LIBS"
10151 echo "$ac_t""no" 1>&6
10156 cat > confcache
<<\EOF
10157 # This file is a shell script that caches the results of configure
10158 # tests run on this system so they can be shared between configure
10159 # scripts and configure runs. It is not useful on other systems.
10160 # If it contains results you don't want to keep, you may remove or edit it.
10162 # By default, configure uses ./config.cache as the cache file,
10163 # creating it if it does not exist already. You can give configure
10164 # the --cache-file=FILE option to use a different cache file; that is
10165 # what configure does when it calls configure scripts in
10166 # subdirectories, so they share the cache.
10167 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10168 # config.status only pays attention to the cache file if you give it the
10169 # --recheck option to rerun configure.
10172 # The following way of writing the cache mishandles newlines in values,
10173 # but we know of no workaround that is simple, portable, and efficient.
10174 # So, don't put newlines in cache variables' values.
10175 # Ultrix sh set writes to stderr and can't be redirected directly,
10176 # and sets the high bit in the cache file unless we assign to the vars.
10178 case `(ac_space=' '; set) 2>&1` in
10180 # `set' does not quote correctly, so add quotes (double-quote substitution
10181 # turns \\\\ into \\, and sed turns \\ into \).
10183 -e "s/'/'\\\\''/g" \
10184 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10187 # `set' quotes correctly as required by POSIX, so do not add quotes.
10188 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10191 if cmp -s $cache_file confcache
; then
10194 if test -w $cache_file; then
10195 echo "updating cache $cache_file"
10196 cat confcache
> $cache_file
10198 echo "not updating unwritable cache $cache_file"
10205 if test "$USE_UNIX" = 1; then
10211 if test "$wxUSE_THREADS" = "yes" ; then
10212 if test "$wxUSE_WINE" = 1 ; then
10213 echo "configure: warning: Threads are not supported under WINE" 1>&2
10218 if test "$wxUSE_THREADS" = "yes" ; then
10220 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10221 echo "configure:10222: checking for pthread_create in -lpthread" >&5
10222 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10224 echo $ac_n "(cached) $ac_c" 1>&6
10226 ac_save_LIBS
="$LIBS"
10227 LIBS
="-lpthread $LIBS"
10228 cat > conftest.
$ac_ext <<EOF
10229 #line 10230 "configure"
10230 #include "confdefs.h"
10231 /* Override any gcc2 internal prototype to avoid an error. */
10232 /* We use char because int might match the return type of a gcc2
10233 builtin and then its argument prototype would still apply. */
10234 char pthread_create();
10240 if { (eval echo configure
:10241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10242 eval "ac_cv_lib_$ac_lib_var=yes"
10244 echo "configure: failed program was:" >&5
10245 cat conftest.
$ac_ext >&5
10247 eval "ac_cv_lib_$ac_lib_var=no"
10250 LIBS
="$ac_save_LIBS"
10253 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10254 echo "$ac_t""yes" 1>&6
10256 THREADS_OBJ
="threadpsx.lo"
10257 THREADS_LINK
="pthread"
10260 echo "$ac_t""no" 1>&6
10262 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10263 echo "configure:10264: checking for pthread_create in -lc_r" >&5
10264 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10265 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10266 echo $ac_n "(cached) $ac_c" 1>&6
10268 ac_save_LIBS
="$LIBS"
10270 cat > conftest.
$ac_ext <<EOF
10271 #line 10272 "configure"
10272 #include "confdefs.h"
10273 /* Override any gcc2 internal prototype to avoid an error. */
10274 /* We use char because int might match the return type of a gcc2
10275 builtin and then its argument prototype would still apply. */
10276 char pthread_create();
10282 if { (eval echo configure
:10283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10284 eval "ac_cv_lib_$ac_lib_var=yes"
10286 echo "configure: failed program was:" >&5
10287 cat conftest.
$ac_ext >&5
10289 eval "ac_cv_lib_$ac_lib_var=no"
10292 LIBS
="$ac_save_LIBS"
10295 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10296 echo "$ac_t""yes" 1>&6
10298 THREADS_OBJ
="threadpsx.lo"
10302 echo "$ac_t""no" 1>&6
10304 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10305 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10306 echo "configure:10307: checking for sys/prctl.h" >&5
10307 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10308 echo $ac_n "(cached) $ac_c" 1>&6
10310 cat > conftest.
$ac_ext <<EOF
10311 #line 10312 "configure"
10312 #include "confdefs.h"
10313 #include <sys/prctl.h>
10315 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10316 { (eval echo configure
:10317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10317 ac_err
=`grep -v '^ *+' conftest.out`
10318 if test -z "$ac_err"; then
10320 eval "ac_cv_header_$ac_safe=yes"
10323 echo "configure: failed program was:" >&5
10324 cat conftest.
$ac_ext >&5
10326 eval "ac_cv_header_$ac_safe=no"
10330 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10331 echo "$ac_t""yes" 1>&6
10333 THREADS_OBJ
="threadsgi.lo"
10336 echo "$ac_t""no" 1>&6
10346 if test -z "$THREADS_OBJ" ; then
10348 echo "configure: warning: No thread support on this system" 1>&2
10352 if test "$wxUSE_THREADS" = "yes" ; then
10354 for ac_hdr
in sched.h
10356 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10357 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10358 echo "configure:10359: checking for $ac_hdr" >&5
10359 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10360 echo $ac_n "(cached) $ac_c" 1>&6
10362 cat > conftest.
$ac_ext <<EOF
10363 #line 10364 "configure"
10364 #include "confdefs.h"
10367 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10368 { (eval echo configure
:10369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10369 ac_err
=`grep -v '^ *+' conftest.out`
10370 if test -z "$ac_err"; then
10372 eval "ac_cv_header_$ac_safe=yes"
10375 echo "configure: failed program was:" >&5
10376 cat conftest.
$ac_ext >&5
10378 eval "ac_cv_header_$ac_safe=no"
10382 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10383 echo "$ac_t""yes" 1>&6
10384 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10385 cat >> confdefs.h
<<EOF
10386 #define $ac_tr_hdr 1
10390 echo "$ac_t""no" 1>&6
10395 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10396 echo "configure:10397: checking for sched_yield in -l$THREADS_LINK" >&5
10397 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10399 echo $ac_n "(cached) $ac_c" 1>&6
10401 ac_save_LIBS
="$LIBS"
10402 LIBS
="-l$THREADS_LINK $LIBS"
10403 cat > conftest.
$ac_ext <<EOF
10404 #line 10405 "configure"
10405 #include "confdefs.h"
10406 /* Override any gcc2 internal prototype to avoid an error. */
10407 /* We use char because int might match the return type of a gcc2
10408 builtin and then its argument prototype would still apply. */
10409 char sched_yield();
10415 if { (eval echo configure
:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10417 eval "ac_cv_lib_$ac_lib_var=yes"
10419 echo "configure: failed program was:" >&5
10420 cat conftest.
$ac_ext >&5
10422 eval "ac_cv_lib_$ac_lib_var=no"
10425 LIBS
="$ac_save_LIBS"
10428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10429 echo "$ac_t""yes" 1>&6
10430 cat >> confdefs.h
<<\EOF
10431 #define HAVE_SCHED_YIELD 1
10435 echo "$ac_t""no" 1>&6
10436 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10437 echo "configure:10438: checking for sched_yield in -l"posix4
"" >&5
10438 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10440 echo $ac_n "(cached) $ac_c" 1>&6
10442 ac_save_LIBS
="$LIBS"
10443 LIBS
="-l"posix4
" $LIBS"
10444 cat > conftest.
$ac_ext <<EOF
10445 #line 10446 "configure"
10446 #include "confdefs.h"
10447 /* Override any gcc2 internal prototype to avoid an error. */
10448 /* We use char because int might match the return type of a gcc2
10449 builtin and then its argument prototype would still apply. */
10450 char sched_yield();
10456 if { (eval echo configure
:10457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10458 eval "ac_cv_lib_$ac_lib_var=yes"
10460 echo "configure: failed program was:" >&5
10461 cat conftest.
$ac_ext >&5
10463 eval "ac_cv_lib_$ac_lib_var=no"
10466 LIBS
="$ac_save_LIBS"
10469 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10470 echo "$ac_t""yes" 1>&6
10471 cat >> confdefs.h
<<\EOF
10472 #define HAVE_SCHED_YIELD 1
10474 POSIX4_LINK
="-lposix4"
10476 echo "$ac_t""no" 1>&6
10477 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10485 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10486 echo "configure:10487: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10487 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10488 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10489 echo $ac_n "(cached) $ac_c" 1>&6
10491 ac_save_LIBS
="$LIBS"
10492 LIBS
="-l$THREADS_LINK $LIBS"
10493 cat > conftest.
$ac_ext <<EOF
10494 #line 10495 "configure"
10495 #include "confdefs.h"
10496 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10499 char pthread_attr_getschedpolicy();
10502 pthread_attr_getschedpolicy()
10505 if { (eval echo configure
:10506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10507 eval "ac_cv_lib_$ac_lib_var=yes"
10509 echo "configure: failed program was:" >&5
10510 cat conftest.
$ac_ext >&5
10512 eval "ac_cv_lib_$ac_lib_var=no"
10515 LIBS
="$ac_save_LIBS"
10518 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10519 echo "$ac_t""yes" 1>&6
10520 cat >> confdefs.h
<<\EOF
10521 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10525 echo "$ac_t""no" 1>&6
10526 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10527 echo "configure:10528: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10528 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10530 echo $ac_n "(cached) $ac_c" 1>&6
10532 ac_save_LIBS
="$LIBS"
10533 LIBS
="-l"posix4
" $LIBS"
10534 cat > conftest.
$ac_ext <<EOF
10535 #line 10536 "configure"
10536 #include "confdefs.h"
10537 /* Override any gcc2 internal prototype to avoid an error. */
10538 /* We use char because int might match the return type of a gcc2
10539 builtin and then its argument prototype would still apply. */
10540 char pthread_attr_getschedpolicy();
10543 pthread_attr_getschedpolicy()
10546 if { (eval echo configure
:10547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10548 eval "ac_cv_lib_$ac_lib_var=yes"
10550 echo "configure: failed program was:" >&5
10551 cat conftest.
$ac_ext >&5
10553 eval "ac_cv_lib_$ac_lib_var=no"
10556 LIBS
="$ac_save_LIBS"
10559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10560 echo "$ac_t""yes" 1>&6
10561 cat >> confdefs.h
<<\EOF
10562 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10564 POSIX4_LINK
="-lposix4"
10566 echo "$ac_t""no" 1>&6
10567 echo "configure: warning: Setting thread priority will not work" 1>&2
10575 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10576 echo "configure:10577: checking for pthread_cancel in -l$THREADS_LINK" >&5
10577 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10579 echo $ac_n "(cached) $ac_c" 1>&6
10581 ac_save_LIBS
="$LIBS"
10582 LIBS
="-l$THREADS_LINK $LIBS"
10583 cat > conftest.
$ac_ext <<EOF
10584 #line 10585 "configure"
10585 #include "confdefs.h"
10586 /* Override any gcc2 internal prototype to avoid an error. */
10587 /* We use char because int might match the return type of a gcc2
10588 builtin and then its argument prototype would still apply. */
10589 char pthread_cancel();
10595 if { (eval echo configure
:10596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10597 eval "ac_cv_lib_$ac_lib_var=yes"
10599 echo "configure: failed program was:" >&5
10600 cat conftest.
$ac_ext >&5
10602 eval "ac_cv_lib_$ac_lib_var=no"
10605 LIBS
="$ac_save_LIBS"
10608 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10609 echo "$ac_t""yes" 1>&6
10610 cat >> confdefs.h
<<\EOF
10611 #define HAVE_PTHREAD_CANCEL 1
10615 echo "$ac_t""no" 1>&6
10616 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10620 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10621 echo "configure:10622: checking for pthread_cleanup_push/pop" >&5
10622 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10623 echo $ac_n "(cached) $ac_c" 1>&6
10626 cat > conftest.
$ac_ext <<EOF
10627 #line 10628 "configure"
10628 #include "confdefs.h"
10629 #include <pthread.h>
10632 pthread_cleanup_push(NULL, NULL);
10633 pthread_cleanup_pop(0);
10637 if { (eval echo configure
:10638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10640 wx_cv_func_pthread_cleanup_push
=yes
10641 cat >> confdefs.h
<<\EOF
10642 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10647 echo "configure: failed program was:" >&5
10648 cat conftest.
$ac_ext >&5
10651 wx_cv_func_pthread_cleanup_push
=no
10658 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10660 THREADS_LINK
="-l$THREADS_LINK"
10665 if test "$wxUSE_THREADS" = "yes"; then
10666 cat >> confdefs.h
<<\EOF
10667 #define wxUSE_THREADS 1
10671 CFLAGS
="${CFLAGS} -D_REENTRANT"
10672 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10677 if test "$WXGTK12" = 1 ; then
10678 cat >> confdefs.h
<<EOF
10679 #define __WXGTK12__ $WXGTK12
10684 if test "$WXWINE" = 1 ; then
10685 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10688 if test "$wxUSE_CYGWIN" = 1 ; then
10689 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10694 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10699 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10700 wxUSE_DEBUG_INFO
=yes
10704 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10705 cat >> confdefs.h
<<\EOF
10709 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10711 if test "$wxUSE_GTK" = 1 ; then
10712 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10716 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10717 cat >> confdefs.h
<<\EOF
10718 #define wxUSE_MEMORY_TRACING 1
10721 cat >> confdefs.h
<<\EOF
10722 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10728 if test "$wxUSE_DMALLOC" = "yes" ; then
10729 DMALLOC_LINK
="-ldmalloc"
10733 if test "$wxUSE_PROFILE" = "yes" ; then
10738 if test "$GCC" = yes ; then
10739 if test "$wxUSE_NO_RTTI" = "yes" ; then
10740 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10742 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10743 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10745 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10746 CFLAGS
="${CFLAGS} -fpermissive"
10747 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10749 if test "$wxUSE_NO_DEPS" = "no" ; then
10750 DEP_INFO_FLAGS
="-MMD"
10755 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10756 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10757 if test "$wxUSE_OPTIMISE" = "no" ; then
10760 if test "$GCC" = yes ; then
10763 i586
-*-*|i686
-*-* )
10764 OPTIMISE
="${OPTIMISE} "
10774 if test "$wxUSE_ZLIB" = "yes" ; then
10775 cat >> confdefs.h
<<\EOF
10776 #define wxUSE_ZLIB 1
10779 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10783 if test "$wxUSE_LIBPNG" = "yes" ; then
10784 cat >> confdefs.h
<<\EOF
10785 #define wxUSE_LIBPNG 1
10788 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10793 if test "$wxUSE_LIBJPEG" = "yes" ; then
10794 cat >> confdefs.h
<<\EOF
10795 #define wxUSE_LIBJPEG 1
10798 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10801 if test "$wxUSE_OPENGL" = "yes"; then
10802 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10803 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10804 echo "configure:10805: checking for GL/gl.h" >&5
10805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10806 echo $ac_n "(cached) $ac_c" 1>&6
10808 cat > conftest.
$ac_ext <<EOF
10809 #line 10810 "configure"
10810 #include "confdefs.h"
10813 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10814 { (eval echo configure
:10815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10815 ac_err
=`grep -v '^ *+' conftest.out`
10816 if test -z "$ac_err"; then
10818 eval "ac_cv_header_$ac_safe=yes"
10821 echo "configure: failed program was:" >&5
10822 cat conftest.
$ac_ext >&5
10824 eval "ac_cv_header_$ac_safe=no"
10828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10829 echo "$ac_t""yes" 1>&6
10831 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10832 echo "configure:10833: checking for glInitNames in -lGL" >&5
10833 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10835 echo $ac_n "(cached) $ac_c" 1>&6
10837 ac_save_LIBS
="$LIBS"
10838 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10839 cat > conftest.
$ac_ext <<EOF
10840 #line 10841 "configure"
10841 #include "confdefs.h"
10842 /* Override any gcc2 internal prototype to avoid an error. */
10843 /* We use char because int might match the return type of a gcc2
10844 builtin and then its argument prototype would still apply. */
10845 char glInitNames();
10851 if { (eval echo configure
:10852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10853 eval "ac_cv_lib_$ac_lib_var=yes"
10855 echo "configure: failed program was:" >&5
10856 cat conftest.
$ac_ext >&5
10858 eval "ac_cv_lib_$ac_lib_var=no"
10861 LIBS
="$ac_save_LIBS"
10864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10868 cat >> confdefs.h
<<\EOF
10869 #define wxUSE_OPENGL 1
10872 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10875 echo "$ac_t""no" 1>&6
10877 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10878 echo "configure:10879: checking for glInitNames in -lMesaGL" >&5
10879 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10881 echo $ac_n "(cached) $ac_c" 1>&6
10883 ac_save_LIBS
="$LIBS"
10884 LIBS
="-lMesaGL $LIBS"
10885 cat > conftest.
$ac_ext <<EOF
10886 #line 10887 "configure"
10887 #include "confdefs.h"
10888 /* Override any gcc2 internal prototype to avoid an error. */
10889 /* We use char because int might match the return type of a gcc2
10890 builtin and then its argument prototype would still apply. */
10891 char glInitNames();
10897 if { (eval echo configure
:10898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10899 eval "ac_cv_lib_$ac_lib_var=yes"
10901 echo "configure: failed program was:" >&5
10902 cat conftest.
$ac_ext >&5
10904 eval "ac_cv_lib_$ac_lib_var=no"
10907 LIBS
="$ac_save_LIBS"
10910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10911 echo "$ac_t""yes" 1>&6
10913 OPENGL_LINK
="-lMesaGL"
10914 cat >> confdefs.h
<<\EOF
10915 #define wxUSE_OPENGL 1
10918 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10921 echo "$ac_t""no" 1>&6
10930 echo "$ac_t""no" 1>&6
10937 if test "$wxUSE_GUI" = "yes"; then
10938 cat >> confdefs.h
<<\EOF
10939 #define wxUSE_GUI 1
10944 cat >> confdefs.h
<<\EOF
10945 #define wxUSE_NOGUI 1
10951 if test "$wxUSE_UNIX" = "yes"; then
10952 cat >> confdefs.h
<<\EOF
10953 #define wxUSE_UNIX 1
10959 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10960 cat >> confdefs.h
<<\EOF
10961 #define wxUSE_APPLE_IEEE 1
10966 if test "$wxUSE_TIMEDATE" = "yes"; then
10967 cat >> confdefs.h
<<\EOF
10968 #define wxUSE_TIMEDATE 1
10971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10974 if test "$wxUSE_WAVE" = "yes"; then
10975 cat >> confdefs.h
<<\EOF
10976 #define wxUSE_WAVE 1
10981 if test "$wxUSE_FILE" = "yes"; then
10982 cat >> confdefs.h
<<\EOF
10983 #define wxUSE_FILE 1
10988 if test "$wxUSE_FS_INET" = "yes"; then
10989 cat >> confdefs.h
<<\EOF
10990 #define wxUSE_FS_INET 1
10995 if test "$wxUSE_FS_ZIP" = "yes"; then
10996 cat >> confdefs.h
<<\EOF
10997 #define wxUSE_FS_ZIP 1
11002 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11003 cat >> confdefs.h
<<\EOF
11004 #define wxUSE_ZIPSTREAM 1
11009 if test "$wxUSE_BUSYINFO" = "yes"; then
11010 cat >> confdefs.h
<<\EOF
11011 #define wxUSE_BUSYINFO 1
11016 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11017 cat >> confdefs.h
<<\EOF
11018 #define wxUSE_STD_IOSTREAM 1
11023 if test "$wxUSE_TEXTFILE" = "yes"; then
11024 if test "$wxUSE_FILE" != "yes"; then
11025 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11027 cat >> confdefs.h
<<\EOF
11028 #define wxUSE_TEXTFILE 1
11034 if test "$wxUSE_CONFIG" = "yes" ; then
11035 if test "$wxUSE_TEXTFILE" != "yes"; then
11036 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11038 cat >> confdefs.h
<<\EOF
11039 #define wxUSE_CONFIG 1
11042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11046 if test "$wxUSE_INTL" = "yes" ; then
11047 if test "$wxUSE_FILE" != "yes"; then
11048 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11050 cat >> confdefs.h
<<\EOF
11051 #define wxUSE_INTL 1
11054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11058 if test "$wxUSE_LOG" = "yes"; then
11059 cat >> confdefs.h
<<\EOF
11060 #define wxUSE_LOG 1
11065 if test "$wxUSE_LONGLONG" = "yes"; then
11066 cat >> confdefs.h
<<\EOF
11067 #define wxUSE_LONGLONG 1
11072 if test "$wxUSE_SOCKETS" = "yes" ; then
11073 cat >> confdefs.h
<<\EOF
11074 #define wxUSE_SOCKETS 1
11077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11078 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11081 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11082 cat >> confdefs.h
<<\EOF
11083 #define wxUSE_DIALUP_MANAGER 1
11088 if test "$wxUSE_STREAMS" = "yes" ; then
11089 cat >> confdefs.h
<<\EOF
11090 #define wxUSE_STREAMS 1
11095 if test "$wxUSE_SERIAL" = "yes" ; then
11096 cat >> confdefs.h
<<\EOF
11097 #define wxUSE_SERIAL 1
11103 if test "$wxUSE_SOCKETS" = "yes"; then
11106 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11107 ac_cpp
='$CXXCPP $CPPFLAGS'
11108 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11109 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11110 cross_compiling
=$ac_cv_prog_cxx_cross
11112 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11113 echo "configure:11114: checking the type of the third argument of getsockname" >&5
11114 cat > conftest.
$ac_ext <<EOF
11115 #line 11116 "configure"
11116 #include "confdefs.h"
11117 #include <sys/socket.h>
11119 socklen_t len; getsockname(0, NULL, &len);
11122 if { (eval echo configure
:11123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11124 cat >> confdefs.h
<<\EOF
11125 #define SOCKLEN_T socklen_t
11127 echo "$ac_t""socklen_t" 1>&6
11129 echo "configure: failed program was:" >&5
11130 cat conftest.
$ac_ext >&5
11132 cat > conftest.
$ac_ext <<EOF
11133 #line 11134 "configure"
11134 #include "confdefs.h"
11135 #include <sys/socket.h>
11137 size_t len; getsockname(0, NULL, &len);
11140 if { (eval echo configure
:11141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11142 cat >> confdefs.h
<<\EOF
11143 #define SOCKLEN_T size_t
11145 echo "$ac_t""size_t" 1>&6
11147 echo "configure: failed program was:" >&5
11148 cat conftest.
$ac_ext >&5
11150 cat > conftest.
$ac_ext <<EOF
11151 #line 11152 "configure"
11152 #include "confdefs.h"
11153 #include <sys/socket.h>
11155 int len; getsockname(0, NULL, &len);
11158 if { (eval echo configure
:11159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11160 cat >> confdefs.h
<<\EOF
11161 #define SOCKLEN_T int
11163 echo "$ac_t""int" 1>&6
11165 echo "configure: failed program was:" >&5
11166 cat conftest.
$ac_ext >&5
11168 echo "$ac_t""unknown" 1>&6
11179 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11180 ac_cpp
='$CPP $CPPFLAGS'
11181 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11182 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11183 cross_compiling
=$ac_cv_prog_cc_cross
11188 if test "$wxUSE_JOYSTICK" = 1; then
11189 for ac_hdr
in linux
/joystick.h
11191 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11192 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11193 echo "configure:11194: checking for $ac_hdr" >&5
11194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11197 cat > conftest.
$ac_ext <<EOF
11198 #line 11199 "configure"
11199 #include "confdefs.h"
11202 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11203 { (eval echo configure
:11204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11204 ac_err
=`grep -v '^ *+' conftest.out`
11205 if test -z "$ac_err"; then
11207 eval "ac_cv_header_$ac_safe=yes"
11210 echo "configure: failed program was:" >&5
11211 cat conftest.
$ac_ext >&5
11213 eval "ac_cv_header_$ac_safe=no"
11217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11218 echo "$ac_t""yes" 1>&6
11219 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11220 cat >> confdefs.h
<<EOF
11221 #define $ac_tr_hdr 1
11225 echo "$ac_t""no" 1>&6
11229 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11230 cat >> confdefs.h
<<\EOF
11231 #define wxUSE_JOYSTICK 1
11234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11241 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11242 for ac_func
in dlopen
11244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11245 echo "configure:11246: checking for $ac_func" >&5
11246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11247 echo $ac_n "(cached) $ac_c" 1>&6
11249 cat > conftest.
$ac_ext <<EOF
11250 #line 11251 "configure"
11251 #include "confdefs.h"
11252 /* System header to define __stub macros and hopefully few prototypes,
11253 which can conflict with char $ac_func(); below. */
11254 #include <assert.h>
11255 /* Override any gcc2 internal prototype to avoid an error. */
11256 /* We use char because int might match the return type of a gcc2
11257 builtin and then its argument prototype would still apply. */
11262 /* The GNU C library defines this for functions which it implements
11263 to always fail with ENOSYS. Some functions are actually named
11264 something starting with __ and the normal name is an alias. */
11265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11273 if { (eval echo configure
:11274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11275 eval "ac_cv_func_$ac_func=yes"
11277 echo "configure: failed program was:" >&5
11278 cat conftest.
$ac_ext >&5
11280 eval "ac_cv_func_$ac_func=no"
11285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11286 echo "$ac_t""yes" 1>&6
11287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11288 cat >> confdefs.h
<<EOF
11289 #define $ac_tr_func 1
11292 cat >> confdefs.h
<<\EOF
11293 #define HAVE_DLOPEN 1
11299 echo "$ac_t""no" 1>&6
11300 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11301 echo "configure:11302: checking for dlopen in -ldl" >&5
11302 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11306 ac_save_LIBS
="$LIBS"
11308 cat > conftest.
$ac_ext <<EOF
11309 #line 11310 "configure"
11310 #include "confdefs.h"
11311 /* Override any gcc2 internal prototype to avoid an error. */
11312 /* We use char because int might match the return type of a gcc2
11313 builtin and then its argument prototype would still apply. */
11320 if { (eval echo configure
:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11322 eval "ac_cv_lib_$ac_lib_var=yes"
11324 echo "configure: failed program was:" >&5
11325 cat conftest.
$ac_ext >&5
11327 eval "ac_cv_lib_$ac_lib_var=no"
11330 LIBS
="$ac_save_LIBS"
11333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11334 echo "$ac_t""yes" 1>&6
11336 cat >> confdefs.h
<<\EOF
11337 #define HAVE_DLOPEN 1
11344 echo "$ac_t""no" 1>&6
11346 for ac_func
in shl_load
11348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11349 echo "configure:11350: checking for $ac_func" >&5
11350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11351 echo $ac_n "(cached) $ac_c" 1>&6
11353 cat > conftest.
$ac_ext <<EOF
11354 #line 11355 "configure"
11355 #include "confdefs.h"
11356 /* System header to define __stub macros and hopefully few prototypes,
11357 which can conflict with char $ac_func(); below. */
11358 #include <assert.h>
11359 /* Override any gcc2 internal prototype to avoid an error. */
11360 /* We use char because int might match the return type of a gcc2
11361 builtin and then its argument prototype would still apply. */
11366 /* The GNU C library defines this for functions which it implements
11367 to always fail with ENOSYS. Some functions are actually named
11368 something starting with __ and the normal name is an alias. */
11369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11377 if { (eval echo configure
:11378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11379 eval "ac_cv_func_$ac_func=yes"
11381 echo "configure: failed program was:" >&5
11382 cat conftest.
$ac_ext >&5
11384 eval "ac_cv_func_$ac_func=no"
11389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11390 echo "$ac_t""yes" 1>&6
11391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11392 cat >> confdefs.h
<<EOF
11393 #define $ac_tr_func 1
11396 cat >> confdefs.h
<<\EOF
11397 #define HAVE_SHL_LOAD 1
11403 echo "$ac_t""no" 1>&6
11415 if test "$HAVE_DL_FUNCS" = 0; then
11416 if test "$HAVE_SHL_FUNCS" = 0; then
11417 if test "$USE_UNIX" = 1; then
11418 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11420 wxUSE_DYNLIB_CLASS
=no
11422 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11428 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11429 cat >> confdefs.h
<<\EOF
11430 #define wxUSE_DYNLIB_CLASS 1
11436 if test "$wxUSE_UNICODE" = "yes" ; then
11437 cat >> confdefs.h
<<\EOF
11438 #define wxUSE_UNICODE 1
11443 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11444 cat >> confdefs.h
<<\EOF
11445 #define wxUSE_WCSRTOMBS 1
11450 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11451 cat >> confdefs.h
<<\EOF
11452 #define wxUSE_EXPERIMENTAL_PRINTF 1
11459 if test "$wxUSE_ODBC" = "yes" ; then
11460 cat >> confdefs.h
<<\EOF
11461 #define wxUSE_ODBC 1
11464 WXODBCFLAG
="-D_IODBC_"
11465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11469 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11470 cat >> confdefs.h
<<\EOF
11471 #define wxUSE_POSTSCRIPT 1
11476 cat >> confdefs.h
<<\EOF
11477 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11481 cat >> confdefs.h
<<\EOF
11482 #define wxUSE_NORMALIZED_PS_FONTS 1
11487 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11488 cat >> confdefs.h
<<\EOF
11489 #define wxUSE_CONSTRAINTS 1
11492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11495 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11496 cat >> confdefs.h
<<\EOF
11497 #define wxUSE_MDI_ARCHITECTURE 1
11500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11503 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11504 cat >> confdefs.h
<<\EOF
11505 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11509 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11514 if test "$wxUSE_HELP" = "yes"; then
11515 cat >> confdefs.h
<<\EOF
11516 #define wxUSE_HELP 1
11519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11522 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11523 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11524 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11526 cat >> confdefs.h
<<\EOF
11527 #define wxUSE_PRINTING_ARCHITECTURE 1
11531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11534 if test "$wxUSE_PROLOGIO" = "yes" ; then
11535 cat >> confdefs.h
<<\EOF
11536 #define wxUSE_PROLOGIO 1
11541 if test "$wxUSE_RESOURCES" = "yes" ; then
11542 if test "$wxUSE_PROLOGIO" = "yes" ; then
11543 cat >> confdefs.h
<<\EOF
11544 #define wxUSE_RESOURCES 1
11547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11549 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11553 if test "$wxUSE_X_RESOURCES" = "yes"; then
11554 cat >> confdefs.h
<<\EOF
11555 #define wxUSE_X_RESOURCES 1
11561 if test "$wxUSE_IPC" = "yes"; then
11562 cat >> confdefs.h
<<\EOF
11563 #define wxUSE_IPC 1
11568 if test "$wxUSE_CLIPBOARD" = "yes"; then
11569 cat >> confdefs.h
<<\EOF
11570 #define wxUSE_CLIPBOARD 1
11575 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11576 if test "$wxUSE_GTK" = 1; then
11577 if test "$WXGTK12" != 1; then
11578 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11579 wxUSE_DRAG_AND_DROP
=no
11583 if test "$wxUSE_MOTIF" = 1; then
11584 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11585 wxUSE_DRAG_AND_DROP
=no
11588 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11589 cat >> confdefs.h
<<\EOF
11590 #define wxUSE_DRAG_AND_DROP 1
11593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11597 if test "$wxUSE_SPLINES" = "yes" ; then
11598 cat >> confdefs.h
<<\EOF
11599 #define wxUSE_SPLINES 1
11605 if test "$wxUSE_ACCEL" = "yes"; then
11606 cat >> confdefs.h
<<\EOF
11607 #define wxUSE_ACCEL 1
11612 if test "$wxUSE_CARET" = "yes"; then
11613 cat >> confdefs.h
<<\EOF
11614 #define wxUSE_CARET 1
11617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11620 if test "$wxUSE_COMBOBOX" = "yes"; then
11621 cat >> confdefs.h
<<\EOF
11622 #define wxUSE_COMBOBOX 1
11627 if test "$wxUSE_CHOICE" = "yes"; then
11628 cat >> confdefs.h
<<\EOF
11629 #define wxUSE_CHOICE 1
11634 if test "$wxUSE_BMPBUTTON" = "yes"; then
11635 cat >> confdefs.h
<<\EOF
11636 #define wxUSE_BMPBUTTON 1
11641 if test "$wxUSE_CHECKBOX" = "yes"; then
11642 cat >> confdefs.h
<<\EOF
11643 #define wxUSE_CHECKBOX 1
11648 if test "$wxUSE_CHECKLST" = "yes"; then
11649 cat >> confdefs.h
<<\EOF
11650 #define wxUSE_CHECKLISTBOX 1
11653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11656 if test "$wxUSE_GAUGE" = "yes"; then
11657 cat >> confdefs.h
<<\EOF
11658 #define wxUSE_GAUGE 1
11663 if test "$wxUSE_GRID" = "yes"; then
11664 cat >> confdefs.h
<<\EOF
11665 #define wxUSE_GRID 1
11668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11671 if test "$wxUSE_NEW_GRID" = "yes"; then
11672 cat >> confdefs.h
<<\EOF
11673 #define wxUSE_NEW_GRID 1
11676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
11679 if test "$wxUSE_IMAGLIST" = "yes"; then
11680 cat >> confdefs.h
<<\EOF
11681 #define wxUSE_IMAGLIST 1
11686 if test "$wxUSE_LISTBOX" = "yes"; then
11687 cat >> confdefs.h
<<\EOF
11688 #define wxUSE_LISTBOX 1
11693 if test "$wxUSE_LISTCTRL" = "yes"; then
11694 if test "$wxUSE_IMAGLIST" = "yes"; then
11695 cat >> confdefs.h
<<\EOF
11696 #define wxUSE_LISTCTRL 1
11699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11701 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11705 if test "$wxUSE_NOTEBOOK" = "yes"; then
11706 cat >> confdefs.h
<<\EOF
11707 #define wxUSE_NOTEBOOK 1
11710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11713 if test "$wxUSE_RADIOBOX" = "yes"; then
11714 cat >> confdefs.h
<<\EOF
11715 #define wxUSE_RADIOBOX 1
11720 if test "$wxUSE_RADIOBTN" = "yes"; then
11721 cat >> confdefs.h
<<\EOF
11722 #define wxUSE_RADIOBTN 1
11727 if test "$wxUSE_SASH" = "yes"; then
11728 cat >> confdefs.h
<<\EOF
11729 #define wxUSE_SASH 1
11732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11735 if test "$wxUSE_SCROLLBAR" = "yes"; then
11736 cat >> confdefs.h
<<\EOF
11737 #define wxUSE_SCROLLBAR 1
11740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11743 if test "$wxUSE_SLIDER" = "yes"; then
11744 cat >> confdefs.h
<<\EOF
11745 #define wxUSE_SLIDER 1
11750 if test "$wxUSE_SPINBTN" = "yes"; then
11751 cat >> confdefs.h
<<\EOF
11752 #define wxUSE_SPINBTN 1
11757 if test "$wxUSE_SPLITTER" = "yes"; then
11758 cat >> confdefs.h
<<\EOF
11759 #define wxUSE_SPLITTER 1
11762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11765 if test "$wxUSE_STATBMP" = "yes"; then
11766 cat >> confdefs.h
<<\EOF
11767 #define wxUSE_STATBMP 1
11772 if test "$wxUSE_STATBOX" = "yes"; then
11773 cat >> confdefs.h
<<\EOF
11774 #define wxUSE_STATBOX 1
11779 if test "$wxUSE_STATLINE" = "yes"; then
11780 if test "$wxUSE_WINE" = 1 ; then
11781 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11783 cat >> confdefs.h
<<\EOF
11784 #define wxUSE_STATLINE 1
11790 if test "$wxUSE_STATUSBAR" = "yes"; then
11791 cat >> confdefs.h
<<\EOF
11792 #define wxUSE_STATUSBAR 1
11797 if test "$wxUSE_TABDIALOG" = "yes"; then
11798 cat >> confdefs.h
<<\EOF
11799 #define wxUSE_TAB_DIALOG 1
11802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11805 if test "$wxUSE_TOOLBAR" = "yes"; then
11806 cat >> confdefs.h
<<\EOF
11807 #define wxUSE_TOOLBAR 1
11810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11813 if test "$wxUSE_TOOLTIPS" = "yes"; then
11814 if test "$wxUSE_MOTIF" = 1; then
11815 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11817 if test "$wxUSE_WINE" = 1; then
11818 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11820 cat >> confdefs.h
<<\EOF
11821 #define wxUSE_TOOLTIPS 1
11828 if test "$wxUSE_TREECTRL" = "yes"; then
11829 if test "$wxUSE_IMAGLIST" = "yes"; then
11830 cat >> confdefs.h
<<\EOF
11831 #define wxUSE_TREECTRL 1
11834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11836 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11842 if test "$wxUSE_METAFILE" = "yes"; then
11843 cat >> confdefs.h
<<\EOF
11844 #define wxUSE_METAFILE 1
11849 if test "$wxUSE_DIRDLG" = "yes"; then
11850 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11851 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11853 if test "$wxUSE_TREECTRL" != "yes"; then
11854 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11856 cat >> confdefs.h
<<\EOF
11857 #define wxUSE_DIRDLG 1
11864 if test "$wxUSE_TEXTDLG" = "yes"; then
11865 cat >> confdefs.h
<<\EOF
11866 #define wxUSE_TEXTDLG 1
11871 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11872 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11873 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11875 cat >> confdefs.h
<<\EOF
11876 #define wxUSE_STARTUP_TIPS 1
11882 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11883 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11884 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11886 cat >> confdefs.h
<<\EOF
11887 #define wxUSE_PROGRESSDLG 1
11893 if test "$wxUSE_MINIFRAME" = "yes"; then
11894 cat >> confdefs.h
<<\EOF
11895 #define wxUSE_MINIFRAME 1
11898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11901 if test "$wxUSE_HTML" = "yes"; then
11902 cat >> confdefs.h
<<\EOF
11903 #define wxUSE_HTML 1
11906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11907 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11910 if test "$wxUSE_VALIDATORS" = "yes"; then
11911 cat >> confdefs.h
<<\EOF
11912 #define wxUSE_VALIDATORS 1
11915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11918 if test "$wxUSE_GIF" = "yes" ; then
11919 cat >> confdefs.h
<<\EOF
11920 #define wxUSE_GIF 1
11925 if test "$wxUSE_PCX" = "yes" ; then
11926 cat >> confdefs.h
<<\EOF
11927 #define wxUSE_PCX 1
11932 if test "$wxUSE_PNM" = "yes" ; then
11933 cat >> confdefs.h
<<\EOF
11934 #define wxUSE_PNM 1
11940 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11942 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
11943 if test "$wxUSE_GUI" = "yes"; then
11944 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
11947 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11949 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11951 if test "$GXX" = yes ; then
11952 CXXWARNINGS
="-Wall"
11954 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
11956 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
11957 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
11958 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
11960 if test "$wxUSE_GUI" = "yes"; then
11962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11963 forty fractal image wxpoem"
11968 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12022 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12023 echo "configure:12024: checking whether ${MAKE-make} sets \${MAKE}" >&5
12024 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12025 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12026 echo $ac_n "(cached) $ac_c" 1>&6
12028 cat > conftestmake
<<\EOF
12030 @
echo 'ac_maketemp="${MAKE}"'
12032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12033 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12034 if test -n "$ac_maketemp"; then
12035 eval ac_cv_prog_make_
${ac_make}_set
=yes
12037 eval ac_cv_prog_make_
${ac_make}_set
=no
12041 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12042 echo "$ac_t""yes" 1>&6
12045 echo "$ac_t""no" 1>&6
12046 SET_MAKE
="MAKE=${MAKE-make}"
12052 if test "${TOOLKIT_DIR}" = "msw" ; then
12053 GL_TOOLKIT_DIR
="win"
12055 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12060 cat > confcache
<<\EOF
12061 # This file is a shell script that caches the results of configure
12062 # tests run on this system so they can be shared between configure
12063 # scripts and configure runs. It is not useful on other systems.
12064 # If it contains results you don't want to keep, you may remove or edit it.
12066 # By default, configure uses ./config.cache as the cache file,
12067 # creating it if it does not exist already. You can give configure
12068 # the --cache-file=FILE option to use a different cache file; that is
12069 # what configure does when it calls configure scripts in
12070 # subdirectories, so they share the cache.
12071 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12072 # config.status only pays attention to the cache file if you give it the
12073 # --recheck option to rerun configure.
12076 # The following way of writing the cache mishandles newlines in values,
12077 # but we know of no workaround that is simple, portable, and efficient.
12078 # So, don't put newlines in cache variables' values.
12079 # Ultrix sh set writes to stderr and can't be redirected directly,
12080 # and sets the high bit in the cache file unless we assign to the vars.
12082 case `(ac_space=' '; set) 2>&1` in
12084 # `set' does not quote correctly, so add quotes (double-quote substitution
12085 # turns \\\\ into \\, and sed turns \\ into \).
12087 -e "s/'/'\\\\''/g" \
12088 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12091 # `set' quotes correctly as required by POSIX, so do not add quotes.
12092 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12095 if cmp -s $cache_file confcache
; then
12098 if test -w $cache_file; then
12099 echo "updating cache $cache_file"
12100 cat confcache
> $cache_file
12102 echo "not updating unwritable cache $cache_file"
12107 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12109 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12110 # Let make expand exec_prefix.
12111 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12113 # Any assignment to VPATH causes Sun make to only execute
12114 # the first set of double-colon rules, so remove it if not needed.
12115 # If there is a colon in the path, we need to keep it.
12116 if test "x$srcdir" = x.
; then
12117 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12120 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12122 DEFS
=-DHAVE_CONFIG_H
12124 # Without the "./", some shells look in PATH for config.status.
12125 : ${CONFIG_STATUS=./config.status}
12127 echo creating
$CONFIG_STATUS
12128 rm -f $CONFIG_STATUS
12129 cat > $CONFIG_STATUS <<EOF
12131 # Generated automatically by configure.
12132 # Run this file to recreate the current configuration.
12133 # This directory was configured as follows,
12134 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12136 # $0 $ac_configure_args
12138 # Compiler output produced by configure, useful for debugging
12139 # configure, is in ./config.log if it exists.
12141 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12144 case "\$ac_option" in
12145 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12146 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12147 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12148 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12149 echo "$CONFIG_STATUS generated by autoconf version 2.12"
12151 -help | --help | --hel | --he | --h)
12152 echo "\$ac_cs_usage"; exit 0 ;;
12153 *) echo "\$ac_cs_usage"; exit 1 ;;
12157 ac_given_srcdir=$srcdir
12158 ac_given_INSTALL="$INSTALL"
12160 trap 'rm -fr `echo "
12167 samples/bombs/Makefile
12168 samples/caret/Makefile
12169 samples/checklst/Makefile
12170 samples/config/Makefile
12171 samples/controls/Makefile
12172 samples/db/Makefile
12173 samples/dialogs/Makefile
12174 samples/docview/Makefile
12175 samples/docvwmdi/Makefile
12176 samples/dnd/Makefile
12177 samples/drawing/Makefile
12178 samples/dynamic/Makefile
12179 samples/image/Makefile
12180 samples/internat/Makefile
12181 samples/layout/Makefile
12182 samples/listctrl/Makefile
12183 samples/mdi/Makefile
12184 samples/minifram/Makefile
12185 samples/minimal/Makefile
12186 samples/nettest/Makefile
12187 samples/newgrid/Makefile
12188 samples/notebook/Makefile
12189 samples/printing/Makefile
12190 samples/proplist/Makefile
12191 samples/richedit/Makefile
12192 samples/sashtest/Makefile
12193 samples/scroll/Makefile
12194 samples/splitter/Makefile
12195 samples/text/Makefile
12196 samples/thread/Makefile
12197 samples/toolbar/Makefile
12198 samples/treectrl/Makefile
12199 samples/typetest/Makefile
12200 samples/validate/Makefile
12201 samples/wxpoem/Makefile
12202 samples/wxsocket/Makefile
12203 samples/wizard/Makefile
12204 samples/html/Makefile
12205 samples/html/about/Makefile
12206 samples/html/help/Makefile
12207 samples/html/printing/Makefile
12208 samples/html/test/Makefile
12209 samples/html/zip/Makefile
12210 samples/html/virtual/Makefile
12211 samples/html/widget/Makefile
12213 utils/wxMMedia2/Makefile
12214 utils/wxMMedia2/lib/Makefile
12215 utils/wxMMedia2/sample/Makefile
12216 utils/glcanvas/Makefile
12217 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12219 utils/ogl/src/Makefile
12220 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12222 cat >> $CONFIG_STATUS <<EOF
12224 # Protect against being on the right side of a sed subst in config.status.
12225 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12226 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12229 s%@CFLAGS@%$CFLAGS%g
12230 s%@CPPFLAGS@%$CPPFLAGS%g
12231 s%@CXXFLAGS@%$CXXFLAGS%g
12233 s%@LDFLAGS@%$LDFLAGS%g
12235 s%@exec_prefix@%$exec_prefix%g
12236 s%@prefix@%$prefix%g
12237 s%@program_transform_name@%$program_transform_name%g
12238 s%@bindir@%$bindir%g
12239 s%@sbindir@%$sbindir%g
12240 s%@libexecdir@%$libexecdir%g
12241 s%@datadir@%$datadir%g
12242 s%@sysconfdir@%$sysconfdir%g
12243 s%@sharedstatedir@%$sharedstatedir%g
12244 s%@localstatedir@%$localstatedir%g
12245 s%@libdir@%$libdir%g
12246 s%@includedir@%$includedir%g
12247 s%@oldincludedir@%$oldincludedir%g
12248 s%@infodir@%$infodir%g
12249 s%@mandir@%$mandir%g
12251 s%@host_alias@%$host_alias%g
12252 s%@host_cpu@%$host_cpu%g
12253 s%@host_vendor@%$host_vendor%g
12254 s%@host_os@%$host_os%g
12255 s%@target@%$target%g
12256 s%@target_alias@%$target_alias%g
12257 s%@target_cpu@%$target_cpu%g
12258 s%@target_vendor@%$target_vendor%g
12259 s%@target_os@%$target_os%g
12261 s%@build_alias@%$build_alias%g
12262 s%@build_cpu@%$build_cpu%g
12263 s%@build_vendor@%$build_vendor%g
12264 s%@build_os@%$build_os%g
12268 s%@CXXCPP@%$CXXCPP%g
12269 s%@RANLIB@%$RANLIB%g
12271 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12272 s%@INSTALL_DATA@%$INSTALL_DATA%g
12276 s%@LEXLIB@%$LEXLIB%g
12278 s%@GTK_CONFIG@%$GTK_CONFIG%g
12279 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12280 s%@GTK_LIBS@%$GTK_LIBS%g
12281 s%@X_CFLAGS@%$X_CFLAGS%g
12282 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12283 s%@X_LIBS@%$X_LIBS%g
12284 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12285 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12286 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12287 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12288 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12289 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12290 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12291 s%@WX_LIBRARY@%$WX_LIBRARY%g
12292 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12293 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12294 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12295 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12296 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12297 s%@WX_ALL@%$WX_ALL%g
12298 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12299 s%@SHARED_LD@%$SHARED_LD%g
12300 s%@PIC_FLAG@%$PIC_FLAG%g
12301 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12302 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12303 s%@TOOLKIT@%$TOOLKIT%g
12304 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12305 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12306 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12307 s%@GUIHEADERS@%$GUIHEADERS%g
12308 s%@GUIOBJS@%$GUIOBJS%g
12309 s%@COMMONOBJS@%$COMMONOBJS%g
12310 s%@GENERICOBJS@%$GENERICOBJS%g
12311 s%@GUIDEPS@%$GUIDEPS%g
12312 s%@COMMONDEPS@%$COMMONDEPS%g
12313 s%@GENERICDEPS@%$GENERICDEPS%g
12314 s%@UNIXOBJS@%$UNIXOBJS%g
12315 s%@UNIXDEPS@%$UNIXDEPS%g
12316 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12317 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12318 s%@ALL_HEADERS@%$ALL_HEADERS%g
12319 s%@GUIDIST@%$GUIDIST%g
12320 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12321 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12322 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12323 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12324 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12325 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12326 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12327 s%@LD_LIBS@%$LD_LIBS%g
12328 s%@SET_MAKE@%$SET_MAKE%g
12329 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12334 cat >> $CONFIG_STATUS <<\EOF
12336 # Split the substitutions into bite-sized pieces for seds with
12337 # small command number limits, like on Digital OSF/1 and HP-UX.
12338 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12339 ac_file
=1 # Number of current file.
12340 ac_beg
=1 # First line for current file.
12341 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12344 while $ac_more_lines; do
12345 if test $ac_beg -gt 1; then
12346 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12348 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12350 if test ! -s conftest.s
$ac_file; then
12351 ac_more_lines
=false
12352 rm -f conftest.s
$ac_file
12354 if test -z "$ac_sed_cmds"; then
12355 ac_sed_cmds
="sed -f conftest.s$ac_file"
12357 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12359 ac_file
=`expr $ac_file + 1`
12361 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12364 if test -z "$ac_sed_cmds"; then
12369 cat >> $CONFIG_STATUS <<EOF
12371 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12377 samples/bombs/Makefile
12378 samples/caret/Makefile
12379 samples/checklst/Makefile
12380 samples/config/Makefile
12381 samples/controls/Makefile
12382 samples/db/Makefile
12383 samples/dialogs/Makefile
12384 samples/docview/Makefile
12385 samples/docvwmdi/Makefile
12386 samples/dnd/Makefile
12387 samples/drawing/Makefile
12388 samples/dynamic/Makefile
12389 samples/image/Makefile
12390 samples/internat/Makefile
12391 samples/layout/Makefile
12392 samples/listctrl/Makefile
12393 samples/mdi/Makefile
12394 samples/minifram/Makefile
12395 samples/minimal/Makefile
12396 samples/nettest/Makefile
12397 samples/newgrid/Makefile
12398 samples/notebook/Makefile
12399 samples/printing/Makefile
12400 samples/proplist/Makefile
12401 samples/richedit/Makefile
12402 samples/sashtest/Makefile
12403 samples/scroll/Makefile
12404 samples/splitter/Makefile
12405 samples/text/Makefile
12406 samples/thread/Makefile
12407 samples/toolbar/Makefile
12408 samples/treectrl/Makefile
12409 samples/typetest/Makefile
12410 samples/validate/Makefile
12411 samples/wxpoem/Makefile
12412 samples/wxsocket/Makefile
12413 samples/wizard/Makefile
12414 samples/html/Makefile
12415 samples/html/about/Makefile
12416 samples/html/help/Makefile
12417 samples/html/printing/Makefile
12418 samples/html/test/Makefile
12419 samples/html/zip/Makefile
12420 samples/html/virtual/Makefile
12421 samples/html/widget/Makefile
12423 utils/wxMMedia2/Makefile
12424 utils/wxMMedia2/lib/Makefile
12425 utils/wxMMedia2/sample/Makefile
12426 utils/glcanvas/Makefile
12427 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12429 utils/ogl/src/Makefile
12432 cat >> $CONFIG_STATUS <<\EOF
12433 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12434 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12436 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12437 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12438 *) ac_file_in
="${ac_file}.in" ;;
12441 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12443 # Remove last slash and all that follows it. Not all systems have dirname.
12444 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12445 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12446 # The file is in a subdirectory.
12447 test ! -d "$ac_dir" && mkdir "$ac_dir"
12448 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12449 # A "../" for each directory in $ac_dir_suffix.
12450 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12452 ac_dir_suffix
= ac_dots
=
12455 case "$ac_given_srcdir" in
12457 if test -z "$ac_dots"; then top_srcdir
=.
12458 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12459 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12460 *) # Relative path.
12461 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12462 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12465 case "$ac_given_INSTALL" in
12466 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12467 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12470 echo creating
"$ac_file"
12472 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12474 *Makefile
*) ac_comsub
="1i\\
12475 # $configure_input" ;;
12479 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12481 s%@configure_input@%$configure_input%g
12482 s%@srcdir@%$srcdir%g
12483 s%@top_srcdir@%$top_srcdir%g
12484 s%@INSTALL@%$INSTALL%g
12485 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12489 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12490 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12492 # ac_d sets the value in "#define NAME VALUE" lines.
12493 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12494 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12497 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12498 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12499 ac_uB
='\([ ]\)%\1#\2define\3'
12502 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12503 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12504 ac_eB
='$%\1#\2define\3'
12508 if test "${CONFIG_HEADERS+set}" != set; then
12510 cat >> $CONFIG_STATUS <<EOF
12511 CONFIG_HEADERS="setup.h:setup.h.in"
12513 cat >> $CONFIG_STATUS <<\EOF
12515 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12516 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12518 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12519 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12520 *) ac_file_in
="${ac_file}.in" ;;
12523 echo creating
$ac_file
12525 rm -f conftest.frag conftest.
in conftest.out
12526 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12527 cat $ac_file_inputs > conftest.
in
12531 # Transform confdefs.h into a sed script conftest.vals that substitutes
12532 # the proper values into config.h.in to produce config.h. And first:
12533 # Protect against being on the right side of a sed subst in config.status.
12534 # Protect against being in an unquoted here document in config.status.
12535 rm -f conftest.vals
12536 cat > conftest.hdr
<<\EOF
12539 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12543 sed -n -f conftest.hdr confdefs.h > conftest.vals
12546 # This sed command replaces #undef with comments. This is necessary, for
12547 # example, in the case of _POSIX_SOURCE, which is predefined and required
12548 # on some systems where configure will not decide to define it.
12549 cat >> conftest.vals <<\EOF
12550 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12553 # Break up conftest.vals because some shells have a limit on
12554 # the size of here documents, and old seds have small limits too.
12556 rm -f conftest.tail
12559 ac_lines=`grep -c . conftest.vals
`
12560 # grep -c gives empty output for an empty file on some AIX systems.
12561 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12562 # Write a limited-size here document to conftest.frag.
12563 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12564 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12566 sed -f conftest.frag conftest.in > conftest.out
12568 mv conftest.out conftest.in
12569 ' >> $CONFIG_STATUS
12570 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12571 rm -f conftest.vals
12572 mv conftest.tail conftest.vals
12574 rm -f conftest.vals
12576 cat >> $CONFIG_STATUS <<\EOF
12577 rm -f conftest.frag conftest.h
12578 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12579 cat conftest.in >> conftest.h
12581 if cmp -s $ac_file conftest.h 2>/dev/null; then
12582 echo "$ac_file is unchanged"
12585 # Remove last slash and all that follows it. Not all systems have dirname.
12586 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12587 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12588 # The file is in a subdirectory.
12589 test ! -d "$ac_dir" && mkdir "$ac_dir"
12592 mv conftest.h $ac_file
12597 cat >> $CONFIG_STATUS <<EOF
12599 LN_S="${ac_cv_prog_LN_S}"
12600 TOOLKIT_DIR="${TOOLKIT_DIR}"
12604 cat >> $CONFIG_STATUS <<\EOF
12607 if test ! -d include; then
12610 if test ! -d include/wx; then
12613 if test ! -d include/wx/${TOOLKIT_DIR}; then
12614 mkdir include/wx/${TOOLKIT_DIR}
12616 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12620 chmod +x $CONFIG_STATUS
12621 rm -fr confdefs* $ac_clean_files
12622 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1