3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.13
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
55 --enable-gui use GUI classes"
59 --with-motif use Motif/Lesstif"
63 --with-cygwin use Cygwin for MS-Windows"
65 --with-mingw use GCC Minimal MS-Windows"
67 --with-gtk-prefix=PFX Prefix where GTK is installed"
69 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
71 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
73 --with-zlib use zlib for LZW compression"
75 --with-libpng use libpng (PNG image format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-permissive compile code disregarding strict ANSI"
107 --enable-no_deps create code without dependency information"
109 --enable-intl use internationalization system"
111 --enable-config use wxConfig (and derived) classes"
113 --enable-sockets use socket/network classes"
115 --enable-dialupman use dialup network classes"
117 --enable-ipc use interprocess communication (wxSocket etc.)"
119 --enable-apple_ieee use the Apple IEEE codec"
121 --enable-timedate use date/time classes"
123 --enable-wave use wxWave class"
125 --enable-fraction use wxFraction class"
127 --enable-dynlib use wxLibrary class for DLL loading"
129 --enable-longlong use wxLongLong class"
131 --enable-log use logging system"
133 --enable-streams use wxStream etc classes"
135 --enable-file use wxFile classes"
137 --enable-textfile use wxTextFile classes"
139 --enable-unicode compile wxString with Unicode support"
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
145 --enable-joystick compile in joystick support (Linux only)"
147 --enable-std_iostreams use standard C++ stream classes"
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
151 --enable-fs_zip use virtual ZIP filesystems"
153 --enable-zipstream use wxZipInputStream"
155 --enable-threads use threads"
157 --enable-serial use class serialization"
159 --enable-docview use document view architecture"
161 --enable-help use help (using external browser at present)"
163 --enable-constraints use layout-constraints system"
165 --enable-printarch use printing architecture"
167 --enable-mdi use multiple document interface architecture"
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
171 --enable-prologio use Prolog IO library"
173 --enable-resources use wxWindows resources"
175 --enable-xresources use X resources for save (default for gtk+)"
177 --enable-clipboard use wxClipboard classes"
179 --enable-dnd use Drag'n'Drop classes"
181 --enable-wxtree make wxTree library"
183 --enable-controls use all usual controls"
185 --enable-accel use accelerators"
187 --enable-caret use wxCaret class"
189 --enable-bmpbutton use wxBitmapButton class"
191 --enable-checkbox use wxCheckBox class"
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
195 --enable-choice use wxChoice class"
197 --enable-combobox use wxComboBox classes"
199 --enable-gauge use wxGauge class"
201 --enable-grid use wxGrid class"
203 --enable-newgrid use new wxGrid class"
205 --enable-imaglist use wxImageList class"
207 --enable-listbox use wxListBox class"
209 --enable-listctrl use wxListCtrl class"
211 --enable-notebook use wxNotebook class"
213 --enable-radiobox use wxRadioBox class"
215 --enable-radiobtn use wxRadioButton class"
217 --enable-sash use wxSashWindow class"
219 --enable-scrollbar use wxScrollBar class and scrollable windows"
221 --enable-slider use wxSlider class"
223 --enable-spinbtn use wxSpinButton class"
225 --enable-splitter use wxSplitterWindow class"
227 --enable-statbmp use wxStaticBitmap class"
229 --enable-statbox use wxStaticBox class"
231 --enable-statline use wxStaticLine class"
233 --enable-statusbar use wxStatusBar class"
235 --enable-tabdialog use wxTabControl class"
237 --enable-toolbar use wxToolBar class"
239 --enable-treectrl use wxTreeCtrl class"
241 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
243 --enable-dirdlg use wxDirDialog"
245 --enable-textdlg use wxTextDialog"
247 --enable-tipdlg use startup tips"
249 --enable-progressdlg use wxProgressDialog"
251 --enable-miniframe use wxMiniFrame class"
253 --enable-html use wxHTML sub-library"
255 --enable-tooltips use wxToolTip class"
257 --enable-splines use spline drawing code"
259 --enable-validators use wxValidator and derived classes"
261 --enable-busyinfo use wxBusyInfo"
263 --enable-gif use gif images (GIF file format)"
265 --enable-pcx use pcx images (PCX file format)"
267 --enable-pnm use pnm images (PNM file format)"
269 # Initialize some variables set by options.
270 # The variables have the same names as the options, with
271 # dashes changed to underlines.
273 cache_file
=.
/config.cache
282 program_transform_name
=s
,x
,x
,
290 bindir
='${exec_prefix}/bin'
291 sbindir
='${exec_prefix}/sbin'
292 libexecdir
='${exec_prefix}/libexec'
293 datadir
='${prefix}/share'
294 sysconfdir
='${prefix}/etc'
295 sharedstatedir
='${prefix}/com'
296 localstatedir
='${prefix}/var'
297 libdir
='${exec_prefix}/lib'
298 includedir
='${prefix}/include'
299 oldincludedir
='/usr/include'
300 infodir
='${prefix}/info'
301 mandir
='${prefix}/man'
303 # Initialize some other variables.
306 SHELL
=${CONFIG_SHELL-/bin/sh}
307 # Maximum number of lines to put in a shell here document.
314 # If the previous option needs an argument, assign it.
315 if test -n "$ac_prev"; then
316 eval "$ac_prev=\$ac_option"
322 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
326 # Accept the important Cygnus configure options, so we can diagnose typos.
330 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
333 bindir
="$ac_optarg" ;;
335 -build | --build | --buil | --bui | --bu)
337 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
338 build
="$ac_optarg" ;;
340 -cache-file | --cache-file | --cache-fil | --cache-fi \
341 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
342 ac_prev
=cache_file
;;
343 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
344 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
345 cache_file
="$ac_optarg" ;;
347 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
349 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
351 datadir
="$ac_optarg" ;;
353 -disable-* | --disable-*)
354 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
355 # Reject names that are not valid shell variable names.
356 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
357 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
359 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
360 eval "enable_${ac_feature}=no" ;;
362 -enable-* | --enable-*)
363 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
364 # Reject names that are not valid shell variable names.
365 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
366 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
368 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
373 eval "enable_${ac_feature}='$ac_optarg'" ;;
375 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
376 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
377 | --exec | --exe | --ex)
378 ac_prev
=exec_prefix
;;
379 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
380 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
381 | --exec=* | --exe=* | --ex=*)
382 exec_prefix
="$ac_optarg" ;;
384 -gas | --gas | --ga | --g)
385 # Obsolete; use --with-gas.
388 -help | --help | --hel | --he)
389 # Omit some internal or obsolete options to make the list less imposing.
390 # This message is too long to be a string in the A/UX 3.1 sh.
392 Usage: configure [options] [host]
393 Options: [defaults in brackets after descriptions]
395 --cache-file=FILE cache test results in FILE
396 --help print this message
397 --no-create do not create output files
398 --quiet, --silent do not print \`checking...' messages
399 --version print the version of autoconf that created configure
400 Directory and file names:
401 --prefix=PREFIX install architecture-independent files in PREFIX
403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
405 --bindir=DIR user executables in DIR [EPREFIX/bin]
406 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
407 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
408 --datadir=DIR read-only architecture-independent data in DIR
410 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
411 --sharedstatedir=DIR modifiable architecture-independent data in DIR
413 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
414 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
415 --includedir=DIR C header files in DIR [PREFIX/include]
416 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
417 --infodir=DIR info documentation in DIR [PREFIX/info]
418 --mandir=DIR man documentation in DIR [PREFIX/man]
419 --srcdir=DIR find the sources in DIR [configure dir or ..]
420 --program-prefix=PREFIX prepend PREFIX to installed program names
421 --program-suffix=SUFFIX append SUFFIX to installed program names
422 --program-transform-name=PROGRAM
423 run sed PROGRAM on installed program names
427 --build=BUILD configure for building on BUILD [BUILD=HOST]
428 --host=HOST configure for HOST [guessed]
429 --target=TARGET configure for TARGET [TARGET=HOST]
430 Features and packages:
431 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
432 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
435 --x-includes=DIR X include files are in DIR
436 --x-libraries=DIR X library files are in DIR
438 if test -n "$ac_help"; then
439 echo "--enable and --with options recognized:$ac_help"
443 -host | --host | --hos | --ho)
445 -host=* | --host=* | --hos=* | --ho=*)
448 -includedir | --includedir | --includedi | --included | --include \
449 | --includ | --inclu | --incl | --inc)
450 ac_prev
=includedir
;;
451 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
452 | --includ=* | --inclu=* | --incl=* | --inc=*)
453 includedir
="$ac_optarg" ;;
455 -infodir | --infodir | --infodi | --infod | --info | --inf)
457 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
458 infodir
="$ac_optarg" ;;
460 -libdir | --libdir | --libdi | --libd)
462 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 libdir
="$ac_optarg" ;;
465 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
466 | --libexe | --libex | --libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
469 | --libexe=* | --libex=* | --libe=*)
470 libexecdir
="$ac_optarg" ;;
472 -localstatedir | --localstatedir | --localstatedi | --localstated \
473 | --localstate | --localstat | --localsta | --localst \
474 | --locals | --local | --loca | --loc | --lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
477 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
478 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
479 localstatedir
="$ac_optarg" ;;
481 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
483 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 mandir
="$ac_optarg" ;;
487 # Obsolete; use --without-fp.
490 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
494 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
495 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
498 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
499 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
500 | --oldin | --oldi | --old | --ol | --o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
503 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
504 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
505 oldincludedir
="$ac_optarg" ;;
507 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
509 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 prefix
="$ac_optarg" ;;
512 -program-prefix | --program-prefix | --program-prefi | --program-pref \
513 | --program-pre | --program-pr | --program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* | --program-prefix=* | --program-prefi=* \
516 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
517 program_prefix
="$ac_optarg" ;;
519 -program-suffix | --program-suffix | --program-suffi | --program-suff \
520 | --program-suf | --program-su | --program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* | --program-suffix=* | --program-suffi=* \
523 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
524 program_suffix
="$ac_optarg" ;;
526 -program-transform-name | --program-transform-name \
527 | --program-transform-nam | --program-transform-na \
528 | --program-transform-n | --program-transform- \
529 | --program-transform | --program-transfor \
530 | --program-transfo | --program-transf \
531 | --program-trans | --program-tran \
532 | --progr-tra | --program-tr | --program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* | --program-transform-name=* \
535 | --program-transform-nam=* | --program-transform-na=* \
536 | --program-transform-n=* | --program-transform-=* \
537 | --program-transform=* | --program-transfor=* \
538 | --program-transfo=* | --program-transf=* \
539 | --program-trans=* | --program-tran=* \
540 | --progr-tra=* | --program-tr=* | --program-t=*)
541 program_transform_name
="$ac_optarg" ;;
543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
544 | -silent | --silent | --silen | --sile | --sil)
547 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
549 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
551 sbindir
="$ac_optarg" ;;
553 -sharedstatedir | --sharedstatedir | --sharedstatedi \
554 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
555 | --sharedst | --shareds | --shared | --share | --shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
559 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
560 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
562 sharedstatedir
="$ac_optarg" ;;
564 -site | --site | --sit)
566 -site=* | --site=* | --sit=*)
569 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
571 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 srcdir
="$ac_optarg" ;;
574 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
575 | --syscon | --sysco | --sysc | --sys | --sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
578 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
579 sysconfdir
="$ac_optarg" ;;
581 -target | --target | --targe | --targ | --tar | --ta | --t)
583 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
584 target
="$ac_optarg" ;;
586 -v | -verbose | --verbose | --verbos | --verbo | --verb)
589 -version | --version | --versio | --versi | --vers)
590 echo "configure generated by autoconf version 2.13"
594 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
595 # Reject names that are not valid shell variable names.
596 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
597 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
599 ac_package
=`echo $ac_package| sed 's/-/_/g'`
604 eval "with_${ac_package}='$ac_optarg'" ;;
606 -without-* | --without-*)
607 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
608 # Reject names that are not valid shell variable names.
609 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
610 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
612 ac_package
=`echo $ac_package| sed 's/-/_/g'`
613 eval "with_${ac_package}=no" ;;
616 # Obsolete; use --with-x.
619 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
620 | --x-incl | --x-inc | --x-in | --x-i)
621 ac_prev
=x_includes
;;
622 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
623 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
624 x_includes
="$ac_optarg" ;;
626 -x-libraries | --x-libraries | --x-librarie | --x-librari \
627 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
628 ac_prev
=x_libraries
;;
629 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
630 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
631 x_libraries
="$ac_optarg" ;;
633 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
637 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
638 echo "configure: warning: $ac_option: invalid host type" 1>&2
640 if test "x$nonopt" != xNONE
; then
641 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
649 if test -n "$ac_prev"; then
650 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
653 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
655 # File descriptor usage:
658 # 2 errors and warnings
659 # 3 some systems may open it to /dev/tty
660 # 4 used on the Kubota Titan
661 # 6 checking for... messages and results
662 # 5 compiler messages saved in config.log
663 if test "$silent" = yes; then
671 This file contains any messages produced by compilers while
672 running configure, to aid debugging if configure makes a mistake.
675 # Strip out --no-create and --no-recursion so they do not pile up.
676 # Also quote any args containing shell metacharacters.
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
682 | --no-cr | --no-c) ;;
683 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
684 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
685 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
686 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
687 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
692 # Only set these to C if already set. These must not be set unconditionally
693 # because not all systems understand e.g. LANG=C (notably SCO).
694 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
695 # Non-C LC_CTYPE values break the ctype check.
696 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
697 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
698 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
699 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
702 rm -rf conftest
* confdefs.h
703 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
706 # A filename unique to this package, relative to the directory that
707 # configure is in, which we can look for to find out if srcdir is correct.
708 ac_unique_file
=wx
-config.
in
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
715 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
716 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted
=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
728 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
731 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
733 # Prefer explicitly selected file to automatically selected ones.
734 if test -z "$CONFIG_SITE"; then
735 if test "x$prefix" != xNONE
; then
736 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
738 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
741 for ac_site_file
in $CONFIG_SITE; do
742 if test -r "$ac_site_file"; then
743 echo "loading site script $ac_site_file"
748 if test -r "$cache_file"; then
749 echo "loading cache $cache_file"
752 echo "creating cache $cache_file"
757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
758 ac_cpp
='$CPP $CPPFLAGS'
759 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
760 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
761 cross_compiling
=$ac_cv_prog_cc_cross
765 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
766 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
767 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
774 ac_n
= ac_c
='\c' ac_t
=
780 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
781 if test -f $ac_dir/install-sh; then
783 ac_install_sh
="$ac_aux_dir/install-sh -c"
785 elif test -f $ac_dir/install.sh
; then
787 ac_install_sh
="$ac_aux_dir/install.sh -c"
791 if test -z "$ac_aux_dir"; then
792 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
794 ac_config_guess
=$ac_aux_dir/config.guess
795 ac_config_sub
=$ac_aux_dir/config.sub
796 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
799 # Do some error checking and defaulting for the host and target type.
801 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
804 # 1. You are not allowed to specify --host, --target, and nonopt at the
806 # 2. Host defaults to nonopt.
807 # 3. If nonopt is not specified, then host defaults to the current host,
808 # as determined by config.guess.
809 # 4. Target and build default to nonopt.
810 # 5. If nonopt is not specified, then target and build default to host.
812 # The aliases save the names the user supplied, while $host etc.
813 # will get canonicalized.
814 case $host---$target---$nonopt in
815 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
816 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
820 # Make sure we can run config.sub.
821 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
822 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
825 echo $ac_n "checking host system type""... $ac_c" 1>&6
826 echo "configure:827: checking host system type" >&5
829 case "$host_alias" in
833 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
834 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
836 *) host_alias
=$nonopt ;;
840 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
841 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
842 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
843 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
844 echo "$ac_t""$host" 1>&6
846 echo $ac_n "checking target system type""... $ac_c" 1>&6
847 echo "configure:848: checking target system type" >&5
850 case "$target_alias" in
853 NONE
) target_alias
=$host_alias ;;
854 *) target_alias
=$nonopt ;;
858 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
859 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
860 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
861 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
862 echo "$ac_t""$target" 1>&6
864 echo $ac_n "checking build system type""... $ac_c" 1>&6
865 echo "configure:866: checking build system type" >&5
868 case "$build_alias" in
871 NONE
) build_alias
=$host_alias ;;
872 *) build_alias
=$nonopt ;;
876 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
877 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
878 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
879 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
880 echo "$ac_t""$build" 1>&6
882 test "$host_alias" != "$target_alias" &&
883 test "$program_prefix$program_suffix$program_transform_name" = \
885 program_prefix
=${target_alias}-
889 WX_MAJOR_VERSION_NUMBER
=2
890 WX_MINOR_VERSION_NUMBER
=1
896 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
898 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
899 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
900 WX_REVISION
=$WX_INTERFACE_AGE
901 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
925 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
928 DEFAULT_wxUSE_MOTIF
=0
932 DEFAULT_DEFAULT_wxUSE_GTK
=0
933 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
934 DEFAULT_DEFAULT_wxUSE_MSW
=0
935 DEFAULT_DEFAULT_wxUSE_WINE
=0
940 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
941 cat >> confdefs.h
<<\EOF
948 cat >> confdefs.h
<<\EOF
953 if test "x$TMP" = "xalpha"; then
955 cat >> confdefs.h
<<\EOF
960 DEFAULT_DEFAULT_wxUSE_GTK
=1
962 *-*-irix5* | *-*-irix6* )
965 cat >> confdefs.h
<<\EOF
969 cat >> confdefs.h
<<\EOF
973 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
979 cat >> confdefs.h
<<\EOF
983 cat >> confdefs.h
<<\EOF
984 #define __SOLARIS__ 1
987 cat >> confdefs.h
<<\EOF
991 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
997 cat >> confdefs.h
<<\EOF
1001 cat >> confdefs.h
<<\EOF
1005 cat >> confdefs.h
<<\EOF
1009 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1011 *-*-freebsd* | *-*-netbsd*)
1014 cat >> confdefs.h
<<\EOF
1015 #define __FREEBSD__ 1
1018 cat >> confdefs.h
<<\EOF
1022 DEFAULT_DEFAULT_wxUSE_GTK
=1
1027 cat >> confdefs.h
<<\EOF
1031 cat >> confdefs.h
<<\EOF
1035 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1040 cat >> confdefs.h
<<\EOF
1044 cat >> confdefs.h
<<\EOF
1048 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1053 cat >> confdefs.h
<<\EOF
1057 cat >> confdefs.h
<<\EOF
1061 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 cat >> confdefs.h
<<\EOF
1079 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1085 cat >> confdefs.h
<<\EOF
1089 cat >> confdefs.h
<<\EOF
1093 cat >> confdefs.h
<<\EOF
1094 #define __WINDOWS__ 1
1097 cat >> confdefs.h
<<\EOF
1098 #define __GNUWIN32__ 1
1101 cat >> confdefs.h
<<\EOF
1105 cat >> confdefs.h
<<\EOF
1106 #define WINVER 0x0400
1109 DEFAULT_DEFAULT_wxUSE_MSW
=1
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1123 #define __WINDOWS__ 1
1126 cat >> confdefs.h
<<\EOF
1127 #define __GNUWIN32__ 1
1130 cat >> confdefs.h
<<\EOF
1134 cat >> confdefs.h
<<\EOF
1135 #define WINVER 0x0400
1138 DEFAULT_DEFAULT_wxUSE_MSW
=1
1142 cat >> confdefs.h
<<\EOF
1149 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1152 if test "$USE_UNIX" = 1 ; then
1154 cat >> confdefs.h
<<\EOF
1158 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1159 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1162 if test "$USE_LINUX" = 1; then
1163 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1164 echo "configure:1165: checking for gettext in -lc" >&5
1165 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1167 echo $ac_n "(cached) $ac_c" 1>&6
1169 ac_save_LIBS
="$LIBS"
1171 cat > conftest.
$ac_ext <<EOF
1172 #line 1173 "configure"
1173 #include "confdefs.h"
1174 /* Override any gcc2 internal prototype to avoid an error. */
1175 /* We use char because int might match the return type of a gcc2
1176 builtin and then its argument prototype would still apply. */
1183 if { (eval echo configure
:1184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1185 eval "ac_cv_lib_$ac_lib_var=yes"
1187 echo "configure: failed program was:" >&5
1188 cat conftest.
$ac_ext >&5
1190 eval "ac_cv_lib_$ac_lib_var=no"
1193 LIBS
="$ac_save_LIBS"
1196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1197 echo "$ac_t""yes" 1>&6
1198 cat >> confdefs.h
<<\EOF
1199 #define wxHAVE_GLIBC2 1
1203 echo "$ac_t""no" 1>&6
1211 wx_arg_cache_file
="configarg.cache"
1212 echo "loading argument cache $wx_arg_cache_file"
1213 rm -f ${wx_arg_cache_file}.tmp
1214 touch ${wx_arg_cache_file}.tmp
1215 touch ${wx_arg_cache_file}
1219 if test $DEBUG_CONFIGURE = 1; then
1220 DEFAULT_wxUSE_THREADS
=yes
1222 DEFAULT_wxUSE_SHARED
=yes
1223 DEFAULT_wxUSE_OPTIMISE
=yes
1224 DEFAULT_wxUSE_PROFILE
=no
1225 DEFAULT_wxUSE_NO_DEPS
=no
1226 DEFAULT_wxUSE_NO_RTTI
=no
1227 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1228 DEFAULT_wxUSE_PERMISSIVE
=no
1229 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1230 DEFAULT_wxUSE_DEBUG_INFO
=yes
1231 DEFAULT_wxUSE_DEBUG_GDB
=yes
1232 DEFAULT_wxUSE_MEM_TRACING
=no
1233 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1234 DEFAULT_wxUSE_DMALLOC
=no
1235 DEFAULT_wxUSE_APPLE_IEEE
=no
1237 DEFAULT_wxUSE_LOG
=yes
1239 DEFAULT_wxUSE_GUI
=yes
1241 DEFAULT_wxUSE_ZLIB
=no
1242 DEFAULT_wxUSE_LIBPNG
=no
1243 DEFAULT_wxUSE_LIBJPEG
=no
1244 DEFAULT_wxUSE_ODBC
=no
1246 DEFAULT_wxUSE_STD_IOSTREAM
=no
1247 DEFAULT_wxUSE_FILE
=no
1248 DEFAULT_wxUSE_TEXTFILE
=no
1249 DEFAULT_wxUSE_TIMEDATE
=no
1250 DEFAULT_wxUSE_WAVE
=no
1251 DEFAULT_wxUSE_INTL
=no
1252 DEFAULT_wxUSE_CONFIG
=no
1253 DEFAULT_wxUSE_STREAMS
=no
1254 DEFAULT_wxUSE_SOCKETS
=no
1255 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1256 DEFAULT_wxUSE_SERIAL
=no
1257 DEFAULT_wxUSE_JOYSTICK
=no
1258 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1259 DEFAULT_wxUSE_LONGLONG
=no
1261 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1262 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1263 DEFAULT_wxUSE_POSTSCRIPT
=no
1265 DEFAULT_wxUSE_X_RESOURCES
=no
1266 DEFAULT_wxUSE_CLIPBOARD
=no
1267 DEFAULT_wxUSE_TOOLTIPS
=no
1268 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1269 DEFAULT_wxUSE_SPLINES
=no
1271 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1272 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1273 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1275 DEFAULT_wxUSE_PROLOGIO
=no
1276 DEFAULT_wxUSE_RESOURCES
=no
1277 DEFAULT_wxUSE_CONSTRAINTS
=no
1278 DEFAULT_wxUSE_IPC
=no
1279 DEFAULT_wxUSE_HELP
=no
1280 DEFAULT_wxUSE_WXTREE
=no
1281 DEFAULT_wxUSE_METAFILE
=no
1283 DEFAULT_wxUSE_COMMONDLGS
=no
1284 DEFAULT_wxUSE_DIRDLG
=no
1285 DEFAULT_wxUSE_TEXTDLG
=no
1286 DEFAULT_wxUSE_STARTUP_TIPS
=no
1287 DEFAULT_wxUSE_PROGRESSDLG
=no
1288 DEFAULT_wxUSE_MINIFRAME
=no
1289 DEFAULT_wxUSE_HTML
=no
1290 DEFAULT_wxUSE_FS_INET
=no
1291 DEFAULT_wxUSE_FS_ZIP
=no
1292 DEFAULT_wxUSE_BUSYINFO
=no
1293 DEFAULT_wxUSE_ZIPSTREAM
=no
1294 DEFAULT_wxUSE_VALIDATORS
=yes
1296 DEFAULT_wxUSE_ACCEL
=no
1297 DEFAULT_wxUSE_CARET
=no
1298 DEFAULT_wxUSE_BMPBUTTON
=no
1299 DEFAULT_wxUSE_CHECKBOX
=no
1300 DEFAULT_wxUSE_CHECKLST
=no
1301 DEFAULT_wxUSE_CHOICE
=yes
1302 DEFAULT_wxUSE_COMBOBOX
=no
1303 DEFAULT_wxUSE_GAUGE
=no
1304 DEFAULT_wxUSE_GRID
=no
1305 DEFAULT_wxUSE_NEW_GRID
=no
1306 DEFAULT_wxUSE_IMAGLIST
=no
1307 DEFAULT_wxUSE_LISTBOX
=no
1308 DEFAULT_wxUSE_LISTCTRL
=no
1309 DEFAULT_wxUSE_NOTEBOOK
=no
1310 DEFAULT_wxUSE_RADIOBOX
=no
1311 DEFAULT_wxUSE_RADIOBTN
=no
1312 DEFAULT_wxUSE_SASH
=no
1313 DEFAULT_wxUSE_SCROLLBAR
=no
1314 DEFAULT_wxUSE_SLIDER
=no
1315 DEFAULT_wxUSE_SPINBTN
=no
1316 DEFAULT_wxUSE_SPLITTER
=no
1317 DEFAULT_wxUSE_STATBMP
=no
1318 DEFAULT_wxUSE_STATBOX
=no
1319 DEFAULT_wxUSE_STATLINE
=no
1320 DEFAULT_wxUSE_STATUSBAR
=yes
1321 DEFAULT_wxUSE_TABDIALOG
=no
1322 DEFAULT_wxUSE_TOOLBAR
=no
1323 DEFAULT_wxUSE_TREECTRL
=no
1325 DEFAULT_wxUSE_UNICODE
=no
1326 DEFAULT_wxUSE_WCSRTOMBS
=no
1328 DEFAULT_wxUSE_GIF
=no
1329 DEFAULT_wxUSE_PCX
=no
1330 DEFAULT_wxUSE_PNM
=no
1332 DEFAULT_wxUSE_THREADS
=yes
1334 DEFAULT_wxUSE_SHARED
=yes
1335 DEFAULT_wxUSE_OPTIMISE
=yes
1336 DEFAULT_wxUSE_PROFILE
=no
1337 DEFAULT_wxUSE_NO_DEPS
=no
1338 DEFAULT_wxUSE_NO_RTTI
=no
1339 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1340 DEFAULT_wxUSE_PERMISSIVE
=no
1341 DEFAULT_wxUSE_DEBUG_FLAG
=no
1342 DEFAULT_wxUSE_DEBUG_INFO
=no
1343 DEFAULT_wxUSE_DEBUG_GDB
=no
1344 DEFAULT_wxUSE_MEM_TRACING
=no
1345 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1346 DEFAULT_wxUSE_DMALLOC
=no
1347 DEFAULT_wxUSE_APPLE_IEEE
=yes
1349 DEFAULT_wxUSE_LOG
=yes
1351 DEFAULT_wxUSE_GUI
=yes
1353 DEFAULT_wxUSE_ZLIB
=yes
1354 DEFAULT_wxUSE_LIBPNG
=yes
1355 DEFAULT_wxUSE_LIBJPEG
=yes
1356 DEFAULT_wxUSE_ODBC
=yes
1358 DEFAULT_wxUSE_STD_IOSTREAM
=no
1359 DEFAULT_wxUSE_FILE
=yes
1360 DEFAULT_wxUSE_TEXTFILE
=yes
1361 DEFAULT_wxUSE_TIMEDATE
=yes
1362 DEFAULT_wxUSE_WAVE
=no
1363 DEFAULT_wxUSE_INTL
=yes
1364 DEFAULT_wxUSE_CONFIG
=yes
1365 DEFAULT_wxUSE_STREAMS
=yes
1366 DEFAULT_wxUSE_SOCKETS
=yes
1367 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1368 DEFAULT_wxUSE_SERIAL
=yes
1369 DEFAULT_wxUSE_JOYSTICK
=yes
1370 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1371 DEFAULT_wxUSE_LONGLONG
=no
1373 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1374 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1375 DEFAULT_wxUSE_POSTSCRIPT
=yes
1377 DEFAULT_wxUSE_X_RESOURCES
=no
1378 DEFAULT_wxUSE_CLIPBOARD
=yes
1379 DEFAULT_wxUSE_TOOLTIPS
=yes
1380 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1381 DEFAULT_wxUSE_SPLINES
=yes
1383 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1384 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1385 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1387 DEFAULT_wxUSE_PROLOGIO
=yes
1388 DEFAULT_wxUSE_RESOURCES
=yes
1389 DEFAULT_wxUSE_CONSTRAINTS
=yes
1390 DEFAULT_wxUSE_IPC
=yes
1391 DEFAULT_wxUSE_HELP
=yes
1392 DEFAULT_wxUSE_WXTREE
=yes
1393 DEFAULT_wxUSE_METAFILE
=yes
1395 DEFAULT_wxUSE_COMMONDLGS
=yes
1396 DEFAULT_wxUSE_DIRDLG
=yes
1397 DEFAULT_wxUSE_TEXTDLG
=yes
1398 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1399 DEFAULT_wxUSE_PROGRESSDLG
=yes
1400 DEFAULT_wxUSE_MINIFRAME
=yes
1401 DEFAULT_wxUSE_HTML
=yes
1402 DEFAULT_wxUSE_FS_INET
=yes
1403 DEFAULT_wxUSE_FS_ZIP
=yes
1404 DEFAULT_wxUSE_BUSYINFO
=yes
1405 DEFAULT_wxUSE_ZIPSTREAM
=yes
1406 DEFAULT_wxUSE_VALIDATORS
=yes
1408 DEFAULT_wxUSE_ACCEL
=yes
1409 DEFAULT_wxUSE_CARET
=yes
1410 DEFAULT_wxUSE_BMPBUTTON
=yes
1411 DEFAULT_wxUSE_CHECKBOX
=yes
1412 DEFAULT_wxUSE_CHECKLST
=yes
1413 DEFAULT_wxUSE_CHOICE
=yes
1414 DEFAULT_wxUSE_COMBOBOX
=yes
1415 DEFAULT_wxUSE_GAUGE
=yes
1416 DEFAULT_wxUSE_GRID
=yes
1417 DEFAULT_wxUSE_NEW_GRID
=yes
1418 DEFAULT_wxUSE_IMAGLIST
=yes
1419 DEFAULT_wxUSE_LISTBOX
=yes
1420 DEFAULT_wxUSE_LISTCTRL
=yes
1421 DEFAULT_wxUSE_NOTEBOOK
=yes
1422 DEFAULT_wxUSE_RADIOBOX
=yes
1423 DEFAULT_wxUSE_RADIOBTN
=yes
1424 DEFAULT_wxUSE_SASH
=yes
1425 DEFAULT_wxUSE_SCROLLBAR
=yes
1426 DEFAULT_wxUSE_SLIDER
=yes
1427 DEFAULT_wxUSE_SPINBTN
=yes
1428 DEFAULT_wxUSE_SPLITTER
=yes
1429 DEFAULT_wxUSE_STATBMP
=yes
1430 DEFAULT_wxUSE_STATBOX
=yes
1431 DEFAULT_wxUSE_STATLINE
=yes
1432 DEFAULT_wxUSE_STATUSBAR
=yes
1433 DEFAULT_wxUSE_TABDIALOG
=no
1434 DEFAULT_wxUSE_TOOLBAR
=yes
1435 DEFAULT_wxUSE_TREECTRL
=yes
1437 DEFAULT_wxUSE_UNICODE
=no
1438 DEFAULT_wxUSE_WCSRTOMBS
=no
1440 DEFAULT_wxUSE_GIF
=yes
1441 DEFAULT_wxUSE_PCX
=yes
1442 DEFAULT_wxUSE_PNM
=yes
1447 for toolkit
in `echo $ALL_TOOLKITS`; do
1448 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1449 if test "x$LINE" != x
; then
1450 has_toolkit_in_cache
=1
1451 eval "DEFAULT_$LINE"
1452 eval "CACHE_$toolkit=1"
1458 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1459 echo "configure:1460: checking "for --enable-gui"" >&5
1461 # Check whether --enable-gui or --disable-gui was given.
1462 if test "${enable_gui+set}" = set; then
1463 enableval
="$enable_gui"
1465 if test "$enableval" = yes; then
1466 ac_cv_use_gui
='wxUSE_GUI=yes'
1468 ac_cv_use_gui
='wxUSE_GUI=no'
1473 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1474 if test "x$LINE" != x
; then
1475 eval "DEFAULT_$LINE"
1480 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1485 eval "$ac_cv_use_gui"
1486 if test "$no_cache" != 1; then
1487 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1490 if test "$wxUSE_GUI" = yes; then
1491 echo "$ac_t""yes" 1>&6
1493 echo "$ac_t""no" 1>&6
1497 if test "$wxUSE_GUI" = "no"; then
1498 DEFAULT_wxUSE_ZLIB
=no
1499 DEFAULT_wxUSE_LIBPNG
=no
1500 DEFAULT_wxUSE_LIBJPEG
=no
1501 DEFAULT_wxUSE_SOCKETS
=no
1502 DEFAULT_wxUSE_JOYSTICK
=no
1503 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1504 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1505 DEFAULT_wxUSE_POSTSCRIPT
=no
1506 DEFAULT_wxUSE_X_RESOURCES
=no
1507 DEFAULT_wxUSE_CLIPBOARD
=no
1508 DEFAULT_wxUSE_TOOLTIPS
=no
1509 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1510 DEFAULT_wxUSE_SPLINES
=no
1511 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1512 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1513 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1514 DEFAULT_wxUSE_PROLOGIO
=no
1515 DEFAULT_wxUSE_RESOURCES
=no
1516 DEFAULT_wxUSE_CONSTRAINTS
=no
1517 DEFAULT_wxUSE_IPC
=no
1518 DEFAULT_wxUSE_HELP
=no
1519 DEFAULT_wxUSE_WXTREE
=no
1520 DEFAULT_wxUSE_METAFILE
=no
1521 DEFAULT_wxUSE_COMMONDLGS
=no
1522 DEFAULT_wxUSE_DIRDLG
=no
1523 DEFAULT_wxUSE_TEXTDLG
=no
1524 DEFAULT_wxUSE_STARTUP_TIPS
=no
1525 DEFAULT_wxUSE_PROGRESSDLG
=no
1526 DEFAULT_wxUSE_MINIFRAME
=no
1527 DEFAULT_wxUSE_HTML
=no
1528 DEFAULT_wxUSE_FS_INET
=no
1529 DEFAULT_wxUSE_FS_ZIP
=no
1530 DEFAULT_wxUSE_BUSYINFO
=no
1531 DEFAULT_wxUSE_ZIPSTREAM
=no
1532 DEFAULT_wxUSE_VALIDATORS
=no
1533 DEFAULT_wxUSE_ACCEL
=no
1534 DEFAULT_wxUSE_CARET
=no
1535 DEFAULT_wxUSE_BMPBUTTON
=no
1536 DEFAULT_wxUSE_CHECKBOX
=no
1537 DEFAULT_wxUSE_CHECKLST
=no
1538 DEFAULT_wxUSE_CHOICE
=no
1539 DEFAULT_wxUSE_COMBOBOX
=no
1540 DEFAULT_wxUSE_GAUGE
=no
1541 DEFAULT_wxUSE_GRID
=no
1542 DEFAULT_wxUSE_NEW_GRID
=no
1543 DEFAULT_wxUSE_IMAGLIST
=no
1544 DEFAULT_wxUSE_LISTBOX
=no
1545 DEFAULT_wxUSE_LISTCTRL
=no
1546 DEFAULT_wxUSE_NOTEBOOK
=no
1547 DEFAULT_wxUSE_RADIOBOX
=no
1548 DEFAULT_wxUSE_RADIOBTN
=no
1549 DEFAULT_wxUSE_SASH
=no
1550 DEFAULT_wxUSE_SCROLLBAR
=no
1551 DEFAULT_wxUSE_SLIDER
=no
1552 DEFAULT_wxUSE_SPINBTN
=no
1553 DEFAULT_wxUSE_SPLITTER
=no
1554 DEFAULT_wxUSE_STATBMP
=no
1555 DEFAULT_wxUSE_STATBOX
=no
1556 DEFAULT_wxUSE_STATLINE
=no
1557 DEFAULT_wxUSE_STATUSBAR
=no
1558 DEFAULT_wxUSE_TABDIALOG
=no
1559 DEFAULT_wxUSE_TOOLBAR
=no
1560 DEFAULT_wxUSE_TREECTRL
=no
1561 DEFAULT_wxUSE_GIF
=no
1562 DEFAULT_wxUSE_PCX
=no
1563 DEFAULT_wxUSE_PNM
=no
1566 # Check whether --with-gtk or --without-gtk was given.
1567 if test "${with_gtk+set}" = set; then
1569 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1572 # Check whether --with-motif or --without-motif was given.
1573 if test "${with_motif+set}" = set; then
1574 withval
="$with_motif"
1575 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1578 # Check whether --with-wine or --without-wine was given.
1579 if test "${with_wine+set}" = set; then
1580 withval
="$with_wine"
1581 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1584 # Check whether --with-cygwin or --without-cygwin was given.
1585 if test "${with_cygwin+set}" = set; then
1586 withval
="$with_cygwin"
1587 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1590 # Check whether --with-mingw or --without-mingw was given.
1591 if test "${with_mingw+set}" = set; then
1592 withval
="$with_mingw"
1593 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1597 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1598 if test "${with_gtk_prefix+set}" = set; then
1599 withval
="$with_gtk_prefix"
1600 gtk_config_prefix
="$withval"
1602 gtk_config_prefix
=""
1605 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1606 if test "${with_gtk_exec_prefix+set}" = set; then
1607 withval
="$with_gtk_exec_prefix"
1608 gtk_config_exec_prefix
="$withval"
1610 gtk_config_exec_prefix
=""
1615 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1616 echo "configure:1617: checking "for --with-dmalloc"" >&5
1618 # Check whether --with-dmalloc or --without-dmalloc was given.
1619 if test "${with_dmalloc+set}" = set; then
1620 withval
="$with_dmalloc"
1622 if test "$withval" = yes; then
1623 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1625 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1630 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1631 if test "x$LINE" != x
; then
1632 eval "DEFAULT_$LINE"
1637 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1642 eval "$ac_cv_use_dmalloc"
1643 if test "$no_cache" != 1; then
1644 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1647 if test "$wxUSE_DMALLOC" = yes; then
1648 echo "$ac_t""yes" 1>&6
1650 echo "$ac_t""no" 1>&6
1654 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1655 echo "configure:1656: checking "for --with-zlib"" >&5
1657 # Check whether --with-zlib or --without-zlib was given.
1658 if test "${with_zlib+set}" = set; then
1659 withval
="$with_zlib"
1661 if test "$withval" = yes; then
1662 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1664 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1669 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1670 if test "x$LINE" != x
; then
1671 eval "DEFAULT_$LINE"
1676 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1681 eval "$ac_cv_use_zlib"
1682 if test "$no_cache" != 1; then
1683 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1686 if test "$wxUSE_ZLIB" = yes; then
1687 echo "$ac_t""yes" 1>&6
1689 echo "$ac_t""no" 1>&6
1693 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1694 echo "configure:1695: checking "for --with-libpng"" >&5
1696 # Check whether --with-libpng or --without-libpng was given.
1697 if test "${with_libpng+set}" = set; then
1698 withval
="$with_libpng"
1700 if test "$withval" = yes; then
1701 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1703 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1708 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1709 if test "x$LINE" != x
; then
1710 eval "DEFAULT_$LINE"
1715 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1720 eval "$ac_cv_use_libpng"
1721 if test "$no_cache" != 1; then
1722 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1725 if test "$wxUSE_LIBPNG" = yes; then
1726 echo "$ac_t""yes" 1>&6
1728 echo "$ac_t""no" 1>&6
1732 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1733 echo "configure:1734: checking "for --with-libjpeg"" >&5
1735 # Check whether --with-libjpeg or --without-libjpeg was given.
1736 if test "${with_libjpeg+set}" = set; then
1737 withval
="$with_libjpeg"
1739 if test "$withval" = yes; then
1740 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1742 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1747 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1748 if test "x$LINE" != x
; then
1749 eval "DEFAULT_$LINE"
1754 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1759 eval "$ac_cv_use_libjpeg"
1760 if test "$no_cache" != 1; then
1761 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1764 if test "$wxUSE_LIBJPEG" = yes; then
1765 echo "$ac_t""yes" 1>&6
1767 echo "$ac_t""no" 1>&6
1771 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1772 echo "configure:1773: checking "for --with-opengl"" >&5
1774 # Check whether --with-opengl or --without-opengl was given.
1775 if test "${with_opengl+set}" = set; then
1776 withval
="$with_opengl"
1778 if test "$withval" = yes; then
1779 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1781 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1786 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1787 if test "x$LINE" != x
; then
1788 eval "DEFAULT_$LINE"
1793 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1798 eval "$ac_cv_use_opengl"
1799 if test "$no_cache" != 1; then
1800 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1803 if test "$wxUSE_OPENGL" = yes; then
1804 echo "$ac_t""yes" 1>&6
1806 echo "$ac_t""no" 1>&6
1810 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1811 echo "configure:1812: checking "for --with-odbc"" >&5
1813 # Check whether --with-odbc or --without-odbc was given.
1814 if test "${with_odbc+set}" = set; then
1815 withval
="$with_odbc"
1817 if test "$withval" = yes; then
1818 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1820 ac_cv_use_odbc
='wxUSE_ODBC=no'
1825 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1826 if test "x$LINE" != x
; then
1827 eval "DEFAULT_$LINE"
1832 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1837 eval "$ac_cv_use_odbc"
1838 if test "$no_cache" != 1; then
1839 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1842 if test "$wxUSE_ODBC" = yes; then
1843 echo "$ac_t""yes" 1>&6
1845 echo "$ac_t""no" 1>&6
1852 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1853 echo "configure:1854: checking "for --enable-shared"" >&5
1855 # Check whether --enable-shared or --disable-shared was given.
1856 if test "${enable_shared+set}" = set; then
1857 enableval
="$enable_shared"
1859 if test "$enableval" = yes; then
1860 ac_cv_use_shared
='wxUSE_SHARED=yes'
1862 ac_cv_use_shared
='wxUSE_SHARED=no'
1867 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1868 if test "x$LINE" != x
; then
1869 eval "DEFAULT_$LINE"
1874 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1879 eval "$ac_cv_use_shared"
1880 if test "$no_cache" != 1; then
1881 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1884 if test "$wxUSE_SHARED" = yes; then
1885 echo "$ac_t""yes" 1>&6
1887 echo "$ac_t""no" 1>&6
1891 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1892 echo "configure:1893: checking "for --enable-optimise"" >&5
1894 # Check whether --enable-optimise or --disable-optimise was given.
1895 if test "${enable_optimise+set}" = set; then
1896 enableval
="$enable_optimise"
1898 if test "$enableval" = yes; then
1899 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1901 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1906 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1907 if test "x$LINE" != x
; then
1908 eval "DEFAULT_$LINE"
1913 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1918 eval "$ac_cv_use_optimise"
1919 if test "$no_cache" != 1; then
1920 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1923 if test "$wxUSE_OPTIMISE" = yes; then
1924 echo "$ac_t""yes" 1>&6
1926 echo "$ac_t""no" 1>&6
1930 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1931 echo "configure:1932: checking "for --enable-debug"" >&5
1933 # Check whether --enable-debug or --disable-debug was given.
1934 if test "${enable_debug+set}" = set; then
1935 enableval
="$enable_debug"
1937 if test "$enableval" = yes; then
1938 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1940 ac_cv_use_debug
='wxUSE_DEBUG=no'
1945 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1946 if test "x$LINE" != x
; then
1947 eval "DEFAULT_$LINE"
1952 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1957 eval "$ac_cv_use_debug"
1958 if test "$no_cache" != 1; then
1959 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1962 if test "$wxUSE_DEBUG" = yes; then
1963 echo "$ac_t""yes" 1>&6
1965 echo "$ac_t""no" 1>&6
1969 if test "$wxUSE_DEBUG" = "yes"; then
1970 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1971 DEFAULT_wxUSE_DEBUG_INFO
=yes
1972 elif test "$wxUSE_DEBUG" = "no"; then
1973 DEFAULT_wxUSE_DEBUG_FLAG
=no
1974 DEFAULT_wxUSE_DEBUG_INFO
=no
1978 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1979 echo "configure:1980: checking "for --enable-debug_flag"" >&5
1981 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1982 if test "${enable_debug_flag+set}" = set; then
1983 enableval
="$enable_debug_flag"
1985 if test "$enableval" = yes; then
1986 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1988 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1993 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1994 if test "x$LINE" != x
; then
1995 eval "DEFAULT_$LINE"
2000 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2005 eval "$ac_cv_use_debug_flag"
2006 if test "$no_cache" != 1; then
2007 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2010 if test "$wxUSE_DEBUG_FLAG" = yes; then
2011 echo "$ac_t""yes" 1>&6
2013 echo "$ac_t""no" 1>&6
2017 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2018 echo "configure:2019: checking "for --enable-debug_info"" >&5
2020 # Check whether --enable-debug_info or --disable-debug_info was given.
2021 if test "${enable_debug_info+set}" = set; then
2022 enableval
="$enable_debug_info"
2024 if test "$enableval" = yes; then
2025 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2027 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2032 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2033 if test "x$LINE" != x
; then
2034 eval "DEFAULT_$LINE"
2039 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2044 eval "$ac_cv_use_debug_info"
2045 if test "$no_cache" != 1; then
2046 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2049 if test "$wxUSE_DEBUG_INFO" = yes; then
2050 echo "$ac_t""yes" 1>&6
2052 echo "$ac_t""no" 1>&6
2056 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2057 echo "configure:2058: checking "for --enable-debug_gdb"" >&5
2059 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2060 if test "${enable_debug_gdb+set}" = set; then
2061 enableval
="$enable_debug_gdb"
2063 if test "$enableval" = yes; then
2064 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2066 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2071 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2072 if test "x$LINE" != x
; then
2073 eval "DEFAULT_$LINE"
2078 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2083 eval "$ac_cv_use_debug_gdb"
2084 if test "$no_cache" != 1; then
2085 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2088 if test "$wxUSE_DEBUG_GDB" = yes; then
2089 echo "$ac_t""yes" 1>&6
2091 echo "$ac_t""no" 1>&6
2095 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2096 echo "configure:2097: checking "for --enable-debug_cntxt"" >&5
2098 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2099 if test "${enable_debug_cntxt+set}" = set; then
2100 enableval
="$enable_debug_cntxt"
2102 if test "$enableval" = yes; then
2103 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2105 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2110 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2111 if test "x$LINE" != x
; then
2112 eval "DEFAULT_$LINE"
2117 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2122 eval "$ac_cv_use_debug_cntxt"
2123 if test "$no_cache" != 1; then
2124 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2127 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2128 echo "$ac_t""yes" 1>&6
2130 echo "$ac_t""no" 1>&6
2134 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2135 echo "configure:2136: checking "for --enable-mem_tracing"" >&5
2137 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2138 if test "${enable_mem_tracing+set}" = set; then
2139 enableval
="$enable_mem_tracing"
2141 if test "$enableval" = yes; then
2142 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2144 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2149 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2150 if test "x$LINE" != x
; then
2151 eval "DEFAULT_$LINE"
2156 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2161 eval "$ac_cv_use_mem_tracing"
2162 if test "$no_cache" != 1; then
2163 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2166 if test "$wxUSE_MEM_TRACING" = yes; then
2167 echo "$ac_t""yes" 1>&6
2169 echo "$ac_t""no" 1>&6
2173 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2174 echo "configure:2175: checking "for --enable-profile"" >&5
2176 # Check whether --enable-profile or --disable-profile was given.
2177 if test "${enable_profile+set}" = set; then
2178 enableval
="$enable_profile"
2180 if test "$enableval" = yes; then
2181 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2183 ac_cv_use_profile
='wxUSE_PROFILE=no'
2188 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2189 if test "x$LINE" != x
; then
2190 eval "DEFAULT_$LINE"
2195 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2200 eval "$ac_cv_use_profile"
2201 if test "$no_cache" != 1; then
2202 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2205 if test "$wxUSE_PROFILE" = yes; then
2206 echo "$ac_t""yes" 1>&6
2208 echo "$ac_t""no" 1>&6
2212 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2213 echo "configure:2214: checking "for --enable-no_rtti"" >&5
2215 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2216 if test "${enable_no_rtti+set}" = set; then
2217 enableval
="$enable_no_rtti"
2219 if test "$enableval" = yes; then
2220 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2222 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2227 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2228 if test "x$LINE" != x
; then
2229 eval "DEFAULT_$LINE"
2234 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2239 eval "$ac_cv_use_no_rtti"
2240 if test "$no_cache" != 1; then
2241 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2244 if test "$wxUSE_NO_RTTI" = yes; then
2245 echo "$ac_t""yes" 1>&6
2247 echo "$ac_t""no" 1>&6
2251 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2252 echo "configure:2253: checking "for --enable-no_exceptions"" >&5
2254 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2255 if test "${enable_no_exceptions+set}" = set; then
2256 enableval
="$enable_no_exceptions"
2258 if test "$enableval" = yes; then
2259 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2261 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2266 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2267 if test "x$LINE" != x
; then
2268 eval "DEFAULT_$LINE"
2273 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2278 eval "$ac_cv_use_no_exceptions"
2279 if test "$no_cache" != 1; then
2280 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2283 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2284 echo "$ac_t""yes" 1>&6
2286 echo "$ac_t""no" 1>&6
2290 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2291 echo "configure:2292: checking "for --enable-permissive"" >&5
2293 # Check whether --enable-permissive or --disable-permissive was given.
2294 if test "${enable_permissive+set}" = set; then
2295 enableval
="$enable_permissive"
2297 if test "$enableval" = yes; then
2298 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2300 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2305 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2306 if test "x$LINE" != x
; then
2307 eval "DEFAULT_$LINE"
2312 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2317 eval "$ac_cv_use_permissive"
2318 if test "$no_cache" != 1; then
2319 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2322 if test "$wxUSE_PERMISSIVE" = yes; then
2323 echo "$ac_t""yes" 1>&6
2325 echo "$ac_t""no" 1>&6
2329 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2330 echo "configure:2331: checking "for --enable-no_deps"" >&5
2332 # Check whether --enable-no_deps or --disable-no_deps was given.
2333 if test "${enable_no_deps+set}" = set; then
2334 enableval
="$enable_no_deps"
2336 if test "$enableval" = yes; then
2337 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2339 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2344 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2345 if test "x$LINE" != x
; then
2346 eval "DEFAULT_$LINE"
2351 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2356 eval "$ac_cv_use_no_deps"
2357 if test "$no_cache" != 1; then
2358 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2361 if test "$wxUSE_NO_DEPS" = yes; then
2362 echo "$ac_t""yes" 1>&6
2364 echo "$ac_t""no" 1>&6
2370 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2371 echo "configure:2372: checking "for --enable-intl"" >&5
2373 # Check whether --enable-intl or --disable-intl was given.
2374 if test "${enable_intl+set}" = set; then
2375 enableval
="$enable_intl"
2377 if test "$enableval" = yes; then
2378 ac_cv_use_intl
='wxUSE_INTL=yes'
2380 ac_cv_use_intl
='wxUSE_INTL=no'
2385 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x
; then
2387 eval "DEFAULT_$LINE"
2392 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2397 eval "$ac_cv_use_intl"
2398 if test "$no_cache" != 1; then
2399 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2402 if test "$wxUSE_INTL" = yes; then
2403 echo "$ac_t""yes" 1>&6
2405 echo "$ac_t""no" 1>&6
2409 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2410 echo "configure:2411: checking "for --enable-config"" >&5
2412 # Check whether --enable-config or --disable-config was given.
2413 if test "${enable_config+set}" = set; then
2414 enableval
="$enable_config"
2416 if test "$enableval" = yes; then
2417 ac_cv_use_config
='wxUSE_CONFIG=yes'
2419 ac_cv_use_config
='wxUSE_CONFIG=no'
2424 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2425 if test "x$LINE" != x
; then
2426 eval "DEFAULT_$LINE"
2431 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2436 eval "$ac_cv_use_config"
2437 if test "$no_cache" != 1; then
2438 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2441 if test "$wxUSE_CONFIG" = yes; then
2442 echo "$ac_t""yes" 1>&6
2444 echo "$ac_t""no" 1>&6
2448 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2449 echo "configure:2450: checking "for --enable-sockets"" >&5
2451 # Check whether --enable-sockets or --disable-sockets was given.
2452 if test "${enable_sockets+set}" = set; then
2453 enableval
="$enable_sockets"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2458 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2463 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2475 eval "$ac_cv_use_sockets"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_SOCKETS" = yes; then
2481 echo "$ac_t""yes" 1>&6
2483 echo "$ac_t""no" 1>&6
2487 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2488 echo "configure:2489: checking "for --enable-dialupman"" >&5
2490 # Check whether --enable-dialupman or --disable-dialupman was given.
2491 if test "${enable_dialupman+set}" = set; then
2492 enableval
="$enable_dialupman"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2497 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2502 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2514 eval "$ac_cv_use_dialupman"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2520 echo "$ac_t""yes" 1>&6
2522 echo "$ac_t""no" 1>&6
2526 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2527 echo "configure:2528: checking "for --enable-ipc"" >&5
2529 # Check whether --enable-ipc or --disable-ipc was given.
2530 if test "${enable_ipc+set}" = set; then
2531 enableval
="$enable_ipc"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_ipc
='wxUSE_IPC=yes'
2536 ac_cv_use_ipc
='wxUSE_IPC=no'
2541 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2553 eval "$ac_cv_use_ipc"
2554 if test "$no_cache" != 1; then
2555 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2558 if test "$wxUSE_IPC" = yes; then
2559 echo "$ac_t""yes" 1>&6
2561 echo "$ac_t""no" 1>&6
2565 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2566 echo "configure:2567: checking "for --enable-apple_ieee"" >&5
2568 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2569 if test "${enable_apple_ieee+set}" = set; then
2570 enableval
="$enable_apple_ieee"
2572 if test "$enableval" = yes; then
2573 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2580 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2581 if test "x$LINE" != x
; then
2582 eval "DEFAULT_$LINE"
2587 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2592 eval "$ac_cv_use_apple_ieee"
2593 if test "$no_cache" != 1; then
2594 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2597 if test "$wxUSE_APPLE_IEEE" = yes; then
2598 echo "$ac_t""yes" 1>&6
2600 echo "$ac_t""no" 1>&6
2604 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2605 echo "configure:2606: checking "for --enable-timedate"" >&5
2607 # Check whether --enable-timedate or --disable-timedate was given.
2608 if test "${enable_timedate+set}" = set; then
2609 enableval
="$enable_timedate"
2611 if test "$enableval" = yes; then
2612 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2614 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2619 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2620 if test "x$LINE" != x
; then
2621 eval "DEFAULT_$LINE"
2626 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2631 eval "$ac_cv_use_timedate"
2632 if test "$no_cache" != 1; then
2633 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2636 if test "$wxUSE_TIMEDATE" = yes; then
2637 echo "$ac_t""yes" 1>&6
2639 echo "$ac_t""no" 1>&6
2643 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2644 echo "configure:2645: checking "for --enable-wave"" >&5
2646 # Check whether --enable-wave or --disable-wave was given.
2647 if test "${enable_wave+set}" = set; then
2648 enableval
="$enable_wave"
2650 if test "$enableval" = yes; then
2651 ac_cv_use_wave
='wxUSE_WAVE=yes'
2653 ac_cv_use_wave
='wxUSE_WAVE=no'
2658 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2659 if test "x$LINE" != x
; then
2660 eval "DEFAULT_$LINE"
2665 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2670 eval "$ac_cv_use_wave"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_WAVE" = yes; then
2676 echo "$ac_t""yes" 1>&6
2678 echo "$ac_t""no" 1>&6
2682 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2683 echo "configure:2684: checking "for --enable-fraction"" >&5
2685 # Check whether --enable-fraction or --disable-fraction was given.
2686 if test "${enable_fraction+set}" = set; then
2687 enableval
="$enable_fraction"
2689 if test "$enableval" = yes; then
2690 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2692 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2697 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x
; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2709 eval "$ac_cv_use_fraction"
2710 if test "$no_cache" != 1; then
2711 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2714 if test "$wxUSE_FRACTION" = yes; then
2715 echo "$ac_t""yes" 1>&6
2717 echo "$ac_t""no" 1>&6
2721 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2722 echo "configure:2723: checking "for --enable-dynlib"" >&5
2724 # Check whether --enable-dynlib or --disable-dynlib was given.
2725 if test "${enable_dynlib+set}" = set; then
2726 enableval
="$enable_dynlib"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2736 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x
; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2748 eval "$ac_cv_use_dynlib"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2753 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2754 echo "$ac_t""yes" 1>&6
2756 echo "$ac_t""no" 1>&6
2760 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2761 echo "configure:2762: checking "for --enable-longlong"" >&5
2763 # Check whether --enable-longlong or --disable-longlong was given.
2764 if test "${enable_longlong+set}" = set; then
2765 enableval
="$enable_longlong"
2767 if test "$enableval" = yes; then
2768 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2770 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2775 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x
; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2787 eval "$ac_cv_use_longlong"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2792 if test "$wxUSE_LONGLONG" = yes; then
2793 echo "$ac_t""yes" 1>&6
2795 echo "$ac_t""no" 1>&6
2799 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2800 echo "configure:2801: checking "for --enable-log"" >&5
2802 # Check whether --enable-log or --disable-log was given.
2803 if test "${enable_log+set}" = set; then
2804 enableval
="$enable_log"
2806 if test "$enableval" = yes; then
2807 ac_cv_use_log
='wxUSE_LOG=yes'
2809 ac_cv_use_log
='wxUSE_LOG=no'
2814 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2815 if test "x$LINE" != x
; then
2816 eval "DEFAULT_$LINE"
2821 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2826 eval "$ac_cv_use_log"
2827 if test "$no_cache" != 1; then
2828 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2831 if test "$wxUSE_LOG" = yes; then
2832 echo "$ac_t""yes" 1>&6
2834 echo "$ac_t""no" 1>&6
2838 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2839 echo "configure:2840: checking "for --enable-streams"" >&5
2841 # Check whether --enable-streams or --disable-streams was given.
2842 if test "${enable_streams+set}" = set; then
2843 enableval
="$enable_streams"
2845 if test "$enableval" = yes; then
2846 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2848 ac_cv_use_streams
='wxUSE_STREAMS=no'
2853 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2854 if test "x$LINE" != x
; then
2855 eval "DEFAULT_$LINE"
2860 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2865 eval "$ac_cv_use_streams"
2866 if test "$no_cache" != 1; then
2867 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2870 if test "$wxUSE_STREAMS" = yes; then
2871 echo "$ac_t""yes" 1>&6
2873 echo "$ac_t""no" 1>&6
2877 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2878 echo "configure:2879: checking "for --enable-file"" >&5
2880 # Check whether --enable-file or --disable-file was given.
2881 if test "${enable_file+set}" = set; then
2882 enableval
="$enable_file"
2884 if test "$enableval" = yes; then
2885 ac_cv_use_file
='wxUSE_FILE=yes'
2887 ac_cv_use_file
='wxUSE_FILE=no'
2892 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x
; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2904 eval "$ac_cv_use_file"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2909 if test "$wxUSE_FILE" = yes; then
2910 echo "$ac_t""yes" 1>&6
2912 echo "$ac_t""no" 1>&6
2916 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2917 echo "configure:2918: checking "for --enable-textfile"" >&5
2919 # Check whether --enable-textfile or --disable-textfile was given.
2920 if test "${enable_textfile+set}" = set; then
2921 enableval
="$enable_textfile"
2923 if test "$enableval" = yes; then
2924 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2926 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2931 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x
; then
2933 eval "DEFAULT_$LINE"
2938 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2943 eval "$ac_cv_use_textfile"
2944 if test "$no_cache" != 1; then
2945 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2948 if test "$wxUSE_TEXTFILE" = yes; then
2949 echo "$ac_t""yes" 1>&6
2951 echo "$ac_t""no" 1>&6
2955 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2956 echo "configure:2957: checking "for --enable-unicode"" >&5
2958 # Check whether --enable-unicode or --disable-unicode was given.
2959 if test "${enable_unicode+set}" = set; then
2960 enableval
="$enable_unicode"
2962 if test "$enableval" = yes; then
2963 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2965 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2970 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2971 if test "x$LINE" != x
; then
2972 eval "DEFAULT_$LINE"
2977 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2982 eval "$ac_cv_use_unicode"
2983 if test "$no_cache" != 1; then
2984 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2987 if test "$wxUSE_UNICODE" = yes; then
2988 echo "$ac_t""yes" 1>&6
2990 echo "$ac_t""no" 1>&6
2994 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2995 echo "configure:2996: checking "for --enable-wcsrtombs"" >&5
2997 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2998 if test "${enable_wcsrtombs+set}" = set; then
2999 enableval
="$enable_wcsrtombs"
3001 if test "$enableval" = yes; then
3002 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3004 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3009 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x
; then
3011 eval "DEFAULT_$LINE"
3016 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3021 eval "$ac_cv_use_wcsrtombs"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3026 if test "$wxUSE_WCSRTOMBS" = yes; then
3027 echo "$ac_t""yes" 1>&6
3029 echo "$ac_t""no" 1>&6
3033 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3034 echo "configure:3035: checking "for --enable-wxprintfv"" >&5
3036 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3037 if test "${enable_wxprintfv+set}" = set; then
3038 enableval
="$enable_wxprintfv"
3040 if test "$enableval" = yes; then
3041 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3043 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3048 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3049 if test "x$LINE" != x
; then
3050 eval "DEFAULT_$LINE"
3055 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3060 eval "$ac_cv_use_wxprintfv"
3061 if test "$no_cache" != 1; then
3062 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3065 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3066 echo "$ac_t""yes" 1>&6
3068 echo "$ac_t""no" 1>&6
3072 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3073 echo "configure:3074: checking "for --enable-joystick"" >&5
3075 # Check whether --enable-joystick or --disable-joystick was given.
3076 if test "${enable_joystick+set}" = set; then
3077 enableval
="$enable_joystick"
3079 if test "$enableval" = yes; then
3080 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3082 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3087 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3099 eval "$ac_cv_use_joystick"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3104 if test "$wxUSE_JOYSTICK" = yes; then
3105 echo "$ac_t""yes" 1>&6
3107 echo "$ac_t""no" 1>&6
3111 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3112 echo "configure:3113: checking "for --enable-std_iostreams"" >&5
3114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3115 if test "${enable_std_iostreams+set}" = set; then
3116 enableval
="$enable_std_iostreams"
3118 if test "$enableval" = yes; then
3119 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3121 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3126 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x
; then
3128 eval "DEFAULT_$LINE"
3133 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3138 eval "$ac_cv_use_std_iostreams"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3143 if test "$wxUSE_STD_IOSTREAM" = yes; then
3144 echo "$ac_t""yes" 1>&6
3146 echo "$ac_t""no" 1>&6
3150 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3151 echo "configure:3152: checking "for --enable-fs_inet"" >&5
3153 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3154 if test "${enable_fs_inet+set}" = set; then
3155 enableval
="$enable_fs_inet"
3157 if test "$enableval" = yes; then
3158 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3160 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3165 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3166 if test "x$LINE" != x
; then
3167 eval "DEFAULT_$LINE"
3172 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3177 eval "$ac_cv_use_fs_inet"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3182 if test "$wxUSE_FS_INET" = yes; then
3183 echo "$ac_t""yes" 1>&6
3185 echo "$ac_t""no" 1>&6
3189 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3190 echo "configure:3191: checking "for --enable-fs_zip"" >&5
3192 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3193 if test "${enable_fs_zip+set}" = set; then
3194 enableval
="$enable_fs_zip"
3196 if test "$enableval" = yes; then
3197 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3199 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3204 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3216 eval "$ac_cv_use_fs_zip"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3221 if test "$wxUSE_FS_ZIP" = yes; then
3222 echo "$ac_t""yes" 1>&6
3224 echo "$ac_t""no" 1>&6
3228 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3229 echo "configure:3230: checking "for --enable-zipstream"" >&5
3231 # Check whether --enable-zipstream or --disable-zipstream was given.
3232 if test "${enable_zipstream+set}" = set; then
3233 enableval
="$enable_zipstream"
3235 if test "$enableval" = yes; then
3236 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3238 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3243 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x
; then
3245 eval "DEFAULT_$LINE"
3250 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3255 eval "$ac_cv_use_zipstream"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3260 if test "$wxUSE_ZIPSTREAM" = yes; then
3261 echo "$ac_t""yes" 1>&6
3263 echo "$ac_t""no" 1>&6
3269 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3270 echo "configure:3271: checking "for --enable-threads"" >&5
3272 # Check whether --enable-threads or --disable-threads was given.
3273 if test "${enable_threads+set}" = set; then
3274 enableval
="$enable_threads"
3276 if test "$enableval" = yes; then
3277 ac_cv_use_threads
='wxUSE_THREADS=yes'
3279 ac_cv_use_threads
='wxUSE_THREADS=no'
3284 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x
; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3296 eval "$ac_cv_use_threads"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_THREADS" = yes; then
3302 echo "$ac_t""yes" 1>&6
3304 echo "$ac_t""no" 1>&6
3308 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3309 echo "configure:3310: checking "for --enable-serial"" >&5
3311 # Check whether --enable-serial or --disable-serial was given.
3312 if test "${enable_serial+set}" = set; then
3313 enableval
="$enable_serial"
3315 if test "$enableval" = yes; then
3316 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3318 ac_cv_use_serial
='wxUSE_SERIAL=no'
3323 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x
; then
3325 eval "DEFAULT_$LINE"
3330 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3335 eval "$ac_cv_use_serial"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3340 if test "$wxUSE_SERIAL" = yes; then
3341 echo "$ac_t""yes" 1>&6
3343 echo "$ac_t""no" 1>&6
3349 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3350 echo "configure:3351: checking "for --enable-docview"" >&5
3352 # Check whether --enable-docview or --disable-docview was given.
3353 if test "${enable_docview+set}" = set; then
3354 enableval
="$enable_docview"
3356 if test "$enableval" = yes; then
3357 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3359 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3364 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3376 eval "$ac_cv_use_docview"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3382 echo "$ac_t""yes" 1>&6
3384 echo "$ac_t""no" 1>&6
3388 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3389 echo "configure:3390: checking "for --enable-help"" >&5
3391 # Check whether --enable-help or --disable-help was given.
3392 if test "${enable_help+set}" = set; then
3393 enableval
="$enable_help"
3395 if test "$enableval" = yes; then
3396 ac_cv_use_help
='wxUSE_HELP=yes'
3398 ac_cv_use_help
='wxUSE_HELP=no'
3403 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x
; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3415 eval "$ac_cv_use_help"
3416 if test "$no_cache" != 1; then
3417 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3420 if test "$wxUSE_HELP" = yes; then
3421 echo "$ac_t""yes" 1>&6
3423 echo "$ac_t""no" 1>&6
3427 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3428 echo "configure:3429: checking "for --enable-constraints"" >&5
3430 # Check whether --enable-constraints or --disable-constraints was given.
3431 if test "${enable_constraints+set}" = set; then
3432 enableval
="$enable_constraints"
3434 if test "$enableval" = yes; then
3435 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3437 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3442 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x
; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3454 eval "$ac_cv_use_constraints"
3455 if test "$no_cache" != 1; then
3456 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3459 if test "$wxUSE_CONSTRAINTS" = yes; then
3460 echo "$ac_t""yes" 1>&6
3462 echo "$ac_t""no" 1>&6
3466 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3467 echo "configure:3468: checking "for --enable-printarch"" >&5
3469 # Check whether --enable-printarch or --disable-printarch was given.
3470 if test "${enable_printarch+set}" = set; then
3471 enableval
="$enable_printarch"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3476 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3481 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3493 eval "$ac_cv_use_printarch"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3499 echo "$ac_t""yes" 1>&6
3501 echo "$ac_t""no" 1>&6
3505 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3506 echo "configure:3507: checking "for --enable-mdi"" >&5
3508 # Check whether --enable-mdi or --disable-mdi was given.
3509 if test "${enable_mdi+set}" = set; then
3510 enableval
="$enable_mdi"
3512 if test "$enableval" = yes; then
3513 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3515 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3520 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3521 if test "x$LINE" != x
; then
3522 eval "DEFAULT_$LINE"
3527 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3532 eval "$ac_cv_use_mdi"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3538 echo "$ac_t""yes" 1>&6
3540 echo "$ac_t""no" 1>&6
3545 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3546 echo "configure:3547: checking "for --enable-postscript"" >&5
3548 # Check whether --enable-postscript or --disable-postscript was given.
3549 if test "${enable_postscript+set}" = set; then
3550 enableval
="$enable_postscript"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3555 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3560 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x
; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3572 eval "$ac_cv_use_postscript"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_POSTSCRIPT" = yes; then
3578 echo "$ac_t""yes" 1>&6
3580 echo "$ac_t""no" 1>&6
3586 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3587 echo "configure:3588: checking "for --enable-prologio"" >&5
3589 # Check whether --enable-prologio or --disable-prologio was given.
3590 if test "${enable_prologio+set}" = set; then
3591 enableval
="$enable_prologio"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3596 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3601 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3613 eval "$ac_cv_use_prologio"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_PROLOGIO" = yes; then
3619 echo "$ac_t""yes" 1>&6
3621 echo "$ac_t""no" 1>&6
3625 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3626 echo "configure:3627: checking "for --enable-resources"" >&5
3628 # Check whether --enable-resources or --disable-resources was given.
3629 if test "${enable_resources+set}" = set; then
3630 enableval
="$enable_resources"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3635 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3640 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3652 eval "$ac_cv_use_resources"
3653 if test "$no_cache" != 1; then
3654 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3657 if test "$wxUSE_RESOURCES" = yes; then
3658 echo "$ac_t""yes" 1>&6
3660 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3666 echo "configure:3667: checking "for --enable-xresources"" >&5
3668 # Check whether --enable-xresources or --disable-xresources was given.
3669 if test "${enable_xresources+set}" = set; then
3670 enableval
="$enable_xresources"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3675 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3680 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3692 eval "$ac_cv_use_xresources"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_X_RESOURCES" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3706 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3707 echo "configure:3708: checking "for --enable-clipboard"" >&5
3709 # Check whether --enable-clipboard or --disable-clipboard was given.
3710 if test "${enable_clipboard+set}" = set; then
3711 enableval
="$enable_clipboard"
3713 if test "$enableval" = yes; then
3714 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3716 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3721 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x
; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3733 eval "$ac_cv_use_clipboard"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_CLIPBOARD" = yes; then
3739 echo "$ac_t""yes" 1>&6
3741 echo "$ac_t""no" 1>&6
3745 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3746 echo "configure:3747: checking "for --enable-dnd"" >&5
3748 # Check whether --enable-dnd or --disable-dnd was given.
3749 if test "${enable_dnd+set}" = set; then
3750 enableval
="$enable_dnd"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3760 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3772 eval "$ac_cv_use_dnd"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3778 echo "$ac_t""yes" 1>&6
3780 echo "$ac_t""no" 1>&6
3785 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3786 echo "configure:3787: checking "for --enable-wxtree"" >&5
3788 # Check whether --enable-wxtree or --disable-wxtree was given.
3789 if test "${enable_wxtree+set}" = set; then
3790 enableval
="$enable_wxtree"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3795 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3800 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3812 eval "$ac_cv_use_wxtree"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_WXTREE" = yes; then
3818 echo "$ac_t""yes" 1>&6
3820 echo "$ac_t""no" 1>&6
3826 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3827 echo "configure:3828: checking "for --enable-controls"" >&5
3829 # Check whether --enable-controls or --disable-controls was given.
3830 if test "${enable_controls+set}" = set; then
3831 enableval
="$enable_controls"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3836 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3841 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3853 eval "$ac_cv_use_controls"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_CONTROLS" = yes; then
3859 echo "$ac_t""yes" 1>&6
3861 echo "$ac_t""no" 1>&6
3865 if test "$wxUSE_CONTROLS" = "yes"; then
3866 DEFAULT_wxUSE_ACCEL
=yes
3867 DEFAULT_wxUSE_CARET
=yes
3868 DEFAULT_wxUSE_COMBOBOX
=yes
3869 DEFAULT_wxUSE_BMPBUTTON
=yes
3870 DEFAULT_wxUSE_CHECKBOX
=yes
3871 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3872 DEFAULT_wxUSE_CHOICE
=yes
3873 DEFAULT_wxUSE_GAUGE
=yes
3874 DEFAULT_wxUSE_GRID
=yes
3875 DEFAULT_wxUSE_NEW_GRID
=yes
3876 DEFAULT_wxUSE_IMAGLIST
=yes
3877 DEFAULT_wxUSE_LISTBOX
=yes
3878 DEFAULT_wxUSE_LISTCTRL
=yes
3879 DEFAULT_wxUSE_NOTEBOOK
=yes
3880 DEFAULT_wxUSE_RADIOBOX
=yes
3881 DEFAULT_wxUSE_RADIOBTN
=yes
3882 DEFAULT_wxUSE_SASH
=yes
3883 DEFAULT_wxUSE_SCROLLBAR
=yes
3884 DEFAULT_wxUSE_SLIDER
=yes
3885 DEFAULT_wxUSE_SPINBTN
=yes
3886 DEFAULT_wxUSE_SPLITTER
=yes
3887 DEFAULT_wxUSE_STATBMP
=yes
3888 DEFAULT_wxUSE_STATBOX
=yes
3889 DEFAULT_wxUSE_STATLINE
=yes
3890 DEFAULT_wxUSE_STATUSBAR
=yes
3891 DEFAULT_wxUSE_TAB_DIALOG
=yes
3892 DEFAULT_wxUSE_TOOLBAR
=yes
3893 DEFAULT_wxUSE_TOOLTIPS
=yes
3894 DEFAULT_wxUSE_TREECTRL
=yes
3895 elif test "$wxUSE_CONTROLS" = "no"; then
3896 DEFAULT_wxUSE_ACCEL
=no
3897 DEFAULT_wxUSE_CARET
=no
3898 DEFAULT_wxUSE_COMBOBOX
=no
3899 DEFAULT_wxUSE_BMPBUTTON
=no
3900 DEFAULT_wxUSE_CHECKBOX
=no
3901 DEFAULT_wxUSE_CHECKLISTBOX
=no
3902 DEFAULT_wxUSE_CHOICE
=no
3903 DEFAULT_wxUSE_GAUGE
=no
3904 DEFAULT_wxUSE_GRID
=no
3905 DEFAULT_wxUSE_NEW_GRID
=no
3906 DEFAULT_wxUSE_IMAGLIST
=no
3907 DEFAULT_wxUSE_LISTBOX
=no
3908 DEFAULT_wxUSE_LISTCTRL
=no
3909 DEFAULT_wxUSE_NOTEBOOK
=no
3910 DEFAULT_wxUSE_RADIOBOX
=no
3911 DEFAULT_wxUSE_RADIOBTN
=no
3912 DEFAULT_wxUSE_SASH
=no
3913 DEFAULT_wxUSE_SCROLLBAR
=no
3914 DEFAULT_wxUSE_SLIDER
=no
3915 DEFAULT_wxUSE_SPINBTN
=no
3916 DEFAULT_wxUSE_SPLITTER
=no
3917 DEFAULT_wxUSE_STATBMP
=no
3918 DEFAULT_wxUSE_STATBOX
=no
3919 DEFAULT_wxUSE_STATLINE
=no
3920 DEFAULT_wxUSE_STATUSBAR
=no
3921 DEFAULT_wxUSE_TAB_DIALOG
=no
3922 DEFAULT_wxUSE_TOOLBAR
=no
3923 DEFAULT_wxUSE_TOOLTIPS
=no
3924 DEFAULT_wxUSE_TREECTRL
=no
3928 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3929 echo "configure:3930: checking "for --enable-accel"" >&5
3931 # Check whether --enable-accel or --disable-accel was given.
3932 if test "${enable_accel+set}" = set; then
3933 enableval
="$enable_accel"
3935 if test "$enableval" = yes; then
3936 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3938 ac_cv_use_accel
='wxUSE_ACCEL=no'
3943 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x
; then
3945 eval "DEFAULT_$LINE"
3950 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3955 eval "$ac_cv_use_accel"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_ACCEL" = yes; then
3961 echo "$ac_t""yes" 1>&6
3963 echo "$ac_t""no" 1>&6
3967 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3968 echo "configure:3969: checking "for --enable-caret"" >&5
3970 # Check whether --enable-caret or --disable-caret was given.
3971 if test "${enable_caret+set}" = set; then
3972 enableval
="$enable_caret"
3974 if test "$enableval" = yes; then
3975 ac_cv_use_caret
='wxUSE_CARET=yes'
3977 ac_cv_use_caret
='wxUSE_CARET=no'
3982 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x
; then
3984 eval "DEFAULT_$LINE"
3989 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3994 eval "$ac_cv_use_caret"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3999 if test "$wxUSE_CARET" = yes; then
4000 echo "$ac_t""yes" 1>&6
4002 echo "$ac_t""no" 1>&6
4006 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4007 echo "configure:4008: checking "for --enable-bmpbutton"" >&5
4009 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4010 if test "${enable_bmpbutton+set}" = set; then
4011 enableval
="$enable_bmpbutton"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4021 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4033 eval "$ac_cv_use_bmpbutton"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_BMPBUTTON" = yes; then
4039 echo "$ac_t""yes" 1>&6
4041 echo "$ac_t""no" 1>&6
4045 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4046 echo "configure:4047: checking "for --enable-checkbox"" >&5
4048 # Check whether --enable-checkbox or --disable-checkbox was given.
4049 if test "${enable_checkbox+set}" = set; then
4050 enableval
="$enable_checkbox"
4052 if test "$enableval" = yes; then
4053 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4055 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4060 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x
; then
4062 eval "DEFAULT_$LINE"
4067 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4072 eval "$ac_cv_use_checkbox"
4073 if test "$no_cache" != 1; then
4074 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4077 if test "$wxUSE_CHECKBOX" = yes; then
4078 echo "$ac_t""yes" 1>&6
4080 echo "$ac_t""no" 1>&6
4084 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4085 echo "configure:4086: checking "for --enable-checklst"" >&5
4087 # Check whether --enable-checklst or --disable-checklst was given.
4088 if test "${enable_checklst+set}" = set; then
4089 enableval
="$enable_checklst"
4091 if test "$enableval" = yes; then
4092 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4094 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4099 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x
; then
4101 eval "DEFAULT_$LINE"
4106 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4111 eval "$ac_cv_use_checklst"
4112 if test "$no_cache" != 1; then
4113 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4116 if test "$wxUSE_CHECKLST" = yes; then
4117 echo "$ac_t""yes" 1>&6
4119 echo "$ac_t""no" 1>&6
4123 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4124 echo "configure:4125: checking "for --enable-choice"" >&5
4126 # Check whether --enable-choice or --disable-choice was given.
4127 if test "${enable_choice+set}" = set; then
4128 enableval
="$enable_choice"
4130 if test "$enableval" = yes; then
4131 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4133 ac_cv_use_choice
='wxUSE_CHOICE=no'
4138 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x
; then
4140 eval "DEFAULT_$LINE"
4145 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4150 eval "$ac_cv_use_choice"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_CHOICE" = yes; then
4156 echo "$ac_t""yes" 1>&6
4158 echo "$ac_t""no" 1>&6
4162 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4163 echo "configure:4164: checking "for --enable-combobox"" >&5
4165 # Check whether --enable-combobox or --disable-combobox was given.
4166 if test "${enable_combobox+set}" = set; then
4167 enableval
="$enable_combobox"
4169 if test "$enableval" = yes; then
4170 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4172 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4177 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x
; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4189 eval "$ac_cv_use_combobox"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_COMBOBOX" = yes; then
4195 echo "$ac_t""yes" 1>&6
4197 echo "$ac_t""no" 1>&6
4201 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4202 echo "configure:4203: checking "for --enable-gauge"" >&5
4204 # Check whether --enable-gauge or --disable-gauge was given.
4205 if test "${enable_gauge+set}" = set; then
4206 enableval
="$enable_gauge"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4211 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4216 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4228 eval "$ac_cv_use_gauge"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_GAUGE" = yes; then
4234 echo "$ac_t""yes" 1>&6
4236 echo "$ac_t""no" 1>&6
4240 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4241 echo "configure:4242: checking "for --enable-grid"" >&5
4243 # Check whether --enable-grid or --disable-grid was given.
4244 if test "${enable_grid+set}" = set; then
4245 enableval
="$enable_grid"
4247 if test "$enableval" = yes; then
4248 ac_cv_use_grid
='wxUSE_GRID=yes'
4250 ac_cv_use_grid
='wxUSE_GRID=no'
4255 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4256 if test "x$LINE" != x
; then
4257 eval "DEFAULT_$LINE"
4262 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4267 eval "$ac_cv_use_grid"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_GRID" = yes; then
4273 echo "$ac_t""yes" 1>&6
4275 echo "$ac_t""no" 1>&6
4279 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4280 echo "configure:4281: checking "for --enable-newgrid"" >&5
4282 # Check whether --enable-newgrid or --disable-newgrid was given.
4283 if test "${enable_newgrid+set}" = set; then
4284 enableval
="$enable_newgrid"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4289 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4294 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4306 eval "$ac_cv_use_newgrid"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_NEW_GRID" = yes; then
4312 echo "$ac_t""yes" 1>&6
4314 echo "$ac_t""no" 1>&6
4318 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4319 echo "configure:4320: checking "for --enable-imaglist"" >&5
4321 # Check whether --enable-imaglist or --disable-imaglist was given.
4322 if test "${enable_imaglist+set}" = set; then
4323 enableval
="$enable_imaglist"
4325 if test "$enableval" = yes; then
4326 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4328 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4333 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x
; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4345 eval "$ac_cv_use_imaglist"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4350 if test "$wxUSE_IMAGLIST" = yes; then
4351 echo "$ac_t""yes" 1>&6
4353 echo "$ac_t""no" 1>&6
4357 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4358 echo "configure:4359: checking "for --enable-listbox"" >&5
4360 # Check whether --enable-listbox or --disable-listbox was given.
4361 if test "${enable_listbox+set}" = set; then
4362 enableval
="$enable_listbox"
4364 if test "$enableval" = yes; then
4365 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4367 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4372 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x
; then
4374 eval "DEFAULT_$LINE"
4379 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4384 eval "$ac_cv_use_listbox"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4389 if test "$wxUSE_LISTBOX" = yes; then
4390 echo "$ac_t""yes" 1>&6
4392 echo "$ac_t""no" 1>&6
4396 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4397 echo "configure:4398: checking "for --enable-listctrl"" >&5
4399 # Check whether --enable-listctrl or --disable-listctrl was given.
4400 if test "${enable_listctrl+set}" = set; then
4401 enableval
="$enable_listctrl"
4403 if test "$enableval" = yes; then
4404 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4406 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4411 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x
; then
4413 eval "DEFAULT_$LINE"
4418 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4423 eval "$ac_cv_use_listctrl"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4428 if test "$wxUSE_LISTCTRL" = yes; then
4429 echo "$ac_t""yes" 1>&6
4431 echo "$ac_t""no" 1>&6
4435 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4436 echo "configure:4437: checking "for --enable-notebook"" >&5
4438 # Check whether --enable-notebook or --disable-notebook was given.
4439 if test "${enable_notebook+set}" = set; then
4440 enableval
="$enable_notebook"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4445 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4450 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x
; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4462 eval "$ac_cv_use_notebook"
4463 if test "$no_cache" != 1; then
4464 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4467 if test "$wxUSE_NOTEBOOK" = yes; then
4468 echo "$ac_t""yes" 1>&6
4470 echo "$ac_t""no" 1>&6
4474 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4475 echo "configure:4476: checking "for --enable-radiobox"" >&5
4477 # Check whether --enable-radiobox or --disable-radiobox was given.
4478 if test "${enable_radiobox+set}" = set; then
4479 enableval
="$enable_radiobox"
4481 if test "$enableval" = yes; then
4482 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4484 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4489 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x
; then
4491 eval "DEFAULT_$LINE"
4496 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4501 eval "$ac_cv_use_radiobox"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4506 if test "$wxUSE_RADIOBOX" = yes; then
4507 echo "$ac_t""yes" 1>&6
4509 echo "$ac_t""no" 1>&6
4513 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4514 echo "configure:4515: checking "for --enable-radiobtn"" >&5
4516 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4517 if test "${enable_radiobtn+set}" = set; then
4518 enableval
="$enable_radiobtn"
4520 if test "$enableval" = yes; then
4521 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4523 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4528 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x
; then
4530 eval "DEFAULT_$LINE"
4535 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4540 eval "$ac_cv_use_radiobtn"
4541 if test "$no_cache" != 1; then
4542 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4545 if test "$wxUSE_RADIOBTN" = yes; then
4546 echo "$ac_t""yes" 1>&6
4548 echo "$ac_t""no" 1>&6
4552 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4553 echo "configure:4554: checking "for --enable-sash"" >&5
4555 # Check whether --enable-sash or --disable-sash was given.
4556 if test "${enable_sash+set}" = set; then
4557 enableval
="$enable_sash"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_sash
='wxUSE_SASH=yes'
4562 ac_cv_use_sash
='wxUSE_SASH=no'
4567 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4579 eval "$ac_cv_use_sash"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_SASH" = yes; then
4585 echo "$ac_t""yes" 1>&6
4587 echo "$ac_t""no" 1>&6
4591 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4592 echo "configure:4593: checking "for --enable-scrollbar"" >&5
4594 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4595 if test "${enable_scrollbar+set}" = set; then
4596 enableval
="$enable_scrollbar"
4598 if test "$enableval" = yes; then
4599 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4601 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4606 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4607 if test "x$LINE" != x
; then
4608 eval "DEFAULT_$LINE"
4613 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4618 eval "$ac_cv_use_scrollbar"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_SCROLLBAR" = yes; then
4624 echo "$ac_t""yes" 1>&6
4626 echo "$ac_t""no" 1>&6
4630 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4631 echo "configure:4632: checking "for --enable-slider"" >&5
4633 # Check whether --enable-slider or --disable-slider was given.
4634 if test "${enable_slider+set}" = set; then
4635 enableval
="$enable_slider"
4637 if test "$enableval" = yes; then
4638 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4640 ac_cv_use_slider
='wxUSE_SLIDER=no'
4645 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4646 if test "x$LINE" != x
; then
4647 eval "DEFAULT_$LINE"
4652 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4657 eval "$ac_cv_use_slider"
4658 if test "$no_cache" != 1; then
4659 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4662 if test "$wxUSE_SLIDER" = yes; then
4663 echo "$ac_t""yes" 1>&6
4665 echo "$ac_t""no" 1>&6
4669 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4670 echo "configure:4671: checking "for --enable-spinbtn"" >&5
4672 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4673 if test "${enable_spinbtn+set}" = set; then
4674 enableval
="$enable_spinbtn"
4676 if test "$enableval" = yes; then
4677 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4679 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4684 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x
; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4696 eval "$ac_cv_use_spinbtn"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_SPINBTN" = yes; then
4702 echo "$ac_t""yes" 1>&6
4704 echo "$ac_t""no" 1>&6
4708 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4709 echo "configure:4710: checking "for --enable-splitter"" >&5
4711 # Check whether --enable-splitter or --disable-splitter was given.
4712 if test "${enable_splitter+set}" = set; then
4713 enableval
="$enable_splitter"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4718 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4723 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4735 eval "$ac_cv_use_splitter"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_SPLITTER" = yes; then
4741 echo "$ac_t""yes" 1>&6
4743 echo "$ac_t""no" 1>&6
4747 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4748 echo "configure:4749: checking "for --enable-statbmp"" >&5
4750 # Check whether --enable-statbmp or --disable-statbmp was given.
4751 if test "${enable_statbmp+set}" = set; then
4752 enableval
="$enable_statbmp"
4754 if test "$enableval" = yes; then
4755 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4757 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4762 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x
; then
4764 eval "DEFAULT_$LINE"
4769 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4774 eval "$ac_cv_use_statbmp"
4775 if test "$no_cache" != 1; then
4776 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4779 if test "$wxUSE_STATBMP" = yes; then
4780 echo "$ac_t""yes" 1>&6
4782 echo "$ac_t""no" 1>&6
4786 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4787 echo "configure:4788: checking "for --enable-statbox"" >&5
4789 # Check whether --enable-statbox or --disable-statbox was given.
4790 if test "${enable_statbox+set}" = set; then
4791 enableval
="$enable_statbox"
4793 if test "$enableval" = yes; then
4794 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4796 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4801 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4802 if test "x$LINE" != x
; then
4803 eval "DEFAULT_$LINE"
4808 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4813 eval "$ac_cv_use_statbox"
4814 if test "$no_cache" != 1; then
4815 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4818 if test "$wxUSE_STATBOX" = yes; then
4819 echo "$ac_t""yes" 1>&6
4821 echo "$ac_t""no" 1>&6
4825 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4826 echo "configure:4827: checking "for --enable-statline"" >&5
4828 # Check whether --enable-statline or --disable-statline was given.
4829 if test "${enable_statline+set}" = set; then
4830 enableval
="$enable_statline"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4835 ac_cv_use_statline
='wxUSE_STATLINE=no'
4840 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4852 eval "$ac_cv_use_statline"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_STATLINE" = yes; then
4858 echo "$ac_t""yes" 1>&6
4860 echo "$ac_t""no" 1>&6
4864 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4865 echo "configure:4866: checking "for --enable-statusbar"" >&5
4867 # Check whether --enable-statusbar or --disable-statusbar was given.
4868 if test "${enable_statusbar+set}" = set; then
4869 enableval
="$enable_statusbar"
4871 if test "$enableval" = yes; then
4872 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4874 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4879 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4880 if test "x$LINE" != x
; then
4881 eval "DEFAULT_$LINE"
4886 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4891 eval "$ac_cv_use_statusbar"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_STATUSBAR" = yes; then
4897 echo "$ac_t""yes" 1>&6
4899 echo "$ac_t""no" 1>&6
4903 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4904 echo "configure:4905: checking "for --enable-tabdialog"" >&5
4906 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4907 if test "${enable_tabdialog+set}" = set; then
4908 enableval
="$enable_tabdialog"
4910 if test "$enableval" = yes; then
4911 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4913 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4918 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x
; then
4920 eval "DEFAULT_$LINE"
4925 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4930 eval "$ac_cv_use_tabdialog"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_TABDIALOG" = yes; then
4936 echo "$ac_t""yes" 1>&6
4938 echo "$ac_t""no" 1>&6
4942 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4943 echo "configure:4944: checking "for --enable-toolbar"" >&5
4945 # Check whether --enable-toolbar or --disable-toolbar was given.
4946 if test "${enable_toolbar+set}" = set; then
4947 enableval
="$enable_toolbar"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4952 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4957 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4969 eval "$ac_cv_use_toolbar"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_TOOLBAR" = yes; then
4975 echo "$ac_t""yes" 1>&6
4977 echo "$ac_t""no" 1>&6
4981 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4982 echo "configure:4983: checking "for --enable-treectrl"" >&5
4984 # Check whether --enable-treectrl or --disable-treectrl was given.
4985 if test "${enable_treectrl+set}" = set; then
4986 enableval
="$enable_treectrl"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4991 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4996 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5008 eval "$ac_cv_use_treectrl"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5013 if test "$wxUSE_TREECTRL" = yes; then
5014 echo "$ac_t""yes" 1>&6
5016 echo "$ac_t""no" 1>&6
5022 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5023 echo "configure:5024: checking "for --enable-commondlg"" >&5
5025 # Check whether --enable-commondlg or --disable-commondlg was given.
5026 if test "${enable_commondlg+set}" = set; then
5027 enableval
="$enable_commondlg"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5037 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5049 eval "$ac_cv_use_commondlg"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5054 if test "$wxUSE_COMMONDLGS" = yes; then
5055 echo "$ac_t""yes" 1>&6
5057 echo "$ac_t""no" 1>&6
5061 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5062 echo "configure:5063: checking "for --enable-dirdlg"" >&5
5064 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5065 if test "${enable_dirdlg+set}" = set; then
5066 enableval
="$enable_dirdlg"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5071 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5076 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x
; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5088 eval "$ac_cv_use_dirdlg"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5093 if test "$wxUSE_DIRDLG" = yes; then
5094 echo "$ac_t""yes" 1>&6
5096 echo "$ac_t""no" 1>&6
5100 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5101 echo "configure:5102: checking "for --enable-textdlg"" >&5
5103 # Check whether --enable-textdlg or --disable-textdlg was given.
5104 if test "${enable_textdlg+set}" = set; then
5105 enableval
="$enable_textdlg"
5107 if test "$enableval" = yes; then
5108 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5110 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5115 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x
; then
5117 eval "DEFAULT_$LINE"
5122 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5127 eval "$ac_cv_use_textdlg"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5132 if test "$wxUSE_TEXTDLG" = yes; then
5133 echo "$ac_t""yes" 1>&6
5135 echo "$ac_t""no" 1>&6
5139 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5140 echo "configure:5141: checking "for --enable-tipdlg"" >&5
5142 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5143 if test "${enable_tipdlg+set}" = set; then
5144 enableval
="$enable_tipdlg"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5149 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5154 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x
; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5166 eval "$ac_cv_use_tipdlg"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_STARTUP_TIPS" = yes; then
5172 echo "$ac_t""yes" 1>&6
5174 echo "$ac_t""no" 1>&6
5178 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5179 echo "configure:5180: checking "for --enable-progressdlg"" >&5
5181 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5182 if test "${enable_progressdlg+set}" = set; then
5183 enableval
="$enable_progressdlg"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5188 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5193 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x
; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5205 eval "$ac_cv_use_progressdlg"
5206 if test "$no_cache" != 1; then
5207 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5210 if test "$wxUSE_PROGRESSDLG" = yes; then
5211 echo "$ac_t""yes" 1>&6
5213 echo "$ac_t""no" 1>&6
5217 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5218 echo "configure:5219: checking "for --enable-miniframe"" >&5
5220 # Check whether --enable-miniframe or --disable-miniframe was given.
5221 if test "${enable_miniframe+set}" = set; then
5222 enableval
="$enable_miniframe"
5224 if test "$enableval" = yes; then
5225 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5227 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5232 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x
; then
5234 eval "DEFAULT_$LINE"
5239 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5244 eval "$ac_cv_use_miniframe"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_MINIFRAME" = yes; then
5250 echo "$ac_t""yes" 1>&6
5252 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5257 echo "configure:5258: checking "for --enable-html"" >&5
5259 # Check whether --enable-html or --disable-html was given.
5260 if test "${enable_html+set}" = set; then
5261 enableval
="$enable_html"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_html
='wxUSE_HTML=yes'
5266 ac_cv_use_html
='wxUSE_HTML=no'
5271 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5283 eval "$ac_cv_use_html"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_HTML" = yes; then
5289 echo "$ac_t""yes" 1>&6
5291 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5296 echo "configure:5297: checking "for --enable-tooltips"" >&5
5298 # Check whether --enable-tooltips or --disable-tooltips was given.
5299 if test "${enable_tooltips+set}" = set; then
5300 enableval
="$enable_tooltips"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5305 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5310 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5322 eval "$ac_cv_use_tooltips"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_TOOLTIPS" = yes; then
5328 echo "$ac_t""yes" 1>&6
5330 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5335 echo "configure:5336: checking "for --enable-splines"" >&5
5337 # Check whether --enable-splines or --disable-splines was given.
5338 if test "${enable_splines+set}" = set; then
5339 enableval
="$enable_splines"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5344 ac_cv_use_splines
='wxUSE_SPLINES=no'
5349 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5361 eval "$ac_cv_use_splines"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_SPLINES" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5374 echo "configure:5375: checking "for --enable-validators"" >&5
5376 # Check whether --enable-validators or --disable-validators was given.
5377 if test "${enable_validators+set}" = set; then
5378 enableval
="$enable_validators"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5383 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5388 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5400 eval "$ac_cv_use_validators"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_VALIDATORS" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5413 echo "configure:5414: checking "for --enable-busyinfo"" >&5
5415 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5416 if test "${enable_busyinfo+set}" = set; then
5417 enableval
="$enable_busyinfo"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5422 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5427 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5439 eval "$ac_cv_use_busyinfo"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_BUSYINFO" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5453 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5454 echo "configure:5455: checking "for --enable-gif"" >&5
5456 # Check whether --enable-gif or --disable-gif was given.
5457 if test "${enable_gif+set}" = set; then
5458 enableval
="$enable_gif"
5460 if test "$enableval" = yes; then
5461 ac_cv_use_gif
='wxUSE_GIF=yes'
5463 ac_cv_use_gif
='wxUSE_GIF=no'
5468 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5469 if test "x$LINE" != x
; then
5470 eval "DEFAULT_$LINE"
5475 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5480 eval "$ac_cv_use_gif"
5481 if test "$no_cache" != 1; then
5482 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5485 if test "$wxUSE_GIF" = yes; then
5486 echo "$ac_t""yes" 1>&6
5488 echo "$ac_t""no" 1>&6
5492 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5493 echo "configure:5494: checking "for --enable-pcx"" >&5
5495 # Check whether --enable-pcx or --disable-pcx was given.
5496 if test "${enable_pcx+set}" = set; then
5497 enableval
="$enable_pcx"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_pcx
='wxUSE_PCX=yes'
5502 ac_cv_use_pcx
='wxUSE_PCX=no'
5507 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x
; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5519 eval "$ac_cv_use_pcx"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_PCX" = yes; then
5525 echo "$ac_t""yes" 1>&6
5527 echo "$ac_t""no" 1>&6
5531 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5532 echo "configure:5533: checking "for --enable-pnm"" >&5
5534 # Check whether --enable-pnm or --disable-pnm was given.
5535 if test "${enable_pnm+set}" = set; then
5536 enableval
="$enable_pnm"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_pnm
='wxUSE_PNM=yes'
5541 ac_cv_use_pnm
='wxUSE_PNM=no'
5546 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5558 eval "$ac_cv_use_pnm"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5563 if test "$wxUSE_PNM" = yes; then
5564 echo "$ac_t""yes" 1>&6
5566 echo "$ac_t""no" 1>&6
5571 echo "saving argument cache $wx_arg_cache_file"
5572 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5576 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5577 echo "configure:5578: checking for toolkit" >&5
5579 if test "$wxUSE_GUI" = "yes"; then
5581 if test "$TOOLKIT_GIVEN" = 1; then
5582 for toolkit
in `echo $ALL_TOOLKITS`; do
5584 eval "value=\$${var}"
5585 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5588 for toolkit
in `echo $ALL_TOOLKITS`; do
5589 if test "$has_toolkit_in_cache" != 1; then
5590 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5592 var
=DEFAULT_wxUSE_
$toolkit
5594 eval "wxUSE_$toolkit=\$${var}"
5598 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5600 case "$NUM_TOOLKITS" in
5604 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5607 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5610 for toolkit
in `echo $ALL_TOOLKITS`; do
5612 eval "value=\$${var}"
5613 if test "x$value" != x
; then
5614 cache_var
=CACHE_
$toolkit
5615 eval "cache=\$${cache_var}"
5616 if test "$cache" = 1; then
5617 echo "$var=$value" >> ${wx_arg_cache_file}
5619 if test "$value" = 1; then
5620 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5626 echo "$ac_t""base only" 1>&6
5630 cat > confcache
<<\EOF
5631 # This file is a shell script that caches the results of configure
5632 # tests run on this system so they can be shared between configure
5633 # scripts and configure runs. It is not useful on other systems.
5634 # If it contains results you don't want to keep, you may remove or edit it.
5636 # By default, configure uses ./config.cache as the cache file,
5637 # creating it if it does not exist already. You can give configure
5638 # the --cache-file=FILE option to use a different cache file; that is
5639 # what configure does when it calls configure scripts in
5640 # subdirectories, so they share the cache.
5641 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5642 # config.status only pays attention to the cache file if you give it the
5643 # --recheck option to rerun configure.
5646 # The following way of writing the cache mishandles newlines in values,
5647 # but we know of no workaround that is simple, portable, and efficient.
5648 # So, don't put newlines in cache variables' values.
5649 # Ultrix sh set writes to stderr and can't be redirected directly,
5650 # and sets the high bit in the cache file unless we assign to the vars.
5652 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5654 # `set' does not quote correctly, so add quotes (double-quote substitution
5655 # turns \\\\ into \\, and sed turns \\ into \).
5657 -e "s/'/'\\\\''/g" \
5658 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5661 # `set' quotes correctly as required by POSIX, so do not add quotes.
5662 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5665 if cmp -s $cache_file confcache
; then
5668 if test -w $cache_file; then
5669 echo "updating cache $cache_file"
5670 cat confcache
> $cache_file
5672 echo "not updating unwritable cache $cache_file"
5678 if eval "test $host != $build"; then
5679 if eval "test $host_alias != NONE"; then
5683 RANLIB
=$host_alias-ranlib
5684 DLLTOOL
=$host_alias-dlltool
5687 STRIP
=$host_alias-strip
5691 # Extract the first word of "gcc", so it can be a program name with args.
5692 set dummy gcc
; ac_word
=$2
5693 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5694 echo "configure:5695: checking for $ac_word" >&5
5695 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5696 echo $ac_n "(cached) $ac_c" 1>&6
5698 if test -n "$CC"; then
5699 ac_cv_prog_CC
="$CC" # Let the user override the test.
5701 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5703 for ac_dir
in $ac_dummy; do
5704 test -z "$ac_dir" && ac_dir
=.
5705 if test -f $ac_dir/$ac_word; then
5714 if test -n "$CC"; then
5715 echo "$ac_t""$CC" 1>&6
5717 echo "$ac_t""no" 1>&6
5720 if test -z "$CC"; then
5721 # Extract the first word of "cc", so it can be a program name with args.
5722 set dummy cc
; ac_word
=$2
5723 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5724 echo "configure:5725: checking for $ac_word" >&5
5725 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5726 echo $ac_n "(cached) $ac_c" 1>&6
5728 if test -n "$CC"; then
5729 ac_cv_prog_CC
="$CC" # Let the user override the test.
5731 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5734 for ac_dir
in $ac_dummy; do
5735 test -z "$ac_dir" && ac_dir
=.
5736 if test -f $ac_dir/$ac_word; then
5737 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5738 ac_prog_rejected
=yes
5746 if test $ac_prog_rejected = yes; then
5747 # We found a bogon in the path, so make sure we never use it.
5748 set dummy
$ac_cv_prog_CC
5750 if test $# -gt 0; then
5751 # We chose a different compiler from the bogus one.
5752 # However, it has the same basename, so the bogon will be chosen
5753 # first if we set CC to just the basename; use the full file name.
5755 set dummy
"$ac_dir/$ac_word" "$@"
5763 if test -n "$CC"; then
5764 echo "$ac_t""$CC" 1>&6
5766 echo "$ac_t""no" 1>&6
5769 if test -z "$CC"; then
5770 case "`uname -s`" in
5772 # Extract the first word of "cl", so it can be a program name with args.
5773 set dummy cl
; ac_word
=$2
5774 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5775 echo "configure:5776: checking for $ac_word" >&5
5776 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5777 echo $ac_n "(cached) $ac_c" 1>&6
5779 if test -n "$CC"; then
5780 ac_cv_prog_CC
="$CC" # Let the user override the test.
5782 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5784 for ac_dir
in $ac_dummy; do
5785 test -z "$ac_dir" && ac_dir
=.
5786 if test -f $ac_dir/$ac_word; then
5795 if test -n "$CC"; then
5796 echo "$ac_t""$CC" 1>&6
5798 echo "$ac_t""no" 1>&6
5803 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5806 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5807 echo "configure:5808: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5811 ac_cpp
='$CPP $CPPFLAGS'
5812 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5813 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5814 cross_compiling
=$ac_cv_prog_cc_cross
5816 cat > conftest.
$ac_ext << EOF
5818 #line 5819 "configure"
5819 #include "confdefs.h"
5823 if { (eval echo configure
:5824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5824 ac_cv_prog_cc_works
=yes
5825 # If we can't run a trivial program, we are probably using a cross compiler.
5826 if (.
/conftest
; exit) 2>/dev
/null
; then
5827 ac_cv_prog_cc_cross
=no
5829 ac_cv_prog_cc_cross
=yes
5832 echo "configure: failed program was:" >&5
5833 cat conftest.
$ac_ext >&5
5834 ac_cv_prog_cc_works
=no
5838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5839 ac_cpp
='$CPP $CPPFLAGS'
5840 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5841 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5842 cross_compiling
=$ac_cv_prog_cc_cross
5844 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5845 if test $ac_cv_prog_cc_works = no
; then
5846 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5848 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5849 echo "configure:5850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5850 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5851 cross_compiling
=$ac_cv_prog_cc_cross
5853 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5854 echo "configure:5855: checking whether we are using GNU C" >&5
5855 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5856 echo $ac_n "(cached) $ac_c" 1>&6
5858 cat > conftest.c
<<EOF
5863 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5870 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5872 if test $ac_cv_prog_gcc = yes; then
5878 ac_test_CFLAGS
="${CFLAGS+set}"
5879 ac_save_CFLAGS
="$CFLAGS"
5881 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5882 echo "configure:5883: checking whether ${CC-cc} accepts -g" >&5
5883 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5884 echo $ac_n "(cached) $ac_c" 1>&6
5886 echo 'void f(){}' > conftest.c
5887 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5896 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5897 if test "$ac_test_CFLAGS" = set; then
5898 CFLAGS
="$ac_save_CFLAGS"
5899 elif test $ac_cv_prog_cc_g = yes; then
5900 if test "$GCC" = yes; then
5906 if test "$GCC" = yes; then
5914 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5916 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5917 echo "configure:5918: checking how to run the C preprocessor" >&5
5918 # On Suns, sometimes $CPP names a directory.
5919 if test -n "$CPP" && test -d "$CPP"; then
5922 if test -z "$CPP"; then
5923 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5924 echo $ac_n "(cached) $ac_c" 1>&6
5926 # This must be in double quotes, not single quotes, because CPP may get
5927 # substituted into the Makefile and "${CC-cc}" will confuse make.
5929 # On the NeXT, cc -E runs the code through the compiler's parser,
5930 # not just through cpp.
5931 cat > conftest.
$ac_ext <<EOF
5932 #line 5933 "configure"
5933 #include "confdefs.h"
5937 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5938 { (eval echo configure
:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5939 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5940 if test -z "$ac_err"; then
5944 echo "configure: failed program was:" >&5
5945 cat conftest.
$ac_ext >&5
5947 CPP
="${CC-cc} -E -traditional-cpp"
5948 cat > conftest.
$ac_ext <<EOF
5949 #line 5950 "configure"
5950 #include "confdefs.h"
5954 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5955 { (eval echo configure
:5956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5956 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5957 if test -z "$ac_err"; then
5961 echo "configure: failed program was:" >&5
5962 cat conftest.
$ac_ext >&5
5964 CPP
="${CC-cc} -nologo -E"
5965 cat > conftest.
$ac_ext <<EOF
5966 #line 5967 "configure"
5967 #include "confdefs.h"
5971 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5972 { (eval echo configure
:5973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5973 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5974 if test -z "$ac_err"; then
5978 echo "configure: failed program was:" >&5
5979 cat conftest.
$ac_ext >&5
5988 ac_cv_prog_CPP
="$CPP"
5990 CPP
="$ac_cv_prog_CPP"
5992 ac_cv_prog_CPP
="$CPP"
5994 echo "$ac_t""$CPP" 1>&6
5997 if test $ac_cv_prog_gcc = yes; then
5998 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5999 echo "configure:6000: checking whether ${CC-cc} needs -traditional" >&5
6000 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6001 echo $ac_n "(cached) $ac_c" 1>&6
6003 ac_pattern
="Autoconf.*'x'"
6004 cat > conftest.
$ac_ext <<EOF
6005 #line 6006 "configure"
6006 #include "confdefs.h"
6010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6011 egrep "$ac_pattern" >/dev
/null
2>&1; then
6013 ac_cv_prog_gcc_traditional
=yes
6016 ac_cv_prog_gcc_traditional
=no
6021 if test $ac_cv_prog_gcc_traditional = no
; then
6022 cat > conftest.
$ac_ext <<EOF
6023 #line 6024 "configure"
6024 #include "confdefs.h"
6028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6029 egrep "$ac_pattern" >/dev
/null
2>&1; then
6031 ac_cv_prog_gcc_traditional
=yes
6038 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6039 if test $ac_cv_prog_gcc_traditional = yes; then
6040 CC
="$CC -traditional"
6047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6048 ac_cpp
='$CXXCPP $CPPFLAGS'
6049 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6050 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6051 cross_compiling
=$ac_cv_prog_cxx_cross
6054 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy
$ac_prog; ac_word
=$2
6058 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6059 echo "configure:6060: checking for $ac_word" >&5
6060 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6061 echo $ac_n "(cached) $ac_c" 1>&6
6063 if test -n "$CXX"; then
6064 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6066 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6068 for ac_dir
in $ac_dummy; do
6069 test -z "$ac_dir" && ac_dir
=.
6070 if test -f $ac_dir/$ac_word; then
6071 ac_cv_prog_CXX
="$ac_prog"
6078 CXX
="$ac_cv_prog_CXX"
6079 if test -n "$CXX"; then
6080 echo "$ac_t""$CXX" 1>&6
6082 echo "$ac_t""no" 1>&6
6085 test -n "$CXX" && break
6087 test -n "$CXX" || CXX
="gcc"
6090 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6091 echo "configure:6092: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6095 ac_cpp
='$CXXCPP $CPPFLAGS'
6096 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6097 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6098 cross_compiling
=$ac_cv_prog_cxx_cross
6100 cat > conftest.
$ac_ext << EOF
6102 #line 6103 "configure"
6103 #include "confdefs.h"
6105 int main(){return(0);}
6107 if { (eval echo configure
:6108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6108 ac_cv_prog_cxx_works
=yes
6109 # If we can't run a trivial program, we are probably using a cross compiler.
6110 if (.
/conftest
; exit) 2>/dev
/null
; then
6111 ac_cv_prog_cxx_cross
=no
6113 ac_cv_prog_cxx_cross
=yes
6116 echo "configure: failed program was:" >&5
6117 cat conftest.
$ac_ext >&5
6118 ac_cv_prog_cxx_works
=no
6122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6123 ac_cpp
='$CXXCPP $CPPFLAGS'
6124 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6125 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6126 cross_compiling
=$ac_cv_prog_cxx_cross
6128 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6129 if test $ac_cv_prog_cxx_works = no
; then
6130 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6132 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6133 echo "configure:6134: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6134 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6135 cross_compiling
=$ac_cv_prog_cxx_cross
6137 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6138 echo "configure:6139: checking whether we are using GNU C++" >&5
6139 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6140 echo $ac_n "(cached) $ac_c" 1>&6
6142 cat > conftest.C
<<EOF
6147 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6154 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6156 if test $ac_cv_prog_gxx = yes; then
6162 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6163 ac_save_CXXFLAGS
="$CXXFLAGS"
6165 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6166 echo "configure:6167: checking whether ${CXX-g++} accepts -g" >&5
6167 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6168 echo $ac_n "(cached) $ac_c" 1>&6
6170 echo 'void f(){}' > conftest.cc
6171 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6172 ac_cv_prog_cxx_g
=yes
6180 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6181 if test "$ac_test_CXXFLAGS" = set; then
6182 CXXFLAGS
="$ac_save_CXXFLAGS"
6183 elif test $ac_cv_prog_cxx_g = yes; then
6184 if test "$GXX" = yes; then
6190 if test "$GXX" = yes; then
6198 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6199 echo "configure:6200: checking how to run the C++ preprocessor" >&5
6200 if test -z "$CXXCPP"; then
6201 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6202 echo $ac_n "(cached) $ac_c" 1>&6
6205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6206 ac_cpp
='$CXXCPP $CPPFLAGS'
6207 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6208 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6209 cross_compiling
=$ac_cv_prog_cxx_cross
6210 CXXCPP
="${CXX-g++} -E"
6211 cat > conftest.
$ac_ext <<EOF
6212 #line 6213 "configure"
6213 #include "confdefs.h"
6216 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6217 { (eval echo configure
:6218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6218 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6219 if test -z "$ac_err"; then
6223 echo "configure: failed program was:" >&5
6224 cat conftest.
$ac_ext >&5
6229 ac_cv_prog_CXXCPP
="$CXXCPP"
6231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6232 ac_cpp
='$CXXCPP $CPPFLAGS'
6233 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6234 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6235 cross_compiling
=$ac_cv_prog_cxx_cross
6238 CXXCPP
="$ac_cv_prog_CXXCPP"
6239 echo "$ac_t""$CXXCPP" 1>&6
6242 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6246 ac_cpp
='$CPP $CPPFLAGS'
6247 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6248 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6249 cross_compiling
=$ac_cv_prog_cc_cross
6252 # Extract the first word of "ranlib", so it can be a program name with args.
6253 set dummy ranlib
; ac_word
=$2
6254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6255 echo "configure:6256: checking for $ac_word" >&5
6256 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6257 echo $ac_n "(cached) $ac_c" 1>&6
6259 if test -n "$RANLIB"; then
6260 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6262 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6264 for ac_dir
in $ac_dummy; do
6265 test -z "$ac_dir" && ac_dir
=.
6266 if test -f $ac_dir/$ac_word; then
6267 ac_cv_prog_RANLIB
="ranlib"
6272 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6275 RANLIB
="$ac_cv_prog_RANLIB"
6276 if test -n "$RANLIB"; then
6277 echo "$ac_t""$RANLIB" 1>&6
6279 echo "$ac_t""no" 1>&6
6283 # Extract the first word of "ar", so it can be a program name with args.
6284 set dummy
ar; ac_word
=$2
6285 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6286 echo "configure:6287: checking for $ac_word" >&5
6287 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6288 echo $ac_n "(cached) $ac_c" 1>&6
6290 if test -n "$AR"; then
6291 ac_cv_prog_AR
="$AR" # Let the user override the test.
6293 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6295 for ac_dir
in $ac_dummy; do
6296 test -z "$ac_dir" && ac_dir
=.
6297 if test -f $ac_dir/$ac_word; then
6303 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6307 if test -n "$AR"; then
6308 echo "$ac_t""$AR" 1>&6
6310 echo "$ac_t""no" 1>&6
6314 # Find a good install program. We prefer a C program (faster),
6315 # so one script is as good as another. But avoid the broken or
6316 # incompatible versions:
6317 # SysV /etc/install, /usr/sbin/install
6318 # SunOS /usr/etc/install
6319 # IRIX /sbin/install
6321 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6322 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6323 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6324 # ./install, which can be erroneously created by make from ./install.sh.
6325 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6326 echo "configure:6327: checking for a BSD compatible install" >&5
6327 if test -z "$INSTALL"; then
6328 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6329 echo $ac_n "(cached) $ac_c" 1>&6
6331 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6332 for ac_dir
in $PATH; do
6333 # Account for people who put trailing slashes in PATH elements.
6335 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6337 # OSF1 and SCO ODT 3.0 have their own names for install.
6338 # Don't use installbsd from OSF since it installs stuff as root
6340 for ac_prog
in ginstall scoinst
install; do
6341 if test -f $ac_dir/$ac_prog; then
6342 if test $ac_prog = install &&
6343 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6344 # AIX install. It has an incompatible calling convention.
6347 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6358 if test "${ac_cv_path_install+set}" = set; then
6359 INSTALL
="$ac_cv_path_install"
6361 # As a last resort, use the slow shell script. We don't cache a
6362 # path for INSTALL within a source directory, because that will
6363 # break other packages using the cache if that directory is
6364 # removed, or if the path is relative.
6365 INSTALL
="$ac_install_sh"
6368 echo "$ac_t""$INSTALL" 1>&6
6370 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6371 # It thinks the first close brace ends the variable substitution.
6372 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6374 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6376 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6379 # Extract the first word of "strip", so it can be a program name with args.
6380 set dummy strip
; ac_word
=$2
6381 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6382 echo "configure:6383: checking for $ac_word" >&5
6383 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6384 echo $ac_n "(cached) $ac_c" 1>&6
6386 if test -n "$STRIP"; then
6387 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6389 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6391 for ac_dir
in $ac_dummy; do
6392 test -z "$ac_dir" && ac_dir
=.
6393 if test -f $ac_dir/$ac_word; then
6394 ac_cv_prog_STRIP
="strip"
6399 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6402 STRIP
="$ac_cv_prog_STRIP"
6403 if test -n "$STRIP"; then
6404 echo "$ac_t""$STRIP" 1>&6
6406 echo "$ac_t""no" 1>&6
6410 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6411 echo "configure:6412: checking "make for VPATH support
"" >&5
6412 cat - << EOF > confMake
6418 if test ! -d sub
; then
6421 echo dummy
> sub
/file
6422 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6424 rm -f sub
/file check final_file confMake
6426 if test "$RESULT" = 0; then
6427 echo "$ac_t""yes" 1>&6
6429 echo "$ac_t""no" 1>&6
6430 { echo "configure: error: You need a make-utility that is able to use the variable
6432 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6435 for ac_prog
in 'bison -y' byacc
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy
$ac_prog; ac_word
=$2
6439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6440 echo "configure:6441: checking for $ac_word" >&5
6441 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6442 echo $ac_n "(cached) $ac_c" 1>&6
6444 if test -n "$YACC"; then
6445 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6447 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6449 for ac_dir
in $ac_dummy; do
6450 test -z "$ac_dir" && ac_dir
=.
6451 if test -f $ac_dir/$ac_word; then
6452 ac_cv_prog_YACC
="$ac_prog"
6459 YACC
="$ac_cv_prog_YACC"
6460 if test -n "$YACC"; then
6461 echo "$ac_t""$YACC" 1>&6
6463 echo "$ac_t""no" 1>&6
6466 test -n "$YACC" && break
6468 test -n "$YACC" || YACC
="yacc"
6471 # Extract the first word of "flex", so it can be a program name with args.
6472 set dummy flex
; ac_word
=$2
6473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6474 echo "configure:6475: checking for $ac_word" >&5
6475 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6476 echo $ac_n "(cached) $ac_c" 1>&6
6478 if test -n "$LEX"; then
6479 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6481 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6483 for ac_dir
in $ac_dummy; do
6484 test -z "$ac_dir" && ac_dir
=.
6485 if test -f $ac_dir/$ac_word; then
6486 ac_cv_prog_LEX
="flex"
6491 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6494 LEX
="$ac_cv_prog_LEX"
6495 if test -n "$LEX"; then
6496 echo "$ac_t""$LEX" 1>&6
6498 echo "$ac_t""no" 1>&6
6501 if test -z "$LEXLIB"
6507 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6508 echo "configure:6509: checking for yywrap in -l$ac_lib" >&5
6509 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6510 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6511 echo $ac_n "(cached) $ac_c" 1>&6
6513 ac_save_LIBS
="$LIBS"
6514 LIBS
="-l$ac_lib $LIBS"
6515 cat > conftest.
$ac_ext <<EOF
6516 #line 6517 "configure"
6517 #include "confdefs.h"
6518 /* Override any gcc2 internal prototype to avoid an error. */
6519 /* We use char because int might match the return type of a gcc2
6520 builtin and then its argument prototype would still apply. */
6527 if { (eval echo configure
:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6529 eval "ac_cv_lib_$ac_lib_var=yes"
6531 echo "configure: failed program was:" >&5
6532 cat conftest.
$ac_ext >&5
6534 eval "ac_cv_lib_$ac_lib_var=no"
6537 LIBS
="$ac_save_LIBS"
6540 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6541 echo "$ac_t""yes" 1>&6
6544 echo "$ac_t""no" 1>&6
6550 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6551 echo "configure:6552: checking whether ln -s works" >&5
6552 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6553 echo $ac_n "(cached) $ac_c" 1>&6
6556 if ln -s X conftestdata
2>/dev
/null
6559 ac_cv_prog_LN_S
="ln -s"
6564 LN_S
="$ac_cv_prog_LN_S"
6565 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6574 /usr/local/include \
6576 /usr/Motif-1.2/include \
6577 /usr/Motif-2.1/include \
6579 /usr/include/Motif1.2 \
6580 /opt/xpm/include/X11 \
6581 /opt/GBxpm/include/ \
6582 /opt/GBxpm/X11/include/ \
6584 /usr/Motif1.2/include \
6588 /usr/X11R6/include \
6589 /usr/X11R5/include \
6590 /usr/X11R4/include \
6596 /usr/include/X11R6 \
6597 /usr/include/X11R5 \
6598 /usr/include/X11R4 \
6600 /usr/local/X11R6/include \
6601 /usr/local/X11R5/include \
6602 /usr/local/X11R4/include \
6604 /usr/local/include/X11R6 \
6605 /usr/local/include/X11R5 \
6606 /usr/local/include/X11R4 \
6610 /usr/local/X11/include \
6611 /usr/local/include/X11 \
6615 /usr/XFree86/include/X11 \
6618 /usr/local/include/gtk \
6620 /usr/local/include/glib \
6623 /usr/local/include/qt \
6625 /usr/include/windows \
6627 /usr/local/include/wine \
6629 /usr/unsupported/include \
6630 /usr/athena/include \
6631 /usr/local/x11r5/include \
6632 /usr/lpp/Xamples/include \
6634 /usr/openwin/include \
6635 /usr/openwin/share/include \
6638 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6641 cat > confcache
<<\EOF
6642 # This file is a shell script that caches the results of configure
6643 # tests run on this system so they can be shared between configure
6644 # scripts and configure runs. It is not useful on other systems.
6645 # If it contains results you don't want to keep, you may remove or edit it.
6647 # By default, configure uses ./config.cache as the cache file,
6648 # creating it if it does not exist already. You can give configure
6649 # the --cache-file=FILE option to use a different cache file; that is
6650 # what configure does when it calls configure scripts in
6651 # subdirectories, so they share the cache.
6652 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6653 # config.status only pays attention to the cache file if you give it the
6654 # --recheck option to rerun configure.
6657 # The following way of writing the cache mishandles newlines in values,
6658 # but we know of no workaround that is simple, portable, and efficient.
6659 # So, don't put newlines in cache variables' values.
6660 # Ultrix sh set writes to stderr and can't be redirected directly,
6661 # and sets the high bit in the cache file unless we assign to the vars.
6663 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6665 # `set' does not quote correctly, so add quotes (double-quote substitution
6666 # turns \\\\ into \\, and sed turns \\ into \).
6668 -e "s/'/'\\\\''/g" \
6669 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6672 # `set' quotes correctly as required by POSIX, so do not add quotes.
6673 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6676 if cmp -s $cache_file confcache
; then
6679 if test -w $cache_file; then
6680 echo "updating cache $cache_file"
6681 cat confcache
> $cache_file
6683 echo "not updating unwritable cache $cache_file"
6690 if test "$wxUSE_GUI" = "yes"; then
6708 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6709 if test "$cross_compiling" = "yes" ; then
6710 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6712 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6713 echo "configure:6714: checking for Windows headers" >&5
6716 for ac_dir
in $SEARCH_INCLUDE;
6718 if test -f "$ac_dir/windows.h"; then
6719 ac_find_includes
=$ac_dir
6724 if test "$ac_find_includes" != "" ; then
6725 echo "$ac_t""found $ac_find_includes" 1>&6
6726 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6728 echo "$ac_t""no" 1>&6
6729 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6733 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6734 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6736 if test "$wxUSE_MINGW" = 1; then
6737 LDFLAGS
="$LDFLAGS -mwindows"
6742 GUIOBJS
="\$(MSW_GUIOBJS)"
6743 GUIHEADERS
="\$(MSW_HEADERS)"
6744 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6745 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6751 if test "$wxUSE_GTK" = 1; then
6753 if test x
$gtk_config_exec_prefix != x
; then
6754 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6755 if test x
${GTK_CONFIG+set} != xset
; then
6756 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6759 if test x
$gtk_config_prefix != x
; then
6760 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6761 if test x
${GTK_CONFIG+set} != xset
; then
6762 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6766 # Extract the first word of "gtk-config", so it can be a program name with args.
6767 set dummy gtk
-config; ac_word
=$2
6768 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6769 echo "configure:6770: checking for $ac_word" >&5
6770 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6771 echo $ac_n "(cached) $ac_c" 1>&6
6773 case "$GTK_CONFIG" in
6775 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6778 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6781 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6783 for ac_dir
in $ac_dummy; do
6784 test -z "$ac_dir" && ac_dir
=.
6785 if test -f $ac_dir/$ac_word; then
6786 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6791 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6795 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6796 if test -n "$GTK_CONFIG"; then
6797 echo "$ac_t""$GTK_CONFIG" 1>&6
6799 echo "$ac_t""no" 1>&6
6802 min_gtk_version
=1.2.1
6803 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6804 echo "configure:6805: checking for GTK - version >= $min_gtk_version" >&5
6806 if test "$GTK_CONFIG" != "no" ; then
6807 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6808 GTK_LIBS
=`$GTK_CONFIG --libs`
6809 ac_save_CFLAGS
="$CFLAGS"
6810 ac_save_LIBS
="$LIBS"
6811 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6812 LIBS
="$LIBS $GTK_LIBS"
6813 if test "$cross_compiling" = yes; then
6814 echo $ac_n "cross compiling; assumed OK... $ac_c"
6816 cat > conftest.
$ac_ext <<EOF
6817 #line 6818 "configure"
6818 #include "confdefs.h"
6820 #include <gtk/gtk.h>
6826 int major, minor, micro;
6828 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6829 printf("%s, bad version string\n", "$min_gtk_version");
6833 if (gtk_minor_version == 1) return FALSE;
6835 return !((gtk_major_version > major) ||
6836 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6837 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6841 if { (eval echo configure
:6842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6845 echo "configure: failed program was:" >&5
6846 cat conftest.
$ac_ext >&5
6853 CFLAGS
="$ac_save_CFLAGS"
6854 LIBS
="$ac_save_LIBS"
6858 if test "x$no_gtk" = x
; then
6859 echo "$ac_t""yes" 1>&6
6862 echo "$ac_t""no" 1>&6
6865 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6871 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6872 GUI_TK_LIBRARY
="$GTK_LIBS"
6875 GUIOBJS
="\$(GTK_GUIOBJS)"
6876 GUIHEADERS
="\$(GTK_HEADERS)"
6877 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6878 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6879 GUIDEPS
="\$(GTK_GUIDEPS)"
6880 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6881 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6882 UNIXOBJS
="\$(UNIX_OBJS)"
6886 if test "$wxUSE_WINE" = 1; then
6887 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6888 echo "configure:6889: checking for WINE includes" >&5
6891 for ac_dir
in $SEARCH_INCLUDE;
6893 if test -f "$ac_dir/windows.h"; then
6894 ac_find_includes
=$ac_dir
6899 if test "$ac_find_includes" != "" ; then
6900 echo "$ac_t""found $ac_find_includes" 1>&6
6901 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6903 echo "$ac_t""no" 1>&6
6904 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6908 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6909 echo "configure:6910: checking for Xpm library" >&5
6912 for ac_dir
in $SEARCH_LIB;
6914 for ac_extension
in a so sl
; do
6915 if test -f "$ac_dir/libXpm.$ac_extension"; then
6916 ac_find_libraries
=$ac_dir
6922 if test "$ac_find_libraries" != "" ; then
6923 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6925 cat >> confdefs.h
<<\EOF
6926 #define wxHAVE_LIB_XPM 1
6929 echo "$ac_t""found at $ac_find_libraries" 1>&6
6931 echo "$ac_t""no" 1>&6
6932 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6936 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6937 echo "configure:6938: checking for Mesa library" >&5
6940 for ac_dir
in $SEARCH_LIB;
6942 for ac_extension
in a so sl
; do
6943 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6944 ac_find_libraries
=$ac_dir
6950 if test "$ac_find_libraries" != "" ; then
6951 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6952 MESA_LINK
="-lMesaGL"
6953 echo "$ac_t""found at $ac_find_libraries" 1>&6
6955 { echo "configure: error: no" 1>&2; exit 1; }
6958 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6959 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6963 GUIHEADERS
="\$(MSW_HEADERS)"
6964 GUIOBJS
="\$(MSW_GUIOBJS)"
6965 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6966 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6967 GUIDEPS
="\$(MSW_GUIDEPS)"
6968 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6969 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6970 UNIXOBJS
="\$(UNIX_OBJS)"
6974 if test "$wxUSE_MOTIF" = 1; then
6975 echo $ac_n "checking for X11 headers""... $ac_c" 1>&6
6976 echo "configure:6977: checking for X11 headers" >&5
6979 for ac_dir
in $SEARCH_INCLUDE;
6981 if test -f "$ac_dir/X11/Intrinsic.h"; then
6982 ac_find_includes
=$ac_dir
6987 if test "$ac_find_includes" != "" ; then
6988 echo "$ac_t""found $ac_find_includes" 1>&6
6990 echo "$ac_t""no" 1>&6
6991 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
6994 echo $ac_n "checking for X11 libraries""... $ac_c" 1>&6
6995 echo "configure:6996: checking for X11 libraries" >&5
6998 for ac_dir
in $SEARCH_LIB;
7000 for ac_extension
in a so sl
; do
7001 if test -f "$ac_dir/libX11.$ac_extension"; then
7002 ac_find_libraries
=$ac_dir
7008 if test "$ac_find_libraries" != "" ; then
7010 ac_path_to_include
=$ac_find_includes
7011 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7013 if test $result = 0; then
7014 ac_path_to_include
=""
7016 ac_path_to_include
="-I$ac_find_includes"
7020 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7022 if test $result = 0; then
7025 ac_path_to_link
="-L$ac_find_libraries"
7029 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7030 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7031 echo "$ac_t""found at $ac_find_libraries" 1>&6
7033 echo "$ac_t""no" 1>&6
7034 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7037 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7038 echo "configure:7039: checking for Motif/Lesstif headers" >&5
7041 for ac_dir
in $SEARCH_INCLUDE;
7043 if test -f "$ac_dir/Xm/Xm.h"; then
7044 ac_find_includes
=$ac_dir
7049 if test "$ac_find_includes" != "" ; then
7050 echo "$ac_t""found $ac_find_includes" 1>&6
7052 echo "$ac_t""no" 1>&6
7053 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7056 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7057 echo "configure:7058: checking for Motif/Lesstif library" >&5
7060 for ac_dir
in $SEARCH_LIB;
7062 for ac_extension
in a so sl
; do
7063 if test -f "$ac_dir/libXm.$ac_extension"; then
7064 ac_find_libraries
=$ac_dir
7070 if test "$ac_find_libraries" != "" ; then
7072 ac_path_to_include
=$ac_find_includes
7073 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7075 if test $result = 0; then
7076 ac_path_to_include
=""
7078 ac_path_to_include
="-I$ac_find_includes"
7082 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7084 if test $result = 0; then
7087 ac_path_to_link
="-L$ac_find_libraries"
7091 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7092 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7093 echo "$ac_t""found at $ac_find_libraries" 1>&6
7095 echo "$ac_t""no" 1>&6
7096 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7099 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7100 echo "configure:7101: checking for Xt library" >&5
7103 for ac_dir
in $SEARCH_LIB;
7105 for ac_extension
in a so sl
; do
7106 if test -f "$ac_dir/libXt.$ac_extension"; then
7107 ac_find_libraries
=$ac_dir
7113 if test "$ac_find_libraries" != "" ; then
7115 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7117 if test $result = 0; then
7120 ac_path_to_link
="-L$ac_find_libraries"
7123 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7124 echo "$ac_t""found at $ac_find_libraries" 1>&6
7126 echo "$ac_t""no" 1>&6
7127 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7131 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7132 echo "configure:7133: checking for Xpm library" >&5
7135 for ac_dir
in $SEARCH_LIB;
7137 for ac_extension
in a so sl
; do
7138 if test -f "$ac_dir/libXpm.$ac_extension"; then
7139 ac_find_libraries
=$ac_dir
7145 if test "$ac_find_libraries" != "" ; then
7147 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7149 if test $result = 0; then
7152 ac_path_to_link
="-L$ac_find_libraries"
7155 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7157 cat >> confdefs.h
<<\EOF
7158 #define wxHAVE_LIB_XPM 1
7161 echo "$ac_t""found at $ac_find_libraries" 1>&6
7163 echo "$ac_t""no" 1>&6
7164 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7167 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm"
7168 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7171 GUIHEADERS
="\$(MOTIF_HEADERS)"
7172 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7173 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7174 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7175 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7176 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7177 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7178 UNIXOBJS
="\$(UNIX_OBJS)"
7182 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7184 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7186 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7188 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7189 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7190 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7193 ALL_OBJECTS
="\$(BASE_OBJS)"
7194 ALL_DEPFILES
="\${BASE_DEPS}"
7195 ALL_HEADERS
="\${BASE_HEADERS}"
7200 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7202 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7204 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7206 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7207 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7208 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7215 if test "$wxUSE_SHARED" = "yes"; then
7218 if test "$GCC" = yes ; then
7219 SHARED_LD
="${CC} -shared -o"
7222 SHARED_LD
="${CXX} -b -o"
7225 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7226 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
7229 SHARED_LD
="${CC} -shared -o"
7231 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7232 WX_ALL
="CREATE_LINKS"
7234 *-*-irix5* | *-*-irix6* )
7235 if test "$GCC" = yes ; then
7236 SHARED_LD
="${CC} -shared -o"
7239 SHARED_LD
="${CXX} -shared -o"
7241 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7242 WX_ALL
="CREATE_LINKS"
7245 if test "$GCC" = yes ; then
7246 SHARED_LD
="${CC} -shared -o"
7249 SHARED_LD
="${CXX} -G -o"
7252 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7253 WX_ALL
="CREATE_LINKS"
7256 SHARED_LD
="${CC} -shared -o"
7258 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7259 WX_ALL
="CREATE_LINKS"
7261 *-*-freebsd* | *-*-netbsd*)
7262 SHARED_LD
="${CC} -shared -o"
7264 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7265 WX_ALL
="CREATE_LINKS"
7268 SHARED_LD
="${CXX} -shared -o"
7270 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7271 WX_ALL
="CREATE_LINKS"
7274 SHARED_LD
="${CXX} -shared -o"
7276 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7277 WX_ALL
="CREATE_LINKS"
7280 SHARED_LD
="${CC} -shared -o"
7282 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7283 WX_ALL
="CREATE_LINKS"
7286 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
7287 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
7290 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7291 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
7294 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7295 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
7300 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
7303 if test "x$WX_TARGET_LIBRARY" = "x"; then
7304 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7307 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7308 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
7312 for ac_hdr
in strings.h
7314 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7316 echo "configure:7317: checking for $ac_hdr" >&5
7317 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7318 echo $ac_n "(cached) $ac_c" 1>&6
7320 cat > conftest.
$ac_ext <<EOF
7321 #line 7322 "configure"
7322 #include "confdefs.h"
7325 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7326 { (eval echo configure
:7327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7327 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7328 if test -z "$ac_err"; then
7330 eval "ac_cv_header_$ac_safe=yes"
7333 echo "configure: failed program was:" >&5
7334 cat conftest.
$ac_ext >&5
7336 eval "ac_cv_header_$ac_safe=no"
7340 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7341 echo "$ac_t""yes" 1>&6
7342 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7343 cat >> confdefs.h
<<EOF
7344 #define $ac_tr_hdr 1
7348 echo "$ac_t""no" 1>&6
7352 for ac_hdr
in unistd.h
7354 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7355 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7356 echo "configure:7357: checking for $ac_hdr" >&5
7357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7358 echo $ac_n "(cached) $ac_c" 1>&6
7360 cat > conftest.
$ac_ext <<EOF
7361 #line 7362 "configure"
7362 #include "confdefs.h"
7365 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7366 { (eval echo configure
:7367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7367 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7368 if test -z "$ac_err"; then
7370 eval "ac_cv_header_$ac_safe=yes"
7373 echo "configure: failed program was:" >&5
7374 cat conftest.
$ac_ext >&5
7376 eval "ac_cv_header_$ac_safe=no"
7380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7381 echo "$ac_t""yes" 1>&6
7382 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7383 cat >> confdefs.h
<<EOF
7384 #define $ac_tr_hdr 1
7388 echo "$ac_t""no" 1>&6
7392 for ac_hdr
in wchar.h
7394 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7395 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7396 echo "configure:7397: checking for $ac_hdr" >&5
7397 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7398 echo $ac_n "(cached) $ac_c" 1>&6
7400 cat > conftest.
$ac_ext <<EOF
7401 #line 7402 "configure"
7402 #include "confdefs.h"
7405 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7406 { (eval echo configure
:7407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7407 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7408 if test -z "$ac_err"; then
7410 eval "ac_cv_header_$ac_safe=yes"
7413 echo "configure: failed program was:" >&5
7414 cat conftest.
$ac_ext >&5
7416 eval "ac_cv_header_$ac_safe=no"
7420 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7421 echo "$ac_t""yes" 1>&6
7422 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7423 cat >> confdefs.h
<<EOF
7424 #define $ac_tr_hdr 1
7428 echo "$ac_t""no" 1>&6
7432 for ac_hdr
in wcstr.h
7434 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7435 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7436 echo "configure:7437: checking for $ac_hdr" >&5
7437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7440 cat > conftest.
$ac_ext <<EOF
7441 #line 7442 "configure"
7442 #include "confdefs.h"
7445 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7446 { (eval echo configure
:7447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7447 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7448 if test -z "$ac_err"; then
7450 eval "ac_cv_header_$ac_safe=yes"
7453 echo "configure: failed program was:" >&5
7454 cat conftest.
$ac_ext >&5
7456 eval "ac_cv_header_$ac_safe=no"
7460 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7461 echo "$ac_t""yes" 1>&6
7462 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7463 cat >> confdefs.h
<<EOF
7464 #define $ac_tr_hdr 1
7468 echo "$ac_t""no" 1>&6
7472 for ac_hdr
in fnmatch.h
7474 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7475 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7476 echo "configure:7477: checking for $ac_hdr" >&5
7477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7478 echo $ac_n "(cached) $ac_c" 1>&6
7480 cat > conftest.
$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7486 { (eval echo configure
:7487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7487 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7488 if test -z "$ac_err"; then
7490 eval "ac_cv_header_$ac_safe=yes"
7493 echo "configure: failed program was:" >&5
7494 cat conftest.
$ac_ext >&5
7496 eval "ac_cv_header_$ac_safe=no"
7500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7501 echo "$ac_t""yes" 1>&6
7502 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7503 cat >> confdefs.h
<<EOF
7504 #define $ac_tr_hdr 1
7508 echo "$ac_t""no" 1>&6
7513 if test "$wxUSE_GUI" = "yes"; then
7514 for ac_hdr
in X
11/XKBlib.h
7516 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7517 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7518 echo "configure:7519: checking for $ac_hdr" >&5
7519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7520 echo $ac_n "(cached) $ac_c" 1>&6
7522 cat > conftest.
$ac_ext <<EOF
7523 #line 7524 "configure"
7524 #include "confdefs.h"
7527 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7528 { (eval echo configure
:7529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7529 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7530 if test -z "$ac_err"; then
7532 eval "ac_cv_header_$ac_safe=yes"
7535 echo "configure: failed program was:" >&5
7536 cat conftest.
$ac_ext >&5
7538 eval "ac_cv_header_$ac_safe=no"
7542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7543 echo "$ac_t""yes" 1>&6
7544 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7545 cat >> confdefs.h
<<EOF
7546 #define $ac_tr_hdr 1
7550 echo "$ac_t""no" 1>&6
7557 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
7558 echo "configure:7559: checking for ANSI C header files" >&5
7559 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7560 echo $ac_n "(cached) $ac_c" 1>&6
7562 cat > conftest.
$ac_ext <<EOF
7563 #line 7564 "configure"
7564 #include "confdefs.h"
7570 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7571 { (eval echo configure
:7572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7572 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7573 if test -z "$ac_err"; then
7575 ac_cv_header_stdc
=yes
7578 echo "configure: failed program was:" >&5
7579 cat conftest.
$ac_ext >&5
7581 ac_cv_header_stdc
=no
7585 if test $ac_cv_header_stdc = yes; then
7586 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7587 cat > conftest.
$ac_ext <<EOF
7588 #line 7589 "configure"
7589 #include "confdefs.h"
7592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7593 egrep "memchr" >/dev
/null
2>&1; then
7597 ac_cv_header_stdc
=no
7603 if test $ac_cv_header_stdc = yes; then
7604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7605 cat > conftest.
$ac_ext <<EOF
7606 #line 7607 "configure"
7607 #include "confdefs.h"
7610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7611 egrep "free" >/dev
/null
2>&1; then
7615 ac_cv_header_stdc
=no
7621 if test $ac_cv_header_stdc = yes; then
7622 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7623 if test "$cross_compiling" = yes; then
7626 cat > conftest.
$ac_ext <<EOF
7627 #line 7628 "configure"
7628 #include "confdefs.h"
7630 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7631 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7632 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7633 int main () { int i; for (i = 0; i < 256; i++)
7634 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
7638 if { (eval echo configure
:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7642 echo "configure: failed program was:" >&5
7643 cat conftest.
$ac_ext >&5
7645 ac_cv_header_stdc
=no
7653 echo "$ac_t""$ac_cv_header_stdc" 1>&6
7654 if test $ac_cv_header_stdc = yes; then
7655 cat >> confdefs.h
<<\EOF
7656 #define STDC_HEADERS 1
7661 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
7662 echo "configure:7663: checking for mode_t" >&5
7663 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
7664 echo $ac_n "(cached) $ac_c" 1>&6
7666 cat > conftest.
$ac_ext <<EOF
7667 #line 7668 "configure"
7668 #include "confdefs.h"
7669 #include <sys/types.h>
7675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7676 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7678 ac_cv_type_mode_t
=yes
7681 ac_cv_type_mode_t
=no
7686 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
7687 if test $ac_cv_type_mode_t = no
; then
7688 cat >> confdefs.h
<<\EOF
7694 echo $ac_n "checking for off_t""... $ac_c" 1>&6
7695 echo "configure:7696: checking for off_t" >&5
7696 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
7697 echo $ac_n "(cached) $ac_c" 1>&6
7699 cat > conftest.
$ac_ext <<EOF
7700 #line 7701 "configure"
7701 #include "confdefs.h"
7702 #include <sys/types.h>
7708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7709 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7711 ac_cv_type_off_t
=yes
7719 echo "$ac_t""$ac_cv_type_off_t" 1>&6
7720 if test $ac_cv_type_off_t = no
; then
7721 cat >> confdefs.h
<<\EOF
7727 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7728 echo "configure:7729: checking for pid_t" >&5
7729 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7730 echo $ac_n "(cached) $ac_c" 1>&6
7732 cat > conftest.
$ac_ext <<EOF
7733 #line 7734 "configure"
7734 #include "confdefs.h"
7735 #include <sys/types.h>
7741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7742 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7744 ac_cv_type_pid_t
=yes
7752 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
7753 if test $ac_cv_type_pid_t = no
; then
7754 cat >> confdefs.h
<<\EOF
7760 echo $ac_n "checking for size_t""... $ac_c" 1>&6
7761 echo "configure:7762: checking for size_t" >&5
7762 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
7763 echo $ac_n "(cached) $ac_c" 1>&6
7765 cat > conftest.
$ac_ext <<EOF
7766 #line 7767 "configure"
7767 #include "confdefs.h"
7768 #include <sys/types.h>
7774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7775 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7777 ac_cv_type_size_t
=yes
7780 ac_cv_type_size_t
=no
7785 echo "$ac_t""$ac_cv_type_size_t" 1>&6
7786 if test $ac_cv_type_size_t = no
; then
7787 cat >> confdefs.h
<<\EOF
7788 #define size_t unsigned
7793 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
7794 echo "configure:7795: checking for uid_t in sys/types.h" >&5
7795 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
7796 echo $ac_n "(cached) $ac_c" 1>&6
7798 cat > conftest.
$ac_ext <<EOF
7799 #line 7800 "configure"
7800 #include "confdefs.h"
7801 #include <sys/types.h>
7803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7804 egrep "uid_t" >/dev
/null
2>&1; then
7806 ac_cv_type_uid_t
=yes
7815 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
7816 if test $ac_cv_type_uid_t = no
; then
7817 cat >> confdefs.h
<<\EOF
7821 cat >> confdefs.h
<<\EOF
7830 echo $ac_n "checking for working const""... $ac_c" 1>&6
7831 echo "configure:7832: checking for working const" >&5
7832 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7833 echo $ac_n "(cached) $ac_c" 1>&6
7835 cat > conftest.
$ac_ext <<EOF
7836 #line 7837 "configure"
7837 #include "confdefs.h"
7841 /* Ultrix mips cc rejects this. */
7842 typedef int charset[2]; const charset x;
7843 /* SunOS 4.1.1 cc rejects this. */
7844 char const *const *ccp;
7846 /* NEC SVR4.0.2 mips cc rejects this. */
7847 struct point {int x, y;};
7848 static struct point const zero = {0,0};
7849 /* AIX XL C 1.02.0.0 rejects this.
7850 It does not let you subtract one const X* pointer from another in an arm
7851 of an if-expression whose if-part is not a constant expression */
7852 const char *g = "string";
7853 ccp = &g + (g ? g-g : 0);
7854 /* HPUX 7.0 cc rejects these. */
7857 ccp = (char const *const *) p;
7858 { /* SCO 3.2v4 cc rejects this. */
7860 char const *s = 0 ? (char *) 0 : (char const *) 0;
7864 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7866 const int *foo = &x[0];
7869 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7870 typedef const int *iptr;
7874 { /* AIX XL C 1.02.0.0 rejects this saying
7875 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7876 struct s { int j; const int *ap[3]; };
7877 struct s *b; b->j = 5;
7879 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7885 if { (eval echo configure
:7886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7889 echo "configure: failed program was:" >&5
7890 cat conftest.
$ac_ext >&5
7897 echo "$ac_t""$ac_cv_c_const" 1>&6
7898 if test $ac_cv_c_const = no
; then
7899 cat >> confdefs.h
<<\EOF
7905 echo $ac_n "checking for inline""... $ac_c" 1>&6
7906 echo "configure:7907: checking for inline" >&5
7907 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
7908 echo $ac_n "(cached) $ac_c" 1>&6
7911 for ac_kw
in inline __inline__ __inline
; do
7912 cat > conftest.
$ac_ext <<EOF
7913 #line 7914 "configure"
7914 #include "confdefs.h"
7920 if { (eval echo configure
:7921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7922 ac_cv_c_inline
=$ac_kw; break
7924 echo "configure: failed program was:" >&5
7925 cat conftest.
$ac_ext >&5
7932 echo "$ac_t""$ac_cv_c_inline" 1>&6
7933 case "$ac_cv_c_inline" in
7935 no
) cat >> confdefs.h
<<\EOF
7939 *) cat >> confdefs.h
<<EOF
7940 #define inline $ac_cv_c_inline
7946 echo $ac_n "checking size of char""... $ac_c" 1>&6
7947 echo "configure:7948: checking size of char" >&5
7948 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
7949 echo $ac_n "(cached) $ac_c" 1>&6
7951 if test "$cross_compiling" = yes; then
7954 cat > conftest.
$ac_ext <<EOF
7955 #line 7956 "configure"
7956 #include "confdefs.h"
7960 FILE *f=fopen("conftestval", "w");
7962 fprintf(f, "%d\n", sizeof(char));
7966 if { (eval echo configure
:7967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7968 ac_cv_sizeof_char
=`cat conftestval`
7970 echo "configure: failed program was:" >&5
7971 cat conftest.
$ac_ext >&5
7979 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
7980 cat >> confdefs.h
<<EOF
7981 #define SIZEOF_CHAR $ac_cv_sizeof_char
7985 echo $ac_n "checking size of short""... $ac_c" 1>&6
7986 echo "configure:7987: checking size of short" >&5
7987 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
7988 echo $ac_n "(cached) $ac_c" 1>&6
7990 if test "$cross_compiling" = yes; then
7991 ac_cv_sizeof_short
=2
7993 cat > conftest.
$ac_ext <<EOF
7994 #line 7995 "configure"
7995 #include "confdefs.h"
7999 FILE *f=fopen("conftestval", "w");
8001 fprintf(f, "%d\n", sizeof(short));
8005 if { (eval echo configure
:8006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8007 ac_cv_sizeof_short
=`cat conftestval`
8009 echo "configure: failed program was:" >&5
8010 cat conftest.
$ac_ext >&5
8012 ac_cv_sizeof_short
=0
8018 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8019 cat >> confdefs.h
<<EOF
8020 #define SIZEOF_SHORT $ac_cv_sizeof_short
8024 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8025 echo "configure:8026: checking size of int *" >&5
8026 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8027 echo $ac_n "(cached) $ac_c" 1>&6
8029 if test "$cross_compiling" = yes; then
8030 ac_cv_sizeof_int_p
=4
8032 cat > conftest.
$ac_ext <<EOF
8033 #line 8034 "configure"
8034 #include "confdefs.h"
8038 FILE *f=fopen("conftestval", "w");
8040 fprintf(f, "%d\n", sizeof(int *));
8044 if { (eval echo configure
:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8046 ac_cv_sizeof_int_p
=`cat conftestval`
8048 echo "configure: failed program was:" >&5
8049 cat conftest.
$ac_ext >&5
8051 ac_cv_sizeof_int_p
=0
8057 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8058 cat >> confdefs.h
<<EOF
8059 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8063 echo $ac_n "checking size of int""... $ac_c" 1>&6
8064 echo "configure:8065: checking size of int" >&5
8065 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8066 echo $ac_n "(cached) $ac_c" 1>&6
8068 if test "$cross_compiling" = yes; then
8071 cat > conftest.
$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8077 FILE *f=fopen("conftestval", "w");
8079 fprintf(f, "%d\n", sizeof(int));
8083 if { (eval echo configure
:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8085 ac_cv_sizeof_int
=`cat conftestval`
8087 echo "configure: failed program was:" >&5
8088 cat conftest.
$ac_ext >&5
8096 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8097 cat >> confdefs.h
<<EOF
8098 #define SIZEOF_INT $ac_cv_sizeof_int
8102 echo $ac_n "checking size of long""... $ac_c" 1>&6
8103 echo "configure:8104: checking size of long" >&5
8104 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8105 echo $ac_n "(cached) $ac_c" 1>&6
8107 if test "$cross_compiling" = yes; then
8110 cat > conftest.
$ac_ext <<EOF
8111 #line 8112 "configure"
8112 #include "confdefs.h"
8116 FILE *f=fopen("conftestval", "w");
8118 fprintf(f, "%d\n", sizeof(long));
8122 if { (eval echo configure
:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8124 ac_cv_sizeof_long
=`cat conftestval`
8126 echo "configure: failed program was:" >&5
8127 cat conftest.
$ac_ext >&5
8135 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8136 cat >> confdefs.h
<<EOF
8137 #define SIZEOF_LONG $ac_cv_sizeof_long
8141 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8142 echo "configure:8143: checking size of long long" >&5
8143 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8144 echo $ac_n "(cached) $ac_c" 1>&6
8146 if test "$cross_compiling" = yes; then
8147 ac_cv_sizeof_long_long
=0
8149 cat > conftest.
$ac_ext <<EOF
8150 #line 8151 "configure"
8151 #include "confdefs.h"
8155 FILE *f=fopen("conftestval", "w");
8157 fprintf(f, "%d\n", sizeof(long long));
8161 if { (eval echo configure
:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8163 ac_cv_sizeof_long_long
=`cat conftestval`
8165 echo "configure: failed program was:" >&5
8166 cat conftest.
$ac_ext >&5
8168 ac_cv_sizeof_long_long
=0
8174 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8175 cat >> confdefs.h
<<EOF
8176 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8181 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8182 echo "configure:8183: checking whether byte ordering is bigendian" >&5
8183 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8184 echo $ac_n "(cached) $ac_c" 1>&6
8186 ac_cv_c_bigendian
=unknown
8187 # See if sys/param.h defines the BYTE_ORDER macro.
8188 cat > conftest.
$ac_ext <<EOF
8189 #line 8190 "configure"
8190 #include "confdefs.h"
8191 #include <sys/types.h>
8192 #include <sys/param.h>
8195 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8200 if { (eval echo configure
:8201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8202 # It does; now see whether it defined to BIG_ENDIAN or not.
8203 cat > conftest.
$ac_ext <<EOF
8204 #line 8205 "configure"
8205 #include "confdefs.h"
8206 #include <sys/types.h>
8207 #include <sys/param.h>
8210 #if BYTE_ORDER != BIG_ENDIAN
8215 if { (eval echo configure
:8216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8217 ac_cv_c_bigendian
=yes
8219 echo "configure: failed program was:" >&5
8220 cat conftest.
$ac_ext >&5
8222 ac_cv_c_bigendian
=no
8226 echo "configure: failed program was:" >&5
8227 cat conftest.
$ac_ext >&5
8230 if test $ac_cv_c_bigendian = unknown
; then
8231 if test "$cross_compiling" = yes; then
8232 ac_cv_c_bigendian
=unknown
8234 cat > conftest.
$ac_ext <<EOF
8235 #line 8236 "configure"
8236 #include "confdefs.h"
8238 /* Are we little or big endian? From Harbison&Steele. */
8242 char c[sizeof (long)];
8245 exit (u.c[sizeof (long) - 1] == 1);
8248 if { (eval echo configure
:8249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8250 ac_cv_c_bigendian
=no
8252 echo "configure: failed program was:" >&5
8253 cat conftest.
$ac_ext >&5
8255 ac_cv_c_bigendian
=yes
8263 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
8264 if test $ac_cv_c_bigendian = unknown
; then
8265 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
8267 if test $ac_cv_c_bigendian = yes; then
8268 cat >> confdefs.h
<<\EOF
8269 #define WORDS_BIGENDIAN 1
8276 if test "$cross_compiling" = "yes"; then
8277 cat >> confdefs.h
<<\EOF
8278 #define wxUSE_IOSTREAMH 1
8284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8285 ac_cpp
='$CXXCPP $CPPFLAGS'
8286 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8287 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8288 cross_compiling
=$ac_cv_prog_cxx_cross
8291 for ac_hdr
in iostream
8293 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8295 echo "configure:8296: checking for $ac_hdr" >&5
8296 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8299 cat > conftest.
$ac_ext <<EOF
8300 #line 8301 "configure"
8301 #include "confdefs.h"
8304 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8305 { (eval echo configure
:8306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8306 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8307 if test -z "$ac_err"; then
8309 eval "ac_cv_header_$ac_safe=yes"
8312 echo "configure: failed program was:" >&5
8313 cat conftest.
$ac_ext >&5
8315 eval "ac_cv_header_$ac_safe=no"
8319 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8320 echo "$ac_t""yes" 1>&6
8321 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8322 cat >> confdefs.h
<<EOF
8323 #define $ac_tr_hdr 1
8327 echo "$ac_t""no" 1>&6
8332 if test "x$HAVE_IOSTREAM" = x
; then
8333 cat >> confdefs.h
<<\EOF
8334 #define wxUSE_IOSTREAMH 1
8342 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8343 ac_cpp
='$CPP $CPPFLAGS'
8344 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8345 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8346 cross_compiling
=$ac_cv_prog_cc_cross
8352 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
8353 echo "configure:8354: checking if C++ compiler supports bool" >&5
8354 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
8355 echo $ac_n "(cached) $ac_c" 1>&6
8360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8361 ac_cpp
='$CXXCPP $CPPFLAGS'
8362 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8363 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8364 cross_compiling
=$ac_cv_prog_cxx_cross
8367 cat > conftest.
$ac_ext <<EOF
8368 #line 8369 "configure"
8369 #include "confdefs.h"
8380 if { (eval echo configure
:8381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8383 cat >> confdefs.h
<<\EOF
8390 echo "configure: failed program was:" >&5
8391 cat conftest.
$ac_ext >&5
8401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8402 ac_cpp
='$CPP $CPPFLAGS'
8403 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8404 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8405 cross_compiling
=$ac_cv_prog_cc_cross
8410 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
8412 if test "$wx_cv_cpp_bool" = "yes"; then
8413 cat >> confdefs.h
<<\EOF
8421 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
8422 echo "configure:8423: checking if size_t and int are different types" >&5
8423 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
8424 echo $ac_n "(cached) $ac_c" 1>&6
8429 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8430 ac_cpp
='$CXXCPP $CPPFLAGS'
8431 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8432 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8433 cross_compiling
=$ac_cv_prog_cxx_cross
8436 if test "$cross_compiling" = yes; then
8437 wx_cv_cpp_sizet_not_int
=no
8440 cat > conftest.
$ac_ext <<EOF
8441 #line 8442 "configure"
8442 #include "confdefs.h"
8444 extern "C" void exit(int);
8452 S(char *s) { m_s = s; }
8454 char operator[](size_t n) const { return m_s[n]; }
8455 char operator[](int n) const { return m_s[n]; }
8467 return s[n1] == s[n2];
8471 if { (eval echo configure
:8472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8473 cat >> confdefs.h
<<\EOF
8474 #define wxUSE_SIZE_T_STRING_OPERATOR 1
8476 wx_cv_cpp_sizet_not_int
=yes
8478 echo "configure: failed program was:" >&5
8479 cat conftest.
$ac_ext >&5
8481 wx_cv_cpp_sizet_not_int
=no
8488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8489 ac_cpp
='$CPP $CPPFLAGS'
8490 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8491 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8492 cross_compiling
=$ac_cv_prog_cc_cross
8497 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
8501 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
8502 echo "configure:8503: checking if you need GNU extensions" >&5
8503 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
8504 echo $ac_n "(cached) $ac_c" 1>&6
8507 cat > conftest.
$ac_ext <<EOF
8508 #line 8509 "configure"
8509 #include "confdefs.h"
8510 #include <features.h>
8514 #ifndef __GNU_LIBRARY__
8515 Compile error wanted
8521 if { (eval echo configure
:8522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8523 wx_cv_gnu_extensions
=yes
8525 echo "configure: failed program was:" >&5
8526 cat conftest.
$ac_ext >&5
8528 wx_cv_gnu_extensions
=no
8535 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
8536 if test "$wx_cv_gnu_extensions" = "yes"; then
8537 cat >> confdefs.h
<<EOF
8538 #define _GNU_SOURCE 1
8545 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
8546 echo "configure:8547: checking for wcslen in -lc" >&5
8547 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
8548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8549 echo $ac_n "(cached) $ac_c" 1>&6
8551 ac_save_LIBS
="$LIBS"
8553 cat > conftest.
$ac_ext <<EOF
8554 #line 8555 "configure"
8555 #include "confdefs.h"
8556 /* Override any gcc2 internal prototype to avoid an error. */
8557 /* We use char because int might match the return type of a gcc2
8558 builtin and then its argument prototype would still apply. */
8565 if { (eval echo configure
:8566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8567 eval "ac_cv_lib_$ac_lib_var=yes"
8569 echo "configure: failed program was:" >&5
8570 cat conftest.
$ac_ext >&5
8572 eval "ac_cv_lib_$ac_lib_var=no"
8575 LIBS
="$ac_save_LIBS"
8578 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8579 echo "$ac_t""yes" 1>&6
8581 cat >> confdefs.h
<<\EOF
8582 #define HAVE_WCSLEN 1
8588 echo "$ac_t""no" 1>&6
8590 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
8591 echo "configure:8592: checking for wcslen in -lw" >&5
8592 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
8593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8594 echo $ac_n "(cached) $ac_c" 1>&6
8596 ac_save_LIBS
="$LIBS"
8598 cat > conftest.
$ac_ext <<EOF
8599 #line 8600 "configure"
8600 #include "confdefs.h"
8601 /* Override any gcc2 internal prototype to avoid an error. */
8602 /* We use char because int might match the return type of a gcc2
8603 builtin and then its argument prototype would still apply. */
8610 if { (eval echo configure
:8611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8612 eval "ac_cv_lib_$ac_lib_var=yes"
8614 echo "configure: failed program was:" >&5
8615 cat conftest.
$ac_ext >&5
8617 eval "ac_cv_lib_$ac_lib_var=no"
8620 LIBS
="$ac_save_LIBS"
8623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8624 echo "$ac_t""yes" 1>&6
8626 cat >> confdefs.h
<<\EOF
8627 #define HAVE_WCSLEN 1
8633 echo "$ac_t""no" 1>&6
8640 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
8641 echo "configure:8642: checking for vprintf" >&5
8642 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
8643 echo $ac_n "(cached) $ac_c" 1>&6
8645 cat > conftest.
$ac_ext <<EOF
8646 #line 8647 "configure"
8647 #include "confdefs.h"
8648 /* System header to define __stub macros and hopefully few prototypes,
8649 which can conflict with char vprintf(); below. */
8651 /* Override any gcc2 internal prototype to avoid an error. */
8652 /* We use char because int might match the return type of a gcc2
8653 builtin and then its argument prototype would still apply. */
8658 /* The GNU C library defines this for functions which it implements
8659 to always fail with ENOSYS. Some functions are actually named
8660 something starting with __ and the normal name is an alias. */
8661 #if defined (__stub_vprintf) || defined (__stub___vprintf)
8669 if { (eval echo configure
:8670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8671 eval "ac_cv_func_vprintf=yes"
8673 echo "configure: failed program was:" >&5
8674 cat conftest.
$ac_ext >&5
8676 eval "ac_cv_func_vprintf=no"
8681 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
8682 echo "$ac_t""yes" 1>&6
8683 cat >> confdefs.h
<<\EOF
8684 #define HAVE_VPRINTF 1
8688 echo "$ac_t""no" 1>&6
8691 if test "$ac_cv_func_vprintf" != yes; then
8692 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
8693 echo "configure:8694: checking for _doprnt" >&5
8694 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
8695 echo $ac_n "(cached) $ac_c" 1>&6
8697 cat > conftest.
$ac_ext <<EOF
8698 #line 8699 "configure"
8699 #include "confdefs.h"
8700 /* System header to define __stub macros and hopefully few prototypes,
8701 which can conflict with char _doprnt(); below. */
8703 /* Override any gcc2 internal prototype to avoid an error. */
8704 /* We use char because int might match the return type of a gcc2
8705 builtin and then its argument prototype would still apply. */
8710 /* The GNU C library defines this for functions which it implements
8711 to always fail with ENOSYS. Some functions are actually named
8712 something starting with __ and the normal name is an alias. */
8713 #if defined (__stub__doprnt) || defined (__stub____doprnt)
8721 if { (eval echo configure
:8722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8723 eval "ac_cv_func__doprnt=yes"
8725 echo "configure: failed program was:" >&5
8726 cat conftest.
$ac_ext >&5
8728 eval "ac_cv_func__doprnt=no"
8733 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
8734 echo "$ac_t""yes" 1>&6
8735 cat >> confdefs.h
<<\EOF
8736 #define HAVE_DOPRNT 1
8740 echo "$ac_t""no" 1>&6
8746 for ac_func
in vsnprintf
8748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8749 echo "configure:8750: checking for $ac_func" >&5
8750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8751 echo $ac_n "(cached) $ac_c" 1>&6
8753 cat > conftest.
$ac_ext <<EOF
8754 #line 8755 "configure"
8755 #include "confdefs.h"
8756 /* System header to define __stub macros and hopefully few prototypes,
8757 which can conflict with char $ac_func(); below. */
8759 /* Override any gcc2 internal prototype to avoid an error. */
8760 /* We use char because int might match the return type of a gcc2
8761 builtin and then its argument prototype would still apply. */
8766 /* The GNU C library defines this for functions which it implements
8767 to always fail with ENOSYS. Some functions are actually named
8768 something starting with __ and the normal name is an alias. */
8769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8777 if { (eval echo configure
:8778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8779 eval "ac_cv_func_$ac_func=yes"
8781 echo "configure: failed program was:" >&5
8782 cat conftest.
$ac_ext >&5
8784 eval "ac_cv_func_$ac_func=no"
8789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8790 echo "$ac_t""yes" 1>&6
8791 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8792 cat >> confdefs.h
<<EOF
8793 #define $ac_tr_func 1
8795 cat >> confdefs.h
<<\EOF
8796 #define HAVE_VSNPRINTF 1
8800 echo "$ac_t""no" 1>&6
8801 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
8809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8810 ac_cpp
='$CXXCPP $CPPFLAGS'
8811 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8812 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8813 cross_compiling
=$ac_cv_prog_cxx_cross
8816 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
8817 echo "configure:8818: checking for vsscanf" >&5
8818 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
8819 echo $ac_n "(cached) $ac_c" 1>&6
8822 if test "$cross_compiling" = yes; then
8823 wx_cv_func_vsscanf
=no
8826 cat > conftest.
$ac_ext <<EOF
8827 #line 8828 "configure"
8828 #include "confdefs.h"
8830 extern "C" void exit(int);
8836 int try_vsscanf(const char *format, ...)
8839 va_start(ap, format);
8841 vsscanf("17", format, ap);
8849 try_vsscanf("%d", &i);
8850 return i == 17 ? 0 : 1;
8854 if { (eval echo configure
:8855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8857 cat >> confdefs.h
<<\EOF
8858 #define HAVE_VSSCANF 1
8861 wx_cv_func_vsscanf
=yes
8864 echo "configure: failed program was:" >&5
8865 cat conftest.
$ac_ext >&5
8867 wx_cv_func_vsscanf
=no
8875 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
8878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8879 ac_cpp
='$CPP $CPPFLAGS'
8880 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8881 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8882 cross_compiling
=$ac_cv_prog_cc_cross
8885 if test "$USE_UNIX" = 1; then
8887 for ac_func
in vfork
8889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8890 echo "configure:8891: checking for $ac_func" >&5
8891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8892 echo $ac_n "(cached) $ac_c" 1>&6
8894 cat > conftest.
$ac_ext <<EOF
8895 #line 8896 "configure"
8896 #include "confdefs.h"
8897 /* System header to define __stub macros and hopefully few prototypes,
8898 which can conflict with char $ac_func(); below. */
8900 /* Override any gcc2 internal prototype to avoid an error. */
8901 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */
8907 /* The GNU C library defines this for functions which it implements
8908 to always fail with ENOSYS. Some functions are actually named
8909 something starting with __ and the normal name is an alias. */
8910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8918 if { (eval echo configure
:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8920 eval "ac_cv_func_$ac_func=yes"
8922 echo "configure: failed program was:" >&5
8923 cat conftest.
$ac_ext >&5
8925 eval "ac_cv_func_$ac_func=no"
8930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8931 echo "$ac_t""yes" 1>&6
8932 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8933 cat >> confdefs.h
<<EOF
8934 #define $ac_tr_func 1
8938 echo "$ac_t""no" 1>&6
8944 for ac_func
in nanosleep
8946 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8947 echo "configure:8948: checking for $ac_func" >&5
8948 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8949 echo $ac_n "(cached) $ac_c" 1>&6
8951 cat > conftest.
$ac_ext <<EOF
8952 #line 8953 "configure"
8953 #include "confdefs.h"
8954 /* System header to define __stub macros and hopefully few prototypes,
8955 which can conflict with char $ac_func(); below. */
8957 /* Override any gcc2 internal prototype to avoid an error. */
8958 /* We use char because int might match the return type of a gcc2
8959 builtin and then its argument prototype would still apply. */
8964 /* The GNU C library defines this for functions which it implements
8965 to always fail with ENOSYS. Some functions are actually named
8966 something starting with __ and the normal name is an alias. */
8967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8975 if { (eval echo configure
:8976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8977 eval "ac_cv_func_$ac_func=yes"
8979 echo "configure: failed program was:" >&5
8980 cat conftest.
$ac_ext >&5
8982 eval "ac_cv_func_$ac_func=no"
8987 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8988 echo "$ac_t""yes" 1>&6
8989 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8990 cat >> confdefs.h
<<EOF
8991 #define $ac_tr_func 1
8993 cat >> confdefs.h
<<\EOF
8994 #define HAVE_NANOSLEEP 1
8998 echo "$ac_t""no" 1>&6
8999 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9000 echo "configure:9001: checking for nanosleep in -lposix4" >&5
9001 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9003 echo $ac_n "(cached) $ac_c" 1>&6
9005 ac_save_LIBS
="$LIBS"
9006 LIBS
="-lposix4 $LIBS"
9007 cat > conftest.
$ac_ext <<EOF
9008 #line 9009 "configure"
9009 #include "confdefs.h"
9010 /* Override any gcc2 internal prototype to avoid an error. */
9011 /* We use char because int might match the return type of a gcc2
9012 builtin and then its argument prototype would still apply. */
9019 if { (eval echo configure
:9020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9021 eval "ac_cv_lib_$ac_lib_var=yes"
9023 echo "configure: failed program was:" >&5
9024 cat conftest.
$ac_ext >&5
9026 eval "ac_cv_lib_$ac_lib_var=no"
9029 LIBS
="$ac_save_LIBS"
9032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9033 echo "$ac_t""yes" 1>&6
9035 cat >> confdefs.h
<<\EOF
9036 #define HAVE_NANOSLEEP 1
9039 POSIX4_LINK
="-lposix4"
9042 echo "$ac_t""no" 1>&6
9044 for ac_func
in usleep
9046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9047 echo "configure:9048: checking for $ac_func" >&5
9048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9049 echo $ac_n "(cached) $ac_c" 1>&6
9051 cat > conftest.
$ac_ext <<EOF
9052 #line 9053 "configure"
9053 #include "confdefs.h"
9054 /* System header to define __stub macros and hopefully few prototypes,
9055 which can conflict with char $ac_func(); below. */
9057 /* Override any gcc2 internal prototype to avoid an error. */
9058 /* We use char because int might match the return type of a gcc2
9059 builtin and then its argument prototype would still apply. */
9064 /* The GNU C library defines this for functions which it implements
9065 to always fail with ENOSYS. Some functions are actually named
9066 something starting with __ and the normal name is an alias. */
9067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9075 if { (eval echo configure
:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9077 eval "ac_cv_func_$ac_func=yes"
9079 echo "configure: failed program was:" >&5
9080 cat conftest.
$ac_ext >&5
9082 eval "ac_cv_func_$ac_func=no"
9087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9088 echo "$ac_t""yes" 1>&6
9089 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9090 cat >> confdefs.h
<<EOF
9091 #define $ac_tr_func 1
9093 cat >> confdefs.h
<<\EOF
9094 #define HAVE_USLEEP 1
9098 echo "$ac_t""no" 1>&6
9099 echo "configure: warning: wxSleep() function will not work" 1>&2
9111 for ac_func
in uname gethostname
9113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9114 echo "configure:9115: checking for $ac_func" >&5
9115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9116 echo $ac_n "(cached) $ac_c" 1>&6
9118 cat > conftest.
$ac_ext <<EOF
9119 #line 9120 "configure"
9120 #include "confdefs.h"
9121 /* System header to define __stub macros and hopefully few prototypes,
9122 which can conflict with char $ac_func(); below. */
9124 /* Override any gcc2 internal prototype to avoid an error. */
9125 /* We use char because int might match the return type of a gcc2
9126 builtin and then its argument prototype would still apply. */
9131 /* The GNU C library defines this for functions which it implements
9132 to always fail with ENOSYS. Some functions are actually named
9133 something starting with __ and the normal name is an alias. */
9134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9142 if { (eval echo configure
:9143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9144 eval "ac_cv_func_$ac_func=yes"
9146 echo "configure: failed program was:" >&5
9147 cat conftest.
$ac_ext >&5
9149 eval "ac_cv_func_$ac_func=no"
9154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9155 echo "$ac_t""yes" 1>&6
9156 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9157 cat >> confdefs.h
<<EOF
9158 #define $ac_tr_func 1
9162 echo "$ac_t""no" 1>&6
9167 for ac_func
in strtok_r
9169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9170 echo "configure:9171: checking for $ac_func" >&5
9171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9172 echo $ac_n "(cached) $ac_c" 1>&6
9174 cat > conftest.
$ac_ext <<EOF
9175 #line 9176 "configure"
9176 #include "confdefs.h"
9177 /* System header to define __stub macros and hopefully few prototypes,
9178 which can conflict with char $ac_func(); below. */
9180 /* Override any gcc2 internal prototype to avoid an error. */
9181 /* We use char because int might match the return type of a gcc2
9182 builtin and then its argument prototype would still apply. */
9187 /* The GNU C library defines this for functions which it implements
9188 to always fail with ENOSYS. Some functions are actually named
9189 something starting with __ and the normal name is an alias. */
9190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9198 if { (eval echo configure
:9199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9200 eval "ac_cv_func_$ac_func=yes"
9202 echo "configure: failed program was:" >&5
9203 cat conftest.
$ac_ext >&5
9205 eval "ac_cv_func_$ac_func=no"
9210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9211 echo "$ac_t""yes" 1>&6
9212 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9213 cat >> confdefs.h
<<EOF
9214 #define $ac_tr_func 1
9218 echo "$ac_t""no" 1>&6
9223 for ac_func
in inet_addr
9225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9226 echo "configure:9227: checking for $ac_func" >&5
9227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9228 echo $ac_n "(cached) $ac_c" 1>&6
9230 cat > conftest.
$ac_ext <<EOF
9231 #line 9232 "configure"
9232 #include "confdefs.h"
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func(); below. */
9236 /* Override any gcc2 internal prototype to avoid an error. */
9237 /* We use char because int might match the return type of a gcc2
9238 builtin and then its argument prototype would still apply. */
9243 /* The GNU C library defines this for functions which it implements
9244 to always fail with ENOSYS. Some functions are actually named
9245 something starting with __ and the normal name is an alias. */
9246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9254 if { (eval echo configure
:9255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9256 eval "ac_cv_func_$ac_func=yes"
9258 echo "configure: failed program was:" >&5
9259 cat conftest.
$ac_ext >&5
9261 eval "ac_cv_func_$ac_func=no"
9266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9267 echo "$ac_t""yes" 1>&6
9268 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9269 cat >> confdefs.h
<<EOF
9270 #define $ac_tr_func 1
9274 echo "$ac_t""no" 1>&6
9278 for ac_func
in inet_aton
9280 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9281 echo "configure:9282: checking for $ac_func" >&5
9282 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9283 echo $ac_n "(cached) $ac_c" 1>&6
9285 cat > conftest.
$ac_ext <<EOF
9286 #line 9287 "configure"
9287 #include "confdefs.h"
9288 /* System header to define __stub macros and hopefully few prototypes,
9289 which can conflict with char $ac_func(); below. */
9291 /* Override any gcc2 internal prototype to avoid an error. */
9292 /* We use char because int might match the return type of a gcc2
9293 builtin and then its argument prototype would still apply. */
9298 /* The GNU C library defines this for functions which it implements
9299 to always fail with ENOSYS. Some functions are actually named
9300 something starting with __ and the normal name is an alias. */
9301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9309 if { (eval echo configure
:9310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9311 eval "ac_cv_func_$ac_func=yes"
9313 echo "configure: failed program was:" >&5
9314 cat conftest.
$ac_ext >&5
9316 eval "ac_cv_func_$ac_func=no"
9321 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9322 echo "$ac_t""yes" 1>&6
9323 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9324 cat >> confdefs.h
<<EOF
9325 #define $ac_tr_func 1
9329 echo "$ac_t""no" 1>&6
9333 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
9334 echo "configure:9335: checking for inet_aton in -lresolv" >&5
9335 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
9336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9337 echo $ac_n "(cached) $ac_c" 1>&6
9339 ac_save_LIBS
="$LIBS"
9340 LIBS
="-lresolv $LIBS"
9341 cat > conftest.
$ac_ext <<EOF
9342 #line 9343 "configure"
9343 #include "confdefs.h"
9344 /* Override any gcc2 internal prototype to avoid an error. */
9345 /* We use char because int might match the return type of a gcc2
9346 builtin and then its argument prototype would still apply. */
9353 if { (eval echo configure
:9354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9355 eval "ac_cv_lib_$ac_lib_var=yes"
9357 echo "configure: failed program was:" >&5
9358 cat conftest.
$ac_ext >&5
9360 eval "ac_cv_lib_$ac_lib_var=no"
9363 LIBS
="$ac_save_LIBS"
9366 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9367 echo "$ac_t""yes" 1>&6
9368 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9369 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9370 cat >> confdefs.h
<<EOF
9371 #define $ac_tr_lib 1
9374 LIBS
="-lresolv $LIBS"
9377 echo "$ac_t""no" 1>&6
9384 cat > confcache
<<\EOF
9385 # This file is a shell script that caches the results of configure
9386 # tests run on this system so they can be shared between configure
9387 # scripts and configure runs. It is not useful on other systems.
9388 # If it contains results you don't want to keep, you may remove or edit it.
9390 # By default, configure uses ./config.cache as the cache file,
9391 # creating it if it does not exist already. You can give configure
9392 # the --cache-file=FILE option to use a different cache file; that is
9393 # what configure does when it calls configure scripts in
9394 # subdirectories, so they share the cache.
9395 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9396 # config.status only pays attention to the cache file if you give it the
9397 # --recheck option to rerun configure.
9400 # The following way of writing the cache mishandles newlines in values,
9401 # but we know of no workaround that is simple, portable, and efficient.
9402 # So, don't put newlines in cache variables' values.
9403 # Ultrix sh set writes to stderr and can't be redirected directly,
9404 # and sets the high bit in the cache file unless we assign to the vars.
9406 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9408 # `set' does not quote correctly, so add quotes (double-quote substitution
9409 # turns \\\\ into \\, and sed turns \\ into \).
9411 -e "s/'/'\\\\''/g" \
9412 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9415 # `set' quotes correctly as required by POSIX, so do not add quotes.
9416 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9419 if cmp -s $cache_file confcache
; then
9422 if test -w $cache_file; then
9423 echo "updating cache $cache_file"
9424 cat confcache
> $cache_file
9426 echo "not updating unwritable cache $cache_file"
9433 if test "$USE_UNIX" = 1; then
9439 if test "$wxUSE_THREADS" = "yes" ; then
9440 if test "$wxUSE_WINE" = 1 ; then
9441 echo "configure: warning: Threads are not supported under WINE" 1>&2
9446 if test "$wxUSE_THREADS" = "yes" ; then
9448 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
9449 echo "configure:9450: checking for pthread_create in -lpthread" >&5
9450 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
9451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9452 echo $ac_n "(cached) $ac_c" 1>&6
9454 ac_save_LIBS
="$LIBS"
9455 LIBS
="-lpthread $LIBS"
9456 cat > conftest.
$ac_ext <<EOF
9457 #line 9458 "configure"
9458 #include "confdefs.h"
9459 /* Override any gcc2 internal prototype to avoid an error. */
9460 /* We use char because int might match the return type of a gcc2
9461 builtin and then its argument prototype would still apply. */
9462 char pthread_create();
9468 if { (eval echo configure
:9469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9470 eval "ac_cv_lib_$ac_lib_var=yes"
9472 echo "configure: failed program was:" >&5
9473 cat conftest.
$ac_ext >&5
9475 eval "ac_cv_lib_$ac_lib_var=no"
9478 LIBS
="$ac_save_LIBS"
9481 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9482 echo "$ac_t""yes" 1>&6
9484 THREADS_OBJ
="threadpsx.lo"
9485 THREADS_LINK
="pthread"
9488 echo "$ac_t""no" 1>&6
9490 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
9491 echo "configure:9492: checking for pthread_create in -lc_r" >&5
9492 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
9493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9494 echo $ac_n "(cached) $ac_c" 1>&6
9496 ac_save_LIBS
="$LIBS"
9498 cat > conftest.
$ac_ext <<EOF
9499 #line 9500 "configure"
9500 #include "confdefs.h"
9501 /* Override any gcc2 internal prototype to avoid an error. */
9502 /* We use char because int might match the return type of a gcc2
9503 builtin and then its argument prototype would still apply. */
9504 char pthread_create();
9510 if { (eval echo configure
:9511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9512 eval "ac_cv_lib_$ac_lib_var=yes"
9514 echo "configure: failed program was:" >&5
9515 cat conftest.
$ac_ext >&5
9517 eval "ac_cv_lib_$ac_lib_var=no"
9520 LIBS
="$ac_save_LIBS"
9523 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9524 echo "$ac_t""yes" 1>&6
9526 THREADS_OBJ
="threadpsx.lo"
9530 echo "$ac_t""no" 1>&6
9532 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
9533 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
9534 echo "configure:9535: checking for sys/prctl.h" >&5
9535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9536 echo $ac_n "(cached) $ac_c" 1>&6
9538 cat > conftest.
$ac_ext <<EOF
9539 #line 9540 "configure"
9540 #include "confdefs.h"
9541 #include <sys/prctl.h>
9543 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9544 { (eval echo configure
:9545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9545 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9546 if test -z "$ac_err"; then
9548 eval "ac_cv_header_$ac_safe=yes"
9551 echo "configure: failed program was:" >&5
9552 cat conftest.
$ac_ext >&5
9554 eval "ac_cv_header_$ac_safe=no"
9558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9559 echo "$ac_t""yes" 1>&6
9561 THREADS_OBJ
="threadsgi.lo"
9564 echo "$ac_t""no" 1>&6
9574 if test -z "$THREADS_OBJ" ; then
9576 echo "configure: warning: No thread support on this system" 1>&2
9580 if test "$wxUSE_THREADS" = "yes" ; then
9582 for ac_hdr
in sched.h
9584 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9586 echo "configure:9587: checking for $ac_hdr" >&5
9587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9588 echo $ac_n "(cached) $ac_c" 1>&6
9590 cat > conftest.
$ac_ext <<EOF
9591 #line 9592 "configure"
9592 #include "confdefs.h"
9595 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9596 { (eval echo configure
:9597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9597 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9598 if test -z "$ac_err"; then
9600 eval "ac_cv_header_$ac_safe=yes"
9603 echo "configure: failed program was:" >&5
9604 cat conftest.
$ac_ext >&5
9606 eval "ac_cv_header_$ac_safe=no"
9610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9611 echo "$ac_t""yes" 1>&6
9612 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9613 cat >> confdefs.h
<<EOF
9614 #define $ac_tr_hdr 1
9618 echo "$ac_t""no" 1>&6
9623 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
9624 echo "configure:9625: checking for sched_yield in -l$THREADS_LINK" >&5
9625 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
9626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9627 echo $ac_n "(cached) $ac_c" 1>&6
9629 ac_save_LIBS
="$LIBS"
9630 LIBS
="-l$THREADS_LINK $LIBS"
9631 cat > conftest.
$ac_ext <<EOF
9632 #line 9633 "configure"
9633 #include "confdefs.h"
9634 /* Override any gcc2 internal prototype to avoid an error. */
9635 /* We use char because int might match the return type of a gcc2
9636 builtin and then its argument prototype would still apply. */
9643 if { (eval echo configure
:9644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9645 eval "ac_cv_lib_$ac_lib_var=yes"
9647 echo "configure: failed program was:" >&5
9648 cat conftest.
$ac_ext >&5
9650 eval "ac_cv_lib_$ac_lib_var=no"
9653 LIBS
="$ac_save_LIBS"
9656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9657 echo "$ac_t""yes" 1>&6
9658 cat >> confdefs.h
<<\EOF
9659 #define HAVE_SCHED_YIELD 1
9663 echo "$ac_t""no" 1>&6
9664 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
9665 echo "configure:9666: checking for sched_yield in -l"posix4
"" >&5
9666 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
9667 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9668 echo $ac_n "(cached) $ac_c" 1>&6
9670 ac_save_LIBS
="$LIBS"
9671 LIBS
="-l"posix4
" $LIBS"
9672 cat > conftest.
$ac_ext <<EOF
9673 #line 9674 "configure"
9674 #include "confdefs.h"
9675 /* Override any gcc2 internal prototype to avoid an error. */
9676 /* We use char because int might match the return type of a gcc2
9677 builtin and then its argument prototype would still apply. */
9684 if { (eval echo configure
:9685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9686 eval "ac_cv_lib_$ac_lib_var=yes"
9688 echo "configure: failed program was:" >&5
9689 cat conftest.
$ac_ext >&5
9691 eval "ac_cv_lib_$ac_lib_var=no"
9694 LIBS
="$ac_save_LIBS"
9697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9698 echo "$ac_t""yes" 1>&6
9699 cat >> confdefs.h
<<\EOF
9700 #define HAVE_SCHED_YIELD 1
9702 POSIX4_LINK
="-lposix4"
9704 echo "$ac_t""no" 1>&6
9705 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
9713 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
9714 echo "configure:9715: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
9715 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
9716 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9719 ac_save_LIBS
="$LIBS"
9720 LIBS
="-l$THREADS_LINK $LIBS"
9721 cat > conftest.
$ac_ext <<EOF
9722 #line 9723 "configure"
9723 #include "confdefs.h"
9724 /* Override any gcc2 internal prototype to avoid an error. */
9725 /* We use char because int might match the return type of a gcc2
9726 builtin and then its argument prototype would still apply. */
9727 char pthread_attr_getschedpolicy();
9730 pthread_attr_getschedpolicy()
9733 if { (eval echo configure
:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9735 eval "ac_cv_lib_$ac_lib_var=yes"
9737 echo "configure: failed program was:" >&5
9738 cat conftest.
$ac_ext >&5
9740 eval "ac_cv_lib_$ac_lib_var=no"
9743 LIBS
="$ac_save_LIBS"
9746 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9747 echo "$ac_t""yes" 1>&6
9748 cat >> confdefs.h
<<\EOF
9749 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
9753 echo "$ac_t""no" 1>&6
9754 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
9755 echo "configure:9756: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
9756 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
9757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9758 echo $ac_n "(cached) $ac_c" 1>&6
9760 ac_save_LIBS
="$LIBS"
9761 LIBS
="-l"posix4
" $LIBS"
9762 cat > conftest.
$ac_ext <<EOF
9763 #line 9764 "configure"
9764 #include "confdefs.h"
9765 /* Override any gcc2 internal prototype to avoid an error. */
9766 /* We use char because int might match the return type of a gcc2
9767 builtin and then its argument prototype would still apply. */
9768 char pthread_attr_getschedpolicy();
9771 pthread_attr_getschedpolicy()
9774 if { (eval echo configure
:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9776 eval "ac_cv_lib_$ac_lib_var=yes"
9778 echo "configure: failed program was:" >&5
9779 cat conftest.
$ac_ext >&5
9781 eval "ac_cv_lib_$ac_lib_var=no"
9784 LIBS
="$ac_save_LIBS"
9787 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9788 echo "$ac_t""yes" 1>&6
9789 cat >> confdefs.h
<<\EOF
9790 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
9792 POSIX4_LINK
="-lposix4"
9794 echo "$ac_t""no" 1>&6
9795 echo "configure: warning: Setting thread priority will not work" 1>&2
9803 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
9804 echo "configure:9805: checking for pthread_cancel in -l$THREADS_LINK" >&5
9805 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
9806 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9807 echo $ac_n "(cached) $ac_c" 1>&6
9809 ac_save_LIBS
="$LIBS"
9810 LIBS
="-l$THREADS_LINK $LIBS"
9811 cat > conftest.
$ac_ext <<EOF
9812 #line 9813 "configure"
9813 #include "confdefs.h"
9814 /* Override any gcc2 internal prototype to avoid an error. */
9815 /* We use char because int might match the return type of a gcc2
9816 builtin and then its argument prototype would still apply. */
9817 char pthread_cancel();
9823 if { (eval echo configure
:9824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9825 eval "ac_cv_lib_$ac_lib_var=yes"
9827 echo "configure: failed program was:" >&5
9828 cat conftest.
$ac_ext >&5
9830 eval "ac_cv_lib_$ac_lib_var=no"
9833 LIBS
="$ac_save_LIBS"
9836 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9837 echo "$ac_t""yes" 1>&6
9838 cat >> confdefs.h
<<\EOF
9839 #define HAVE_PTHREAD_CANCEL 1
9843 echo "$ac_t""no" 1>&6
9844 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
9848 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
9849 echo "configure:9850: checking for pthread_cleanup_push/pop" >&5
9850 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
9851 echo $ac_n "(cached) $ac_c" 1>&6
9854 cat > conftest.
$ac_ext <<EOF
9855 #line 9856 "configure"
9856 #include "confdefs.h"
9857 #include <pthread.h>
9860 pthread_cleanup_push(NULL, NULL);
9861 pthread_cleanup_pop(0);
9865 if { (eval echo configure
:9866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9868 wx_cv_func_pthread_cleanup_push
=yes
9869 cat >> confdefs.h
<<\EOF
9870 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
9875 echo "configure: failed program was:" >&5
9876 cat conftest.
$ac_ext >&5
9879 wx_cv_func_pthread_cleanup_push
=no
9886 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
9888 THREADS_LINK
="-l$THREADS_LINK"
9893 if test "$wxUSE_THREADS" = "yes"; then
9894 cat >> confdefs.h
<<\EOF
9895 #define wxUSE_THREADS 1
9899 CFLAGS
="${CFLAGS} -D_REENTRANT"
9900 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
9902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
9904 if test "$ac_cv_func_strtok_r" = "yes"; then
9905 unset ac_cv_func_strtok_r
9908 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9909 ac_cpp
='$CXXCPP $CPPFLAGS'
9910 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9911 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9912 cross_compiling
=$ac_cv_prog_cxx_cross
9914 for ac_func
in strtok_r
9916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9917 echo "configure:9918: checking for $ac_func" >&5
9918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9919 echo $ac_n "(cached) $ac_c" 1>&6
9921 cat > conftest.
$ac_ext <<EOF
9922 #line 9923 "configure"
9923 #include "confdefs.h"
9924 /* System header to define __stub macros and hopefully few prototypes,
9925 which can conflict with char $ac_func(); below. */
9927 /* Override any gcc2 internal prototype to avoid an error. */
9931 /* We use char because int might match the return type of a gcc2
9932 builtin and then its argument prototype would still apply. */
9937 /* The GNU C library defines this for functions which it implements
9938 to always fail with ENOSYS. Some functions are actually named
9939 something starting with __ and the normal name is an alias. */
9940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9948 if { (eval echo configure
:9949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9950 eval "ac_cv_func_$ac_func=yes"
9952 echo "configure: failed program was:" >&5
9953 cat conftest.
$ac_ext >&5
9955 eval "ac_cv_func_$ac_func=no"
9960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9961 echo "$ac_t""yes" 1>&6
9962 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9963 cat >> confdefs.h
<<EOF
9964 #define $ac_tr_func 1
9968 echo "$ac_t""no" 1>&6
9973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9974 ac_cpp
='$CPP $CPPFLAGS'
9975 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9976 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9977 cross_compiling
=$ac_cv_prog_cc_cross
9980 if test "$ac_cv_func_strtok_r" != "yes"; then
9981 ac_cv_func_strtok_r
=yes
9982 CFLAGS
="${CFLAGS} -D_REENTRANT"
9983 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
9988 if test "$WXGTK12" = 1 ; then
9989 cat >> confdefs.h
<<EOF
9990 #define __WXGTK12__ $WXGTK12
9995 if test "$WXWINE" = 1 ; then
9996 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
9999 if test "$wxUSE_CYGWIN" = 1 ; then
10000 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10005 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10010 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10011 wxUSE_DEBUG_INFO
=yes
10015 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10016 cat >> confdefs.h
<<\EOF
10020 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10022 if test "$wxUSE_GTK" = 1 ; then
10023 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10027 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10028 cat >> confdefs.h
<<\EOF
10029 #define wxUSE_MEMORY_TRACING 1
10032 cat >> confdefs.h
<<\EOF
10033 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10039 if test "$wxUSE_DMALLOC" = "yes" ; then
10040 DMALLOC_LINK
="-ldmalloc"
10044 if test "$wxUSE_PROFILE" = "yes" ; then
10049 if test "$GCC" = yes ; then
10050 if test "$wxUSE_NO_RTTI" = "yes" ; then
10051 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10053 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10054 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10056 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10057 CFLAGS
="${CFLAGS} -fpermissive"
10058 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10060 if test "$wxUSE_NO_DEPS" = "no" ; then
10061 DEP_INFO_FLAGS
="-MMD"
10066 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10067 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10068 if test "$wxUSE_OPTIMISE" = "no" ; then
10071 if test "$GCC" = yes ; then
10074 i586
-*-*|i686
-*-* )
10075 OPTIMISE
="${OPTIMISE} "
10085 if test "$wxUSE_ZLIB" = "yes" ; then
10086 cat >> confdefs.h
<<\EOF
10087 #define wxUSE_ZLIB 1
10090 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10094 if test "$wxUSE_LIBPNG" = "yes" ; then
10095 cat >> confdefs.h
<<\EOF
10096 #define wxUSE_LIBPNG 1
10099 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10104 if test "$wxUSE_LIBJPEG" = "yes" ; then
10105 cat >> confdefs.h
<<\EOF
10106 #define wxUSE_LIBJPEG 1
10109 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10112 if test "$wxUSE_OPENGL" = "yes"; then
10113 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10114 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10115 echo "configure:10116: checking for GL/gl.h" >&5
10116 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10117 echo $ac_n "(cached) $ac_c" 1>&6
10119 cat > conftest.
$ac_ext <<EOF
10120 #line 10121 "configure"
10121 #include "confdefs.h"
10124 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10125 { (eval echo configure
:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10126 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10127 if test -z "$ac_err"; then
10129 eval "ac_cv_header_$ac_safe=yes"
10132 echo "configure: failed program was:" >&5
10133 cat conftest.
$ac_ext >&5
10135 eval "ac_cv_header_$ac_safe=no"
10139 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10140 echo "$ac_t""yes" 1>&6
10142 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10143 echo "configure:10144: checking for glInitNames in -lGL" >&5
10144 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10146 echo $ac_n "(cached) $ac_c" 1>&6
10148 ac_save_LIBS
="$LIBS"
10149 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10150 cat > conftest.
$ac_ext <<EOF
10151 #line 10152 "configure"
10152 #include "confdefs.h"
10153 /* Override any gcc2 internal prototype to avoid an error. */
10154 /* We use char because int might match the return type of a gcc2
10155 builtin and then its argument prototype would still apply. */
10156 char glInitNames();
10162 if { (eval echo configure
:10163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10164 eval "ac_cv_lib_$ac_lib_var=yes"
10166 echo "configure: failed program was:" >&5
10167 cat conftest.
$ac_ext >&5
10169 eval "ac_cv_lib_$ac_lib_var=no"
10172 LIBS
="$ac_save_LIBS"
10175 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10176 echo "$ac_t""yes" 1>&6
10179 cat >> confdefs.h
<<\EOF
10180 #define wxUSE_OPENGL 1
10183 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10186 echo "$ac_t""no" 1>&6
10188 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10189 echo "configure:10190: checking for glInitNames in -lMesaGL" >&5
10190 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10192 echo $ac_n "(cached) $ac_c" 1>&6
10194 ac_save_LIBS
="$LIBS"
10195 LIBS
="-lMesaGL $LIBS"
10196 cat > conftest.
$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10199 /* Override any gcc2 internal prototype to avoid an error. */
10200 /* We use char because int might match the return type of a gcc2
10201 builtin and then its argument prototype would still apply. */
10202 char glInitNames();
10208 if { (eval echo configure
:10209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10210 eval "ac_cv_lib_$ac_lib_var=yes"
10212 echo "configure: failed program was:" >&5
10213 cat conftest.
$ac_ext >&5
10215 eval "ac_cv_lib_$ac_lib_var=no"
10218 LIBS
="$ac_save_LIBS"
10221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10222 echo "$ac_t""yes" 1>&6
10224 OPENGL_LINK
="-lMesaGL"
10225 cat >> confdefs.h
<<\EOF
10226 #define wxUSE_OPENGL 1
10229 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10232 echo "$ac_t""no" 1>&6
10241 echo "$ac_t""no" 1>&6
10248 if test "$wxUSE_GUI" = "yes"; then
10249 cat >> confdefs.h
<<\EOF
10250 #define wxUSE_GUI 1
10255 cat >> confdefs.h
<<\EOF
10256 #define wxUSE_NOGUI 1
10262 if test "$wxUSE_UNIX" = "yes"; then
10263 cat >> confdefs.h
<<\EOF
10264 #define wxUSE_UNIX 1
10270 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10271 cat >> confdefs.h
<<\EOF
10272 #define wxUSE_APPLE_IEEE 1
10277 if test "$wxUSE_TIMEDATE" = "yes"; then
10278 cat >> confdefs.h
<<\EOF
10279 #define wxUSE_TIMEDATE 1
10282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10285 if test "$wxUSE_WAVE" = "yes"; then
10286 cat >> confdefs.h
<<\EOF
10287 #define wxUSE_WAVE 1
10292 if test "$wxUSE_FILE" = "yes"; then
10293 cat >> confdefs.h
<<\EOF
10294 #define wxUSE_FILE 1
10299 if test "$wxUSE_FS_INET" = "yes"; then
10300 cat >> confdefs.h
<<\EOF
10301 #define wxUSE_FS_INET 1
10306 if test "$wxUSE_FS_ZIP" = "yes"; then
10307 cat >> confdefs.h
<<\EOF
10308 #define wxUSE_FS_ZIP 1
10313 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10314 cat >> confdefs.h
<<\EOF
10315 #define wxUSE_ZIPSTREAM 1
10320 if test "$wxUSE_BUSYINFO" = "yes"; then
10321 cat >> confdefs.h
<<\EOF
10322 #define wxUSE_BUSYINFO 1
10327 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10328 cat >> confdefs.h
<<\EOF
10329 #define wxUSE_STD_IOSTREAM 1
10334 if test "$wxUSE_TEXTFILE" = "yes"; then
10335 if test "$wxUSE_FILE" != "yes"; then
10336 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10338 cat >> confdefs.h
<<\EOF
10339 #define wxUSE_TEXTFILE 1
10345 if test "$wxUSE_CONFIG" = "yes" ; then
10346 if test "$wxUSE_TEXTFILE" != "yes"; then
10347 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10349 cat >> confdefs.h
<<\EOF
10350 #define wxUSE_CONFIG 1
10353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10357 if test "$wxUSE_INTL" = "yes" ; then
10358 if test "$wxUSE_FILE" != "yes"; then
10359 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10361 cat >> confdefs.h
<<\EOF
10362 #define wxUSE_INTL 1
10365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10369 if test "$wxUSE_LOG" = "yes"; then
10370 cat >> confdefs.h
<<\EOF
10371 #define wxUSE_LOG 1
10376 if test "$wxUSE_LONGLONG" = "yes"; then
10377 cat >> confdefs.h
<<\EOF
10378 #define wxUSE_LONGLONG 1
10383 if test "$wxUSE_SOCKETS" = "yes" ; then
10384 cat >> confdefs.h
<<\EOF
10385 #define wxUSE_SOCKETS 1
10388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10389 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10392 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
10393 cat >> confdefs.h
<<\EOF
10394 #define wxUSE_DIALUP_MANAGER 1
10399 if test "$wxUSE_STREAMS" = "yes" ; then
10400 cat >> confdefs.h
<<\EOF
10401 #define wxUSE_STREAMS 1
10406 if test "$wxUSE_SERIAL" = "yes" ; then
10407 cat >> confdefs.h
<<\EOF
10408 #define wxUSE_SERIAL 1
10414 if test "$wxUSE_SOCKETS" = "yes"; then
10417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10418 ac_cpp
='$CXXCPP $CPPFLAGS'
10419 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10420 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10421 cross_compiling
=$ac_cv_prog_cxx_cross
10423 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
10424 echo "configure:10425: checking the type of the third argument of getsockname" >&5
10425 cat > conftest.
$ac_ext <<EOF
10426 #line 10427 "configure"
10427 #include "confdefs.h"
10428 #include <sys/socket.h>
10430 socklen_t len; getsockname(0, 0, &len);
10433 if { (eval echo configure
:10434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10435 cat >> confdefs.h
<<\EOF
10436 #define SOCKLEN_T socklen_t
10438 echo "$ac_t""socklen_t" 1>&6
10440 echo "configure: failed program was:" >&5
10441 cat conftest.
$ac_ext >&5
10443 cat > conftest.
$ac_ext <<EOF
10444 #line 10445 "configure"
10445 #include "confdefs.h"
10446 #include <sys/socket.h>
10448 size_t len; getsockname(0, 0, &len);
10451 if { (eval echo configure
:10452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10453 cat >> confdefs.h
<<\EOF
10454 #define SOCKLEN_T size_t
10456 echo "$ac_t""size_t" 1>&6
10458 echo "configure: failed program was:" >&5
10459 cat conftest.
$ac_ext >&5
10461 cat > conftest.
$ac_ext <<EOF
10462 #line 10463 "configure"
10463 #include "confdefs.h"
10464 #include <sys/socket.h>
10466 int len; getsockname(0, 0, &len);
10469 if { (eval echo configure
:10470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10471 cat >> confdefs.h
<<\EOF
10472 #define SOCKLEN_T int
10474 echo "$ac_t""int" 1>&6
10476 echo "configure: failed program was:" >&5
10477 cat conftest.
$ac_ext >&5
10479 echo "$ac_t""unknown" 1>&6
10490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10491 ac_cpp
='$CPP $CPPFLAGS'
10492 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10493 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10494 cross_compiling
=$ac_cv_prog_cc_cross
10499 if test "$wxUSE_JOYSTICK" = 1; then
10500 for ac_hdr
in linux
/joystick.h
10502 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10504 echo "configure:10505: checking for $ac_hdr" >&5
10505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10506 echo $ac_n "(cached) $ac_c" 1>&6
10508 cat > conftest.
$ac_ext <<EOF
10509 #line 10510 "configure"
10510 #include "confdefs.h"
10513 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10514 { (eval echo configure
:10515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10515 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10516 if test -z "$ac_err"; then
10518 eval "ac_cv_header_$ac_safe=yes"
10521 echo "configure: failed program was:" >&5
10522 cat conftest.
$ac_ext >&5
10524 eval "ac_cv_header_$ac_safe=no"
10528 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10529 echo "$ac_t""yes" 1>&6
10530 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10531 cat >> confdefs.h
<<EOF
10532 #define $ac_tr_hdr 1
10536 echo "$ac_t""no" 1>&6
10540 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
10541 cat >> confdefs.h
<<\EOF
10542 #define wxUSE_JOYSTICK 1
10545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
10552 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
10553 for ac_func
in dlopen
10555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10556 echo "configure:10557: checking for $ac_func" >&5
10557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10558 echo $ac_n "(cached) $ac_c" 1>&6
10560 cat > conftest.
$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10563 /* System header to define __stub macros and hopefully few prototypes,
10564 which can conflict with char $ac_func(); below. */
10565 #include <assert.h>
10566 /* Override any gcc2 internal prototype to avoid an error. */
10567 /* We use char because int might match the return type of a gcc2
10568 builtin and then its argument prototype would still apply. */
10573 /* The GNU C library defines this for functions which it implements
10574 to always fail with ENOSYS. Some functions are actually named
10575 something starting with __ and the normal name is an alias. */
10576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10584 if { (eval echo configure
:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10586 eval "ac_cv_func_$ac_func=yes"
10588 echo "configure: failed program was:" >&5
10589 cat conftest.
$ac_ext >&5
10591 eval "ac_cv_func_$ac_func=no"
10596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10597 echo "$ac_t""yes" 1>&6
10598 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10599 cat >> confdefs.h
<<EOF
10600 #define $ac_tr_func 1
10603 cat >> confdefs.h
<<\EOF
10604 #define HAVE_DLOPEN 1
10610 echo "$ac_t""no" 1>&6
10611 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
10612 echo "configure:10613: checking for dlopen in -ldl" >&5
10613 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
10614 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10615 echo $ac_n "(cached) $ac_c" 1>&6
10617 ac_save_LIBS
="$LIBS"
10619 cat > conftest.
$ac_ext <<EOF
10620 #line 10621 "configure"
10621 #include "confdefs.h"
10622 /* Override any gcc2 internal prototype to avoid an error. */
10623 /* We use char because int might match the return type of a gcc2
10624 builtin and then its argument prototype would still apply. */
10631 if { (eval echo configure
:10632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10633 eval "ac_cv_lib_$ac_lib_var=yes"
10635 echo "configure: failed program was:" >&5
10636 cat conftest.
$ac_ext >&5
10638 eval "ac_cv_lib_$ac_lib_var=no"
10641 LIBS
="$ac_save_LIBS"
10644 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10645 echo "$ac_t""yes" 1>&6
10647 cat >> confdefs.h
<<\EOF
10648 #define HAVE_DLOPEN 1
10655 echo "$ac_t""no" 1>&6
10657 for ac_func
in shl_load
10659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10660 echo "configure:10661: checking for $ac_func" >&5
10661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10662 echo $ac_n "(cached) $ac_c" 1>&6
10664 cat > conftest.
$ac_ext <<EOF
10665 #line 10666 "configure"
10666 #include "confdefs.h"
10667 /* System header to define __stub macros and hopefully few prototypes,
10668 which can conflict with char $ac_func(); below. */
10669 #include <assert.h>
10670 /* Override any gcc2 internal prototype to avoid an error. */
10671 /* We use char because int might match the return type of a gcc2
10672 builtin and then its argument prototype would still apply. */
10677 /* The GNU C library defines this for functions which it implements
10678 to always fail with ENOSYS. Some functions are actually named
10679 something starting with __ and the normal name is an alias. */
10680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10688 if { (eval echo configure
:10689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10690 eval "ac_cv_func_$ac_func=yes"
10692 echo "configure: failed program was:" >&5
10693 cat conftest.
$ac_ext >&5
10695 eval "ac_cv_func_$ac_func=no"
10700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10701 echo "$ac_t""yes" 1>&6
10702 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10703 cat >> confdefs.h
<<EOF
10704 #define $ac_tr_func 1
10707 cat >> confdefs.h
<<\EOF
10708 #define HAVE_SHL_LOAD 1
10714 echo "$ac_t""no" 1>&6
10726 if test "$HAVE_DL_FUNCS" = 0; then
10727 if test "$HAVE_SHL_FUNCS" = 0; then
10728 if test "$USE_UNIX" = 1; then
10729 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
10731 wxUSE_DYNLIB_CLASS
=no
10733 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
10739 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
10740 cat >> confdefs.h
<<\EOF
10741 #define wxUSE_DYNLIB_CLASS 1
10747 if test "$wxUSE_UNICODE" = "yes" ; then
10748 cat >> confdefs.h
<<\EOF
10749 #define wxUSE_UNICODE 1
10754 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
10755 cat >> confdefs.h
<<\EOF
10756 #define wxUSE_WCSRTOMBS 1
10761 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
10762 cat >> confdefs.h
<<\EOF
10763 #define wxUSE_EXPERIMENTAL_PRINTF 1
10770 if test "$wxUSE_ODBC" = "yes" ; then
10771 cat >> confdefs.h
<<\EOF
10772 #define wxUSE_ODBC 1
10775 WXODBCFLAG
="-D_IODBC_"
10776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
10777 IODBCOBJS
="\$(IODBC_OBJS)"
10783 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
10784 cat >> confdefs.h
<<\EOF
10785 #define wxUSE_POSTSCRIPT 1
10790 cat >> confdefs.h
<<\EOF
10791 #define wxUSE_AFM_FOR_POSTSCRIPT 1
10795 cat >> confdefs.h
<<\EOF
10796 #define wxUSE_NORMALIZED_PS_FONTS 1
10801 if test "$wxUSE_CONSTRAINTS" = "yes"; then
10802 cat >> confdefs.h
<<\EOF
10803 #define wxUSE_CONSTRAINTS 1
10806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
10809 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
10810 cat >> confdefs.h
<<\EOF
10811 #define wxUSE_MDI_ARCHITECTURE 1
10814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
10817 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
10818 cat >> confdefs.h
<<\EOF
10819 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
10822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
10823 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
10824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
10828 if test "$wxUSE_HELP" = "yes"; then
10829 cat >> confdefs.h
<<\EOF
10830 #define wxUSE_HELP 1
10833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
10836 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
10837 if test "$wxUSE_CONSTRAINTS" != "yes"; then
10838 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
10840 cat >> confdefs.h
<<\EOF
10841 #define wxUSE_PRINTING_ARCHITECTURE 1
10845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
10848 if test "$wxUSE_PROLOGIO" = "yes" ; then
10849 cat >> confdefs.h
<<\EOF
10850 #define wxUSE_PROLOGIO 1
10855 if test "$wxUSE_RESOURCES" = "yes" ; then
10856 if test "$wxUSE_PROLOGIO" = "yes" ; then
10857 cat >> confdefs.h
<<\EOF
10858 #define wxUSE_RESOURCES 1
10861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
10863 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
10867 if test "$wxUSE_X_RESOURCES" = "yes"; then
10868 cat >> confdefs.h
<<\EOF
10869 #define wxUSE_X_RESOURCES 1
10875 if test "$wxUSE_IPC" = "yes"; then
10876 cat >> confdefs.h
<<\EOF
10877 #define wxUSE_IPC 1
10882 if test "$wxUSE_CLIPBOARD" = "yes"; then
10883 cat >> confdefs.h
<<\EOF
10884 #define wxUSE_CLIPBOARD 1
10889 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
10890 if test "$wxUSE_GTK" = 1; then
10891 if test "$WXGTK12" != 1; then
10892 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
10893 wxUSE_DRAG_AND_DROP
=no
10897 if test "$wxUSE_MOTIF" = 1; then
10898 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
10899 wxUSE_DRAG_AND_DROP
=no
10902 if test "$USE_WIN32" = 1; then
10903 for ac_hdr
in ole2.h
10905 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10906 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10907 echo "configure:10908: checking for $ac_hdr" >&5
10908 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10909 echo $ac_n "(cached) $ac_c" 1>&6
10911 cat > conftest.
$ac_ext <<EOF
10912 #line 10913 "configure"
10913 #include "confdefs.h"
10916 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10917 { (eval echo configure
:10918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10918 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10919 if test -z "$ac_err"; then
10921 eval "ac_cv_header_$ac_safe=yes"
10924 echo "configure: failed program was:" >&5
10925 cat conftest.
$ac_ext >&5
10927 eval "ac_cv_header_$ac_safe=no"
10931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10932 echo "$ac_t""yes" 1>&6
10933 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10934 cat >> confdefs.h
<<EOF
10935 #define $ac_tr_hdr 1
10939 echo "$ac_t""no" 1>&6
10943 if test "x$HAVE_OLE2_H" = x
; then
10944 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
10945 wxUSE_DRAG_AND_DROP
=no
10949 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
10950 cat >> confdefs.h
<<\EOF
10951 #define wxUSE_DRAG_AND_DROP 1
10954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
10959 if test "$wxUSE_SPLINES" = "yes" ; then
10960 cat >> confdefs.h
<<\EOF
10961 #define wxUSE_SPLINES 1
10967 if test "$wxUSE_ACCEL" = "yes"; then
10968 cat >> confdefs.h
<<\EOF
10969 #define wxUSE_ACCEL 1
10974 if test "$wxUSE_CARET" = "yes"; then
10975 cat >> confdefs.h
<<\EOF
10976 #define wxUSE_CARET 1
10979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
10982 if test "$wxUSE_COMBOBOX" = "yes"; then
10983 cat >> confdefs.h
<<\EOF
10984 #define wxUSE_COMBOBOX 1
10989 if test "$wxUSE_CHOICE" = "yes"; then
10990 cat >> confdefs.h
<<\EOF
10991 #define wxUSE_CHOICE 1
10996 if test "$wxUSE_BMPBUTTON" = "yes"; then
10997 cat >> confdefs.h
<<\EOF
10998 #define wxUSE_BMPBUTTON 1
11003 if test "$wxUSE_CHECKBOX" = "yes"; then
11004 cat >> confdefs.h
<<\EOF
11005 #define wxUSE_CHECKBOX 1
11010 if test "$wxUSE_CHECKLST" = "yes"; then
11011 cat >> confdefs.h
<<\EOF
11012 #define wxUSE_CHECKLISTBOX 1
11015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11018 if test "$wxUSE_GAUGE" = "yes"; then
11019 cat >> confdefs.h
<<\EOF
11020 #define wxUSE_GAUGE 1
11025 if test "$wxUSE_GRID" = "yes"; then
11026 cat >> confdefs.h
<<\EOF
11027 #define wxUSE_GRID 1
11030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11033 if test "$wxUSE_NEW_GRID" = "yes"; then
11034 cat >> confdefs.h
<<\EOF
11035 #define wxUSE_NEW_GRID 1
11038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
11041 if test "$wxUSE_IMAGLIST" = "yes"; then
11042 cat >> confdefs.h
<<\EOF
11043 #define wxUSE_IMAGLIST 1
11048 if test "$wxUSE_LISTBOX" = "yes"; then
11049 cat >> confdefs.h
<<\EOF
11050 #define wxUSE_LISTBOX 1
11055 if test "$wxUSE_LISTCTRL" = "yes"; then
11056 if test "$wxUSE_IMAGLIST" = "yes"; then
11057 cat >> confdefs.h
<<\EOF
11058 #define wxUSE_LISTCTRL 1
11061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11063 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11067 if test "$wxUSE_NOTEBOOK" = "yes"; then
11068 cat >> confdefs.h
<<\EOF
11069 #define wxUSE_NOTEBOOK 1
11072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11075 if test "$wxUSE_RADIOBOX" = "yes"; then
11076 cat >> confdefs.h
<<\EOF
11077 #define wxUSE_RADIOBOX 1
11082 if test "$wxUSE_RADIOBTN" = "yes"; then
11083 cat >> confdefs.h
<<\EOF
11084 #define wxUSE_RADIOBTN 1
11089 if test "$wxUSE_SASH" = "yes"; then
11090 cat >> confdefs.h
<<\EOF
11091 #define wxUSE_SASH 1
11094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11097 if test "$wxUSE_SCROLLBAR" = "yes"; then
11098 cat >> confdefs.h
<<\EOF
11099 #define wxUSE_SCROLLBAR 1
11102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11105 if test "$wxUSE_SLIDER" = "yes"; then
11106 cat >> confdefs.h
<<\EOF
11107 #define wxUSE_SLIDER 1
11112 if test "$wxUSE_SPINBTN" = "yes"; then
11113 cat >> confdefs.h
<<\EOF
11114 #define wxUSE_SPINBTN 1
11119 if test "$wxUSE_SPLITTER" = "yes"; then
11120 cat >> confdefs.h
<<\EOF
11121 #define wxUSE_SPLITTER 1
11124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11127 if test "$wxUSE_STATBMP" = "yes"; then
11128 cat >> confdefs.h
<<\EOF
11129 #define wxUSE_STATBMP 1
11134 if test "$wxUSE_STATBOX" = "yes"; then
11135 cat >> confdefs.h
<<\EOF
11136 #define wxUSE_STATBOX 1
11141 if test "$wxUSE_STATLINE" = "yes"; then
11142 if test "$wxUSE_WINE" = 1 ; then
11143 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11145 cat >> confdefs.h
<<\EOF
11146 #define wxUSE_STATLINE 1
11152 if test "$wxUSE_STATUSBAR" = "yes"; then
11153 cat >> confdefs.h
<<\EOF
11154 #define wxUSE_STATUSBAR 1
11159 if test "$wxUSE_TABDIALOG" = "yes"; then
11160 cat >> confdefs.h
<<\EOF
11161 #define wxUSE_TAB_DIALOG 1
11164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11167 if test "$wxUSE_TOOLBAR" = "yes"; then
11168 cat >> confdefs.h
<<\EOF
11169 #define wxUSE_TOOLBAR 1
11172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11175 if test "$wxUSE_TOOLTIPS" = "yes"; then
11176 if test "$wxUSE_MOTIF" = 1; then
11177 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11179 if test "$wxUSE_WINE" = 1; then
11180 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11182 cat >> confdefs.h
<<\EOF
11183 #define wxUSE_TOOLTIPS 1
11190 if test "$wxUSE_TREECTRL" = "yes"; then
11191 if test "$wxUSE_IMAGLIST" = "yes"; then
11192 cat >> confdefs.h
<<\EOF
11193 #define wxUSE_TREECTRL 1
11196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11198 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11204 if test "$wxUSE_METAFILE" = "yes"; then
11205 cat >> confdefs.h
<<\EOF
11206 #define wxUSE_METAFILE 1
11211 if test "$wxUSE_DIRDLG" = "yes"; then
11212 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11213 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11215 if test "$wxUSE_TREECTRL" != "yes"; then
11216 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11218 cat >> confdefs.h
<<\EOF
11219 #define wxUSE_DIRDLG 1
11226 if test "$wxUSE_TEXTDLG" = "yes"; then
11227 cat >> confdefs.h
<<\EOF
11228 #define wxUSE_TEXTDLG 1
11233 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11234 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11235 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11237 cat >> confdefs.h
<<\EOF
11238 #define wxUSE_STARTUP_TIPS 1
11244 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11245 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11246 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11248 cat >> confdefs.h
<<\EOF
11249 #define wxUSE_PROGRESSDLG 1
11255 if test "$wxUSE_MINIFRAME" = "yes"; then
11256 cat >> confdefs.h
<<\EOF
11257 #define wxUSE_MINIFRAME 1
11260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11263 if test "$wxUSE_HTML" = "yes"; then
11264 cat >> confdefs.h
<<\EOF
11265 #define wxUSE_HTML 1
11268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11269 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11272 if test "$wxUSE_VALIDATORS" = "yes"; then
11273 cat >> confdefs.h
<<\EOF
11274 #define wxUSE_VALIDATORS 1
11277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11280 if test "$wxUSE_GIF" = "yes" ; then
11281 cat >> confdefs.h
<<\EOF
11282 #define wxUSE_GIF 1
11287 if test "$wxUSE_PCX" = "yes" ; then
11288 cat >> confdefs.h
<<\EOF
11289 #define wxUSE_PCX 1
11294 if test "$wxUSE_PNM" = "yes" ; then
11295 cat >> confdefs.h
<<\EOF
11296 #define wxUSE_PNM 1
11302 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11304 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
11305 if test "$wxUSE_GUI" = "yes"; then
11306 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
11309 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11311 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11313 if test "$GXX" = yes ; then
11314 CXXWARNINGS
="-Wall"
11316 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
11318 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
11319 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
11321 if test "$wxUSE_GUI" = "yes"; then
11323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11324 forty fractal image wxpoem"
11329 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11384 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11385 echo "configure:11386: checking whether ${MAKE-make} sets \${MAKE}" >&5
11386 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11387 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11388 echo $ac_n "(cached) $ac_c" 1>&6
11390 cat > conftestmake
<<\EOF
11392 @
echo 'ac_maketemp="${MAKE}"'
11394 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11395 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11396 if test -n "$ac_maketemp"; then
11397 eval ac_cv_prog_make_
${ac_make}_set
=yes
11399 eval ac_cv_prog_make_
${ac_make}_set
=no
11403 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11404 echo "$ac_t""yes" 1>&6
11407 echo "$ac_t""no" 1>&6
11408 SET_MAKE
="MAKE=${MAKE-make}"
11414 if test "${TOOLKIT_DIR}" = "msw" ; then
11415 GL_TOOLKIT_DIR
="win"
11417 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
11422 cat > confcache
<<\EOF
11423 # This file is a shell script that caches the results of configure
11424 # tests run on this system so they can be shared between configure
11425 # scripts and configure runs. It is not useful on other systems.
11426 # If it contains results you don't want to keep, you may remove or edit it.
11428 # By default, configure uses ./config.cache as the cache file,
11429 # creating it if it does not exist already. You can give configure
11430 # the --cache-file=FILE option to use a different cache file; that is
11431 # what configure does when it calls configure scripts in
11432 # subdirectories, so they share the cache.
11433 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11434 # config.status only pays attention to the cache file if you give it the
11435 # --recheck option to rerun configure.
11438 # The following way of writing the cache mishandles newlines in values,
11439 # but we know of no workaround that is simple, portable, and efficient.
11440 # So, don't put newlines in cache variables' values.
11441 # Ultrix sh set writes to stderr and can't be redirected directly,
11442 # and sets the high bit in the cache file unless we assign to the vars.
11444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11446 # `set' does not quote correctly, so add quotes (double-quote substitution
11447 # turns \\\\ into \\, and sed turns \\ into \).
11449 -e "s/'/'\\\\''/g" \
11450 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11453 # `set' quotes correctly as required by POSIX, so do not add quotes.
11454 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11457 if cmp -s $cache_file confcache
; then
11460 if test -w $cache_file; then
11461 echo "updating cache $cache_file"
11462 cat confcache
> $cache_file
11464 echo "not updating unwritable cache $cache_file"
11469 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11471 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11472 # Let make expand exec_prefix.
11473 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11475 # Any assignment to VPATH causes Sun make to only execute
11476 # the first set of double-colon rules, so remove it if not needed.
11477 # If there is a colon in the path, we need to keep it.
11478 if test "x$srcdir" = x.
; then
11479 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
11482 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11484 DEFS
=-DHAVE_CONFIG_H
11486 # Without the "./", some shells look in PATH for config.status.
11487 : ${CONFIG_STATUS=./config.status}
11489 echo creating
$CONFIG_STATUS
11490 rm -f $CONFIG_STATUS
11491 cat > $CONFIG_STATUS <<EOF
11493 # Generated automatically by configure.
11494 # Run this file to recreate the current configuration.
11495 # This directory was configured as follows,
11496 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11498 # $0 $ac_configure_args
11500 # Compiler output produced by configure, useful for debugging
11501 # configure, is in ./config.log if it exists.
11503 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11506 case "\$ac_option" in
11507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11508 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11509 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11510 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11511 echo "$CONFIG_STATUS generated by autoconf version 2.13"
11513 -help | --help | --hel | --he | --h)
11514 echo "\$ac_cs_usage"; exit 0 ;;
11515 *) echo "\$ac_cs_usage"; exit 1 ;;
11519 ac_given_srcdir=$srcdir
11520 ac_given_INSTALL="$INSTALL"
11522 trap 'rm -fr `echo "
11529 samples/bombs/Makefile
11530 samples/caret/Makefile
11531 samples/checklst/Makefile
11532 samples/config/Makefile
11533 samples/controls/Makefile
11534 samples/db/Makefile
11535 samples/dialogs/Makefile
11536 samples/docview/Makefile
11537 samples/docvwmdi/Makefile
11538 samples/dnd/Makefile
11539 samples/drawing/Makefile
11540 samples/forty/Makefile
11541 samples/fractal/Makefile
11542 samples/image/Makefile
11543 samples/internat/Makefile
11544 samples/layout/Makefile
11545 samples/listctrl/Makefile
11546 samples/mdi/Makefile
11547 samples/minifram/Makefile
11548 samples/minimal/Makefile
11549 samples/nettest/Makefile
11550 samples/newgrid/Makefile
11551 samples/notebook/Makefile
11552 samples/png/Makefile
11553 samples/printing/Makefile
11554 samples/proplist/Makefile
11555 samples/richedit/Makefile
11556 samples/resource/Makefile
11557 samples/sashtest/Makefile
11558 samples/scroll/Makefile
11559 samples/scrollsub/Makefile
11560 samples/splitter/Makefile
11561 samples/text/Makefile
11562 samples/thread/Makefile
11563 samples/toolbar/Makefile
11564 samples/treectrl/Makefile
11565 samples/typetest/Makefile
11566 samples/validate/Makefile
11567 samples/wxpoem/Makefile
11568 samples/wxsocket/Makefile
11569 samples/wizard/Makefile
11570 samples/html/Makefile
11571 samples/html/about/Makefile
11572 samples/html/help/Makefile
11573 samples/html/printing/Makefile
11574 samples/html/test/Makefile
11575 samples/html/zip/Makefile
11576 samples/html/virtual/Makefile
11577 samples/html/widget/Makefile
11579 utils/wxMMedia2/Makefile
11580 utils/wxMMedia2/lib/Makefile
11581 utils/wxMMedia2/sample/Makefile
11582 utils/glcanvas/Makefile
11583 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
11585 utils/ogl/src/Makefile
11586 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11588 cat >> $CONFIG_STATUS <<EOF
11590 # Protect against being on the right side of a sed subst in config.status.
11591 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11592 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11596 s%@CFLAGS@%$CFLAGS%g
11597 s%@CPPFLAGS@%$CPPFLAGS%g
11598 s%@CXXFLAGS@%$CXXFLAGS%g
11599 s%@FFLAGS@%$FFLAGS%g
11601 s%@LDFLAGS@%$LDFLAGS%g
11603 s%@exec_prefix@%$exec_prefix%g
11604 s%@prefix@%$prefix%g
11605 s%@program_transform_name@%$program_transform_name%g
11606 s%@bindir@%$bindir%g
11607 s%@sbindir@%$sbindir%g
11608 s%@libexecdir@%$libexecdir%g
11609 s%@datadir@%$datadir%g
11610 s%@sysconfdir@%$sysconfdir%g
11611 s%@sharedstatedir@%$sharedstatedir%g
11612 s%@localstatedir@%$localstatedir%g
11613 s%@libdir@%$libdir%g
11614 s%@includedir@%$includedir%g
11615 s%@oldincludedir@%$oldincludedir%g
11616 s%@infodir@%$infodir%g
11617 s%@mandir@%$mandir%g
11619 s%@host_alias@%$host_alias%g
11620 s%@host_cpu@%$host_cpu%g
11621 s%@host_vendor@%$host_vendor%g
11622 s%@host_os@%$host_os%g
11623 s%@target@%$target%g
11624 s%@target_alias@%$target_alias%g
11625 s%@target_cpu@%$target_cpu%g
11626 s%@target_vendor@%$target_vendor%g
11627 s%@target_os@%$target_os%g
11629 s%@build_alias@%$build_alias%g
11630 s%@build_cpu@%$build_cpu%g
11631 s%@build_vendor@%$build_vendor%g
11632 s%@build_os@%$build_os%g
11636 s%@CXXCPP@%$CXXCPP%g
11637 s%@RANLIB@%$RANLIB%g
11639 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11640 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
11641 s%@INSTALL_DATA@%$INSTALL_DATA%g
11645 s%@LEXLIB@%$LEXLIB%g
11647 s%@GTK_CONFIG@%$GTK_CONFIG%g
11648 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
11649 s%@GTK_LIBS@%$GTK_LIBS%g
11650 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
11651 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
11652 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
11653 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
11654 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
11655 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
11656 s%@WX_LIBRARY@%$WX_LIBRARY%g
11657 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
11658 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
11659 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
11660 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
11661 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
11662 s%@WX_ALL@%$WX_ALL%g
11663 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
11664 s%@SHARED_LD@%$SHARED_LD%g
11665 s%@PIC_FLAG@%$PIC_FLAG%g
11666 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
11667 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
11668 s%@TOOLKIT@%$TOOLKIT%g
11669 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
11670 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
11671 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
11672 s%@GUIHEADERS@%$GUIHEADERS%g
11673 s%@GUIOBJS@%$GUIOBJS%g
11674 s%@COMMONOBJS@%$COMMONOBJS%g
11675 s%@GENERICOBJS@%$GENERICOBJS%g
11676 s%@GUIDEPS@%$GUIDEPS%g
11677 s%@COMMONDEPS@%$COMMONDEPS%g
11678 s%@GENERICDEPS@%$GENERICDEPS%g
11679 s%@IODBCOBJS@%$IODBCOBJS%g
11680 s%@UNIXOBJS@%$UNIXOBJS%g
11681 s%@UNIXDEPS@%$UNIXDEPS%g
11682 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
11683 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
11684 s%@ALL_HEADERS@%$ALL_HEADERS%g
11685 s%@GUIDIST@%$GUIDIST%g
11686 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
11687 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
11688 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
11689 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
11690 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
11691 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
11692 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
11693 s%@LD_LIBS@%$LD_LIBS%g
11694 s%@SET_MAKE@%$SET_MAKE%g
11695 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
11700 cat >> $CONFIG_STATUS <<\EOF
11702 # Split the substitutions into bite-sized pieces for seds with
11703 # small command number limits, like on Digital OSF/1 and HP-UX.
11704 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
11705 ac_file
=1 # Number of current file.
11706 ac_beg
=1 # First line for current file.
11707 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
11710 while $ac_more_lines; do
11711 if test $ac_beg -gt 1; then
11712 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
11714 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
11716 if test ! -s conftest.s
$ac_file; then
11717 ac_more_lines
=false
11718 rm -f conftest.s
$ac_file
11720 if test -z "$ac_sed_cmds"; then
11721 ac_sed_cmds
="sed -f conftest.s$ac_file"
11723 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
11725 ac_file
=`expr $ac_file + 1`
11727 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
11730 if test -z "$ac_sed_cmds"; then
11735 cat >> $CONFIG_STATUS <<EOF
11737 CONFIG_FILES=\${CONFIG_FILES-"wx-config
11743 samples/bombs/Makefile
11744 samples/caret/Makefile
11745 samples/checklst/Makefile
11746 samples/config/Makefile
11747 samples/controls/Makefile
11748 samples/db/Makefile
11749 samples/dialogs/Makefile
11750 samples/docview/Makefile
11751 samples/docvwmdi/Makefile
11752 samples/dnd/Makefile
11753 samples/drawing/Makefile
11754 samples/forty/Makefile
11755 samples/fractal/Makefile
11756 samples/image/Makefile
11757 samples/internat/Makefile
11758 samples/layout/Makefile
11759 samples/listctrl/Makefile
11760 samples/mdi/Makefile
11761 samples/minifram/Makefile
11762 samples/minimal/Makefile
11763 samples/nettest/Makefile
11764 samples/newgrid/Makefile
11765 samples/notebook/Makefile
11766 samples/png/Makefile
11767 samples/printing/Makefile
11768 samples/proplist/Makefile
11769 samples/richedit/Makefile
11770 samples/resource/Makefile
11771 samples/sashtest/Makefile
11772 samples/scroll/Makefile
11773 samples/scrollsub/Makefile
11774 samples/splitter/Makefile
11775 samples/text/Makefile
11776 samples/thread/Makefile
11777 samples/toolbar/Makefile
11778 samples/treectrl/Makefile
11779 samples/typetest/Makefile
11780 samples/validate/Makefile
11781 samples/wxpoem/Makefile
11782 samples/wxsocket/Makefile
11783 samples/wizard/Makefile
11784 samples/html/Makefile
11785 samples/html/about/Makefile
11786 samples/html/help/Makefile
11787 samples/html/printing/Makefile
11788 samples/html/test/Makefile
11789 samples/html/zip/Makefile
11790 samples/html/virtual/Makefile
11791 samples/html/widget/Makefile
11793 utils/wxMMedia2/Makefile
11794 utils/wxMMedia2/lib/Makefile
11795 utils/wxMMedia2/sample/Makefile
11796 utils/glcanvas/Makefile
11797 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
11799 utils/ogl/src/Makefile
11802 cat >> $CONFIG_STATUS <<\EOF
11803 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
11804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11806 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
11807 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
11808 *) ac_file_in
="${ac_file}.in" ;;
11811 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
11813 # Remove last slash and all that follows it. Not all systems have dirname.
11814 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
11815 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
11816 # The file is in a subdirectory.
11817 test ! -d "$ac_dir" && mkdir "$ac_dir"
11818 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
11819 # A "../" for each directory in $ac_dir_suffix.
11820 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
11822 ac_dir_suffix
= ac_dots
=
11825 case "$ac_given_srcdir" in
11827 if test -z "$ac_dots"; then top_srcdir
=.
11828 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
11829 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
11830 *) # Relative path.
11831 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
11832 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
11835 case "$ac_given_INSTALL" in
11836 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
11837 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
11840 echo creating
"$ac_file"
11842 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
11844 *Makefile
*) ac_comsub
="1i\\
11845 # $configure_input" ;;
11849 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11851 s%@configure_input@%$configure_input%g
11852 s%@srcdir@%$srcdir%g
11853 s%@top_srcdir@%$top_srcdir%g
11854 s%@INSTALL@%$INSTALL%g
11855 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
11859 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11860 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11862 # ac_d sets the value in "#define NAME VALUE" lines.
11863 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11864 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
11867 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
11868 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11869 ac_uB
='\([ ]\)%\1#\2define\3'
11872 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11873 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11874 ac_eB
='$%\1#\2define\3'
11878 if test "${CONFIG_HEADERS+set}" != set; then
11880 cat >> $CONFIG_STATUS <<EOF
11881 CONFIG_HEADERS="setup.h:setup.h.in"
11883 cat >> $CONFIG_STATUS <<\EOF
11885 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
11886 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11888 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
11889 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
11890 *) ac_file_in
="${ac_file}.in" ;;
11893 echo creating
$ac_file
11895 rm -f conftest.frag conftest.
in conftest.out
11896 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11897 cat $ac_file_inputs > conftest.
in
11901 # Transform confdefs.h into a sed script conftest.vals that substitutes
11902 # the proper values into config.h.in to produce config.h. And first:
11903 # Protect against being on the right side of a sed subst in config.status.
11904 # Protect against being in an unquoted here document in config.status.
11905 rm -f conftest.vals
11906 cat > conftest.hdr
<<\EOF
11909 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
11913 sed -n -f conftest.hdr confdefs.h > conftest.vals
11916 # This sed command replaces #undef with comments. This is necessary, for
11917 # example, in the case of _POSIX_SOURCE, which is predefined and required
11918 # on some systems where configure will not decide to define it.
11919 cat >> conftest.vals <<\EOF
11920 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
11923 # Break up conftest.vals because some shells have a limit on
11924 # the size of here documents, and old seds have small limits too.
11926 rm -f conftest.tail
11929 ac_lines=`grep -c . conftest.vals
`
11930 # grep -c gives empty output for an empty file on some AIX systems.
11931 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
11932 # Write a limited-size here document to conftest.frag.
11933 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
11934 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
11936 sed -f conftest.frag conftest.in > conftest.out
11938 mv conftest.out conftest.in
11939 ' >> $CONFIG_STATUS
11940 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
11941 rm -f conftest.vals
11942 mv conftest.tail conftest.vals
11944 rm -f conftest.vals
11946 cat >> $CONFIG_STATUS <<\EOF
11947 rm -f conftest.frag conftest.h
11948 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
11949 cat conftest.in >> conftest.h
11951 if cmp -s $ac_file conftest.h 2>/dev/null; then
11952 echo "$ac_file is unchanged"
11955 # Remove last slash and all that follows it. Not all systems have dirname.
11956 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
11957 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11958 # The file is in a subdirectory.
11959 test ! -d "$ac_dir" && mkdir "$ac_dir"
11962 mv conftest.h $ac_file
11967 cat >> $CONFIG_STATUS <<EOF
11969 LN_S="${ac_cv_prog_LN_S}"
11970 TOOLKIT_DIR="${TOOLKIT_DIR}"
11974 cat >> $CONFIG_STATUS <<\EOF
11977 if test ! -d include; then
11980 if test ! -d include/wx; then
11983 if test ! -d include/wx/${TOOLKIT_DIR}; then
11984 mkdir include/wx/${TOOLKIT_DIR}
11986 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
11990 chmod +x $CONFIG_STATUS
11991 rm -fr confdefs* $ac_clean_files
11992 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1