3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.13
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
55 --enable-gui use GUI classes"
59 --with-motif use Motif/Lesstif"
63 --with-cygwin use Cygwin for MS-Windows"
65 --with-mingw use GCC Minimal MS-Windows"
67 --with-gtk-prefix=PFX Prefix where GTK is installed"
69 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
71 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
73 --with-zlib use zlib for LZW compression"
75 --with-libpng use libpng (PNG image format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-permissive compile code disregarding strict ANSI"
107 --enable-no_deps create code without dependency information"
109 --enable-intl use internationalization system"
111 --enable-config use wxConfig (and derived) classes"
113 --enable-sockets use socket/network classes"
115 --enable-dialupman use dialup network classes"
117 --enable-ipc use interprocess communication (wxSocket etc.)"
119 --enable-apple_ieee use the Apple IEEE codec"
121 --enable-timedate use date/time classes"
123 --enable-wave use wxWave class"
125 --enable-fraction use wxFraction class"
127 --enable-dynlib use wxLibrary class for DLL loading"
129 --enable-longlong use wxLongLong class"
131 --enable-log use logging system"
133 --enable-streams use wxStream etc classes"
135 --enable-file use wxFile classes"
137 --enable-textfile use wxTextFile classes"
139 --enable-unicode compile wxString with Unicode support"
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
145 --enable-joystick compile in joystick support (Linux only)"
147 --enable-std_iostreams use standard C++ stream classes"
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
151 --enable-fs_zip use virtual ZIP filesystems"
153 --enable-zipstream use wxZipInputStream"
155 --enable-threads use threads"
157 --enable-serial use class serialization"
159 --enable-docview use document view architecture"
161 --enable-help use help (using external browser at present)"
163 --enable-constraints use layout-constraints system"
165 --enable-printarch use printing architecture"
167 --enable-mdi use multiple document interface architecture"
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
171 --enable-prologio use Prolog IO library"
173 --enable-resources use wxWindows resources"
175 --enable-xresources use X resources for save (default for gtk+)"
177 --enable-clipboard use wxClipboard classes"
179 --enable-dnd use Drag'n'Drop classes"
181 --enable-wxtree make wxTree library"
183 --enable-controls use all usual controls"
185 --enable-accel use accelerators"
187 --enable-caret use wxCaret class"
189 --enable-bmpbutton use wxBitmapButton class"
191 --enable-checkbox use wxCheckBox class"
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
195 --enable-choice use wxChoice class"
197 --enable-combobox use wxComboBox classes"
199 --enable-gauge use wxGauge class"
201 --enable-grid use wxGrid class"
203 --enable-newgrid use new wxGrid class"
205 --enable-imaglist use wxImageList class"
207 --enable-listbox use wxListBox class"
209 --enable-listctrl use wxListCtrl class"
211 --enable-notebook use wxNotebook class"
213 --enable-radiobox use wxRadioBox class"
215 --enable-radiobtn use wxRadioButton class"
217 --enable-sash use wxSashWindow class"
219 --enable-scrollbar use wxScrollBar class and scrollable windows"
221 --enable-slider use wxSlider class"
223 --enable-spinbtn use wxSpinButton class"
225 --enable-splitter use wxSplitterWindow class"
227 --enable-statbmp use wxStaticBitmap class"
229 --enable-statbox use wxStaticBox class"
231 --enable-statline use wxStaticLine class"
233 --enable-statusbar use wxStatusBar class"
235 --enable-tabdialog use wxTabControl class"
237 --enable-toolbar use wxToolBar class"
239 --enable-treectrl use wxTreeCtrl class"
241 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
243 --enable-dirdlg use wxDirDialog"
245 --enable-textdlg use wxTextDialog"
247 --enable-tipdlg use startup tips"
249 --enable-progressdlg use wxProgressDialog"
251 --enable-miniframe use wxMiniFrame class"
253 --enable-html use wxHTML sub-library"
255 --enable-tooltips use wxToolTip class"
257 --enable-splines use spline drawing code"
259 --enable-validators use wxValidator and derived classes"
261 --enable-busyinfo use wxBusyInfo"
263 --enable-gif use gif images (GIF file format)"
265 --enable-pcx use pcx images (PCX file format)"
267 --enable-pnm use pnm images (PNM file format)"
269 --with-x use the X Window System"
271 # Initialize some variables set by options.
272 # The variables have the same names as the options, with
273 # dashes changed to underlines.
275 cache_file
=.
/config.cache
284 program_transform_name
=s
,x
,x
,
292 bindir
='${exec_prefix}/bin'
293 sbindir
='${exec_prefix}/sbin'
294 libexecdir
='${exec_prefix}/libexec'
295 datadir
='${prefix}/share'
296 sysconfdir
='${prefix}/etc'
297 sharedstatedir
='${prefix}/com'
298 localstatedir
='${prefix}/var'
299 libdir
='${exec_prefix}/lib'
300 includedir
='${prefix}/include'
301 oldincludedir
='/usr/include'
302 infodir
='${prefix}/info'
303 mandir
='${prefix}/man'
305 # Initialize some other variables.
308 SHELL
=${CONFIG_SHELL-/bin/sh}
309 # Maximum number of lines to put in a shell here document.
316 # If the previous option needs an argument, assign it.
317 if test -n "$ac_prev"; then
318 eval "$ac_prev=\$ac_option"
324 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir
="$ac_optarg" ;;
337 -build | --build | --buil | --bui | --bu)
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build
="$ac_optarg" ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev
=cache_file
;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file
="$ac_optarg" ;;
349 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
351 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
353 datadir
="$ac_optarg" ;;
355 -disable-* | --disable-*)
356 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
357 # Reject names that are not valid shell variable names.
358 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
359 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
361 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
362 eval "enable_${ac_feature}=no" ;;
364 -enable-* | --enable-*)
365 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
366 # Reject names that are not valid shell variable names.
367 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
368 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
370 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
375 eval "enable_${ac_feature}='$ac_optarg'" ;;
377 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
378 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
379 | --exec | --exe | --ex)
380 ac_prev
=exec_prefix
;;
381 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
382 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
383 | --exec=* | --exe=* | --ex=*)
384 exec_prefix
="$ac_optarg" ;;
386 -gas | --gas | --ga | --g)
387 # Obsolete; use --with-gas.
390 -help | --help | --hel | --he)
391 # Omit some internal or obsolete options to make the list less imposing.
392 # This message is too long to be a string in the A/UX 3.1 sh.
394 Usage: configure [options] [host]
395 Options: [defaults in brackets after descriptions]
397 --cache-file=FILE cache test results in FILE
398 --help print this message
399 --no-create do not create output files
400 --quiet, --silent do not print \`checking...' messages
401 --version print the version of autoconf that created configure
402 Directory and file names:
403 --prefix=PREFIX install architecture-independent files in PREFIX
405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
407 --bindir=DIR user executables in DIR [EPREFIX/bin]
408 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
409 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
410 --datadir=DIR read-only architecture-independent data in DIR
412 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
413 --sharedstatedir=DIR modifiable architecture-independent data in DIR
415 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
416 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
417 --includedir=DIR C header files in DIR [PREFIX/include]
418 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
419 --infodir=DIR info documentation in DIR [PREFIX/info]
420 --mandir=DIR man documentation in DIR [PREFIX/man]
421 --srcdir=DIR find the sources in DIR [configure dir or ..]
422 --program-prefix=PREFIX prepend PREFIX to installed program names
423 --program-suffix=SUFFIX append SUFFIX to installed program names
424 --program-transform-name=PROGRAM
425 run sed PROGRAM on installed program names
429 --build=BUILD configure for building on BUILD [BUILD=HOST]
430 --host=HOST configure for HOST [guessed]
431 --target=TARGET configure for TARGET [TARGET=HOST]
432 Features and packages:
433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
435 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
436 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
437 --x-includes=DIR X include files are in DIR
438 --x-libraries=DIR X library files are in DIR
440 if test -n "$ac_help"; then
441 echo "--enable and --with options recognized:$ac_help"
445 -host | --host | --hos | --ho)
447 -host=* | --host=* | --hos=* | --ho=*)
450 -includedir | --includedir | --includedi | --included | --include \
451 | --includ | --inclu | --incl | --inc)
452 ac_prev
=includedir
;;
453 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
454 | --includ=* | --inclu=* | --incl=* | --inc=*)
455 includedir
="$ac_optarg" ;;
457 -infodir | --infodir | --infodi | --infod | --info | --inf)
459 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
460 infodir
="$ac_optarg" ;;
462 -libdir | --libdir | --libdi | --libd)
464 -libdir=* | --libdir=* | --libdi=* | --libd=*)
465 libdir
="$ac_optarg" ;;
467 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
468 | --libexe | --libex | --libe)
469 ac_prev
=libexecdir
;;
470 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
471 | --libexe=* | --libex=* | --libe=*)
472 libexecdir
="$ac_optarg" ;;
474 -localstatedir | --localstatedir | --localstatedi | --localstated \
475 | --localstate | --localstat | --localsta | --localst \
476 | --locals | --local | --loca | --loc | --lo)
477 ac_prev
=localstatedir
;;
478 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
479 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
480 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
481 localstatedir
="$ac_optarg" ;;
483 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
485 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
486 mandir
="$ac_optarg" ;;
489 # Obsolete; use --without-fp.
492 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
496 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
497 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
500 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
501 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
502 | --oldin | --oldi | --old | --ol | --o)
503 ac_prev
=oldincludedir
;;
504 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
505 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
506 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
507 oldincludedir
="$ac_optarg" ;;
509 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
511 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
512 prefix
="$ac_optarg" ;;
514 -program-prefix | --program-prefix | --program-prefi | --program-pref \
515 | --program-pre | --program-pr | --program-p)
516 ac_prev
=program_prefix
;;
517 -program-prefix=* | --program-prefix=* | --program-prefi=* \
518 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
519 program_prefix
="$ac_optarg" ;;
521 -program-suffix | --program-suffix | --program-suffi | --program-suff \
522 | --program-suf | --program-su | --program-s)
523 ac_prev
=program_suffix
;;
524 -program-suffix=* | --program-suffix=* | --program-suffi=* \
525 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
526 program_suffix
="$ac_optarg" ;;
528 -program-transform-name | --program-transform-name \
529 | --program-transform-nam | --program-transform-na \
530 | --program-transform-n | --program-transform- \
531 | --program-transform | --program-transfor \
532 | --program-transfo | --program-transf \
533 | --program-trans | --program-tran \
534 | --progr-tra | --program-tr | --program-t)
535 ac_prev
=program_transform_name
;;
536 -program-transform-name=* | --program-transform-name=* \
537 | --program-transform-nam=* | --program-transform-na=* \
538 | --program-transform-n=* | --program-transform-=* \
539 | --program-transform=* | --program-transfor=* \
540 | --program-transfo=* | --program-transf=* \
541 | --program-trans=* | --program-tran=* \
542 | --progr-tra=* | --program-tr=* | --program-t=*)
543 program_transform_name
="$ac_optarg" ;;
545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
546 | -silent | --silent | --silen | --sile | --sil)
549 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
551 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
553 sbindir
="$ac_optarg" ;;
555 -sharedstatedir | --sharedstatedir | --sharedstatedi \
556 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
557 | --sharedst | --shareds | --shared | --share | --shar \
559 ac_prev
=sharedstatedir
;;
560 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
561 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
562 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
564 sharedstatedir
="$ac_optarg" ;;
566 -site | --site | --sit)
568 -site=* | --site=* | --sit=*)
571 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
573 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
574 srcdir
="$ac_optarg" ;;
576 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
577 | --syscon | --sysco | --sysc | --sys | --sy)
578 ac_prev
=sysconfdir
;;
579 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
580 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
581 sysconfdir
="$ac_optarg" ;;
583 -target | --target | --targe | --targ | --tar | --ta | --t)
585 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
586 target
="$ac_optarg" ;;
588 -v | -verbose | --verbose | --verbos | --verbo | --verb)
591 -version | --version | --versio | --versi | --vers)
592 echo "configure generated by autoconf version 2.13"
596 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
597 # Reject names that are not valid shell variable names.
598 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
599 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
601 ac_package
=`echo $ac_package| sed 's/-/_/g'`
606 eval "with_${ac_package}='$ac_optarg'" ;;
608 -without-* | --without-*)
609 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
610 # Reject names that are not valid shell variable names.
611 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
612 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
614 ac_package
=`echo $ac_package| sed 's/-/_/g'`
615 eval "with_${ac_package}=no" ;;
618 # Obsolete; use --with-x.
621 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
622 | --x-incl | --x-inc | --x-in | --x-i)
623 ac_prev
=x_includes
;;
624 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
625 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
626 x_includes
="$ac_optarg" ;;
628 -x-libraries | --x-libraries | --x-librarie | --x-librari \
629 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
630 ac_prev
=x_libraries
;;
631 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
632 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
633 x_libraries
="$ac_optarg" ;;
635 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
639 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
640 echo "configure: warning: $ac_option: invalid host type" 1>&2
642 if test "x$nonopt" != xNONE
; then
643 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
651 if test -n "$ac_prev"; then
652 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
655 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
657 # File descriptor usage:
660 # 2 errors and warnings
661 # 3 some systems may open it to /dev/tty
662 # 4 used on the Kubota Titan
663 # 6 checking for... messages and results
664 # 5 compiler messages saved in config.log
665 if test "$silent" = yes; then
673 This file contains any messages produced by compilers while
674 running configure, to aid debugging if configure makes a mistake.
677 # Strip out --no-create and --no-recursion so they do not pile up.
678 # Also quote any args containing shell metacharacters.
683 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
684 | --no-cr | --no-c) ;;
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
687 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
688 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
689 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
694 # Only set these to C if already set. These must not be set unconditionally
695 # because not all systems understand e.g. LANG=C (notably SCO).
696 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
697 # Non-C LC_CTYPE values break the ctype check.
698 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
699 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
700 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
701 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
704 rm -rf conftest
* confdefs.h
705 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
708 # A filename unique to this package, relative to the directory that
709 # configure is in, which we can look for to find out if srcdir is correct.
710 ac_unique_file
=wx
-config.
in
712 # Find the source files, if location was not specified.
713 if test -z "$srcdir"; then
714 ac_srcdir_defaulted
=yes
715 # Try the directory containing this script, then its parent.
717 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
718 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
720 if test ! -r $srcdir/$ac_unique_file; then
724 ac_srcdir_defaulted
=no
726 if test ! -r $srcdir/$ac_unique_file; then
727 if test "$ac_srcdir_defaulted" = yes; then
728 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
730 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
733 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
735 # Prefer explicitly selected file to automatically selected ones.
736 if test -z "$CONFIG_SITE"; then
737 if test "x$prefix" != xNONE
; then
738 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
740 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
743 for ac_site_file
in $CONFIG_SITE; do
744 if test -r "$ac_site_file"; then
745 echo "loading site script $ac_site_file"
750 if test -r "$cache_file"; then
751 echo "loading cache $cache_file"
754 echo "creating cache $cache_file"
759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
760 ac_cpp
='$CPP $CPPFLAGS'
761 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
762 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
763 cross_compiling
=$ac_cv_prog_cc_cross
767 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
768 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
769 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
776 ac_n
= ac_c
='\c' ac_t
=
782 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
783 if test -f $ac_dir/install-sh; then
785 ac_install_sh
="$ac_aux_dir/install-sh -c"
787 elif test -f $ac_dir/install.sh
; then
789 ac_install_sh
="$ac_aux_dir/install.sh -c"
793 if test -z "$ac_aux_dir"; then
794 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
796 ac_config_guess
=$ac_aux_dir/config.guess
797 ac_config_sub
=$ac_aux_dir/config.sub
798 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
801 # Do some error checking and defaulting for the host and target type.
803 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
806 # 1. You are not allowed to specify --host, --target, and nonopt at the
808 # 2. Host defaults to nonopt.
809 # 3. If nonopt is not specified, then host defaults to the current host,
810 # as determined by config.guess.
811 # 4. Target and build default to nonopt.
812 # 5. If nonopt is not specified, then target and build default to host.
814 # The aliases save the names the user supplied, while $host etc.
815 # will get canonicalized.
816 case $host---$target---$nonopt in
817 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
818 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
822 # Make sure we can run config.sub.
823 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
824 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
827 echo $ac_n "checking host system type""... $ac_c" 1>&6
828 echo "configure:829: checking host system type" >&5
831 case "$host_alias" in
835 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
836 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
838 *) host_alias
=$nonopt ;;
842 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
843 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
844 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
845 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
846 echo "$ac_t""$host" 1>&6
848 echo $ac_n "checking target system type""... $ac_c" 1>&6
849 echo "configure:850: checking target system type" >&5
852 case "$target_alias" in
855 NONE
) target_alias
=$host_alias ;;
856 *) target_alias
=$nonopt ;;
860 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
861 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
862 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
863 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
864 echo "$ac_t""$target" 1>&6
866 echo $ac_n "checking build system type""... $ac_c" 1>&6
867 echo "configure:868: checking build system type" >&5
870 case "$build_alias" in
873 NONE
) build_alias
=$host_alias ;;
874 *) build_alias
=$nonopt ;;
878 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
879 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
880 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
881 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
882 echo "$ac_t""$build" 1>&6
884 test "$host_alias" != "$target_alias" &&
885 test "$program_prefix$program_suffix$program_transform_name" = \
887 program_prefix
=${target_alias}-
891 WX_MAJOR_VERSION_NUMBER
=2
892 WX_MINOR_VERSION_NUMBER
=1
898 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
900 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
901 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
902 WX_REVISION
=$WX_INTERFACE_AGE
903 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
927 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
930 DEFAULT_wxUSE_MOTIF
=0
934 DEFAULT_DEFAULT_wxUSE_GTK
=0
935 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
936 DEFAULT_DEFAULT_wxUSE_MSW
=0
937 DEFAULT_DEFAULT_wxUSE_WINE
=0
942 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
943 cat >> confdefs.h
<<\EOF
950 cat >> confdefs.h
<<\EOF
955 if test "x$TMP" = "xalpha"; then
957 cat >> confdefs.h
<<\EOF
962 DEFAULT_DEFAULT_wxUSE_GTK
=1
964 *-*-irix5* | *-*-irix6* )
967 cat >> confdefs.h
<<\EOF
971 cat >> confdefs.h
<<\EOF
975 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
981 cat >> confdefs.h
<<\EOF
985 cat >> confdefs.h
<<\EOF
986 #define __SOLARIS__ 1
989 cat >> confdefs.h
<<\EOF
993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
999 cat >> confdefs.h
<<\EOF
1003 cat >> confdefs.h
<<\EOF
1007 cat >> confdefs.h
<<\EOF
1011 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1013 *-*-freebsd* | *-*-netbsd*)
1016 cat >> confdefs.h
<<\EOF
1017 #define __FREEBSD__ 1
1020 cat >> confdefs.h
<<\EOF
1024 DEFAULT_DEFAULT_wxUSE_GTK
=1
1029 cat >> confdefs.h
<<\EOF
1033 cat >> confdefs.h
<<\EOF
1037 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1042 cat >> confdefs.h
<<\EOF
1046 cat >> confdefs.h
<<\EOF
1050 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1055 cat >> confdefs.h
<<\EOF
1059 cat >> confdefs.h
<<\EOF
1063 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1069 cat >> confdefs.h
<<\EOF
1073 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1081 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1087 cat >> confdefs.h
<<\EOF
1091 cat >> confdefs.h
<<\EOF
1095 cat >> confdefs.h
<<\EOF
1096 #define __WINDOWS__ 1
1099 cat >> confdefs.h
<<\EOF
1100 #define __GNUWIN32__ 1
1103 cat >> confdefs.h
<<\EOF
1107 cat >> confdefs.h
<<\EOF
1108 #define WINVER 0x0400
1111 DEFAULT_DEFAULT_wxUSE_MSW
=1
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1124 cat >> confdefs.h
<<\EOF
1125 #define __WINDOWS__ 1
1128 cat >> confdefs.h
<<\EOF
1129 #define __GNUWIN32__ 1
1132 cat >> confdefs.h
<<\EOF
1136 cat >> confdefs.h
<<\EOF
1137 #define WINVER 0x0400
1140 DEFAULT_DEFAULT_wxUSE_MSW
=1
1144 cat >> confdefs.h
<<\EOF
1151 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1154 if test "$USE_UNIX" = 1 ; then
1156 cat >> confdefs.h
<<\EOF
1160 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1161 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1164 if test "$USE_LINUX" = 1; then
1165 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1166 echo "configure:1167: checking for gettext in -lc" >&5
1167 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1169 echo $ac_n "(cached) $ac_c" 1>&6
1171 ac_save_LIBS
="$LIBS"
1173 cat > conftest.
$ac_ext <<EOF
1174 #line 1175 "configure"
1175 #include "confdefs.h"
1176 /* Override any gcc2 internal prototype to avoid an error. */
1177 /* We use char because int might match the return type of a gcc2
1178 builtin and then its argument prototype would still apply. */
1185 if { (eval echo configure
:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1187 eval "ac_cv_lib_$ac_lib_var=yes"
1189 echo "configure: failed program was:" >&5
1190 cat conftest.
$ac_ext >&5
1192 eval "ac_cv_lib_$ac_lib_var=no"
1195 LIBS
="$ac_save_LIBS"
1198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1199 echo "$ac_t""yes" 1>&6
1200 cat >> confdefs.h
<<\EOF
1201 #define wxHAVE_GLIBC2 1
1205 echo "$ac_t""no" 1>&6
1213 wx_arg_cache_file
="configarg.cache"
1214 echo "loading argument cache $wx_arg_cache_file"
1215 rm -f ${wx_arg_cache_file}.tmp
1216 touch ${wx_arg_cache_file}.tmp
1217 touch ${wx_arg_cache_file}
1221 if test $DEBUG_CONFIGURE = 1; then
1222 DEFAULT_wxUSE_THREADS
=yes
1224 DEFAULT_wxUSE_SHARED
=yes
1225 DEFAULT_wxUSE_OPTIMISE
=yes
1226 DEFAULT_wxUSE_PROFILE
=no
1227 DEFAULT_wxUSE_NO_DEPS
=no
1228 DEFAULT_wxUSE_NO_RTTI
=no
1229 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1230 DEFAULT_wxUSE_PERMISSIVE
=no
1231 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1232 DEFAULT_wxUSE_DEBUG_INFO
=yes
1233 DEFAULT_wxUSE_DEBUG_GDB
=yes
1234 DEFAULT_wxUSE_MEM_TRACING
=no
1235 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1236 DEFAULT_wxUSE_DMALLOC
=no
1237 DEFAULT_wxUSE_APPLE_IEEE
=no
1239 DEFAULT_wxUSE_LOG
=yes
1241 DEFAULT_wxUSE_GUI
=yes
1243 DEFAULT_wxUSE_ZLIB
=no
1244 DEFAULT_wxUSE_LIBPNG
=no
1245 DEFAULT_wxUSE_LIBJPEG
=no
1246 DEFAULT_wxUSE_ODBC
=no
1248 DEFAULT_wxUSE_STD_IOSTREAM
=no
1249 DEFAULT_wxUSE_FILE
=no
1250 DEFAULT_wxUSE_TEXTFILE
=no
1251 DEFAULT_wxUSE_TIMEDATE
=no
1252 DEFAULT_wxUSE_WAVE
=no
1253 DEFAULT_wxUSE_INTL
=no
1254 DEFAULT_wxUSE_CONFIG
=no
1255 DEFAULT_wxUSE_STREAMS
=no
1256 DEFAULT_wxUSE_SOCKETS
=no
1257 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1258 DEFAULT_wxUSE_SERIAL
=no
1259 DEFAULT_wxUSE_JOYSTICK
=no
1260 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1261 DEFAULT_wxUSE_LONGLONG
=no
1263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1265 DEFAULT_wxUSE_POSTSCRIPT
=no
1267 DEFAULT_wxUSE_X_RESOURCES
=no
1268 DEFAULT_wxUSE_CLIPBOARD
=no
1269 DEFAULT_wxUSE_TOOLTIPS
=no
1270 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1271 DEFAULT_wxUSE_SPLINES
=no
1273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1277 DEFAULT_wxUSE_PROLOGIO
=no
1278 DEFAULT_wxUSE_RESOURCES
=no
1279 DEFAULT_wxUSE_CONSTRAINTS
=no
1280 DEFAULT_wxUSE_IPC
=no
1281 DEFAULT_wxUSE_HELP
=no
1282 DEFAULT_wxUSE_WXTREE
=no
1283 DEFAULT_wxUSE_METAFILE
=no
1285 DEFAULT_wxUSE_COMMONDLGS
=no
1286 DEFAULT_wxUSE_DIRDLG
=no
1287 DEFAULT_wxUSE_TEXTDLG
=no
1288 DEFAULT_wxUSE_STARTUP_TIPS
=no
1289 DEFAULT_wxUSE_PROGRESSDLG
=no
1290 DEFAULT_wxUSE_MINIFRAME
=no
1291 DEFAULT_wxUSE_HTML
=no
1292 DEFAULT_wxUSE_FS_INET
=no
1293 DEFAULT_wxUSE_FS_ZIP
=no
1294 DEFAULT_wxUSE_BUSYINFO
=no
1295 DEFAULT_wxUSE_ZIPSTREAM
=no
1296 DEFAULT_wxUSE_VALIDATORS
=yes
1298 DEFAULT_wxUSE_ACCEL
=no
1299 DEFAULT_wxUSE_CARET
=no
1300 DEFAULT_wxUSE_BMPBUTTON
=no
1301 DEFAULT_wxUSE_CHECKBOX
=no
1302 DEFAULT_wxUSE_CHECKLST
=no
1303 DEFAULT_wxUSE_CHOICE
=yes
1304 DEFAULT_wxUSE_COMBOBOX
=no
1305 DEFAULT_wxUSE_GAUGE
=no
1306 DEFAULT_wxUSE_GRID
=no
1307 DEFAULT_wxUSE_NEW_GRID
=no
1308 DEFAULT_wxUSE_IMAGLIST
=no
1309 DEFAULT_wxUSE_LISTBOX
=no
1310 DEFAULT_wxUSE_LISTCTRL
=no
1311 DEFAULT_wxUSE_NOTEBOOK
=no
1312 DEFAULT_wxUSE_RADIOBOX
=no
1313 DEFAULT_wxUSE_RADIOBTN
=no
1314 DEFAULT_wxUSE_SASH
=no
1315 DEFAULT_wxUSE_SCROLLBAR
=no
1316 DEFAULT_wxUSE_SLIDER
=no
1317 DEFAULT_wxUSE_SPINBTN
=no
1318 DEFAULT_wxUSE_SPLITTER
=no
1319 DEFAULT_wxUSE_STATBMP
=no
1320 DEFAULT_wxUSE_STATBOX
=no
1321 DEFAULT_wxUSE_STATLINE
=no
1322 DEFAULT_wxUSE_STATUSBAR
=yes
1323 DEFAULT_wxUSE_TABDIALOG
=no
1324 DEFAULT_wxUSE_TOOLBAR
=no
1325 DEFAULT_wxUSE_TREECTRL
=no
1327 DEFAULT_wxUSE_UNICODE
=no
1328 DEFAULT_wxUSE_WCSRTOMBS
=no
1330 DEFAULT_wxUSE_GIF
=no
1331 DEFAULT_wxUSE_PCX
=no
1332 DEFAULT_wxUSE_PNM
=no
1334 DEFAULT_wxUSE_THREADS
=yes
1336 DEFAULT_wxUSE_SHARED
=yes
1337 DEFAULT_wxUSE_OPTIMISE
=yes
1338 DEFAULT_wxUSE_PROFILE
=no
1339 DEFAULT_wxUSE_NO_DEPS
=no
1340 DEFAULT_wxUSE_NO_RTTI
=no
1341 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1342 DEFAULT_wxUSE_PERMISSIVE
=no
1343 DEFAULT_wxUSE_DEBUG_FLAG
=no
1344 DEFAULT_wxUSE_DEBUG_INFO
=no
1345 DEFAULT_wxUSE_DEBUG_GDB
=no
1346 DEFAULT_wxUSE_MEM_TRACING
=no
1347 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1348 DEFAULT_wxUSE_DMALLOC
=no
1349 DEFAULT_wxUSE_APPLE_IEEE
=yes
1351 DEFAULT_wxUSE_LOG
=yes
1353 DEFAULT_wxUSE_GUI
=yes
1355 DEFAULT_wxUSE_ZLIB
=yes
1356 DEFAULT_wxUSE_LIBPNG
=yes
1357 DEFAULT_wxUSE_LIBJPEG
=yes
1358 DEFAULT_wxUSE_ODBC
=yes
1360 DEFAULT_wxUSE_STD_IOSTREAM
=no
1361 DEFAULT_wxUSE_FILE
=yes
1362 DEFAULT_wxUSE_TEXTFILE
=yes
1363 DEFAULT_wxUSE_TIMEDATE
=yes
1364 DEFAULT_wxUSE_WAVE
=no
1365 DEFAULT_wxUSE_INTL
=yes
1366 DEFAULT_wxUSE_CONFIG
=yes
1367 DEFAULT_wxUSE_STREAMS
=yes
1368 DEFAULT_wxUSE_SOCKETS
=yes
1369 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1370 DEFAULT_wxUSE_SERIAL
=yes
1371 DEFAULT_wxUSE_JOYSTICK
=yes
1372 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1373 DEFAULT_wxUSE_LONGLONG
=no
1375 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1376 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1377 DEFAULT_wxUSE_POSTSCRIPT
=yes
1379 DEFAULT_wxUSE_X_RESOURCES
=no
1380 DEFAULT_wxUSE_CLIPBOARD
=yes
1381 DEFAULT_wxUSE_TOOLTIPS
=yes
1382 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1383 DEFAULT_wxUSE_SPLINES
=yes
1385 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1386 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1387 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1389 DEFAULT_wxUSE_PROLOGIO
=yes
1390 DEFAULT_wxUSE_RESOURCES
=yes
1391 DEFAULT_wxUSE_CONSTRAINTS
=yes
1392 DEFAULT_wxUSE_IPC
=yes
1393 DEFAULT_wxUSE_HELP
=yes
1394 DEFAULT_wxUSE_WXTREE
=yes
1395 DEFAULT_wxUSE_METAFILE
=yes
1397 DEFAULT_wxUSE_COMMONDLGS
=yes
1398 DEFAULT_wxUSE_DIRDLG
=yes
1399 DEFAULT_wxUSE_TEXTDLG
=yes
1400 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1401 DEFAULT_wxUSE_PROGRESSDLG
=yes
1402 DEFAULT_wxUSE_MINIFRAME
=yes
1403 DEFAULT_wxUSE_HTML
=yes
1404 DEFAULT_wxUSE_FS_INET
=yes
1405 DEFAULT_wxUSE_FS_ZIP
=yes
1406 DEFAULT_wxUSE_BUSYINFO
=yes
1407 DEFAULT_wxUSE_ZIPSTREAM
=yes
1408 DEFAULT_wxUSE_VALIDATORS
=yes
1410 DEFAULT_wxUSE_ACCEL
=yes
1411 DEFAULT_wxUSE_CARET
=yes
1412 DEFAULT_wxUSE_BMPBUTTON
=yes
1413 DEFAULT_wxUSE_CHECKBOX
=yes
1414 DEFAULT_wxUSE_CHECKLST
=yes
1415 DEFAULT_wxUSE_CHOICE
=yes
1416 DEFAULT_wxUSE_COMBOBOX
=yes
1417 DEFAULT_wxUSE_GAUGE
=yes
1418 DEFAULT_wxUSE_GRID
=yes
1419 DEFAULT_wxUSE_NEW_GRID
=yes
1420 DEFAULT_wxUSE_IMAGLIST
=yes
1421 DEFAULT_wxUSE_LISTBOX
=yes
1422 DEFAULT_wxUSE_LISTCTRL
=yes
1423 DEFAULT_wxUSE_NOTEBOOK
=yes
1424 DEFAULT_wxUSE_RADIOBOX
=yes
1425 DEFAULT_wxUSE_RADIOBTN
=yes
1426 DEFAULT_wxUSE_SASH
=yes
1427 DEFAULT_wxUSE_SCROLLBAR
=yes
1428 DEFAULT_wxUSE_SLIDER
=yes
1429 DEFAULT_wxUSE_SPINBTN
=yes
1430 DEFAULT_wxUSE_SPLITTER
=yes
1431 DEFAULT_wxUSE_STATBMP
=yes
1432 DEFAULT_wxUSE_STATBOX
=yes
1433 DEFAULT_wxUSE_STATLINE
=yes
1434 DEFAULT_wxUSE_STATUSBAR
=yes
1435 DEFAULT_wxUSE_TABDIALOG
=no
1436 DEFAULT_wxUSE_TOOLBAR
=yes
1437 DEFAULT_wxUSE_TREECTRL
=yes
1439 DEFAULT_wxUSE_UNICODE
=no
1440 DEFAULT_wxUSE_WCSRTOMBS
=no
1442 DEFAULT_wxUSE_GIF
=yes
1443 DEFAULT_wxUSE_PCX
=yes
1444 DEFAULT_wxUSE_PNM
=yes
1449 for toolkit
in `echo $ALL_TOOLKITS`; do
1450 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1451 if test "x$LINE" != x
; then
1452 has_toolkit_in_cache
=1
1453 eval "DEFAULT_$LINE"
1454 eval "CACHE_$toolkit=1"
1460 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1461 echo "configure:1462: checking "for --enable-gui"" >&5
1463 # Check whether --enable-gui or --disable-gui was given.
1464 if test "${enable_gui+set}" = set; then
1465 enableval
="$enable_gui"
1467 if test "$enableval" = yes; then
1468 ac_cv_use_gui
='wxUSE_GUI=yes'
1470 ac_cv_use_gui
='wxUSE_GUI=no'
1475 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1476 if test "x$LINE" != x
; then
1477 eval "DEFAULT_$LINE"
1482 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1487 eval "$ac_cv_use_gui"
1488 if test "$no_cache" != 1; then
1489 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1492 if test "$wxUSE_GUI" = yes; then
1493 echo "$ac_t""yes" 1>&6
1495 echo "$ac_t""no" 1>&6
1499 if test "$wxUSE_GUI" = "no"; then
1500 DEFAULT_wxUSE_ZLIB
=no
1501 DEFAULT_wxUSE_LIBPNG
=no
1502 DEFAULT_wxUSE_LIBJPEG
=no
1503 DEFAULT_wxUSE_SOCKETS
=no
1504 DEFAULT_wxUSE_JOYSTICK
=no
1505 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1506 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1507 DEFAULT_wxUSE_POSTSCRIPT
=no
1508 DEFAULT_wxUSE_X_RESOURCES
=no
1509 DEFAULT_wxUSE_CLIPBOARD
=no
1510 DEFAULT_wxUSE_TOOLTIPS
=no
1511 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1512 DEFAULT_wxUSE_SPLINES
=no
1513 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1514 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1515 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1516 DEFAULT_wxUSE_PROLOGIO
=no
1517 DEFAULT_wxUSE_RESOURCES
=no
1518 DEFAULT_wxUSE_CONSTRAINTS
=no
1519 DEFAULT_wxUSE_IPC
=no
1520 DEFAULT_wxUSE_HELP
=no
1521 DEFAULT_wxUSE_WXTREE
=no
1522 DEFAULT_wxUSE_METAFILE
=no
1523 DEFAULT_wxUSE_COMMONDLGS
=no
1524 DEFAULT_wxUSE_DIRDLG
=no
1525 DEFAULT_wxUSE_TEXTDLG
=no
1526 DEFAULT_wxUSE_STARTUP_TIPS
=no
1527 DEFAULT_wxUSE_PROGRESSDLG
=no
1528 DEFAULT_wxUSE_MINIFRAME
=no
1529 DEFAULT_wxUSE_HTML
=no
1530 DEFAULT_wxUSE_FS_INET
=no
1531 DEFAULT_wxUSE_FS_ZIP
=no
1532 DEFAULT_wxUSE_BUSYINFO
=no
1533 DEFAULT_wxUSE_ZIPSTREAM
=no
1534 DEFAULT_wxUSE_VALIDATORS
=yes
1535 DEFAULT_wxUSE_ACCEL
=no
1536 DEFAULT_wxUSE_CARET
=no
1537 DEFAULT_wxUSE_BMPBUTTON
=no
1538 DEFAULT_wxUSE_CHECKBOX
=no
1539 DEFAULT_wxUSE_CHECKLST
=no
1540 DEFAULT_wxUSE_CHOICE
=yes
1541 DEFAULT_wxUSE_COMBOBOX
=no
1542 DEFAULT_wxUSE_GAUGE
=no
1543 DEFAULT_wxUSE_GRID
=no
1544 DEFAULT_wxUSE_NEW_GRID
=no
1545 DEFAULT_wxUSE_IMAGLIST
=no
1546 DEFAULT_wxUSE_LISTBOX
=no
1547 DEFAULT_wxUSE_LISTCTRL
=no
1548 DEFAULT_wxUSE_NOTEBOOK
=no
1549 DEFAULT_wxUSE_RADIOBOX
=no
1550 DEFAULT_wxUSE_RADIOBTN
=no
1551 DEFAULT_wxUSE_SASH
=no
1552 DEFAULT_wxUSE_SCROLLBAR
=no
1553 DEFAULT_wxUSE_SLIDER
=no
1554 DEFAULT_wxUSE_SPINBTN
=no
1555 DEFAULT_wxUSE_SPLITTER
=no
1556 DEFAULT_wxUSE_STATBMP
=no
1557 DEFAULT_wxUSE_STATBOX
=no
1558 DEFAULT_wxUSE_STATLINE
=no
1559 DEFAULT_wxUSE_STATUSBAR
=yes
1560 DEFAULT_wxUSE_TABDIALOG
=no
1561 DEFAULT_wxUSE_TOOLBAR
=no
1562 DEFAULT_wxUSE_TREECTRL
=no
1563 DEFAULT_wxUSE_GIF
=no
1564 DEFAULT_wxUSE_PCX
=no
1565 DEFAULT_wxUSE_PNM
=no
1568 # Check whether --with-gtk or --without-gtk was given.
1569 if test "${with_gtk+set}" = set; then
1571 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1574 # Check whether --with-motif or --without-motif was given.
1575 if test "${with_motif+set}" = set; then
1576 withval
="$with_motif"
1577 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1580 # Check whether --with-wine or --without-wine was given.
1581 if test "${with_wine+set}" = set; then
1582 withval
="$with_wine"
1583 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1586 # Check whether --with-cygwin or --without-cygwin was given.
1587 if test "${with_cygwin+set}" = set; then
1588 withval
="$with_cygwin"
1589 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1592 # Check whether --with-mingw or --without-mingw was given.
1593 if test "${with_mingw+set}" = set; then
1594 withval
="$with_mingw"
1595 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1599 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1600 if test "${with_gtk_prefix+set}" = set; then
1601 withval
="$with_gtk_prefix"
1602 gtk_config_prefix
="$withval"
1604 gtk_config_prefix
=""
1607 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1608 if test "${with_gtk_exec_prefix+set}" = set; then
1609 withval
="$with_gtk_exec_prefix"
1610 gtk_config_exec_prefix
="$withval"
1612 gtk_config_exec_prefix
=""
1617 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1618 echo "configure:1619: checking "for --with-dmalloc"" >&5
1620 # Check whether --with-dmalloc or --without-dmalloc was given.
1621 if test "${with_dmalloc+set}" = set; then
1622 withval
="$with_dmalloc"
1624 if test "$withval" = yes; then
1625 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1627 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1632 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1633 if test "x$LINE" != x
; then
1634 eval "DEFAULT_$LINE"
1639 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1644 eval "$ac_cv_use_dmalloc"
1645 if test "$no_cache" != 1; then
1646 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1649 if test "$wxUSE_DMALLOC" = yes; then
1650 echo "$ac_t""yes" 1>&6
1652 echo "$ac_t""no" 1>&6
1656 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1657 echo "configure:1658: checking "for --with-zlib"" >&5
1659 # Check whether --with-zlib or --without-zlib was given.
1660 if test "${with_zlib+set}" = set; then
1661 withval
="$with_zlib"
1663 if test "$withval" = yes; then
1664 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1666 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1671 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1672 if test "x$LINE" != x
; then
1673 eval "DEFAULT_$LINE"
1678 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1683 eval "$ac_cv_use_zlib"
1684 if test "$no_cache" != 1; then
1685 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1688 if test "$wxUSE_ZLIB" = yes; then
1689 echo "$ac_t""yes" 1>&6
1691 echo "$ac_t""no" 1>&6
1695 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1696 echo "configure:1697: checking "for --with-libpng"" >&5
1698 # Check whether --with-libpng or --without-libpng was given.
1699 if test "${with_libpng+set}" = set; then
1700 withval
="$with_libpng"
1702 if test "$withval" = yes; then
1703 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1705 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1710 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1711 if test "x$LINE" != x
; then
1712 eval "DEFAULT_$LINE"
1717 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1722 eval "$ac_cv_use_libpng"
1723 if test "$no_cache" != 1; then
1724 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1727 if test "$wxUSE_LIBPNG" = yes; then
1728 echo "$ac_t""yes" 1>&6
1730 echo "$ac_t""no" 1>&6
1734 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1735 echo "configure:1736: checking "for --with-libjpeg"" >&5
1737 # Check whether --with-libjpeg or --without-libjpeg was given.
1738 if test "${with_libjpeg+set}" = set; then
1739 withval
="$with_libjpeg"
1741 if test "$withval" = yes; then
1742 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1744 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1749 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1750 if test "x$LINE" != x
; then
1751 eval "DEFAULT_$LINE"
1756 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1761 eval "$ac_cv_use_libjpeg"
1762 if test "$no_cache" != 1; then
1763 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1766 if test "$wxUSE_LIBJPEG" = yes; then
1767 echo "$ac_t""yes" 1>&6
1769 echo "$ac_t""no" 1>&6
1773 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1774 echo "configure:1775: checking "for --with-opengl"" >&5
1776 # Check whether --with-opengl or --without-opengl was given.
1777 if test "${with_opengl+set}" = set; then
1778 withval
="$with_opengl"
1780 if test "$withval" = yes; then
1781 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1783 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1788 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1789 if test "x$LINE" != x
; then
1790 eval "DEFAULT_$LINE"
1795 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1800 eval "$ac_cv_use_opengl"
1801 if test "$no_cache" != 1; then
1802 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1805 if test "$wxUSE_OPENGL" = yes; then
1806 echo "$ac_t""yes" 1>&6
1808 echo "$ac_t""no" 1>&6
1812 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1813 echo "configure:1814: checking "for --with-odbc"" >&5
1815 # Check whether --with-odbc or --without-odbc was given.
1816 if test "${with_odbc+set}" = set; then
1817 withval
="$with_odbc"
1819 if test "$withval" = yes; then
1820 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1822 ac_cv_use_odbc
='wxUSE_ODBC=no'
1827 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1839 eval "$ac_cv_use_odbc"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_ODBC" = yes; then
1845 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1854 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1855 echo "configure:1856: checking "for --enable-shared"" >&5
1857 # Check whether --enable-shared or --disable-shared was given.
1858 if test "${enable_shared+set}" = set; then
1859 enableval
="$enable_shared"
1861 if test "$enableval" = yes; then
1862 ac_cv_use_shared
='wxUSE_SHARED=yes'
1864 ac_cv_use_shared
='wxUSE_SHARED=no'
1869 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1881 eval "$ac_cv_use_shared"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_SHARED" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1893 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1894 echo "configure:1895: checking "for --enable-optimise"" >&5
1896 # Check whether --enable-optimise or --disable-optimise was given.
1897 if test "${enable_optimise+set}" = set; then
1898 enableval
="$enable_optimise"
1900 if test "$enableval" = yes; then
1901 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1903 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1908 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x
; then
1910 eval "DEFAULT_$LINE"
1915 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1920 eval "$ac_cv_use_optimise"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1925 if test "$wxUSE_OPTIMISE" = yes; then
1926 echo "$ac_t""yes" 1>&6
1928 echo "$ac_t""no" 1>&6
1932 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1933 echo "configure:1934: checking "for --enable-debug"" >&5
1935 # Check whether --enable-debug or --disable-debug was given.
1936 if test "${enable_debug+set}" = set; then
1937 enableval
="$enable_debug"
1939 if test "$enableval" = yes; then
1940 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1942 ac_cv_use_debug
='wxUSE_DEBUG=no'
1947 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1948 if test "x$LINE" != x
; then
1949 eval "DEFAULT_$LINE"
1954 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1959 eval "$ac_cv_use_debug"
1960 if test "$no_cache" != 1; then
1961 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1964 if test "$wxUSE_DEBUG" = yes; then
1965 echo "$ac_t""yes" 1>&6
1967 echo "$ac_t""no" 1>&6
1971 if test "$wxUSE_DEBUG" = "yes"; then
1972 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1973 DEFAULT_wxUSE_DEBUG_INFO
=yes
1974 elif test "$wxUSE_DEBUG" = "no"; then
1975 DEFAULT_wxUSE_DEBUG_FLAG
=no
1976 DEFAULT_wxUSE_DEBUG_INFO
=no
1980 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1981 echo "configure:1982: checking "for --enable-debug_flag"" >&5
1983 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1984 if test "${enable_debug_flag+set}" = set; then
1985 enableval
="$enable_debug_flag"
1987 if test "$enableval" = yes; then
1988 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1990 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1995 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x
; then
1997 eval "DEFAULT_$LINE"
2002 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2007 eval "$ac_cv_use_debug_flag"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2012 if test "$wxUSE_DEBUG_FLAG" = yes; then
2013 echo "$ac_t""yes" 1>&6
2015 echo "$ac_t""no" 1>&6
2019 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-debug_info"" >&5
2022 # Check whether --enable-debug_info or --disable-debug_info was given.
2023 if test "${enable_debug_info+set}" = set; then
2024 enableval
="$enable_debug_info"
2026 if test "$enableval" = yes; then
2027 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2029 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2034 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x
; then
2036 eval "DEFAULT_$LINE"
2041 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2046 eval "$ac_cv_use_debug_info"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2051 if test "$wxUSE_DEBUG_INFO" = yes; then
2052 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-debug_gdb"" >&5
2061 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2062 if test "${enable_debug_gdb+set}" = set; then
2063 enableval
="$enable_debug_gdb"
2065 if test "$enableval" = yes; then
2066 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2068 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2073 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2085 eval "$ac_cv_use_debug_gdb"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_DEBUG_GDB" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-debug_cntxt"" >&5
2100 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2101 if test "${enable_debug_cntxt+set}" = set; then
2102 enableval
="$enable_debug_cntxt"
2104 if test "$enableval" = yes; then
2105 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2107 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2112 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2124 eval "$ac_cv_use_debug_cntxt"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2137 echo "configure:2138: checking "for --enable-mem_tracing"" >&5
2139 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2140 if test "${enable_mem_tracing+set}" = set; then
2141 enableval
="$enable_mem_tracing"
2143 if test "$enableval" = yes; then
2144 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2146 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2151 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2163 eval "$ac_cv_use_mem_tracing"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_MEM_TRACING" = yes; then
2169 echo "$ac_t""yes" 1>&6
2171 echo "$ac_t""no" 1>&6
2175 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-profile"" >&5
2178 # Check whether --enable-profile or --disable-profile was given.
2179 if test "${enable_profile+set}" = set; then
2180 enableval
="$enable_profile"
2182 if test "$enableval" = yes; then
2183 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2185 ac_cv_use_profile
='wxUSE_PROFILE=no'
2190 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2202 eval "$ac_cv_use_profile"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_PROFILE" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-no_rtti"" >&5
2217 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2218 if test "${enable_no_rtti+set}" = set; then
2219 enableval
="$enable_no_rtti"
2221 if test "$enableval" = yes; then
2222 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2224 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2229 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2241 eval "$ac_cv_use_no_rtti"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_NO_RTTI" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2253 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2254 echo "configure:2255: checking "for --enable-no_exceptions"" >&5
2256 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2257 if test "${enable_no_exceptions+set}" = set; then
2258 enableval
="$enable_no_exceptions"
2260 if test "$enableval" = yes; then
2261 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2263 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2268 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2269 if test "x$LINE" != x
; then
2270 eval "DEFAULT_$LINE"
2275 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2280 eval "$ac_cv_use_no_exceptions"
2281 if test "$no_cache" != 1; then
2282 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2285 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2286 echo "$ac_t""yes" 1>&6
2288 echo "$ac_t""no" 1>&6
2292 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2293 echo "configure:2294: checking "for --enable-permissive"" >&5
2295 # Check whether --enable-permissive or --disable-permissive was given.
2296 if test "${enable_permissive+set}" = set; then
2297 enableval
="$enable_permissive"
2299 if test "$enableval" = yes; then
2300 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2302 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2307 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x
; then
2309 eval "DEFAULT_$LINE"
2314 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2319 eval "$ac_cv_use_permissive"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_PERMISSIVE" = yes; then
2325 echo "$ac_t""yes" 1>&6
2327 echo "$ac_t""no" 1>&6
2331 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2332 echo "configure:2333: checking "for --enable-no_deps"" >&5
2334 # Check whether --enable-no_deps or --disable-no_deps was given.
2335 if test "${enable_no_deps+set}" = set; then
2336 enableval
="$enable_no_deps"
2338 if test "$enableval" = yes; then
2339 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2341 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2346 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x
; then
2348 eval "DEFAULT_$LINE"
2353 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2358 eval "$ac_cv_use_no_deps"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_NO_DEPS" = yes; then
2364 echo "$ac_t""yes" 1>&6
2366 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2373 echo "configure:2374: checking "for --enable-intl"" >&5
2375 # Check whether --enable-intl or --disable-intl was given.
2376 if test "${enable_intl+set}" = set; then
2377 enableval
="$enable_intl"
2379 if test "$enableval" = yes; then
2380 ac_cv_use_intl
='wxUSE_INTL=yes'
2382 ac_cv_use_intl
='wxUSE_INTL=no'
2387 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x
; then
2389 eval "DEFAULT_$LINE"
2394 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2399 eval "$ac_cv_use_intl"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_INTL" = yes; then
2405 echo "$ac_t""yes" 1>&6
2407 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2412 echo "configure:2413: checking "for --enable-config"" >&5
2414 # Check whether --enable-config or --disable-config was given.
2415 if test "${enable_config+set}" = set; then
2416 enableval
="$enable_config"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_config
='wxUSE_CONFIG=yes'
2421 ac_cv_use_config
='wxUSE_CONFIG=no'
2426 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2438 eval "$ac_cv_use_config"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_CONFIG" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2451 echo "configure:2452: checking "for --enable-sockets"" >&5
2453 # Check whether --enable-sockets or --disable-sockets was given.
2454 if test "${enable_sockets+set}" = set; then
2455 enableval
="$enable_sockets"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2460 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2465 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2477 eval "$ac_cv_use_sockets"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_SOCKETS" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2489 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2490 echo "configure:2491: checking "for --enable-dialupman"" >&5
2492 # Check whether --enable-dialupman or --disable-dialupman was given.
2493 if test "${enable_dialupman+set}" = set; then
2494 enableval
="$enable_dialupman"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2499 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2504 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2516 eval "$ac_cv_use_dialupman"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2522 echo "$ac_t""yes" 1>&6
2524 echo "$ac_t""no" 1>&6
2528 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2529 echo "configure:2530: checking "for --enable-ipc"" >&5
2531 # Check whether --enable-ipc or --disable-ipc was given.
2532 if test "${enable_ipc+set}" = set; then
2533 enableval
="$enable_ipc"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_ipc
='wxUSE_IPC=yes'
2538 ac_cv_use_ipc
='wxUSE_IPC=no'
2543 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2555 eval "$ac_cv_use_ipc"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_IPC" = yes; then
2561 echo "$ac_t""yes" 1>&6
2563 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2568 echo "configure:2569: checking "for --enable-apple_ieee"" >&5
2570 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2571 if test "${enable_apple_ieee+set}" = set; then
2572 enableval
="$enable_apple_ieee"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2577 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2582 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2594 eval "$ac_cv_use_apple_ieee"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_APPLE_IEEE" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2607 echo "configure:2608: checking "for --enable-timedate"" >&5
2609 # Check whether --enable-timedate or --disable-timedate was given.
2610 if test "${enable_timedate+set}" = set; then
2611 enableval
="$enable_timedate"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2616 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2621 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2633 eval "$ac_cv_use_timedate"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_TIMEDATE" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2645 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2646 echo "configure:2647: checking "for --enable-wave"" >&5
2648 # Check whether --enable-wave or --disable-wave was given.
2649 if test "${enable_wave+set}" = set; then
2650 enableval
="$enable_wave"
2652 if test "$enableval" = yes; then
2653 ac_cv_use_wave
='wxUSE_WAVE=yes'
2655 ac_cv_use_wave
='wxUSE_WAVE=no'
2660 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x
; then
2662 eval "DEFAULT_$LINE"
2667 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2672 eval "$ac_cv_use_wave"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_WAVE" = yes; then
2678 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2684 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2685 echo "configure:2686: checking "for --enable-fraction"" >&5
2687 # Check whether --enable-fraction or --disable-fraction was given.
2688 if test "${enable_fraction+set}" = set; then
2689 enableval
="$enable_fraction"
2691 if test "$enableval" = yes; then
2692 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2694 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2699 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x
; then
2701 eval "DEFAULT_$LINE"
2706 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2711 eval "$ac_cv_use_fraction"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_FRACTION" = yes; then
2717 echo "$ac_t""yes" 1>&6
2719 echo "$ac_t""no" 1>&6
2723 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2724 echo "configure:2725: checking "for --enable-dynlib"" >&5
2726 # Check whether --enable-dynlib or --disable-dynlib was given.
2727 if test "${enable_dynlib+set}" = set; then
2728 enableval
="$enable_dynlib"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2733 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2738 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2750 eval "$ac_cv_use_dynlib"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2756 echo "$ac_t""yes" 1>&6
2758 echo "$ac_t""no" 1>&6
2762 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2763 echo "configure:2764: checking "for --enable-longlong"" >&5
2765 # Check whether --enable-longlong or --disable-longlong was given.
2766 if test "${enable_longlong+set}" = set; then
2767 enableval
="$enable_longlong"
2769 if test "$enableval" = yes; then
2770 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2772 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2777 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2789 eval "$ac_cv_use_longlong"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_LONGLONG" = yes; then
2795 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no" 1>&6
2801 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2802 echo "configure:2803: checking "for --enable-log"" >&5
2804 # Check whether --enable-log or --disable-log was given.
2805 if test "${enable_log+set}" = set; then
2806 enableval
="$enable_log"
2808 if test "$enableval" = yes; then
2809 ac_cv_use_log
='wxUSE_LOG=yes'
2811 ac_cv_use_log
='wxUSE_LOG=no'
2816 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x
; then
2818 eval "DEFAULT_$LINE"
2823 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2828 eval "$ac_cv_use_log"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2833 if test "$wxUSE_LOG" = yes; then
2834 echo "$ac_t""yes" 1>&6
2836 echo "$ac_t""no" 1>&6
2840 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2841 echo "configure:2842: checking "for --enable-streams"" >&5
2843 # Check whether --enable-streams or --disable-streams was given.
2844 if test "${enable_streams+set}" = set; then
2845 enableval
="$enable_streams"
2847 if test "$enableval" = yes; then
2848 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2850 ac_cv_use_streams
='wxUSE_STREAMS=no'
2855 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2856 if test "x$LINE" != x
; then
2857 eval "DEFAULT_$LINE"
2862 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2867 eval "$ac_cv_use_streams"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2872 if test "$wxUSE_STREAMS" = yes; then
2873 echo "$ac_t""yes" 1>&6
2875 echo "$ac_t""no" 1>&6
2879 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2880 echo "configure:2881: checking "for --enable-file"" >&5
2882 # Check whether --enable-file or --disable-file was given.
2883 if test "${enable_file+set}" = set; then
2884 enableval
="$enable_file"
2886 if test "$enableval" = yes; then
2887 ac_cv_use_file
='wxUSE_FILE=yes'
2889 ac_cv_use_file
='wxUSE_FILE=no'
2894 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2895 if test "x$LINE" != x
; then
2896 eval "DEFAULT_$LINE"
2901 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2906 eval "$ac_cv_use_file"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2911 if test "$wxUSE_FILE" = yes; then
2912 echo "$ac_t""yes" 1>&6
2914 echo "$ac_t""no" 1>&6
2918 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2919 echo "configure:2920: checking "for --enable-textfile"" >&5
2921 # Check whether --enable-textfile or --disable-textfile was given.
2922 if test "${enable_textfile+set}" = set; then
2923 enableval
="$enable_textfile"
2925 if test "$enableval" = yes; then
2926 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2928 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2933 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2934 if test "x$LINE" != x
; then
2935 eval "DEFAULT_$LINE"
2940 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2945 eval "$ac_cv_use_textfile"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2950 if test "$wxUSE_TEXTFILE" = yes; then
2951 echo "$ac_t""yes" 1>&6
2953 echo "$ac_t""no" 1>&6
2957 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2958 echo "configure:2959: checking "for --enable-unicode"" >&5
2960 # Check whether --enable-unicode or --disable-unicode was given.
2961 if test "${enable_unicode+set}" = set; then
2962 enableval
="$enable_unicode"
2964 if test "$enableval" = yes; then
2965 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2967 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2972 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2973 if test "x$LINE" != x
; then
2974 eval "DEFAULT_$LINE"
2979 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2984 eval "$ac_cv_use_unicode"
2985 if test "$no_cache" != 1; then
2986 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2989 if test "$wxUSE_UNICODE" = yes; then
2990 echo "$ac_t""yes" 1>&6
2992 echo "$ac_t""no" 1>&6
2996 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2997 echo "configure:2998: checking "for --enable-wcsrtombs"" >&5
2999 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3000 if test "${enable_wcsrtombs+set}" = set; then
3001 enableval
="$enable_wcsrtombs"
3003 if test "$enableval" = yes; then
3004 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3006 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3011 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3012 if test "x$LINE" != x
; then
3013 eval "DEFAULT_$LINE"
3018 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3023 eval "$ac_cv_use_wcsrtombs"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3028 if test "$wxUSE_WCSRTOMBS" = yes; then
3029 echo "$ac_t""yes" 1>&6
3031 echo "$ac_t""no" 1>&6
3035 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3036 echo "configure:3037: checking "for --enable-wxprintfv"" >&5
3038 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3039 if test "${enable_wxprintfv+set}" = set; then
3040 enableval
="$enable_wxprintfv"
3042 if test "$enableval" = yes; then
3043 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3045 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3050 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3051 if test "x$LINE" != x
; then
3052 eval "DEFAULT_$LINE"
3057 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3062 eval "$ac_cv_use_wxprintfv"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3067 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3068 echo "$ac_t""yes" 1>&6
3070 echo "$ac_t""no" 1>&6
3074 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3075 echo "configure:3076: checking "for --enable-joystick"" >&5
3077 # Check whether --enable-joystick or --disable-joystick was given.
3078 if test "${enable_joystick+set}" = set; then
3079 enableval
="$enable_joystick"
3081 if test "$enableval" = yes; then
3082 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3084 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3089 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x
; then
3091 eval "DEFAULT_$LINE"
3096 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3101 eval "$ac_cv_use_joystick"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3106 if test "$wxUSE_JOYSTICK" = yes; then
3107 echo "$ac_t""yes" 1>&6
3109 echo "$ac_t""no" 1>&6
3113 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3114 echo "configure:3115: checking "for --enable-std_iostreams"" >&5
3116 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3117 if test "${enable_std_iostreams+set}" = set; then
3118 enableval
="$enable_std_iostreams"
3120 if test "$enableval" = yes; then
3121 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3123 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3128 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x
; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3140 eval "$ac_cv_use_std_iostreams"
3141 if test "$no_cache" != 1; then
3142 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3145 if test "$wxUSE_STD_IOSTREAM" = yes; then
3146 echo "$ac_t""yes" 1>&6
3148 echo "$ac_t""no" 1>&6
3152 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3153 echo "configure:3154: checking "for --enable-fs_inet"" >&5
3155 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3156 if test "${enable_fs_inet+set}" = set; then
3157 enableval
="$enable_fs_inet"
3159 if test "$enableval" = yes; then
3160 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3162 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3167 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x
; then
3169 eval "DEFAULT_$LINE"
3174 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3179 eval "$ac_cv_use_fs_inet"
3180 if test "$no_cache" != 1; then
3181 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3184 if test "$wxUSE_FS_INET" = yes; then
3185 echo "$ac_t""yes" 1>&6
3187 echo "$ac_t""no" 1>&6
3191 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3192 echo "configure:3193: checking "for --enable-fs_zip"" >&5
3194 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3195 if test "${enable_fs_zip+set}" = set; then
3196 enableval
="$enable_fs_zip"
3198 if test "$enableval" = yes; then
3199 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3201 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3206 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3207 if test "x$LINE" != x
; then
3208 eval "DEFAULT_$LINE"
3213 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3218 eval "$ac_cv_use_fs_zip"
3219 if test "$no_cache" != 1; then
3220 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3223 if test "$wxUSE_FS_ZIP" = yes; then
3224 echo "$ac_t""yes" 1>&6
3226 echo "$ac_t""no" 1>&6
3230 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3231 echo "configure:3232: checking "for --enable-zipstream"" >&5
3233 # Check whether --enable-zipstream or --disable-zipstream was given.
3234 if test "${enable_zipstream+set}" = set; then
3235 enableval
="$enable_zipstream"
3237 if test "$enableval" = yes; then
3238 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3240 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3245 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3257 eval "$ac_cv_use_zipstream"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3262 if test "$wxUSE_ZIPSTREAM" = yes; then
3263 echo "$ac_t""yes" 1>&6
3265 echo "$ac_t""no" 1>&6
3271 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3272 echo "configure:3273: checking "for --enable-threads"" >&5
3274 # Check whether --enable-threads or --disable-threads was given.
3275 if test "${enable_threads+set}" = set; then
3276 enableval
="$enable_threads"
3278 if test "$enableval" = yes; then
3279 ac_cv_use_threads
='wxUSE_THREADS=yes'
3281 ac_cv_use_threads
='wxUSE_THREADS=no'
3286 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x
; then
3288 eval "DEFAULT_$LINE"
3293 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3298 eval "$ac_cv_use_threads"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3303 if test "$wxUSE_THREADS" = yes; then
3304 echo "$ac_t""yes" 1>&6
3306 echo "$ac_t""no" 1>&6
3310 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3311 echo "configure:3312: checking "for --enable-serial"" >&5
3313 # Check whether --enable-serial or --disable-serial was given.
3314 if test "${enable_serial+set}" = set; then
3315 enableval
="$enable_serial"
3317 if test "$enableval" = yes; then
3318 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3320 ac_cv_use_serial
='wxUSE_SERIAL=no'
3325 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x
; then
3327 eval "DEFAULT_$LINE"
3332 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3337 eval "$ac_cv_use_serial"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3342 if test "$wxUSE_SERIAL" = yes; then
3343 echo "$ac_t""yes" 1>&6
3345 echo "$ac_t""no" 1>&6
3351 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3352 echo "configure:3353: checking "for --enable-docview"" >&5
3354 # Check whether --enable-docview or --disable-docview was given.
3355 if test "${enable_docview+set}" = set; then
3356 enableval
="$enable_docview"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3361 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3366 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3378 eval "$ac_cv_use_docview"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3384 echo "$ac_t""yes" 1>&6
3386 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3391 echo "configure:3392: checking "for --enable-help"" >&5
3393 # Check whether --enable-help or --disable-help was given.
3394 if test "${enable_help+set}" = set; then
3395 enableval
="$enable_help"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_help
='wxUSE_HELP=yes'
3400 ac_cv_use_help
='wxUSE_HELP=no'
3405 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3417 eval "$ac_cv_use_help"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_HELP" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3430 echo "configure:3431: checking "for --enable-constraints"" >&5
3432 # Check whether --enable-constraints or --disable-constraints was given.
3433 if test "${enable_constraints+set}" = set; then
3434 enableval
="$enable_constraints"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3439 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3444 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3456 eval "$ac_cv_use_constraints"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_CONSTRAINTS" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3469 echo "configure:3470: checking "for --enable-printarch"" >&5
3471 # Check whether --enable-printarch or --disable-printarch was given.
3472 if test "${enable_printarch+set}" = set; then
3473 enableval
="$enable_printarch"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3478 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3483 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3495 eval "$ac_cv_use_printarch"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3508 echo "configure:3509: checking "for --enable-mdi"" >&5
3510 # Check whether --enable-mdi or --disable-mdi was given.
3511 if test "${enable_mdi+set}" = set; then
3512 enableval
="$enable_mdi"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3517 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3522 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3534 eval "$ac_cv_use_mdi"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3547 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3548 echo "configure:3549: checking "for --enable-postscript"" >&5
3550 # Check whether --enable-postscript or --disable-postscript was given.
3551 if test "${enable_postscript+set}" = set; then
3552 enableval
="$enable_postscript"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3557 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3562 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3574 eval "$ac_cv_use_postscript"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_POSTSCRIPT" = yes; then
3580 echo "$ac_t""yes" 1>&6
3582 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3589 echo "configure:3590: checking "for --enable-prologio"" >&5
3591 # Check whether --enable-prologio or --disable-prologio was given.
3592 if test "${enable_prologio+set}" = set; then
3593 enableval
="$enable_prologio"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3598 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3603 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3615 eval "$ac_cv_use_prologio"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_PROLOGIO" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3627 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3628 echo "configure:3629: checking "for --enable-resources"" >&5
3630 # Check whether --enable-resources or --disable-resources was given.
3631 if test "${enable_resources+set}" = set; then
3632 enableval
="$enable_resources"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3637 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3642 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3654 eval "$ac_cv_use_resources"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_RESOURCES" = yes; then
3660 echo "$ac_t""yes" 1>&6
3662 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3668 echo "configure:3669: checking "for --enable-xresources"" >&5
3670 # Check whether --enable-xresources or --disable-xresources was given.
3671 if test "${enable_xresources+set}" = set; then
3672 enableval
="$enable_xresources"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3677 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3682 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3694 eval "$ac_cv_use_xresources"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_X_RESOURCES" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-clipboard"" >&5
3711 # Check whether --enable-clipboard or --disable-clipboard was given.
3712 if test "${enable_clipboard+set}" = set; then
3713 enableval
="$enable_clipboard"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3718 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3723 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3735 eval "$ac_cv_use_clipboard"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_CLIPBOARD" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3748 echo "configure:3749: checking "for --enable-dnd"" >&5
3750 # Check whether --enable-dnd or --disable-dnd was given.
3751 if test "${enable_dnd+set}" = set; then
3752 enableval
="$enable_dnd"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3757 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3762 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3774 eval "$ac_cv_use_dnd"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3787 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3788 echo "configure:3789: checking "for --enable-wxtree"" >&5
3790 # Check whether --enable-wxtree or --disable-wxtree was given.
3791 if test "${enable_wxtree+set}" = set; then
3792 enableval
="$enable_wxtree"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3797 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3802 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3814 eval "$ac_cv_use_wxtree"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_WXTREE" = yes; then
3820 echo "$ac_t""yes" 1>&6
3822 echo "$ac_t""no" 1>&6
3828 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3829 echo "configure:3830: checking "for --enable-controls"" >&5
3831 # Check whether --enable-controls or --disable-controls was given.
3832 if test "${enable_controls+set}" = set; then
3833 enableval
="$enable_controls"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3838 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3843 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3855 eval "$ac_cv_use_controls"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_CONTROLS" = yes; then
3861 echo "$ac_t""yes" 1>&6
3863 echo "$ac_t""no" 1>&6
3867 if test "$wxUSE_CONTROLS" = "yes"; then
3868 DEFAULT_wxUSE_ACCEL
=yes
3869 DEFAULT_wxUSE_CARET
=yes
3870 DEFAULT_wxUSE_COMBOBOX
=yes
3871 DEFAULT_wxUSE_BMPBUTTON
=yes
3872 DEFAULT_wxUSE_CHECKBOX
=yes
3873 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3874 DEFAULT_wxUSE_CHOICE
=yes
3875 DEFAULT_wxUSE_GAUGE
=yes
3876 DEFAULT_wxUSE_GRID
=yes
3877 DEFAULT_wxUSE_NEW_GRID
=yes
3878 DEFAULT_wxUSE_IMAGLIST
=yes
3879 DEFAULT_wxUSE_LISTBOX
=yes
3880 DEFAULT_wxUSE_LISTCTRL
=yes
3881 DEFAULT_wxUSE_NOTEBOOK
=yes
3882 DEFAULT_wxUSE_RADIOBOX
=yes
3883 DEFAULT_wxUSE_RADIOBTN
=yes
3884 DEFAULT_wxUSE_SASH
=yes
3885 DEFAULT_wxUSE_SCROLLBAR
=yes
3886 DEFAULT_wxUSE_SLIDER
=yes
3887 DEFAULT_wxUSE_SPINBTN
=yes
3888 DEFAULT_wxUSE_SPLITTER
=yes
3889 DEFAULT_wxUSE_STATBMP
=yes
3890 DEFAULT_wxUSE_STATBOX
=yes
3891 DEFAULT_wxUSE_STATLINE
=yes
3892 DEFAULT_wxUSE_STATUSBAR
=yes
3893 DEFAULT_wxUSE_TAB_DIALOG
=yes
3894 DEFAULT_wxUSE_TOOLBAR
=yes
3895 DEFAULT_wxUSE_TOOLTIPS
=yes
3896 DEFAULT_wxUSE_TREECTRL
=yes
3897 elif test "$wxUSE_CONTROLS" = "no"; then
3898 DEFAULT_wxUSE_ACCEL
=no
3899 DEFAULT_wxUSE_CARET
=no
3900 DEFAULT_wxUSE_COMBOBOX
=no
3901 DEFAULT_wxUSE_BMPBUTTON
=no
3902 DEFAULT_wxUSE_CHECKBOX
=no
3903 DEFAULT_wxUSE_CHECKLISTBOX
=no
3904 DEFAULT_wxUSE_CHOICE
=no
3905 DEFAULT_wxUSE_GAUGE
=no
3906 DEFAULT_wxUSE_GRID
=no
3907 DEFAULT_wxUSE_NEW_GRID
=no
3908 DEFAULT_wxUSE_IMAGLIST
=no
3909 DEFAULT_wxUSE_LISTBOX
=no
3910 DEFAULT_wxUSE_LISTCTRL
=no
3911 DEFAULT_wxUSE_NOTEBOOK
=no
3912 DEFAULT_wxUSE_RADIOBOX
=no
3913 DEFAULT_wxUSE_RADIOBTN
=no
3914 DEFAULT_wxUSE_SASH
=no
3915 DEFAULT_wxUSE_SCROLLBAR
=no
3916 DEFAULT_wxUSE_SLIDER
=no
3917 DEFAULT_wxUSE_SPINBTN
=no
3918 DEFAULT_wxUSE_SPLITTER
=no
3919 DEFAULT_wxUSE_STATBMP
=no
3920 DEFAULT_wxUSE_STATBOX
=no
3921 DEFAULT_wxUSE_STATLINE
=no
3922 DEFAULT_wxUSE_STATUSBAR
=no
3923 DEFAULT_wxUSE_TAB_DIALOG
=no
3924 DEFAULT_wxUSE_TOOLBAR
=no
3925 DEFAULT_wxUSE_TOOLTIPS
=no
3926 DEFAULT_wxUSE_TREECTRL
=no
3930 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3931 echo "configure:3932: checking "for --enable-accel"" >&5
3933 # Check whether --enable-accel or --disable-accel was given.
3934 if test "${enable_accel+set}" = set; then
3935 enableval
="$enable_accel"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3940 ac_cv_use_accel
='wxUSE_ACCEL=no'
3945 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3957 eval "$ac_cv_use_accel"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_ACCEL" = yes; then
3963 echo "$ac_t""yes" 1>&6
3965 echo "$ac_t""no" 1>&6
3969 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3970 echo "configure:3971: checking "for --enable-caret"" >&5
3972 # Check whether --enable-caret or --disable-caret was given.
3973 if test "${enable_caret+set}" = set; then
3974 enableval
="$enable_caret"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_caret
='wxUSE_CARET=yes'
3979 ac_cv_use_caret
='wxUSE_CARET=no'
3984 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3996 eval "$ac_cv_use_caret"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_CARET" = yes; then
4002 echo "$ac_t""yes" 1>&6
4004 echo "$ac_t""no" 1>&6
4008 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4009 echo "configure:4010: checking "for --enable-bmpbutton"" >&5
4011 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4012 if test "${enable_bmpbutton+set}" = set; then
4013 enableval
="$enable_bmpbutton"
4015 if test "$enableval" = yes; then
4016 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4018 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4023 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x
; then
4025 eval "DEFAULT_$LINE"
4030 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4035 eval "$ac_cv_use_bmpbutton"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_BMPBUTTON" = yes; then
4041 echo "$ac_t""yes" 1>&6
4043 echo "$ac_t""no" 1>&6
4047 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4048 echo "configure:4049: checking "for --enable-checkbox"" >&5
4050 # Check whether --enable-checkbox or --disable-checkbox was given.
4051 if test "${enable_checkbox+set}" = set; then
4052 enableval
="$enable_checkbox"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4057 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4062 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x
; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4074 eval "$ac_cv_use_checkbox"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_CHECKBOX" = yes; then
4080 echo "$ac_t""yes" 1>&6
4082 echo "$ac_t""no" 1>&6
4086 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4087 echo "configure:4088: checking "for --enable-checklst"" >&5
4089 # Check whether --enable-checklst or --disable-checklst was given.
4090 if test "${enable_checklst+set}" = set; then
4091 enableval
="$enable_checklst"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4096 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4101 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4113 eval "$ac_cv_use_checklst"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4118 if test "$wxUSE_CHECKLST" = yes; then
4119 echo "$ac_t""yes" 1>&6
4121 echo "$ac_t""no" 1>&6
4125 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4126 echo "configure:4127: checking "for --enable-choice"" >&5
4128 # Check whether --enable-choice or --disable-choice was given.
4129 if test "${enable_choice+set}" = set; then
4130 enableval
="$enable_choice"
4132 if test "$enableval" = yes; then
4133 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4135 ac_cv_use_choice
='wxUSE_CHOICE=no'
4140 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x
; then
4142 eval "DEFAULT_$LINE"
4147 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4152 eval "$ac_cv_use_choice"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_CHOICE" = yes; then
4158 echo "$ac_t""yes" 1>&6
4160 echo "$ac_t""no" 1>&6
4164 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4165 echo "configure:4166: checking "for --enable-combobox"" >&5
4167 # Check whether --enable-combobox or --disable-combobox was given.
4168 if test "${enable_combobox+set}" = set; then
4169 enableval
="$enable_combobox"
4171 if test "$enableval" = yes; then
4172 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4174 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4179 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4180 if test "x$LINE" != x
; then
4181 eval "DEFAULT_$LINE"
4186 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4191 eval "$ac_cv_use_combobox"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_COMBOBOX" = yes; then
4197 echo "$ac_t""yes" 1>&6
4199 echo "$ac_t""no" 1>&6
4203 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4204 echo "configure:4205: checking "for --enable-gauge"" >&5
4206 # Check whether --enable-gauge or --disable-gauge was given.
4207 if test "${enable_gauge+set}" = set; then
4208 enableval
="$enable_gauge"
4210 if test "$enableval" = yes; then
4211 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4213 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4218 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4219 if test "x$LINE" != x
; then
4220 eval "DEFAULT_$LINE"
4225 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4230 eval "$ac_cv_use_gauge"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_GAUGE" = yes; then
4236 echo "$ac_t""yes" 1>&6
4238 echo "$ac_t""no" 1>&6
4242 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4243 echo "configure:4244: checking "for --enable-grid"" >&5
4245 # Check whether --enable-grid or --disable-grid was given.
4246 if test "${enable_grid+set}" = set; then
4247 enableval
="$enable_grid"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_grid
='wxUSE_GRID=yes'
4252 ac_cv_use_grid
='wxUSE_GRID=no'
4257 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4269 eval "$ac_cv_use_grid"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_GRID" = yes; then
4275 echo "$ac_t""yes" 1>&6
4277 echo "$ac_t""no" 1>&6
4281 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4282 echo "configure:4283: checking "for --enable-newgrid"" >&5
4284 # Check whether --enable-newgrid or --disable-newgrid was given.
4285 if test "${enable_newgrid+set}" = set; then
4286 enableval
="$enable_newgrid"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4291 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4296 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4308 eval "$ac_cv_use_newgrid"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_NEW_GRID" = yes; then
4314 echo "$ac_t""yes" 1>&6
4316 echo "$ac_t""no" 1>&6
4320 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4321 echo "configure:4322: checking "for --enable-imaglist"" >&5
4323 # Check whether --enable-imaglist or --disable-imaglist was given.
4324 if test "${enable_imaglist+set}" = set; then
4325 enableval
="$enable_imaglist"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4330 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4335 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4347 eval "$ac_cv_use_imaglist"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_IMAGLIST" = yes; then
4353 echo "$ac_t""yes" 1>&6
4355 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4360 echo "configure:4361: checking "for --enable-listbox"" >&5
4362 # Check whether --enable-listbox or --disable-listbox was given.
4363 if test "${enable_listbox+set}" = set; then
4364 enableval
="$enable_listbox"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4369 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4374 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4386 eval "$ac_cv_use_listbox"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_LISTBOX" = yes; then
4392 echo "$ac_t""yes" 1>&6
4394 echo "$ac_t""no" 1>&6
4398 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4399 echo "configure:4400: checking "for --enable-listctrl"" >&5
4401 # Check whether --enable-listctrl or --disable-listctrl was given.
4402 if test "${enable_listctrl+set}" = set; then
4403 enableval
="$enable_listctrl"
4405 if test "$enableval" = yes; then
4406 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4408 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4413 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x
; then
4415 eval "DEFAULT_$LINE"
4420 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4425 eval "$ac_cv_use_listctrl"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4430 if test "$wxUSE_LISTCTRL" = yes; then
4431 echo "$ac_t""yes" 1>&6
4433 echo "$ac_t""no" 1>&6
4437 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4438 echo "configure:4439: checking "for --enable-notebook"" >&5
4440 # Check whether --enable-notebook or --disable-notebook was given.
4441 if test "${enable_notebook+set}" = set; then
4442 enableval
="$enable_notebook"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4447 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4452 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4464 eval "$ac_cv_use_notebook"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_NOTEBOOK" = yes; then
4470 echo "$ac_t""yes" 1>&6
4472 echo "$ac_t""no" 1>&6
4476 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4477 echo "configure:4478: checking "for --enable-radiobox"" >&5
4479 # Check whether --enable-radiobox or --disable-radiobox was given.
4480 if test "${enable_radiobox+set}" = set; then
4481 enableval
="$enable_radiobox"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4486 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4491 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x
; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4503 eval "$ac_cv_use_radiobox"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_RADIOBOX" = yes; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4515 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4516 echo "configure:4517: checking "for --enable-radiobtn"" >&5
4518 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4519 if test "${enable_radiobtn+set}" = set; then
4520 enableval
="$enable_radiobtn"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4525 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4530 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4542 eval "$ac_cv_use_radiobtn"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_RADIOBTN" = yes; then
4548 echo "$ac_t""yes" 1>&6
4550 echo "$ac_t""no" 1>&6
4554 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4555 echo "configure:4556: checking "for --enable-sash"" >&5
4557 # Check whether --enable-sash or --disable-sash was given.
4558 if test "${enable_sash+set}" = set; then
4559 enableval
="$enable_sash"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_sash
='wxUSE_SASH=yes'
4564 ac_cv_use_sash
='wxUSE_SASH=no'
4569 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4581 eval "$ac_cv_use_sash"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_SASH" = yes; then
4587 echo "$ac_t""yes" 1>&6
4589 echo "$ac_t""no" 1>&6
4593 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for --enable-scrollbar"" >&5
4596 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4597 if test "${enable_scrollbar+set}" = set; then
4598 enableval
="$enable_scrollbar"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4603 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4608 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4620 eval "$ac_cv_use_scrollbar"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4625 if test "$wxUSE_SCROLLBAR" = yes; then
4626 echo "$ac_t""yes" 1>&6
4628 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4633 echo "configure:4634: checking "for --enable-slider"" >&5
4635 # Check whether --enable-slider or --disable-slider was given.
4636 if test "${enable_slider+set}" = set; then
4637 enableval
="$enable_slider"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4642 ac_cv_use_slider
='wxUSE_SLIDER=no'
4647 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4659 eval "$ac_cv_use_slider"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_SLIDER" = yes; then
4665 echo "$ac_t""yes" 1>&6
4667 echo "$ac_t""no" 1>&6
4671 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4672 echo "configure:4673: checking "for --enable-spinbtn"" >&5
4674 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4675 if test "${enable_spinbtn+set}" = set; then
4676 enableval
="$enable_spinbtn"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4681 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4686 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x
; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4698 eval "$ac_cv_use_spinbtn"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_SPINBTN" = yes; then
4704 echo "$ac_t""yes" 1>&6
4706 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4711 echo "configure:4712: checking "for --enable-splitter"" >&5
4713 # Check whether --enable-splitter or --disable-splitter was given.
4714 if test "${enable_splitter+set}" = set; then
4715 enableval
="$enable_splitter"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4720 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4725 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4737 eval "$ac_cv_use_splitter"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_SPLITTER" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4750 echo "configure:4751: checking "for --enable-statbmp"" >&5
4752 # Check whether --enable-statbmp or --disable-statbmp was given.
4753 if test "${enable_statbmp+set}" = set; then
4754 enableval
="$enable_statbmp"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4759 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4764 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4776 eval "$ac_cv_use_statbmp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_STATBMP" = yes; then
4782 echo "$ac_t""yes" 1>&6
4784 echo "$ac_t""no" 1>&6
4788 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4789 echo "configure:4790: checking "for --enable-statbox"" >&5
4791 # Check whether --enable-statbox or --disable-statbox was given.
4792 if test "${enable_statbox+set}" = set; then
4793 enableval
="$enable_statbox"
4795 if test "$enableval" = yes; then
4796 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4798 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4803 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x
; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4815 eval "$ac_cv_use_statbox"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4820 if test "$wxUSE_STATBOX" = yes; then
4821 echo "$ac_t""yes" 1>&6
4823 echo "$ac_t""no" 1>&6
4827 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4828 echo "configure:4829: checking "for --enable-statline"" >&5
4830 # Check whether --enable-statline or --disable-statline was given.
4831 if test "${enable_statline+set}" = set; then
4832 enableval
="$enable_statline"
4834 if test "$enableval" = yes; then
4835 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4837 ac_cv_use_statline
='wxUSE_STATLINE=no'
4842 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4843 if test "x$LINE" != x
; then
4844 eval "DEFAULT_$LINE"
4849 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4854 eval "$ac_cv_use_statline"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4859 if test "$wxUSE_STATLINE" = yes; then
4860 echo "$ac_t""yes" 1>&6
4862 echo "$ac_t""no" 1>&6
4866 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4867 echo "configure:4868: checking "for --enable-statusbar"" >&5
4869 # Check whether --enable-statusbar or --disable-statusbar was given.
4870 if test "${enable_statusbar+set}" = set; then
4871 enableval
="$enable_statusbar"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4876 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4881 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4893 eval "$ac_cv_use_statusbar"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_STATUSBAR" = yes; then
4899 echo "$ac_t""yes" 1>&6
4901 echo "$ac_t""no" 1>&6
4905 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4906 echo "configure:4907: checking "for --enable-tabdialog"" >&5
4908 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4909 if test "${enable_tabdialog+set}" = set; then
4910 enableval
="$enable_tabdialog"
4912 if test "$enableval" = yes; then
4913 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4915 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4920 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x
; then
4922 eval "DEFAULT_$LINE"
4927 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4932 eval "$ac_cv_use_tabdialog"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_TABDIALOG" = yes; then
4938 echo "$ac_t""yes" 1>&6
4940 echo "$ac_t""no" 1>&6
4944 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4945 echo "configure:4946: checking "for --enable-toolbar"" >&5
4947 # Check whether --enable-toolbar or --disable-toolbar was given.
4948 if test "${enable_toolbar+set}" = set; then
4949 enableval
="$enable_toolbar"
4951 if test "$enableval" = yes; then
4952 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4954 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4959 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4960 if test "x$LINE" != x
; then
4961 eval "DEFAULT_$LINE"
4966 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4971 eval "$ac_cv_use_toolbar"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_TOOLBAR" = yes; then
4977 echo "$ac_t""yes" 1>&6
4979 echo "$ac_t""no" 1>&6
4983 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4984 echo "configure:4985: checking "for --enable-treectrl"" >&5
4986 # Check whether --enable-treectrl or --disable-treectrl was given.
4987 if test "${enable_treectrl+set}" = set; then
4988 enableval
="$enable_treectrl"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4993 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4998 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5010 eval "$ac_cv_use_treectrl"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_TREECTRL" = yes; then
5016 echo "$ac_t""yes" 1>&6
5018 echo "$ac_t""no" 1>&6
5024 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5025 echo "configure:5026: checking "for --enable-commondlg"" >&5
5027 # Check whether --enable-commondlg or --disable-commondlg was given.
5028 if test "${enable_commondlg+set}" = set; then
5029 enableval
="$enable_commondlg"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5034 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5039 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5051 eval "$ac_cv_use_commondlg"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_COMMONDLGS" = yes; then
5057 echo "$ac_t""yes" 1>&6
5059 echo "$ac_t""no" 1>&6
5063 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5064 echo "configure:5065: checking "for --enable-dirdlg"" >&5
5066 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5067 if test "${enable_dirdlg+set}" = set; then
5068 enableval
="$enable_dirdlg"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5073 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5078 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5090 eval "$ac_cv_use_dirdlg"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5095 if test "$wxUSE_DIRDLG" = yes; then
5096 echo "$ac_t""yes" 1>&6
5098 echo "$ac_t""no" 1>&6
5102 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5103 echo "configure:5104: checking "for --enable-textdlg"" >&5
5105 # Check whether --enable-textdlg or --disable-textdlg was given.
5106 if test "${enable_textdlg+set}" = set; then
5107 enableval
="$enable_textdlg"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5112 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5117 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5129 eval "$ac_cv_use_textdlg"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5134 if test "$wxUSE_TEXTDLG" = yes; then
5135 echo "$ac_t""yes" 1>&6
5137 echo "$ac_t""no" 1>&6
5141 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5142 echo "configure:5143: checking "for --enable-tipdlg"" >&5
5144 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5145 if test "${enable_tipdlg+set}" = set; then
5146 enableval
="$enable_tipdlg"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5151 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5156 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x
; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5168 eval "$ac_cv_use_tipdlg"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_STARTUP_TIPS" = yes; then
5174 echo "$ac_t""yes" 1>&6
5176 echo "$ac_t""no" 1>&6
5180 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5181 echo "configure:5182: checking "for --enable-progressdlg"" >&5
5183 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5184 if test "${enable_progressdlg+set}" = set; then
5185 enableval
="$enable_progressdlg"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5190 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5195 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x
; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5207 eval "$ac_cv_use_progressdlg"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_PROGRESSDLG" = yes; then
5213 echo "$ac_t""yes" 1>&6
5215 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5220 echo "configure:5221: checking "for --enable-miniframe"" >&5
5222 # Check whether --enable-miniframe or --disable-miniframe was given.
5223 if test "${enable_miniframe+set}" = set; then
5224 enableval
="$enable_miniframe"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5229 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5234 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5246 eval "$ac_cv_use_miniframe"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_MINIFRAME" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5258 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5259 echo "configure:5260: checking "for --enable-html"" >&5
5261 # Check whether --enable-html or --disable-html was given.
5262 if test "${enable_html+set}" = set; then
5263 enableval
="$enable_html"
5265 if test "$enableval" = yes; then
5266 ac_cv_use_html
='wxUSE_HTML=yes'
5268 ac_cv_use_html
='wxUSE_HTML=no'
5273 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x
; then
5275 eval "DEFAULT_$LINE"
5280 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5285 eval "$ac_cv_use_html"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_HTML" = yes; then
5291 echo "$ac_t""yes" 1>&6
5293 echo "$ac_t""no" 1>&6
5297 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5298 echo "configure:5299: checking "for --enable-tooltips"" >&5
5300 # Check whether --enable-tooltips or --disable-tooltips was given.
5301 if test "${enable_tooltips+set}" = set; then
5302 enableval
="$enable_tooltips"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5307 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5312 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5324 eval "$ac_cv_use_tooltips"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_TOOLTIPS" = yes; then
5330 echo "$ac_t""yes" 1>&6
5332 echo "$ac_t""no" 1>&6
5336 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5337 echo "configure:5338: checking "for --enable-splines"" >&5
5339 # Check whether --enable-splines or --disable-splines was given.
5340 if test "${enable_splines+set}" = set; then
5341 enableval
="$enable_splines"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5346 ac_cv_use_splines
='wxUSE_SPLINES=no'
5351 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x
; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5363 eval "$ac_cv_use_splines"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_SPLINES" = yes; then
5369 echo "$ac_t""yes" 1>&6
5371 echo "$ac_t""no" 1>&6
5375 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5376 echo "configure:5377: checking "for --enable-validators"" >&5
5378 # Check whether --enable-validators or --disable-validators was given.
5379 if test "${enable_validators+set}" = set; then
5380 enableval
="$enable_validators"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5385 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5390 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5402 eval "$ac_cv_use_validators"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_VALIDATORS" = yes; then
5408 echo "$ac_t""yes" 1>&6
5410 echo "$ac_t""no" 1>&6
5414 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5415 echo "configure:5416: checking "for --enable-busyinfo"" >&5
5417 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5418 if test "${enable_busyinfo+set}" = set; then
5419 enableval
="$enable_busyinfo"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5424 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5429 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5441 eval "$ac_cv_use_busyinfo"
5442 if test "$no_cache" != 1; then
5443 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5446 if test "$wxUSE_BUSYINFO" = yes; then
5447 echo "$ac_t""yes" 1>&6
5449 echo "$ac_t""no" 1>&6
5455 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5456 echo "configure:5457: checking "for --enable-gif"" >&5
5458 # Check whether --enable-gif or --disable-gif was given.
5459 if test "${enable_gif+set}" = set; then
5460 enableval
="$enable_gif"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_gif
='wxUSE_GIF=yes'
5465 ac_cv_use_gif
='wxUSE_GIF=no'
5470 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5482 eval "$ac_cv_use_gif"
5483 if test "$no_cache" != 1; then
5484 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5487 if test "$wxUSE_GIF" = yes; then
5488 echo "$ac_t""yes" 1>&6
5490 echo "$ac_t""no" 1>&6
5494 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5495 echo "configure:5496: checking "for --enable-pcx"" >&5
5497 # Check whether --enable-pcx or --disable-pcx was given.
5498 if test "${enable_pcx+set}" = set; then
5499 enableval
="$enable_pcx"
5501 if test "$enableval" = yes; then
5502 ac_cv_use_pcx
='wxUSE_PCX=yes'
5504 ac_cv_use_pcx
='wxUSE_PCX=no'
5509 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x
; then
5511 eval "DEFAULT_$LINE"
5516 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5521 eval "$ac_cv_use_pcx"
5522 if test "$no_cache" != 1; then
5523 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5526 if test "$wxUSE_PCX" = yes; then
5527 echo "$ac_t""yes" 1>&6
5529 echo "$ac_t""no" 1>&6
5533 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5534 echo "configure:5535: checking "for --enable-pnm"" >&5
5536 # Check whether --enable-pnm or --disable-pnm was given.
5537 if test "${enable_pnm+set}" = set; then
5538 enableval
="$enable_pnm"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_pnm
='wxUSE_PNM=yes'
5543 ac_cv_use_pnm
='wxUSE_PNM=no'
5548 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x
; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5560 eval "$ac_cv_use_pnm"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_PNM" = yes; then
5566 echo "$ac_t""yes" 1>&6
5568 echo "$ac_t""no" 1>&6
5573 echo "saving argument cache $wx_arg_cache_file"
5574 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5578 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5579 echo "configure:5580: checking for toolkit" >&5
5581 if test "$wxUSE_GUI" = "yes"; then
5583 if test "$TOOLKIT_GIVEN" = 1; then
5584 for toolkit
in `echo $ALL_TOOLKITS`; do
5586 eval "value=\$${var}"
5587 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5590 for toolkit
in `echo $ALL_TOOLKITS`; do
5591 if test "$has_toolkit_in_cache" != 1; then
5592 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5594 var
=DEFAULT_wxUSE_
$toolkit
5596 eval "wxUSE_$toolkit=\$${var}"
5600 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5602 case "$NUM_TOOLKITS" in
5606 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5609 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5612 for toolkit
in `echo $ALL_TOOLKITS`; do
5614 eval "value=\$${var}"
5615 if test "x$value" != x
; then
5616 cache_var
=CACHE_
$toolkit
5617 eval "cache=\$${cache_var}"
5618 if test "$cache" = 1; then
5619 echo "$var=$value" >> ${wx_arg_cache_file}
5621 if test "$value" = 1; then
5622 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5628 echo "$ac_t""base only" 1>&6
5632 cat > confcache
<<\EOF
5633 # This file is a shell script that caches the results of configure
5634 # tests run on this system so they can be shared between configure
5635 # scripts and configure runs. It is not useful on other systems.
5636 # If it contains results you don't want to keep, you may remove or edit it.
5638 # By default, configure uses ./config.cache as the cache file,
5639 # creating it if it does not exist already. You can give configure
5640 # the --cache-file=FILE option to use a different cache file; that is
5641 # what configure does when it calls configure scripts in
5642 # subdirectories, so they share the cache.
5643 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5644 # config.status only pays attention to the cache file if you give it the
5645 # --recheck option to rerun configure.
5648 # The following way of writing the cache mishandles newlines in values,
5649 # but we know of no workaround that is simple, portable, and efficient.
5650 # So, don't put newlines in cache variables' values.
5651 # Ultrix sh set writes to stderr and can't be redirected directly,
5652 # and sets the high bit in the cache file unless we assign to the vars.
5654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5656 # `set' does not quote correctly, so add quotes (double-quote substitution
5657 # turns \\\\ into \\, and sed turns \\ into \).
5659 -e "s/'/'\\\\''/g" \
5660 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5663 # `set' quotes correctly as required by POSIX, so do not add quotes.
5664 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5667 if cmp -s $cache_file confcache
; then
5670 if test -w $cache_file; then
5671 echo "updating cache $cache_file"
5672 cat confcache
> $cache_file
5674 echo "not updating unwritable cache $cache_file"
5680 if eval "test $host != $build"; then
5681 if eval "test $host_alias != NONE"; then
5685 RANLIB
=$host_alias-ranlib
5686 DLLTOOL
=$host_alias-dlltool
5689 STRIP
=$host_alias-strip
5693 # Extract the first word of "gcc", so it can be a program name with args.
5694 set dummy gcc
; ac_word
=$2
5695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5696 echo "configure:5697: checking for $ac_word" >&5
5697 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5698 echo $ac_n "(cached) $ac_c" 1>&6
5700 if test -n "$CC"; then
5701 ac_cv_prog_CC
="$CC" # Let the user override the test.
5703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5705 for ac_dir
in $ac_dummy; do
5706 test -z "$ac_dir" && ac_dir
=.
5707 if test -f $ac_dir/$ac_word; then
5716 if test -n "$CC"; then
5717 echo "$ac_t""$CC" 1>&6
5719 echo "$ac_t""no" 1>&6
5722 if test -z "$CC"; then
5723 # Extract the first word of "cc", so it can be a program name with args.
5724 set dummy cc
; ac_word
=$2
5725 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5726 echo "configure:5727: checking for $ac_word" >&5
5727 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5728 echo $ac_n "(cached) $ac_c" 1>&6
5730 if test -n "$CC"; then
5731 ac_cv_prog_CC
="$CC" # Let the user override the test.
5733 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5736 for ac_dir
in $ac_dummy; do
5737 test -z "$ac_dir" && ac_dir
=.
5738 if test -f $ac_dir/$ac_word; then
5739 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5740 ac_prog_rejected
=yes
5748 if test $ac_prog_rejected = yes; then
5749 # We found a bogon in the path, so make sure we never use it.
5750 set dummy
$ac_cv_prog_CC
5752 if test $# -gt 0; then
5753 # We chose a different compiler from the bogus one.
5754 # However, it has the same basename, so the bogon will be chosen
5755 # first if we set CC to just the basename; use the full file name.
5757 set dummy
"$ac_dir/$ac_word" "$@"
5765 if test -n "$CC"; then
5766 echo "$ac_t""$CC" 1>&6
5768 echo "$ac_t""no" 1>&6
5771 if test -z "$CC"; then
5772 case "`uname -s`" in
5774 # Extract the first word of "cl", so it can be a program name with args.
5775 set dummy cl
; ac_word
=$2
5776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5777 echo "configure:5778: checking for $ac_word" >&5
5778 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5779 echo $ac_n "(cached) $ac_c" 1>&6
5781 if test -n "$CC"; then
5782 ac_cv_prog_CC
="$CC" # Let the user override the test.
5784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5786 for ac_dir
in $ac_dummy; do
5787 test -z "$ac_dir" && ac_dir
=.
5788 if test -f $ac_dir/$ac_word; then
5797 if test -n "$CC"; then
5798 echo "$ac_t""$CC" 1>&6
5800 echo "$ac_t""no" 1>&6
5805 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5808 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5809 echo "configure:5810: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5813 ac_cpp
='$CPP $CPPFLAGS'
5814 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5815 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5816 cross_compiling
=$ac_cv_prog_cc_cross
5818 cat > conftest.
$ac_ext << EOF
5820 #line 5821 "configure"
5821 #include "confdefs.h"
5825 if { (eval echo configure
:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5826 ac_cv_prog_cc_works
=yes
5827 # If we can't run a trivial program, we are probably using a cross compiler.
5828 if (.
/conftest
; exit) 2>/dev
/null
; then
5829 ac_cv_prog_cc_cross
=no
5831 ac_cv_prog_cc_cross
=yes
5834 echo "configure: failed program was:" >&5
5835 cat conftest.
$ac_ext >&5
5836 ac_cv_prog_cc_works
=no
5840 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5841 ac_cpp
='$CPP $CPPFLAGS'
5842 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5843 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5844 cross_compiling
=$ac_cv_prog_cc_cross
5846 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5847 if test $ac_cv_prog_cc_works = no
; then
5848 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5850 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5851 echo "configure:5852: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5852 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5853 cross_compiling
=$ac_cv_prog_cc_cross
5855 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5856 echo "configure:5857: checking whether we are using GNU C" >&5
5857 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5858 echo $ac_n "(cached) $ac_c" 1>&6
5860 cat > conftest.c
<<EOF
5865 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5872 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5874 if test $ac_cv_prog_gcc = yes; then
5880 ac_test_CFLAGS
="${CFLAGS+set}"
5881 ac_save_CFLAGS
="$CFLAGS"
5883 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5884 echo "configure:5885: checking whether ${CC-cc} accepts -g" >&5
5885 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5888 echo 'void f(){}' > conftest.c
5889 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5898 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5899 if test "$ac_test_CFLAGS" = set; then
5900 CFLAGS
="$ac_save_CFLAGS"
5901 elif test $ac_cv_prog_cc_g = yes; then
5902 if test "$GCC" = yes; then
5908 if test "$GCC" = yes; then
5916 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5918 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5919 echo "configure:5920: checking how to run the C preprocessor" >&5
5920 # On Suns, sometimes $CPP names a directory.
5921 if test -n "$CPP" && test -d "$CPP"; then
5924 if test -z "$CPP"; then
5925 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5926 echo $ac_n "(cached) $ac_c" 1>&6
5928 # This must be in double quotes, not single quotes, because CPP may get
5929 # substituted into the Makefile and "${CC-cc}" will confuse make.
5931 # On the NeXT, cc -E runs the code through the compiler's parser,
5932 # not just through cpp.
5933 cat > conftest.
$ac_ext <<EOF
5934 #line 5935 "configure"
5935 #include "confdefs.h"
5939 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5940 { (eval echo configure
:5941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5941 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5942 if test -z "$ac_err"; then
5946 echo "configure: failed program was:" >&5
5947 cat conftest.
$ac_ext >&5
5949 CPP
="${CC-cc} -E -traditional-cpp"
5950 cat > conftest.
$ac_ext <<EOF
5951 #line 5952 "configure"
5952 #include "confdefs.h"
5956 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5957 { (eval echo configure
:5958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5958 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5959 if test -z "$ac_err"; then
5963 echo "configure: failed program was:" >&5
5964 cat conftest.
$ac_ext >&5
5966 CPP
="${CC-cc} -nologo -E"
5967 cat > conftest.
$ac_ext <<EOF
5968 #line 5969 "configure"
5969 #include "confdefs.h"
5973 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5974 { (eval echo configure
:5975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5975 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5976 if test -z "$ac_err"; then
5980 echo "configure: failed program was:" >&5
5981 cat conftest.
$ac_ext >&5
5990 ac_cv_prog_CPP
="$CPP"
5992 CPP
="$ac_cv_prog_CPP"
5994 ac_cv_prog_CPP
="$CPP"
5996 echo "$ac_t""$CPP" 1>&6
5999 if test $ac_cv_prog_gcc = yes; then
6000 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6001 echo "configure:6002: checking whether ${CC-cc} needs -traditional" >&5
6002 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6
6005 ac_pattern
="Autoconf.*'x'"
6006 cat > conftest.
$ac_ext <<EOF
6007 #line 6008 "configure"
6008 #include "confdefs.h"
6012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6013 egrep "$ac_pattern" >/dev
/null
2>&1; then
6015 ac_cv_prog_gcc_traditional
=yes
6018 ac_cv_prog_gcc_traditional
=no
6023 if test $ac_cv_prog_gcc_traditional = no
; then
6024 cat > conftest.
$ac_ext <<EOF
6025 #line 6026 "configure"
6026 #include "confdefs.h"
6030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6031 egrep "$ac_pattern" >/dev
/null
2>&1; then
6033 ac_cv_prog_gcc_traditional
=yes
6040 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6041 if test $ac_cv_prog_gcc_traditional = yes; then
6042 CC
="$CC -traditional"
6049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6050 ac_cpp
='$CXXCPP $CPPFLAGS'
6051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6052 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6053 cross_compiling
=$ac_cv_prog_cxx_cross
6056 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6058 # Extract the first word of "$ac_prog", so it can be a program name with args.
6059 set dummy
$ac_prog; ac_word
=$2
6060 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6061 echo "configure:6062: checking for $ac_word" >&5
6062 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6063 echo $ac_n "(cached) $ac_c" 1>&6
6065 if test -n "$CXX"; then
6066 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6068 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6070 for ac_dir
in $ac_dummy; do
6071 test -z "$ac_dir" && ac_dir
=.
6072 if test -f $ac_dir/$ac_word; then
6073 ac_cv_prog_CXX
="$ac_prog"
6080 CXX
="$ac_cv_prog_CXX"
6081 if test -n "$CXX"; then
6082 echo "$ac_t""$CXX" 1>&6
6084 echo "$ac_t""no" 1>&6
6087 test -n "$CXX" && break
6089 test -n "$CXX" || CXX
="gcc"
6092 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6093 echo "configure:6094: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6097 ac_cpp
='$CXXCPP $CPPFLAGS'
6098 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6099 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6100 cross_compiling
=$ac_cv_prog_cxx_cross
6102 cat > conftest.
$ac_ext << EOF
6104 #line 6105 "configure"
6105 #include "confdefs.h"
6107 int main(){return(0);}
6109 if { (eval echo configure
:6110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6110 ac_cv_prog_cxx_works
=yes
6111 # If we can't run a trivial program, we are probably using a cross compiler.
6112 if (.
/conftest
; exit) 2>/dev
/null
; then
6113 ac_cv_prog_cxx_cross
=no
6115 ac_cv_prog_cxx_cross
=yes
6118 echo "configure: failed program was:" >&5
6119 cat conftest.
$ac_ext >&5
6120 ac_cv_prog_cxx_works
=no
6124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6125 ac_cpp
='$CXXCPP $CPPFLAGS'
6126 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6127 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6128 cross_compiling
=$ac_cv_prog_cxx_cross
6130 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6131 if test $ac_cv_prog_cxx_works = no
; then
6132 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6134 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6135 echo "configure:6136: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6136 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6137 cross_compiling
=$ac_cv_prog_cxx_cross
6139 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6140 echo "configure:6141: checking whether we are using GNU C++" >&5
6141 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6142 echo $ac_n "(cached) $ac_c" 1>&6
6144 cat > conftest.C
<<EOF
6149 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6156 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6158 if test $ac_cv_prog_gxx = yes; then
6164 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6165 ac_save_CXXFLAGS
="$CXXFLAGS"
6167 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6168 echo "configure:6169: checking whether ${CXX-g++} accepts -g" >&5
6169 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6170 echo $ac_n "(cached) $ac_c" 1>&6
6172 echo 'void f(){}' > conftest.cc
6173 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6174 ac_cv_prog_cxx_g
=yes
6182 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6183 if test "$ac_test_CXXFLAGS" = set; then
6184 CXXFLAGS
="$ac_save_CXXFLAGS"
6185 elif test $ac_cv_prog_cxx_g = yes; then
6186 if test "$GXX" = yes; then
6192 if test "$GXX" = yes; then
6200 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6201 echo "configure:6202: checking how to run the C++ preprocessor" >&5
6202 if test -z "$CXXCPP"; then
6203 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6207 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6208 ac_cpp
='$CXXCPP $CPPFLAGS'
6209 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6210 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6211 cross_compiling
=$ac_cv_prog_cxx_cross
6212 CXXCPP
="${CXX-g++} -E"
6213 cat > conftest.
$ac_ext <<EOF
6214 #line 6215 "configure"
6215 #include "confdefs.h"
6218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6219 { (eval echo configure
:6220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6221 if test -z "$ac_err"; then
6225 echo "configure: failed program was:" >&5
6226 cat conftest.
$ac_ext >&5
6231 ac_cv_prog_CXXCPP
="$CXXCPP"
6233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6234 ac_cpp
='$CXXCPP $CPPFLAGS'
6235 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6236 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6237 cross_compiling
=$ac_cv_prog_cxx_cross
6240 CXXCPP
="$ac_cv_prog_CXXCPP"
6241 echo "$ac_t""$CXXCPP" 1>&6
6244 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6248 ac_cpp
='$CPP $CPPFLAGS'
6249 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6250 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6251 cross_compiling
=$ac_cv_prog_cc_cross
6254 # Extract the first word of "ranlib", so it can be a program name with args.
6255 set dummy ranlib
; ac_word
=$2
6256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6257 echo "configure:6258: checking for $ac_word" >&5
6258 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6259 echo $ac_n "(cached) $ac_c" 1>&6
6261 if test -n "$RANLIB"; then
6262 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6264 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6266 for ac_dir
in $ac_dummy; do
6267 test -z "$ac_dir" && ac_dir
=.
6268 if test -f $ac_dir/$ac_word; then
6269 ac_cv_prog_RANLIB
="ranlib"
6274 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6277 RANLIB
="$ac_cv_prog_RANLIB"
6278 if test -n "$RANLIB"; then
6279 echo "$ac_t""$RANLIB" 1>&6
6281 echo "$ac_t""no" 1>&6
6285 # Extract the first word of "ar", so it can be a program name with args.
6286 set dummy
ar; ac_word
=$2
6287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6288 echo "configure:6289: checking for $ac_word" >&5
6289 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6290 echo $ac_n "(cached) $ac_c" 1>&6
6292 if test -n "$AR"; then
6293 ac_cv_prog_AR
="$AR" # Let the user override the test.
6295 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6297 for ac_dir
in $ac_dummy; do
6298 test -z "$ac_dir" && ac_dir
=.
6299 if test -f $ac_dir/$ac_word; then
6305 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6309 if test -n "$AR"; then
6310 echo "$ac_t""$AR" 1>&6
6312 echo "$ac_t""no" 1>&6
6316 # Find a good install program. We prefer a C program (faster),
6317 # so one script is as good as another. But avoid the broken or
6318 # incompatible versions:
6319 # SysV /etc/install, /usr/sbin/install
6320 # SunOS /usr/etc/install
6321 # IRIX /sbin/install
6323 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6324 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6325 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6326 # ./install, which can be erroneously created by make from ./install.sh.
6327 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6328 echo "configure:6329: checking for a BSD compatible install" >&5
6329 if test -z "$INSTALL"; then
6330 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6331 echo $ac_n "(cached) $ac_c" 1>&6
6333 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6334 for ac_dir
in $PATH; do
6335 # Account for people who put trailing slashes in PATH elements.
6337 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6339 # OSF1 and SCO ODT 3.0 have their own names for install.
6340 # Don't use installbsd from OSF since it installs stuff as root
6342 for ac_prog
in ginstall scoinst
install; do
6343 if test -f $ac_dir/$ac_prog; then
6344 if test $ac_prog = install &&
6345 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6346 # AIX install. It has an incompatible calling convention.
6349 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6360 if test "${ac_cv_path_install+set}" = set; then
6361 INSTALL
="$ac_cv_path_install"
6363 # As a last resort, use the slow shell script. We don't cache a
6364 # path for INSTALL within a source directory, because that will
6365 # break other packages using the cache if that directory is
6366 # removed, or if the path is relative.
6367 INSTALL
="$ac_install_sh"
6370 echo "$ac_t""$INSTALL" 1>&6
6372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6373 # It thinks the first close brace ends the variable substitution.
6374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6378 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6381 # Extract the first word of "strip", so it can be a program name with args.
6382 set dummy strip
; ac_word
=$2
6383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6384 echo "configure:6385: checking for $ac_word" >&5
6385 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6386 echo $ac_n "(cached) $ac_c" 1>&6
6388 if test -n "$STRIP"; then
6389 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6391 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6393 for ac_dir
in $ac_dummy; do
6394 test -z "$ac_dir" && ac_dir
=.
6395 if test -f $ac_dir/$ac_word; then
6396 ac_cv_prog_STRIP
="strip"
6401 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6404 STRIP
="$ac_cv_prog_STRIP"
6405 if test -n "$STRIP"; then
6406 echo "$ac_t""$STRIP" 1>&6
6408 echo "$ac_t""no" 1>&6
6412 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6413 echo "configure:6414: checking "make for VPATH support
"" >&5
6414 cat - << EOF > confMake
6420 if test ! -d sub
; then
6423 echo dummy
> sub
/file
6424 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6426 rm -f sub
/file check final_file confMake
6428 if test "$RESULT" = 0; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6432 { echo "configure: error: You need a make-utility that is able to use the variable
6434 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6437 for ac_prog
in 'bison -y' byacc
6439 # Extract the first word of "$ac_prog", so it can be a program name with args.
6440 set dummy
$ac_prog; ac_word
=$2
6441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6442 echo "configure:6443: checking for $ac_word" >&5
6443 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6444 echo $ac_n "(cached) $ac_c" 1>&6
6446 if test -n "$YACC"; then
6447 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6449 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6451 for ac_dir
in $ac_dummy; do
6452 test -z "$ac_dir" && ac_dir
=.
6453 if test -f $ac_dir/$ac_word; then
6454 ac_cv_prog_YACC
="$ac_prog"
6461 YACC
="$ac_cv_prog_YACC"
6462 if test -n "$YACC"; then
6463 echo "$ac_t""$YACC" 1>&6
6465 echo "$ac_t""no" 1>&6
6468 test -n "$YACC" && break
6470 test -n "$YACC" || YACC
="yacc"
6473 # Extract the first word of "flex", so it can be a program name with args.
6474 set dummy flex
; ac_word
=$2
6475 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6476 echo "configure:6477: checking for $ac_word" >&5
6477 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6478 echo $ac_n "(cached) $ac_c" 1>&6
6480 if test -n "$LEX"; then
6481 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6483 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6485 for ac_dir
in $ac_dummy; do
6486 test -z "$ac_dir" && ac_dir
=.
6487 if test -f $ac_dir/$ac_word; then
6488 ac_cv_prog_LEX
="flex"
6493 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6496 LEX
="$ac_cv_prog_LEX"
6497 if test -n "$LEX"; then
6498 echo "$ac_t""$LEX" 1>&6
6500 echo "$ac_t""no" 1>&6
6503 if test -z "$LEXLIB"
6509 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6510 echo "configure:6511: checking for yywrap in -l$ac_lib" >&5
6511 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6513 echo $ac_n "(cached) $ac_c" 1>&6
6515 ac_save_LIBS
="$LIBS"
6516 LIBS
="-l$ac_lib $LIBS"
6517 cat > conftest.
$ac_ext <<EOF
6518 #line 6519 "configure"
6519 #include "confdefs.h"
6520 /* Override any gcc2 internal prototype to avoid an error. */
6521 /* We use char because int might match the return type of a gcc2
6522 builtin and then its argument prototype would still apply. */
6529 if { (eval echo configure
:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6531 eval "ac_cv_lib_$ac_lib_var=yes"
6533 echo "configure: failed program was:" >&5
6534 cat conftest.
$ac_ext >&5
6536 eval "ac_cv_lib_$ac_lib_var=no"
6539 LIBS
="$ac_save_LIBS"
6542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6543 echo "$ac_t""yes" 1>&6
6546 echo "$ac_t""no" 1>&6
6552 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6553 echo "configure:6554: checking whether ln -s works" >&5
6554 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6555 echo $ac_n "(cached) $ac_c" 1>&6
6558 if ln -s X conftestdata
2>/dev
/null
6561 ac_cv_prog_LN_S
="ln -s"
6566 LN_S
="$ac_cv_prog_LN_S"
6567 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6568 echo "$ac_t""yes" 1>&6
6570 echo "$ac_t""no" 1>&6
6576 /usr/Motif-1.2/include \
6577 /usr/Motif-2.1/include \
6579 /usr/include/Motif1.2 \
6580 /opt/xpm/include/X11 \
6581 /opt/GBxpm/include/ \
6582 /opt/GBxpm/X11/include/ \
6584 /usr/Motif1.2/include \
6588 /usr/X11R6/include \
6589 /usr/X11R5/include \
6590 /usr/X11R4/include \
6596 /usr/include/X11R6 \
6597 /usr/include/X11R5 \
6598 /usr/include/X11R4 \
6600 /usr/local/X11R6/include \
6601 /usr/local/X11R5/include \
6602 /usr/local/X11R4/include \
6604 /usr/local/include/X11R6 \
6605 /usr/local/include/X11R5 \
6606 /usr/local/include/X11R4 \
6610 /usr/local/X11/include \
6611 /usr/local/include/X11 \
6615 /usr/XFree86/include/X11 \
6618 /usr/local/include \
6621 /usr/local/include/gtk \
6623 /usr/local/include/glib \
6626 /usr/local/include/qt \
6628 /usr/include/windows \
6630 /usr/local/include/wine \
6632 /usr/unsupported/include \
6633 /usr/athena/include \
6634 /usr/local/x11r5/include \
6635 /usr/lpp/Xamples/include \
6637 /usr/openwin/include \
6638 /usr/openwin/share/include \
6641 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6644 cat > confcache
<<\EOF
6645 # This file is a shell script that caches the results of configure
6646 # tests run on this system so they can be shared between configure
6647 # scripts and configure runs. It is not useful on other systems.
6648 # If it contains results you don't want to keep, you may remove or edit it.
6650 # By default, configure uses ./config.cache as the cache file,
6651 # creating it if it does not exist already. You can give configure
6652 # the --cache-file=FILE option to use a different cache file; that is
6653 # what configure does when it calls configure scripts in
6654 # subdirectories, so they share the cache.
6655 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6656 # config.status only pays attention to the cache file if you give it the
6657 # --recheck option to rerun configure.
6660 # The following way of writing the cache mishandles newlines in values,
6661 # but we know of no workaround that is simple, portable, and efficient.
6662 # So, don't put newlines in cache variables' values.
6663 # Ultrix sh set writes to stderr and can't be redirected directly,
6664 # and sets the high bit in the cache file unless we assign to the vars.
6666 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6668 # `set' does not quote correctly, so add quotes (double-quote substitution
6669 # turns \\\\ into \\, and sed turns \\ into \).
6671 -e "s/'/'\\\\''/g" \
6672 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6675 # `set' quotes correctly as required by POSIX, so do not add quotes.
6676 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6679 if cmp -s $cache_file confcache
; then
6682 if test -w $cache_file; then
6683 echo "updating cache $cache_file"
6684 cat confcache
> $cache_file
6686 echo "not updating unwritable cache $cache_file"
6693 if test "$wxUSE_GUI" = "yes"; then
6711 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6712 if test "$cross_compiling" = "yes" ; then
6713 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6715 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6716 echo "configure:6717: checking for Windows headers" >&5
6719 for ac_dir
in $SEARCH_INCLUDE;
6721 if test -f "$ac_dir/windows.h"; then
6722 ac_find_includes
=$ac_dir
6727 if test "$ac_find_includes" != "" ; then
6728 echo "$ac_t""found $ac_find_includes" 1>&6
6729 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6731 echo "$ac_t""no" 1>&6
6732 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6736 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6737 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6741 GUIOBJS
="\$(MSW_GUIOBJS)"
6742 GUIHEADERS
="\$(MSW_HEADERS)"
6743 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6744 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6750 if test "$wxUSE_GTK" = 1; then
6752 if test x
$gtk_config_exec_prefix != x
; then
6753 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6754 if test x
${GTK_CONFIG+set} != xset
; then
6755 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6758 if test x
$gtk_config_prefix != x
; then
6759 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6760 if test x
${GTK_CONFIG+set} != xset
; then
6761 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6765 # Extract the first word of "gtk-config", so it can be a program name with args.
6766 set dummy gtk
-config; ac_word
=$2
6767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6768 echo "configure:6769: checking for $ac_word" >&5
6769 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6770 echo $ac_n "(cached) $ac_c" 1>&6
6772 case "$GTK_CONFIG" in
6774 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6777 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6780 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6782 for ac_dir
in $ac_dummy; do
6783 test -z "$ac_dir" && ac_dir
=.
6784 if test -f $ac_dir/$ac_word; then
6785 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6790 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6794 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6795 if test -n "$GTK_CONFIG"; then
6796 echo "$ac_t""$GTK_CONFIG" 1>&6
6798 echo "$ac_t""no" 1>&6
6801 min_gtk_version
=1.2.1
6802 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6803 echo "configure:6804: checking for GTK - version >= $min_gtk_version" >&5
6805 if test "$GTK_CONFIG" != "no" ; then
6806 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6807 GTK_LIBS
=`$GTK_CONFIG --libs`
6808 ac_save_CFLAGS
="$CFLAGS"
6809 ac_save_LIBS
="$LIBS"
6810 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6811 LIBS
="$LIBS $GTK_LIBS"
6812 if test "$cross_compiling" = yes; then
6813 echo $ac_n "cross compiling; assumed OK... $ac_c"
6815 cat > conftest.
$ac_ext <<EOF
6816 #line 6817 "configure"
6817 #include "confdefs.h"
6819 #include <gtk/gtk.h>
6825 int major, minor, micro;
6827 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6828 printf("%s, bad version string\n", "$min_gtk_version");
6832 if (gtk_minor_version == 1) return FALSE;
6834 return !((gtk_major_version > major) ||
6835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6840 if { (eval echo configure
:6841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6844 echo "configure: failed program was:" >&5
6845 cat conftest.
$ac_ext >&5
6852 CFLAGS
="$ac_save_CFLAGS"
6853 LIBS
="$ac_save_LIBS"
6857 if test "x$no_gtk" = x
; then
6858 echo "$ac_t""yes" 1>&6
6861 echo "$ac_t""no" 1>&6
6864 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6870 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6871 GUI_TK_LIBRARY
="$GTK_LIBS"
6874 GUIOBJS
="\$(GTK_GUIOBJS)"
6875 GUIHEADERS
="\$(GTK_HEADERS)"
6876 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6877 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6878 GUIDEPS
="\$(GTK_GUIDEPS)"
6879 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6880 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6881 UNIXOBJS
="\$(UNIX_OBJS)"
6885 if test "$wxUSE_WINE" = 1; then
6886 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6887 echo "configure:6888: checking for WINE includes" >&5
6890 for ac_dir
in $SEARCH_INCLUDE;
6892 if test -f "$ac_dir/windows.h"; then
6893 ac_find_includes
=$ac_dir
6898 if test "$ac_find_includes" != "" ; then
6899 echo "$ac_t""found $ac_find_includes" 1>&6
6900 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6902 echo "$ac_t""no" 1>&6
6903 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6907 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6908 echo "configure:6909: checking for Xpm library" >&5
6911 for ac_dir
in $SEARCH_LIB;
6913 for ac_extension
in a so sl
; do
6914 if test -f "$ac_dir/libXpm.$ac_extension"; then
6915 ac_find_libraries
=$ac_dir
6921 if test "$ac_find_libraries" != "" ; then
6922 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6924 cat >> confdefs.h
<<\EOF
6925 #define wxHAVE_LIB_XPM 1
6928 echo "$ac_t""found at $ac_find_libraries" 1>&6
6930 echo "$ac_t""no" 1>&6
6931 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6935 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6936 echo "configure:6937: checking for Mesa library" >&5
6939 for ac_dir
in $SEARCH_LIB;
6941 for ac_extension
in a so sl
; do
6942 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6943 ac_find_libraries
=$ac_dir
6949 if test "$ac_find_libraries" != "" ; then
6950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6951 MESA_LINK
="-lMesaGL"
6952 echo "$ac_t""found at $ac_find_libraries" 1>&6
6954 { echo "configure: error: no" 1>&2; exit 1; }
6957 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6958 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6962 GUIHEADERS
="\$(MSW_HEADERS)"
6963 GUIOBJS
="\$(MSW_GUIOBJS)"
6964 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6965 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6966 GUIDEPS
="\$(MSW_GUIDEPS)"
6967 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6968 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6969 UNIXOBJS
="\$(UNIX_OBJS)"
6973 if test "$wxUSE_MOTIF" = 1; then
6974 # If we find X, set shell vars x_includes and x_libraries to the
6975 # paths, otherwise set no_x=yes.
6976 # Uses ac_ vars as temps to allow command line to override cache and checks.
6977 # --without-x overrides everything else, but does not touch the cache.
6978 echo $ac_n "checking for X""... $ac_c" 1>&6
6979 echo "configure:6980: checking for X" >&5
6981 # Check whether --with-x or --without-x was given.
6982 if test "${with_x+set}" = set; then
6987 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6988 if test "x$with_x" = xno
; then
6989 # The user explicitly disabled X.
6992 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6993 # Both variables are already set.
6996 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6997 echo $ac_n "(cached) $ac_c" 1>&6
6999 # One or both of the vars are not set, and there is no cached value.
7000 ac_x_includes
=NO ac_x_libraries
=NO
7002 if mkdir conftestdir
; then
7004 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7005 cat > Imakefile
<<'EOF'
7007 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7009 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7010 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7011 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7012 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7013 for ac_extension
in a so sl
; do
7014 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7015 test -f $ac_im_libdir/libX11.
$ac_extension; then
7016 ac_im_usrlibdir
=$ac_im_libdir; break
7019 # Screen out bogus values from the imake configuration. They are
7020 # bogus both because they are the default anyway, and because
7021 # using them would break gcc on systems where it needs fixed includes.
7022 case "$ac_im_incroot" in
7024 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7026 case "$ac_im_usrlibdir" in
7028 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7035 if test "$ac_x_includes" = NO
; then
7036 # Guess where to find include files, by looking for this one X11 .h file.
7037 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7039 # First, try using that file with no special directory specified.
7040 cat > conftest.
$ac_ext <<EOF
7041 #line 7042 "configure"
7042 #include "confdefs.h"
7043 #include <$x_direct_test_include>
7045 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7046 { (eval echo configure
:7047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7047 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7048 if test -z "$ac_err"; then
7050 # We can compile using X headers with no special include directory.
7054 echo "configure: failed program was:" >&5
7055 cat conftest.
$ac_ext >&5
7057 # Look for the header file in a standard set of common directories.
7058 # Check X11 before X11Rn because it is often a symlink to the current release.
7061 /usr
/X
11R
6/include \
7062 /usr
/X
11R
5/include \
7063 /usr
/X
11R
4/include \
7066 /usr
/include
/X11R6 \
7067 /usr
/include
/X11R5 \
7068 /usr
/include
/X11R4 \
7070 /usr
/local
/X
11/include \
7071 /usr
/local
/X
11R
6/include \
7072 /usr
/local
/X
11R
5/include \
7073 /usr
/local
/X
11R
4/include \
7075 /usr
/local
/include
/X11 \
7076 /usr
/local
/include
/X11R6 \
7077 /usr
/local
/include
/X11R5 \
7078 /usr
/local
/include
/X11R4 \
7082 /usr
/XFree
86/include
/X11 \
7085 /usr
/local
/include \
7086 /usr
/unsupported
/include \
7087 /usr
/athena
/include \
7088 /usr
/local
/x
11r
5/include \
7089 /usr
/lpp
/Xamples
/include \
7091 /usr
/openwin
/include \
7092 /usr
/openwin
/share
/include \
7095 if test -r "$ac_dir/$x_direct_test_include"; then
7096 ac_x_includes
=$ac_dir
7102 fi # $ac_x_includes = NO
7104 if test "$ac_x_libraries" = NO
; then
7105 # Check for the libraries.
7107 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7108 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7110 # See if we find them without any special options.
7111 # Don't add to $LIBS permanently.
7112 ac_save_LIBS
="$LIBS"
7113 LIBS
="-l$x_direct_test_library $LIBS"
7114 cat > conftest.
$ac_ext <<EOF
7115 #line 7116 "configure"
7116 #include "confdefs.h"
7119 ${x_direct_test_function}()
7122 if { (eval echo configure
:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7124 LIBS
="$ac_save_LIBS"
7125 # We can link X programs with no special library path.
7128 echo "configure: failed program was:" >&5
7129 cat conftest.
$ac_ext >&5
7131 LIBS
="$ac_save_LIBS"
7132 # First see if replacing the include by lib works.
7133 # Check X11 before X11Rn because it is often a symlink to the current release.
7134 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7145 /usr
/local
/X
11/lib \
7146 /usr
/local
/X
11R
6/lib \
7147 /usr
/local
/X
11R
5/lib \
7148 /usr
/local
/X
11R
4/lib \
7150 /usr
/local
/lib
/X11 \
7151 /usr
/local
/lib
/X11R6 \
7152 /usr
/local
/lib
/X11R5 \
7153 /usr
/local
/lib
/X11R4 \
7157 /usr
/XFree
86/lib
/X11 \
7161 /usr
/unsupported
/lib \
7163 /usr
/local
/x
11r
5/lib \
7164 /usr
/lpp
/Xamples
/lib \
7168 /usr
/openwin
/share
/lib \
7171 for ac_extension
in a so sl
; do
7172 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7173 ac_x_libraries
=$ac_dir
7180 fi # $ac_x_libraries = NO
7182 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7183 # Didn't find X anywhere. Cache the known absence of X.
7184 ac_cv_have_x
="have_x=no"
7186 # Record where we found X for the cache.
7187 ac_cv_have_x
="have_x=yes \
7188 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7192 eval "$ac_cv_have_x"
7195 if test "$have_x" != yes; then
7196 echo "$ac_t""$have_x" 1>&6
7199 # If each of the values was on the command line, it overrides each guess.
7200 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7201 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7202 # Update the cache value to reflect the command line values.
7203 ac_cv_have_x
="have_x=yes \
7204 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7205 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7208 if test "$no_x" = yes; then
7209 # Not all programs may use this symbol, but it does not hurt to define it.
7210 cat >> confdefs.h
<<\EOF
7211 #define X_DISPLAY_MISSING 1
7214 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7216 if test -n "$x_includes"; then
7217 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7220 # It would also be nice to do this for all -L options, not just this one.
7221 if test -n "$x_libraries"; then
7222 X_LIBS
="$X_LIBS -L$x_libraries"
7223 # For Solaris; some versions of Sun CC require a space after -R and
7224 # others require no space. Words are not sufficient . . . .
7225 case "`(uname -sr) 2>/dev/null`" in
7227 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7228 echo "configure:7229: checking whether -R must be followed by a space" >&5
7229 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7230 cat > conftest.
$ac_ext <<EOF
7231 #line 7232 "configure"
7232 #include "confdefs.h"
7238 if { (eval echo configure
:7239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7242 echo "configure: failed program was:" >&5
7243 cat conftest.
$ac_ext >&5
7248 if test $ac_R_nospace = yes; then
7249 echo "$ac_t""no" 1>&6
7250 X_LIBS
="$X_LIBS -R$x_libraries"
7252 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7253 cat > conftest.
$ac_ext <<EOF
7254 #line 7255 "configure"
7255 #include "confdefs.h"
7261 if { (eval echo configure
:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7265 echo "configure: failed program was:" >&5
7266 cat conftest.
$ac_ext >&5
7271 if test $ac_R_space = yes; then
7272 echo "$ac_t""yes" 1>&6
7273 X_LIBS
="$X_LIBS -R $x_libraries"
7275 echo "$ac_t""neither works" 1>&6
7278 LIBS
="$ac_xsave_LIBS"
7282 # Check for system-dependent libraries X programs must link with.
7283 # Do this before checking for the system-independent R6 libraries
7284 # (-lICE), since we may need -lsocket or whatever for X linking.
7286 if test "$ISC" = yes; then
7287 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7289 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7290 # libraries were built with DECnet support. And karl@cs.umb.edu says
7291 # the Alpha needs dnet_stub (dnet does not exist).
7292 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7293 echo "configure:7294: checking for dnet_ntoa in -ldnet" >&5
7294 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7296 echo $ac_n "(cached) $ac_c" 1>&6
7298 ac_save_LIBS
="$LIBS"
7300 cat > conftest.
$ac_ext <<EOF
7301 #line 7302 "configure"
7302 #include "confdefs.h"
7303 /* Override any gcc2 internal prototype to avoid an error. */
7304 /* We use char because int might match the return type of a gcc2
7305 builtin and then its argument prototype would still apply. */
7312 if { (eval echo configure
:7313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7314 eval "ac_cv_lib_$ac_lib_var=yes"
7316 echo "configure: failed program was:" >&5
7317 cat conftest.
$ac_ext >&5
7319 eval "ac_cv_lib_$ac_lib_var=no"
7322 LIBS
="$ac_save_LIBS"
7325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7326 echo "$ac_t""yes" 1>&6
7327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7329 echo "$ac_t""no" 1>&6
7332 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7333 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7334 echo "configure:7335: checking for dnet_ntoa in -ldnet_stub" >&5
7335 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7337 echo $ac_n "(cached) $ac_c" 1>&6
7339 ac_save_LIBS
="$LIBS"
7340 LIBS
="-ldnet_stub $LIBS"
7341 cat > conftest.
$ac_ext <<EOF
7342 #line 7343 "configure"
7343 #include "confdefs.h"
7344 /* Override any gcc2 internal prototype to avoid an error. */
7345 /* We use char because int might match the return type of a gcc2
7346 builtin and then its argument prototype would still apply. */
7353 if { (eval echo configure
:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7355 eval "ac_cv_lib_$ac_lib_var=yes"
7357 echo "configure: failed program was:" >&5
7358 cat conftest.
$ac_ext >&5
7360 eval "ac_cv_lib_$ac_lib_var=no"
7363 LIBS
="$ac_save_LIBS"
7366 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7367 echo "$ac_t""yes" 1>&6
7368 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7370 echo "$ac_t""no" 1>&6
7375 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7376 # to get the SysV transport functions.
7377 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7379 # The nsl library prevents programs from opening the X display
7380 # on Irix 5.2, according to dickey@clark.net.
7381 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7382 echo "configure:7383: checking for gethostbyname" >&5
7383 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7384 echo $ac_n "(cached) $ac_c" 1>&6
7386 cat > conftest.
$ac_ext <<EOF
7387 #line 7388 "configure"
7388 #include "confdefs.h"
7389 /* System header to define __stub macros and hopefully few prototypes,
7390 which can conflict with char gethostbyname(); below. */
7392 /* Override any gcc2 internal prototype to avoid an error. */
7393 /* We use char because int might match the return type of a gcc2
7394 builtin and then its argument prototype would still apply. */
7395 char gethostbyname();
7399 /* The GNU C library defines this for functions which it implements
7400 to always fail with ENOSYS. Some functions are actually named
7401 something starting with __ and the normal name is an alias. */
7402 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7410 if { (eval echo configure
:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7412 eval "ac_cv_func_gethostbyname=yes"
7414 echo "configure: failed program was:" >&5
7415 cat conftest.
$ac_ext >&5
7417 eval "ac_cv_func_gethostbyname=no"
7422 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7423 echo "$ac_t""yes" 1>&6
7426 echo "$ac_t""no" 1>&6
7429 if test $ac_cv_func_gethostbyname = no
; then
7430 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7431 echo "configure:7432: checking for gethostbyname in -lnsl" >&5
7432 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7434 echo $ac_n "(cached) $ac_c" 1>&6
7436 ac_save_LIBS
="$LIBS"
7438 cat > conftest.
$ac_ext <<EOF
7439 #line 7440 "configure"
7440 #include "confdefs.h"
7441 /* Override any gcc2 internal prototype to avoid an error. */
7442 /* We use char because int might match the return type of a gcc2
7443 builtin and then its argument prototype would still apply. */
7444 char gethostbyname();
7450 if { (eval echo configure
:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7452 eval "ac_cv_lib_$ac_lib_var=yes"
7454 echo "configure: failed program was:" >&5
7455 cat conftest.
$ac_ext >&5
7457 eval "ac_cv_lib_$ac_lib_var=no"
7460 LIBS
="$ac_save_LIBS"
7463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7464 echo "$ac_t""yes" 1>&6
7465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7467 echo "$ac_t""no" 1>&6
7472 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7473 # socket/setsockopt and other routines are undefined under SCO ODT
7474 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7475 # on later versions), says simon@lia.di.epfl.ch: it contains
7476 # gethostby* variants that don't use the nameserver (or something).
7477 # -lsocket must be given before -lnsl if both are needed.
7478 # We assume that if connect needs -lnsl, so does gethostbyname.
7479 echo $ac_n "checking for connect""... $ac_c" 1>&6
7480 echo "configure:7481: checking for connect" >&5
7481 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7482 echo $ac_n "(cached) $ac_c" 1>&6
7484 cat > conftest.
$ac_ext <<EOF
7485 #line 7486 "configure"
7486 #include "confdefs.h"
7487 /* System header to define __stub macros and hopefully few prototypes,
7488 which can conflict with char connect(); below. */
7490 /* Override any gcc2 internal prototype to avoid an error. */
7491 /* We use char because int might match the return type of a gcc2
7492 builtin and then its argument prototype would still apply. */
7497 /* The GNU C library defines this for functions which it implements
7498 to always fail with ENOSYS. Some functions are actually named
7499 something starting with __ and the normal name is an alias. */
7500 #if defined (__stub_connect) || defined (__stub___connect)
7508 if { (eval echo configure
:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7510 eval "ac_cv_func_connect=yes"
7512 echo "configure: failed program was:" >&5
7513 cat conftest.
$ac_ext >&5
7515 eval "ac_cv_func_connect=no"
7520 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7521 echo "$ac_t""yes" 1>&6
7524 echo "$ac_t""no" 1>&6
7527 if test $ac_cv_func_connect = no
; then
7528 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7529 echo "configure:7530: checking for connect in -lsocket" >&5
7530 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7531 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7532 echo $ac_n "(cached) $ac_c" 1>&6
7534 ac_save_LIBS
="$LIBS"
7535 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7536 cat > conftest.
$ac_ext <<EOF
7537 #line 7538 "configure"
7538 #include "confdefs.h"
7539 /* Override any gcc2 internal prototype to avoid an error. */
7540 /* We use char because int might match the return type of a gcc2
7541 builtin and then its argument prototype would still apply. */
7548 if { (eval echo configure
:7549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7550 eval "ac_cv_lib_$ac_lib_var=yes"
7552 echo "configure: failed program was:" >&5
7553 cat conftest.
$ac_ext >&5
7555 eval "ac_cv_lib_$ac_lib_var=no"
7558 LIBS
="$ac_save_LIBS"
7561 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7562 echo "$ac_t""yes" 1>&6
7563 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7565 echo "$ac_t""no" 1>&6
7570 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7571 echo $ac_n "checking for remove""... $ac_c" 1>&6
7572 echo "configure:7573: checking for remove" >&5
7573 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7574 echo $ac_n "(cached) $ac_c" 1>&6
7576 cat > conftest.
$ac_ext <<EOF
7577 #line 7578 "configure"
7578 #include "confdefs.h"
7579 /* System header to define __stub macros and hopefully few prototypes,
7580 which can conflict with char remove(); below. */
7582 /* Override any gcc2 internal prototype to avoid an error. */
7583 /* We use char because int might match the return type of a gcc2
7584 builtin and then its argument prototype would still apply. */
7589 /* The GNU C library defines this for functions which it implements
7590 to always fail with ENOSYS. Some functions are actually named
7591 something starting with __ and the normal name is an alias. */
7592 #if defined (__stub_remove) || defined (__stub___remove)
7600 if { (eval echo configure
:7601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7602 eval "ac_cv_func_remove=yes"
7604 echo "configure: failed program was:" >&5
7605 cat conftest.
$ac_ext >&5
7607 eval "ac_cv_func_remove=no"
7612 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7613 echo "$ac_t""yes" 1>&6
7616 echo "$ac_t""no" 1>&6
7619 if test $ac_cv_func_remove = no
; then
7620 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7621 echo "configure:7622: checking for remove in -lposix" >&5
7622 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7624 echo $ac_n "(cached) $ac_c" 1>&6
7626 ac_save_LIBS
="$LIBS"
7627 LIBS
="-lposix $LIBS"
7628 cat > conftest.
$ac_ext <<EOF
7629 #line 7630 "configure"
7630 #include "confdefs.h"
7631 /* Override any gcc2 internal prototype to avoid an error. */
7632 /* We use char because int might match the return type of a gcc2
7633 builtin and then its argument prototype would still apply. */
7640 if { (eval echo configure
:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7642 eval "ac_cv_lib_$ac_lib_var=yes"
7644 echo "configure: failed program was:" >&5
7645 cat conftest.
$ac_ext >&5
7647 eval "ac_cv_lib_$ac_lib_var=no"
7650 LIBS
="$ac_save_LIBS"
7653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7654 echo "$ac_t""yes" 1>&6
7655 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7657 echo "$ac_t""no" 1>&6
7662 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7663 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7664 echo "configure:7665: checking for shmat" >&5
7665 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7666 echo $ac_n "(cached) $ac_c" 1>&6
7668 cat > conftest.
$ac_ext <<EOF
7669 #line 7670 "configure"
7670 #include "confdefs.h"
7671 /* System header to define __stub macros and hopefully few prototypes,
7672 which can conflict with char shmat(); below. */
7674 /* Override any gcc2 internal prototype to avoid an error. */
7675 /* We use char because int might match the return type of a gcc2
7676 builtin and then its argument prototype would still apply. */
7681 /* The GNU C library defines this for functions which it implements
7682 to always fail with ENOSYS. Some functions are actually named
7683 something starting with __ and the normal name is an alias. */
7684 #if defined (__stub_shmat) || defined (__stub___shmat)
7692 if { (eval echo configure
:7693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7694 eval "ac_cv_func_shmat=yes"
7696 echo "configure: failed program was:" >&5
7697 cat conftest.
$ac_ext >&5
7699 eval "ac_cv_func_shmat=no"
7704 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7705 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7711 if test $ac_cv_func_shmat = no
; then
7712 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7713 echo "configure:7714: checking for shmat in -lipc" >&5
7714 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7715 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7716 echo $ac_n "(cached) $ac_c" 1>&6
7718 ac_save_LIBS
="$LIBS"
7720 cat > conftest.
$ac_ext <<EOF
7721 #line 7722 "configure"
7722 #include "confdefs.h"
7723 /* Override any gcc2 internal prototype to avoid an error. */
7724 /* We use char because int might match the return type of a gcc2
7725 builtin and then its argument prototype would still apply. */
7732 if { (eval echo configure
:7733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7734 eval "ac_cv_lib_$ac_lib_var=yes"
7736 echo "configure: failed program was:" >&5
7737 cat conftest.
$ac_ext >&5
7739 eval "ac_cv_lib_$ac_lib_var=no"
7742 LIBS
="$ac_save_LIBS"
7745 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7746 echo "$ac_t""yes" 1>&6
7747 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7749 echo "$ac_t""no" 1>&6
7755 # Check for libraries that X11R6 Xt/Xaw programs need.
7756 ac_save_LDFLAGS
="$LDFLAGS"
7757 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7758 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7759 # check for ICE first), but we must link in the order -lSM -lICE or
7760 # we get undefined symbols. So assume we have SM if we have ICE.
7761 # These have to be linked with before -lX11, unlike the other
7762 # libraries we check for below, so use a different variable.
7763 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7764 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7765 echo "configure:7766: checking for IceConnectionNumber in -lICE" >&5
7766 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7768 echo $ac_n "(cached) $ac_c" 1>&6
7770 ac_save_LIBS
="$LIBS"
7771 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7772 cat > conftest.
$ac_ext <<EOF
7773 #line 7774 "configure"
7774 #include "confdefs.h"
7775 /* Override any gcc2 internal prototype to avoid an error. */
7776 /* We use char because int might match the return type of a gcc2
7777 builtin and then its argument prototype would still apply. */
7778 char IceConnectionNumber();
7781 IceConnectionNumber()
7784 if { (eval echo configure
:7785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7786 eval "ac_cv_lib_$ac_lib_var=yes"
7788 echo "configure: failed program was:" >&5
7789 cat conftest.
$ac_ext >&5
7791 eval "ac_cv_lib_$ac_lib_var=no"
7794 LIBS
="$ac_save_LIBS"
7797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7798 echo "$ac_t""yes" 1>&6
7799 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7801 echo "$ac_t""no" 1>&6
7804 LDFLAGS
="$ac_save_LDFLAGS"
7809 if test "$no_x" = "yes"; then
7810 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7813 TOOLKIT_INCLUDE
="$X_CFLAGS"
7814 GUI_TK_LIBRARY
="$X_LIBS"
7816 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7817 echo "configure:7818: checking for Motif/Lesstif includes" >&5
7820 for ac_dir
in $SEARCH_INCLUDE;
7822 if test -f "$ac_dir/Xm/Xm.h"; then
7823 ac_find_includes
=$ac_dir
7828 if test "$ac_find_includes" != "" ; then
7829 echo "$ac_t""found $ac_find_includes" 1>&6
7831 echo "$ac_t""no" 1>&6
7832 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7835 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7836 echo "configure:7837: checking for Motif/Lesstif library" >&5
7839 for ac_dir
in $SEARCH_LIB;
7841 for ac_extension
in a so sl
; do
7842 if test -f "$ac_dir/libXm.$ac_extension"; then
7843 ac_find_libraries
=$ac_dir
7849 if test "$ac_find_libraries" != "" ; then
7851 ac_path_to_include
=$ac_find_includes
7852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7854 if test $result = 0; then
7855 ac_path_to_include
=""
7857 ac_path_to_include
="-I$ac_find_includes"
7861 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7863 if test $result = 0; then
7866 ac_path_to_link
="-L$ac_find_libraries"
7870 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7871 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7872 echo "$ac_t""found at $ac_find_libraries" 1>&6
7874 echo "$ac_t""no" 1>&6
7875 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7878 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7879 echo "configure:7880: checking for Xt library" >&5
7882 for ac_dir
in $SEARCH_LIB;
7884 for ac_extension
in a so sl
; do
7885 if test -f "$ac_dir/libXt.$ac_extension"; then
7886 ac_find_libraries
=$ac_dir
7892 if test "$ac_find_libraries" != "" ; then
7894 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7896 if test $result = 0; then
7899 ac_path_to_link
="-L$ac_find_libraries"
7902 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7903 echo "$ac_t""found at $ac_find_libraries" 1>&6
7905 echo "$ac_t""no" 1>&6
7906 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7910 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7911 echo "configure:7912: checking for Xpm library" >&5
7914 for ac_dir
in $SEARCH_LIB;
7916 for ac_extension
in a so sl
; do
7917 if test -f "$ac_dir/libXpm.$ac_extension"; then
7918 ac_find_libraries
=$ac_dir
7924 if test "$ac_find_libraries" != "" ; then
7926 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7928 if test $result = 0; then
7931 ac_path_to_link
="-L$ac_find_libraries"
7934 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7936 cat >> confdefs.h
<<\EOF
7937 #define wxHAVE_LIB_XPM 1
7940 echo "$ac_t""found at $ac_find_libraries" 1>&6
7942 echo "$ac_t""no" 1>&6
7943 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7946 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm"
7947 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7950 GUIHEADERS
="\$(MOTIF_HEADERS)"
7951 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7952 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7953 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7954 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7955 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7956 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7957 UNIXOBJS
="\$(UNIX_OBJS)"
7961 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7963 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7965 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7967 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7968 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7969 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7972 ALL_OBJECTS
="\$(BASE_OBJS)"
7973 ALL_DEPFILES
="\${BASE_DEPS}"
7974 ALL_HEADERS
="\${BASE_HEADERS}"
7979 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7981 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7983 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7985 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7986 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7987 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7994 if test "$wxUSE_SHARED" = "yes"; then
7995 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7999 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8000 SHARED_LD
="${CXX} -b -o"
8002 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8005 SHARED_LD
="${CC} -shared -o"
8007 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8008 WX_ALL
="CREATE_LINKS"
8010 *-*-irix5* | *-*-irix6* )
8011 if test "$GCC" = yes ; then
8012 SHARED_LD
="${CC} -shared -o"
8015 SHARED_LD
="${CXX} -shared -o"
8017 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8018 WX_ALL
="CREATE_LINKS"
8021 if test "$GCC" = yes ; then
8022 SHARED_LD
="${CC} -shared -o"
8025 SHARED_LD
="${CXX} -G -o"
8028 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8029 WX_ALL
="CREATE_LINKS"
8032 SHARED_LD
="${CC} -shared -o"
8034 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8035 WX_ALL
="CREATE_LINKS"
8037 *-*-freebsd* | *-*-netbsd*)
8038 SHARED_LD
="${CC} -shared -o"
8040 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8041 WX_ALL
="CREATE_LINKS"
8044 SHARED_LD
="${CXX} -shared -o"
8046 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8047 WX_ALL
="CREATE_LINKS"
8050 SHARED_LD
="${CXX} -shared -o"
8052 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8053 WX_ALL
="CREATE_LINKS"
8056 SHARED_LD
="${CC} -shared -o"
8058 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8059 WX_ALL
="CREATE_LINKS"
8062 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8063 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8066 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8067 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8070 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8071 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8076 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8080 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8081 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8085 for ac_hdr
in strings.h
8087 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8089 echo "configure:8090: checking for $ac_hdr" >&5
8090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8091 echo $ac_n "(cached) $ac_c" 1>&6
8093 cat > conftest.
$ac_ext <<EOF
8094 #line 8095 "configure"
8095 #include "confdefs.h"
8098 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8099 { (eval echo configure
:8100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8100 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8101 if test -z "$ac_err"; then
8103 eval "ac_cv_header_$ac_safe=yes"
8106 echo "configure: failed program was:" >&5
8107 cat conftest.
$ac_ext >&5
8109 eval "ac_cv_header_$ac_safe=no"
8113 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8114 echo "$ac_t""yes" 1>&6
8115 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8116 cat >> confdefs.h
<<EOF
8117 #define $ac_tr_hdr 1
8121 echo "$ac_t""no" 1>&6
8125 for ac_hdr
in unistd.h
8127 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8128 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8129 echo "configure:8130: checking for $ac_hdr" >&5
8130 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8131 echo $ac_n "(cached) $ac_c" 1>&6
8133 cat > conftest.
$ac_ext <<EOF
8134 #line 8135 "configure"
8135 #include "confdefs.h"
8138 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8139 { (eval echo configure
:8140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8140 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8141 if test -z "$ac_err"; then
8143 eval "ac_cv_header_$ac_safe=yes"
8146 echo "configure: failed program was:" >&5
8147 cat conftest.
$ac_ext >&5
8149 eval "ac_cv_header_$ac_safe=no"
8153 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8154 echo "$ac_t""yes" 1>&6
8155 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8156 cat >> confdefs.h
<<EOF
8157 #define $ac_tr_hdr 1
8161 echo "$ac_t""no" 1>&6
8165 for ac_hdr
in wchar.h
8167 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8168 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8169 echo "configure:8170: checking for $ac_hdr" >&5
8170 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8171 echo $ac_n "(cached) $ac_c" 1>&6
8173 cat > conftest.
$ac_ext <<EOF
8174 #line 8175 "configure"
8175 #include "confdefs.h"
8178 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8179 { (eval echo configure
:8180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8180 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8181 if test -z "$ac_err"; then
8183 eval "ac_cv_header_$ac_safe=yes"
8186 echo "configure: failed program was:" >&5
8187 cat conftest.
$ac_ext >&5
8189 eval "ac_cv_header_$ac_safe=no"
8193 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8194 echo "$ac_t""yes" 1>&6
8195 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8196 cat >> confdefs.h
<<EOF
8197 #define $ac_tr_hdr 1
8201 echo "$ac_t""no" 1>&6
8205 for ac_hdr
in wcstr.h
8207 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8209 echo "configure:8210: checking for $ac_hdr" >&5
8210 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8211 echo $ac_n "(cached) $ac_c" 1>&6
8213 cat > conftest.
$ac_ext <<EOF
8214 #line 8215 "configure"
8215 #include "confdefs.h"
8218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8219 { (eval echo configure
:8220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8221 if test -z "$ac_err"; then
8223 eval "ac_cv_header_$ac_safe=yes"
8226 echo "configure: failed program was:" >&5
8227 cat conftest.
$ac_ext >&5
8229 eval "ac_cv_header_$ac_safe=no"
8233 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8234 echo "$ac_t""yes" 1>&6
8235 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8236 cat >> confdefs.h
<<EOF
8237 #define $ac_tr_hdr 1
8241 echo "$ac_t""no" 1>&6
8245 for ac_hdr
in fnmatch.h
8247 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8249 echo "configure:8250: checking for $ac_hdr" >&5
8250 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8251 echo $ac_n "(cached) $ac_c" 1>&6
8253 cat > conftest.
$ac_ext <<EOF
8254 #line 8255 "configure"
8255 #include "confdefs.h"
8258 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8259 { (eval echo configure
:8260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8260 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8261 if test -z "$ac_err"; then
8263 eval "ac_cv_header_$ac_safe=yes"
8266 echo "configure: failed program was:" >&5
8267 cat conftest.
$ac_ext >&5
8269 eval "ac_cv_header_$ac_safe=no"
8273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8274 echo "$ac_t""yes" 1>&6
8275 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8276 cat >> confdefs.h
<<EOF
8277 #define $ac_tr_hdr 1
8281 echo "$ac_t""no" 1>&6
8286 if test "$wxUSE_GUI" = "yes"; then
8287 for ac_hdr
in X
11/XKBlib.h
8289 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8291 echo "configure:8292: checking for $ac_hdr" >&5
8292 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8293 echo $ac_n "(cached) $ac_c" 1>&6
8295 cat > conftest.
$ac_ext <<EOF
8296 #line 8297 "configure"
8297 #include "confdefs.h"
8300 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8301 { (eval echo configure
:8302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8302 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8303 if test -z "$ac_err"; then
8305 eval "ac_cv_header_$ac_safe=yes"
8308 echo "configure: failed program was:" >&5
8309 cat conftest.
$ac_ext >&5
8311 eval "ac_cv_header_$ac_safe=no"
8315 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8316 echo "$ac_t""yes" 1>&6
8317 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8318 cat >> confdefs.h
<<EOF
8319 #define $ac_tr_hdr 1
8323 echo "$ac_t""no" 1>&6
8330 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8331 echo "configure:8332: checking for ANSI C header files" >&5
8332 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8333 echo $ac_n "(cached) $ac_c" 1>&6
8335 cat > conftest.
$ac_ext <<EOF
8336 #line 8337 "configure"
8337 #include "confdefs.h"
8343 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8344 { (eval echo configure
:8345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8345 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8346 if test -z "$ac_err"; then
8348 ac_cv_header_stdc
=yes
8351 echo "configure: failed program was:" >&5
8352 cat conftest.
$ac_ext >&5
8354 ac_cv_header_stdc
=no
8358 if test $ac_cv_header_stdc = yes; then
8359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8360 cat > conftest.
$ac_ext <<EOF
8361 #line 8362 "configure"
8362 #include "confdefs.h"
8365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8366 egrep "memchr" >/dev
/null
2>&1; then
8370 ac_cv_header_stdc
=no
8376 if test $ac_cv_header_stdc = yes; then
8377 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8378 cat > conftest.
$ac_ext <<EOF
8379 #line 8380 "configure"
8380 #include "confdefs.h"
8383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8384 egrep "free" >/dev
/null
2>&1; then
8388 ac_cv_header_stdc
=no
8394 if test $ac_cv_header_stdc = yes; then
8395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8396 if test "$cross_compiling" = yes; then
8399 cat > conftest.
$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8403 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8404 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8405 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8406 int main () { int i; for (i = 0; i < 256; i++)
8407 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8411 if { (eval echo configure
:8412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8415 echo "configure: failed program was:" >&5
8416 cat conftest.
$ac_ext >&5
8418 ac_cv_header_stdc
=no
8426 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8427 if test $ac_cv_header_stdc = yes; then
8428 cat >> confdefs.h
<<\EOF
8429 #define STDC_HEADERS 1
8434 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8435 echo "configure:8436: checking for mode_t" >&5
8436 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8437 echo $ac_n "(cached) $ac_c" 1>&6
8439 cat > conftest.
$ac_ext <<EOF
8440 #line 8441 "configure"
8441 #include "confdefs.h"
8442 #include <sys/types.h>
8448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8449 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8451 ac_cv_type_mode_t
=yes
8454 ac_cv_type_mode_t
=no
8459 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8460 if test $ac_cv_type_mode_t = no
; then
8461 cat >> confdefs.h
<<\EOF
8467 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8468 echo "configure:8469: checking for off_t" >&5
8469 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8470 echo $ac_n "(cached) $ac_c" 1>&6
8472 cat > conftest.
$ac_ext <<EOF
8473 #line 8474 "configure"
8474 #include "confdefs.h"
8475 #include <sys/types.h>
8481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8482 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8484 ac_cv_type_off_t
=yes
8492 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8493 if test $ac_cv_type_off_t = no
; then
8494 cat >> confdefs.h
<<\EOF
8500 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8501 echo "configure:8502: checking for pid_t" >&5
8502 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8503 echo $ac_n "(cached) $ac_c" 1>&6
8505 cat > conftest.
$ac_ext <<EOF
8506 #line 8507 "configure"
8507 #include "confdefs.h"
8508 #include <sys/types.h>
8514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8515 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8517 ac_cv_type_pid_t
=yes
8525 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8526 if test $ac_cv_type_pid_t = no
; then
8527 cat >> confdefs.h
<<\EOF
8533 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8534 echo "configure:8535: checking for size_t" >&5
8535 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8538 cat > conftest.
$ac_ext <<EOF
8539 #line 8540 "configure"
8540 #include "confdefs.h"
8541 #include <sys/types.h>
8547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8548 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8550 ac_cv_type_size_t
=yes
8553 ac_cv_type_size_t
=no
8558 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8559 if test $ac_cv_type_size_t = no
; then
8560 cat >> confdefs.h
<<\EOF
8561 #define size_t unsigned
8566 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8567 echo "configure:8568: checking for uid_t in sys/types.h" >&5
8568 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8569 echo $ac_n "(cached) $ac_c" 1>&6
8571 cat > conftest.
$ac_ext <<EOF
8572 #line 8573 "configure"
8573 #include "confdefs.h"
8574 #include <sys/types.h>
8576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8577 egrep "uid_t" >/dev
/null
2>&1; then
8579 ac_cv_type_uid_t
=yes
8588 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8589 if test $ac_cv_type_uid_t = no
; then
8590 cat >> confdefs.h
<<\EOF
8594 cat >> confdefs.h
<<\EOF
8603 echo $ac_n "checking for working const""... $ac_c" 1>&6
8604 echo "configure:8605: checking for working const" >&5
8605 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8606 echo $ac_n "(cached) $ac_c" 1>&6
8608 cat > conftest.
$ac_ext <<EOF
8609 #line 8610 "configure"
8610 #include "confdefs.h"
8614 /* Ultrix mips cc rejects this. */
8615 typedef int charset[2]; const charset x;
8616 /* SunOS 4.1.1 cc rejects this. */
8617 char const *const *ccp;
8619 /* NEC SVR4.0.2 mips cc rejects this. */
8620 struct point {int x, y;};
8621 static struct point const zero = {0,0};
8622 /* AIX XL C 1.02.0.0 rejects this.
8623 It does not let you subtract one const X* pointer from another in an arm
8624 of an if-expression whose if-part is not a constant expression */
8625 const char *g = "string";
8626 ccp = &g + (g ? g-g : 0);
8627 /* HPUX 7.0 cc rejects these. */
8630 ccp = (char const *const *) p;
8631 { /* SCO 3.2v4 cc rejects this. */
8633 char const *s = 0 ? (char *) 0 : (char const *) 0;
8637 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8639 const int *foo = &x[0];
8642 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8643 typedef const int *iptr;
8647 { /* AIX XL C 1.02.0.0 rejects this saying
8648 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8649 struct s { int j; const int *ap[3]; };
8650 struct s *b; b->j = 5;
8652 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8658 if { (eval echo configure
:8659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8662 echo "configure: failed program was:" >&5
8663 cat conftest.
$ac_ext >&5
8670 echo "$ac_t""$ac_cv_c_const" 1>&6
8671 if test $ac_cv_c_const = no
; then
8672 cat >> confdefs.h
<<\EOF
8678 echo $ac_n "checking for inline""... $ac_c" 1>&6
8679 echo "configure:8680: checking for inline" >&5
8680 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8681 echo $ac_n "(cached) $ac_c" 1>&6
8684 for ac_kw
in inline __inline__ __inline
; do
8685 cat > conftest.
$ac_ext <<EOF
8686 #line 8687 "configure"
8687 #include "confdefs.h"
8693 if { (eval echo configure
:8694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8695 ac_cv_c_inline
=$ac_kw; break
8697 echo "configure: failed program was:" >&5
8698 cat conftest.
$ac_ext >&5
8705 echo "$ac_t""$ac_cv_c_inline" 1>&6
8706 case "$ac_cv_c_inline" in
8708 no
) cat >> confdefs.h
<<\EOF
8712 *) cat >> confdefs.h
<<EOF
8713 #define inline $ac_cv_c_inline
8719 echo $ac_n "checking size of char""... $ac_c" 1>&6
8720 echo "configure:8721: checking size of char" >&5
8721 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8722 echo $ac_n "(cached) $ac_c" 1>&6
8724 if test "$cross_compiling" = yes; then
8727 cat > conftest.
$ac_ext <<EOF
8728 #line 8729 "configure"
8729 #include "confdefs.h"
8733 FILE *f=fopen("conftestval", "w");
8735 fprintf(f, "%d\n", sizeof(char));
8739 if { (eval echo configure
:8740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8741 ac_cv_sizeof_char
=`cat conftestval`
8743 echo "configure: failed program was:" >&5
8744 cat conftest.
$ac_ext >&5
8752 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8753 cat >> confdefs.h
<<EOF
8754 #define SIZEOF_CHAR $ac_cv_sizeof_char
8758 echo $ac_n "checking size of short""... $ac_c" 1>&6
8759 echo "configure:8760: checking size of short" >&5
8760 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8761 echo $ac_n "(cached) $ac_c" 1>&6
8763 if test "$cross_compiling" = yes; then
8764 ac_cv_sizeof_short
=2
8766 cat > conftest.
$ac_ext <<EOF
8767 #line 8768 "configure"
8768 #include "confdefs.h"
8772 FILE *f=fopen("conftestval", "w");
8774 fprintf(f, "%d\n", sizeof(short));
8778 if { (eval echo configure
:8779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8780 ac_cv_sizeof_short
=`cat conftestval`
8782 echo "configure: failed program was:" >&5
8783 cat conftest.
$ac_ext >&5
8785 ac_cv_sizeof_short
=0
8791 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8792 cat >> confdefs.h
<<EOF
8793 #define SIZEOF_SHORT $ac_cv_sizeof_short
8797 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8798 echo "configure:8799: checking size of int *" >&5
8799 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8800 echo $ac_n "(cached) $ac_c" 1>&6
8802 if test "$cross_compiling" = yes; then
8803 ac_cv_sizeof_int_p
=4
8805 cat > conftest.
$ac_ext <<EOF
8806 #line 8807 "configure"
8807 #include "confdefs.h"
8811 FILE *f=fopen("conftestval", "w");
8813 fprintf(f, "%d\n", sizeof(int *));
8817 if { (eval echo configure
:8818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8819 ac_cv_sizeof_int_p
=`cat conftestval`
8821 echo "configure: failed program was:" >&5
8822 cat conftest.
$ac_ext >&5
8824 ac_cv_sizeof_int_p
=0
8830 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8831 cat >> confdefs.h
<<EOF
8832 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8836 echo $ac_n "checking size of int""... $ac_c" 1>&6
8837 echo "configure:8838: checking size of int" >&5
8838 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8839 echo $ac_n "(cached) $ac_c" 1>&6
8841 if test "$cross_compiling" = yes; then
8844 cat > conftest.
$ac_ext <<EOF
8845 #line 8846 "configure"
8846 #include "confdefs.h"
8850 FILE *f=fopen("conftestval", "w");
8852 fprintf(f, "%d\n", sizeof(int));
8856 if { (eval echo configure
:8857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8858 ac_cv_sizeof_int
=`cat conftestval`
8860 echo "configure: failed program was:" >&5
8861 cat conftest.
$ac_ext >&5
8869 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8870 cat >> confdefs.h
<<EOF
8871 #define SIZEOF_INT $ac_cv_sizeof_int
8875 echo $ac_n "checking size of long""... $ac_c" 1>&6
8876 echo "configure:8877: checking size of long" >&5
8877 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8878 echo $ac_n "(cached) $ac_c" 1>&6
8880 if test "$cross_compiling" = yes; then
8883 cat > conftest.
$ac_ext <<EOF
8884 #line 8885 "configure"
8885 #include "confdefs.h"
8889 FILE *f=fopen("conftestval", "w");
8891 fprintf(f, "%d\n", sizeof(long));
8895 if { (eval echo configure
:8896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8897 ac_cv_sizeof_long
=`cat conftestval`
8899 echo "configure: failed program was:" >&5
8900 cat conftest.
$ac_ext >&5
8908 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8909 cat >> confdefs.h
<<EOF
8910 #define SIZEOF_LONG $ac_cv_sizeof_long
8914 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8915 echo "configure:8916: checking size of long long" >&5
8916 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8917 echo $ac_n "(cached) $ac_c" 1>&6
8919 if test "$cross_compiling" = yes; then
8920 ac_cv_sizeof_long_long
=0
8922 cat > conftest.
$ac_ext <<EOF
8923 #line 8924 "configure"
8924 #include "confdefs.h"
8928 FILE *f=fopen("conftestval", "w");
8930 fprintf(f, "%d\n", sizeof(long long));
8934 if { (eval echo configure
:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8936 ac_cv_sizeof_long_long
=`cat conftestval`
8938 echo "configure: failed program was:" >&5
8939 cat conftest.
$ac_ext >&5
8941 ac_cv_sizeof_long_long
=0
8947 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8948 cat >> confdefs.h
<<EOF
8949 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8954 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8955 echo "configure:8956: checking whether byte ordering is bigendian" >&5
8956 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8957 echo $ac_n "(cached) $ac_c" 1>&6
8959 ac_cv_c_bigendian
=unknown
8960 # See if sys/param.h defines the BYTE_ORDER macro.
8961 cat > conftest.
$ac_ext <<EOF
8962 #line 8963 "configure"
8963 #include "confdefs.h"
8964 #include <sys/types.h>
8965 #include <sys/param.h>
8968 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8973 if { (eval echo configure
:8974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8975 # It does; now see whether it defined to BIG_ENDIAN or not.
8976 cat > conftest.
$ac_ext <<EOF
8977 #line 8978 "configure"
8978 #include "confdefs.h"
8979 #include <sys/types.h>
8980 #include <sys/param.h>
8983 #if BYTE_ORDER != BIG_ENDIAN
8988 if { (eval echo configure
:8989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8990 ac_cv_c_bigendian
=yes
8992 echo "configure: failed program was:" >&5
8993 cat conftest.
$ac_ext >&5
8995 ac_cv_c_bigendian
=no
8999 echo "configure: failed program was:" >&5
9000 cat conftest.
$ac_ext >&5
9003 if test $ac_cv_c_bigendian = unknown
; then
9004 if test "$cross_compiling" = yes; then
9005 ac_cv_c_bigendian
=unknown
9007 cat > conftest.
$ac_ext <<EOF
9008 #line 9009 "configure"
9009 #include "confdefs.h"
9011 /* Are we little or big endian? From Harbison&Steele. */
9015 char c[sizeof (long)];
9018 exit (u.c[sizeof (long) - 1] == 1);
9021 if { (eval echo configure
:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9023 ac_cv_c_bigendian
=no
9025 echo "configure: failed program was:" >&5
9026 cat conftest.
$ac_ext >&5
9028 ac_cv_c_bigendian
=yes
9036 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9037 if test $ac_cv_c_bigendian = unknown
; then
9038 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
9040 if test $ac_cv_c_bigendian = yes; then
9041 cat >> confdefs.h
<<\EOF
9042 #define WORDS_BIGENDIAN 1
9049 if test "$cross_compiling" = "yes"; then
9050 cat >> confdefs.h
<<\EOF
9051 #define wxUSE_IOSTREAMH 1
9057 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9058 ac_cpp
='$CXXCPP $CPPFLAGS'
9059 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9060 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9061 cross_compiling
=$ac_cv_prog_cxx_cross
9064 for ac_hdr
in iostream
9066 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9067 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9068 echo "configure:9069: checking for $ac_hdr" >&5
9069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9070 echo $ac_n "(cached) $ac_c" 1>&6
9072 cat > conftest.
$ac_ext <<EOF
9073 #line 9074 "configure"
9074 #include "confdefs.h"
9077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9078 { (eval echo configure
:9079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9080 if test -z "$ac_err"; then
9082 eval "ac_cv_header_$ac_safe=yes"
9085 echo "configure: failed program was:" >&5
9086 cat conftest.
$ac_ext >&5
9088 eval "ac_cv_header_$ac_safe=no"
9092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9093 echo "$ac_t""yes" 1>&6
9094 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9095 cat >> confdefs.h
<<EOF
9096 #define $ac_tr_hdr 1
9100 echo "$ac_t""no" 1>&6
9105 if test "x$HAVE_IOSTREAM" = x
; then
9106 cat >> confdefs.h
<<\EOF
9107 #define wxUSE_IOSTREAMH 1
9115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9116 ac_cpp
='$CPP $CPPFLAGS'
9117 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9118 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9119 cross_compiling
=$ac_cv_prog_cc_cross
9125 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9126 echo "configure:9127: checking if C++ compiler supports bool" >&5
9127 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9128 echo $ac_n "(cached) $ac_c" 1>&6
9133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9134 ac_cpp
='$CXXCPP $CPPFLAGS'
9135 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9136 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9137 cross_compiling
=$ac_cv_prog_cxx_cross
9140 cat > conftest.
$ac_ext <<EOF
9141 #line 9142 "configure"
9142 #include "confdefs.h"
9153 if { (eval echo configure
:9154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9156 cat >> confdefs.h
<<\EOF
9163 echo "configure: failed program was:" >&5
9164 cat conftest.
$ac_ext >&5
9174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9175 ac_cpp
='$CPP $CPPFLAGS'
9176 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9177 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9178 cross_compiling
=$ac_cv_prog_cc_cross
9183 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9185 if test "$wx_cv_cpp_bool" = "yes"; then
9186 cat >> confdefs.h
<<\EOF
9194 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9195 echo "configure:9196: checking if size_t and int are different types" >&5
9196 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9197 echo $ac_n "(cached) $ac_c" 1>&6
9202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9203 ac_cpp
='$CXXCPP $CPPFLAGS'
9204 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9205 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9206 cross_compiling
=$ac_cv_prog_cxx_cross
9209 if test "$cross_compiling" = yes; then
9210 wx_cv_cpp_sizet_not_int
=no
9213 cat > conftest.
$ac_ext <<EOF
9214 #line 9215 "configure"
9215 #include "confdefs.h"
9217 extern "C" void exit(int);
9225 S(char *s) { m_s = s; }
9227 char operator[](size_t n) const { return m_s[n]; }
9228 char operator[](int n) const { return m_s[n]; }
9240 return s[n1] == s[n2];
9244 if { (eval echo configure
:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9246 cat >> confdefs.h
<<\EOF
9247 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9249 wx_cv_cpp_sizet_not_int
=yes
9251 echo "configure: failed program was:" >&5
9252 cat conftest.
$ac_ext >&5
9254 wx_cv_cpp_sizet_not_int
=no
9261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9262 ac_cpp
='$CPP $CPPFLAGS'
9263 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9264 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9265 cross_compiling
=$ac_cv_prog_cc_cross
9270 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9274 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9275 echo "configure:9276: checking if you need GNU extensions" >&5
9276 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9277 echo $ac_n "(cached) $ac_c" 1>&6
9280 cat > conftest.
$ac_ext <<EOF
9281 #line 9282 "configure"
9282 #include "confdefs.h"
9283 #include <features.h>
9287 #ifndef __GNU_LIBRARY__
9288 Compile error wanted
9294 if { (eval echo configure
:9295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9296 wx_cv_gnu_extensions
=yes
9298 echo "configure: failed program was:" >&5
9299 cat conftest.
$ac_ext >&5
9301 wx_cv_gnu_extensions
=no
9308 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9309 if test "$wx_cv_gnu_extensions" = "yes"; then
9310 cat >> confdefs.h
<<EOF
9311 #define _GNU_SOURCE 1
9318 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9319 echo "configure:9320: checking for wcslen in -lc" >&5
9320 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9321 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9322 echo $ac_n "(cached) $ac_c" 1>&6
9324 ac_save_LIBS
="$LIBS"
9326 cat > conftest.
$ac_ext <<EOF
9327 #line 9328 "configure"
9328 #include "confdefs.h"
9329 /* Override any gcc2 internal prototype to avoid an error. */
9330 /* We use char because int might match the return type of a gcc2
9331 builtin and then its argument prototype would still apply. */
9338 if { (eval echo configure
:9339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9340 eval "ac_cv_lib_$ac_lib_var=yes"
9342 echo "configure: failed program was:" >&5
9343 cat conftest.
$ac_ext >&5
9345 eval "ac_cv_lib_$ac_lib_var=no"
9348 LIBS
="$ac_save_LIBS"
9351 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9352 echo "$ac_t""yes" 1>&6
9354 cat >> confdefs.h
<<\EOF
9355 #define HAVE_WCSLEN 1
9361 echo "$ac_t""no" 1>&6
9363 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9364 echo "configure:9365: checking for wcslen in -lw" >&5
9365 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9367 echo $ac_n "(cached) $ac_c" 1>&6
9369 ac_save_LIBS
="$LIBS"
9371 cat > conftest.
$ac_ext <<EOF
9372 #line 9373 "configure"
9373 #include "confdefs.h"
9374 /* Override any gcc2 internal prototype to avoid an error. */
9375 /* We use char because int might match the return type of a gcc2
9376 builtin and then its argument prototype would still apply. */
9383 if { (eval echo configure
:9384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9385 eval "ac_cv_lib_$ac_lib_var=yes"
9387 echo "configure: failed program was:" >&5
9388 cat conftest.
$ac_ext >&5
9390 eval "ac_cv_lib_$ac_lib_var=no"
9393 LIBS
="$ac_save_LIBS"
9396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9397 echo "$ac_t""yes" 1>&6
9399 cat >> confdefs.h
<<\EOF
9400 #define HAVE_WCSLEN 1
9406 echo "$ac_t""no" 1>&6
9413 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9414 echo "configure:9415: checking for vprintf" >&5
9415 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9416 echo $ac_n "(cached) $ac_c" 1>&6
9418 cat > conftest.
$ac_ext <<EOF
9419 #line 9420 "configure"
9420 #include "confdefs.h"
9421 /* System header to define __stub macros and hopefully few prototypes,
9422 which can conflict with char vprintf(); below. */
9424 /* Override any gcc2 internal prototype to avoid an error. */
9425 /* We use char because int might match the return type of a gcc2
9426 builtin and then its argument prototype would still apply. */
9431 /* The GNU C library defines this for functions which it implements
9432 to always fail with ENOSYS. Some functions are actually named
9433 something starting with __ and the normal name is an alias. */
9434 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9442 if { (eval echo configure
:9443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9444 eval "ac_cv_func_vprintf=yes"
9446 echo "configure: failed program was:" >&5
9447 cat conftest.
$ac_ext >&5
9449 eval "ac_cv_func_vprintf=no"
9454 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9455 echo "$ac_t""yes" 1>&6
9456 cat >> confdefs.h
<<\EOF
9457 #define HAVE_VPRINTF 1
9461 echo "$ac_t""no" 1>&6
9464 if test "$ac_cv_func_vprintf" != yes; then
9465 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9466 echo "configure:9467: checking for _doprnt" >&5
9467 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9468 echo $ac_n "(cached) $ac_c" 1>&6
9470 cat > conftest.
$ac_ext <<EOF
9471 #line 9472 "configure"
9472 #include "confdefs.h"
9473 /* System header to define __stub macros and hopefully few prototypes,
9474 which can conflict with char _doprnt(); below. */
9476 /* Override any gcc2 internal prototype to avoid an error. */
9477 /* We use char because int might match the return type of a gcc2
9478 builtin and then its argument prototype would still apply. */
9483 /* The GNU C library defines this for functions which it implements
9484 to always fail with ENOSYS. Some functions are actually named
9485 something starting with __ and the normal name is an alias. */
9486 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9494 if { (eval echo configure
:9495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9496 eval "ac_cv_func__doprnt=yes"
9498 echo "configure: failed program was:" >&5
9499 cat conftest.
$ac_ext >&5
9501 eval "ac_cv_func__doprnt=no"
9506 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9507 echo "$ac_t""yes" 1>&6
9508 cat >> confdefs.h
<<\EOF
9509 #define HAVE_DOPRNT 1
9513 echo "$ac_t""no" 1>&6
9519 for ac_func
in vsnprintf
9521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9522 echo "configure:9523: checking for $ac_func" >&5
9523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9524 echo $ac_n "(cached) $ac_c" 1>&6
9526 cat > conftest.
$ac_ext <<EOF
9527 #line 9528 "configure"
9528 #include "confdefs.h"
9529 /* System header to define __stub macros and hopefully few prototypes,
9530 which can conflict with char $ac_func(); below. */
9532 /* Override any gcc2 internal prototype to avoid an error. */
9533 /* We use char because int might match the return type of a gcc2
9534 builtin and then its argument prototype would still apply. */
9539 /* The GNU C library defines this for functions which it implements
9540 to always fail with ENOSYS. Some functions are actually named
9541 something starting with __ and the normal name is an alias. */
9542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9550 if { (eval echo configure
:9551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9552 eval "ac_cv_func_$ac_func=yes"
9554 echo "configure: failed program was:" >&5
9555 cat conftest.
$ac_ext >&5
9557 eval "ac_cv_func_$ac_func=no"
9562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9563 echo "$ac_t""yes" 1>&6
9564 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9565 cat >> confdefs.h
<<EOF
9566 #define $ac_tr_func 1
9568 cat >> confdefs.h
<<\EOF
9569 #define HAVE_VSNPRINTF 1
9573 echo "$ac_t""no" 1>&6
9574 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9582 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9583 ac_cpp
='$CXXCPP $CPPFLAGS'
9584 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9585 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9586 cross_compiling
=$ac_cv_prog_cxx_cross
9589 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9590 echo "configure:9591: checking for vsscanf" >&5
9591 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9592 echo $ac_n "(cached) $ac_c" 1>&6
9595 if test "$cross_compiling" = yes; then
9596 wx_cv_func_vsscanf
=no
9599 cat > conftest.
$ac_ext <<EOF
9600 #line 9601 "configure"
9601 #include "confdefs.h"
9603 extern "C" void exit(int);
9609 int try_vsscanf(const char *format, ...)
9612 va_start(ap, format);
9614 vsscanf("17", format, ap);
9622 try_vsscanf("%d", &i);
9623 return i == 17 ? 0 : 1;
9627 if { (eval echo configure
:9628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9630 cat >> confdefs.h
<<\EOF
9631 #define HAVE_VSSCANF 1
9634 wx_cv_func_vsscanf
=yes
9637 echo "configure: failed program was:" >&5
9638 cat conftest.
$ac_ext >&5
9640 wx_cv_func_vsscanf
=no
9648 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9652 ac_cpp
='$CPP $CPPFLAGS'
9653 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9654 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9655 cross_compiling
=$ac_cv_prog_cc_cross
9658 if test "$USE_UNIX" = 1; then
9660 for ac_func
in vfork
9662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9663 echo "configure:9664: checking for $ac_func" >&5
9664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9665 echo $ac_n "(cached) $ac_c" 1>&6
9667 cat > conftest.
$ac_ext <<EOF
9668 #line 9669 "configure"
9669 #include "confdefs.h"
9670 /* System header to define __stub macros and hopefully few prototypes,
9671 which can conflict with char $ac_func(); below. */
9673 /* Override any gcc2 internal prototype to avoid an error. */
9674 /* We use char because int might match the return type of a gcc2
9675 builtin and then its argument prototype would still apply. */
9680 /* The GNU C library defines this for functions which it implements
9681 to always fail with ENOSYS. Some functions are actually named
9682 something starting with __ and the normal name is an alias. */
9683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9691 if { (eval echo configure
:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9693 eval "ac_cv_func_$ac_func=yes"
9695 echo "configure: failed program was:" >&5
9696 cat conftest.
$ac_ext >&5
9698 eval "ac_cv_func_$ac_func=no"
9703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9704 echo "$ac_t""yes" 1>&6
9705 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9706 cat >> confdefs.h
<<EOF
9707 #define $ac_tr_func 1
9711 echo "$ac_t""no" 1>&6
9717 for ac_func
in nanosleep
9719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9720 echo "configure:9721: checking for $ac_func" >&5
9721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9722 echo $ac_n "(cached) $ac_c" 1>&6
9724 cat > conftest.
$ac_ext <<EOF
9725 #line 9726 "configure"
9726 #include "confdefs.h"
9727 /* System header to define __stub macros and hopefully few prototypes,
9728 which can conflict with char $ac_func(); below. */
9730 /* Override any gcc2 internal prototype to avoid an error. */
9731 /* We use char because int might match the return type of a gcc2
9732 builtin and then its argument prototype would still apply. */
9737 /* The GNU C library defines this for functions which it implements
9738 to always fail with ENOSYS. Some functions are actually named
9739 something starting with __ and the normal name is an alias. */
9740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9748 if { (eval echo configure
:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9750 eval "ac_cv_func_$ac_func=yes"
9752 echo "configure: failed program was:" >&5
9753 cat conftest.
$ac_ext >&5
9755 eval "ac_cv_func_$ac_func=no"
9760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9761 echo "$ac_t""yes" 1>&6
9762 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9763 cat >> confdefs.h
<<EOF
9764 #define $ac_tr_func 1
9766 cat >> confdefs.h
<<\EOF
9767 #define HAVE_NANOSLEEP 1
9771 echo "$ac_t""no" 1>&6
9772 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9773 echo "configure:9774: checking for nanosleep in -lposix4" >&5
9774 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9775 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9776 echo $ac_n "(cached) $ac_c" 1>&6
9778 ac_save_LIBS
="$LIBS"
9779 LIBS
="-lposix4 $LIBS"
9780 cat > conftest.
$ac_ext <<EOF
9781 #line 9782 "configure"
9782 #include "confdefs.h"
9783 /* Override any gcc2 internal prototype to avoid an error. */
9784 /* We use char because int might match the return type of a gcc2
9785 builtin and then its argument prototype would still apply. */
9792 if { (eval echo configure
:9793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9794 eval "ac_cv_lib_$ac_lib_var=yes"
9796 echo "configure: failed program was:" >&5
9797 cat conftest.
$ac_ext >&5
9799 eval "ac_cv_lib_$ac_lib_var=no"
9802 LIBS
="$ac_save_LIBS"
9805 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9806 echo "$ac_t""yes" 1>&6
9808 cat >> confdefs.h
<<\EOF
9809 #define HAVE_NANOSLEEP 1
9812 POSIX4_LINK
="-lposix4"
9815 echo "$ac_t""no" 1>&6
9817 for ac_func
in usleep
9819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9820 echo "configure:9821: checking for $ac_func" >&5
9821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9822 echo $ac_n "(cached) $ac_c" 1>&6
9824 cat > conftest.
$ac_ext <<EOF
9825 #line 9826 "configure"
9826 #include "confdefs.h"
9827 /* System header to define __stub macros and hopefully few prototypes,
9828 which can conflict with char $ac_func(); below. */
9830 /* Override any gcc2 internal prototype to avoid an error. */
9831 /* We use char because int might match the return type of a gcc2
9832 builtin and then its argument prototype would still apply. */
9837 /* The GNU C library defines this for functions which it implements
9838 to always fail with ENOSYS. Some functions are actually named
9839 something starting with __ and the normal name is an alias. */
9840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9848 if { (eval echo configure
:9849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9850 eval "ac_cv_func_$ac_func=yes"
9852 echo "configure: failed program was:" >&5
9853 cat conftest.
$ac_ext >&5
9855 eval "ac_cv_func_$ac_func=no"
9860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9861 echo "$ac_t""yes" 1>&6
9862 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9863 cat >> confdefs.h
<<EOF
9864 #define $ac_tr_func 1
9866 cat >> confdefs.h
<<\EOF
9867 #define HAVE_USLEEP 1
9871 echo "$ac_t""no" 1>&6
9872 echo "configure: warning: wxSleep() function will not work" 1>&2
9884 for ac_func
in uname gethostname
9886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9887 echo "configure:9888: checking for $ac_func" >&5
9888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9889 echo $ac_n "(cached) $ac_c" 1>&6
9891 cat > conftest.
$ac_ext <<EOF
9892 #line 9893 "configure"
9893 #include "confdefs.h"
9894 /* System header to define __stub macros and hopefully few prototypes,
9895 which can conflict with char $ac_func(); below. */
9897 /* Override any gcc2 internal prototype to avoid an error. */
9898 /* We use char because int might match the return type of a gcc2
9899 builtin and then its argument prototype would still apply. */
9904 /* The GNU C library defines this for functions which it implements
9905 to always fail with ENOSYS. Some functions are actually named
9906 something starting with __ and the normal name is an alias. */
9907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9915 if { (eval echo configure
:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9917 eval "ac_cv_func_$ac_func=yes"
9919 echo "configure: failed program was:" >&5
9920 cat conftest.
$ac_ext >&5
9922 eval "ac_cv_func_$ac_func=no"
9927 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9928 echo "$ac_t""yes" 1>&6
9929 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9930 cat >> confdefs.h
<<EOF
9931 #define $ac_tr_func 1
9935 echo "$ac_t""no" 1>&6
9940 for ac_func
in strtok_r
9942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9943 echo "configure:9944: checking for $ac_func" >&5
9944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9945 echo $ac_n "(cached) $ac_c" 1>&6
9947 cat > conftest.
$ac_ext <<EOF
9948 #line 9949 "configure"
9949 #include "confdefs.h"
9950 /* System header to define __stub macros and hopefully few prototypes,
9951 which can conflict with char $ac_func(); below. */
9953 /* Override any gcc2 internal prototype to avoid an error. */
9954 /* We use char because int might match the return type of a gcc2
9955 builtin and then its argument prototype would still apply. */
9960 /* The GNU C library defines this for functions which it implements
9961 to always fail with ENOSYS. Some functions are actually named
9962 something starting with __ and the normal name is an alias. */
9963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9971 if { (eval echo configure
:9972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9973 eval "ac_cv_func_$ac_func=yes"
9975 echo "configure: failed program was:" >&5
9976 cat conftest.
$ac_ext >&5
9978 eval "ac_cv_func_$ac_func=no"
9983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9984 echo "$ac_t""yes" 1>&6
9985 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9986 cat >> confdefs.h
<<EOF
9987 #define $ac_tr_func 1
9991 echo "$ac_t""no" 1>&6
9996 for ac_func
in inet_addr
9998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9999 echo "configure:10000: checking for $ac_func" >&5
10000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10001 echo $ac_n "(cached) $ac_c" 1>&6
10003 cat > conftest.
$ac_ext <<EOF
10004 #line 10005 "configure"
10005 #include "confdefs.h"
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char $ac_func(); below. */
10008 #include <assert.h>
10009 /* Override any gcc2 internal prototype to avoid an error. */
10010 /* We use char because int might match the return type of a gcc2
10011 builtin and then its argument prototype would still apply. */
10016 /* The GNU C library defines this for functions which it implements
10017 to always fail with ENOSYS. Some functions are actually named
10018 something starting with __ and the normal name is an alias. */
10019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10027 if { (eval echo configure
:10028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10029 eval "ac_cv_func_$ac_func=yes"
10031 echo "configure: failed program was:" >&5
10032 cat conftest.
$ac_ext >&5
10034 eval "ac_cv_func_$ac_func=no"
10039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10040 echo "$ac_t""yes" 1>&6
10041 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10042 cat >> confdefs.h
<<EOF
10043 #define $ac_tr_func 1
10047 echo "$ac_t""no" 1>&6
10051 for ac_func
in inet_aton
10053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10054 echo "configure:10055: checking for $ac_func" >&5
10055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10056 echo $ac_n "(cached) $ac_c" 1>&6
10058 cat > conftest.
$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10061 /* System header to define __stub macros and hopefully few prototypes,
10062 which can conflict with char $ac_func(); below. */
10063 #include <assert.h>
10064 /* Override any gcc2 internal prototype to avoid an error. */
10065 /* We use char because int might match the return type of a gcc2
10066 builtin and then its argument prototype would still apply. */
10071 /* The GNU C library defines this for functions which it implements
10072 to always fail with ENOSYS. Some functions are actually named
10073 something starting with __ and the normal name is an alias. */
10074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10082 if { (eval echo configure
:10083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10084 eval "ac_cv_func_$ac_func=yes"
10086 echo "configure: failed program was:" >&5
10087 cat conftest.
$ac_ext >&5
10089 eval "ac_cv_func_$ac_func=no"
10094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10095 echo "$ac_t""yes" 1>&6
10096 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10097 cat >> confdefs.h
<<EOF
10098 #define $ac_tr_func 1
10102 echo "$ac_t""no" 1>&6
10106 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
10107 echo "configure:10108: checking for inet_aton in -lresolv" >&5
10108 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
10109 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10110 echo $ac_n "(cached) $ac_c" 1>&6
10112 ac_save_LIBS
="$LIBS"
10113 LIBS
="-lresolv $LIBS"
10114 cat > conftest.
$ac_ext <<EOF
10115 #line 10116 "configure"
10116 #include "confdefs.h"
10117 /* Override any gcc2 internal prototype to avoid an error. */
10118 /* We use char because int might match the return type of a gcc2
10119 builtin and then its argument prototype would still apply. */
10126 if { (eval echo configure
:10127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10128 eval "ac_cv_lib_$ac_lib_var=yes"
10130 echo "configure: failed program was:" >&5
10131 cat conftest.
$ac_ext >&5
10133 eval "ac_cv_lib_$ac_lib_var=no"
10136 LIBS
="$ac_save_LIBS"
10139 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10140 echo "$ac_t""yes" 1>&6
10141 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10142 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10143 cat >> confdefs.h
<<EOF
10144 #define $ac_tr_lib 1
10147 LIBS
="-lresolv $LIBS"
10150 echo "$ac_t""no" 1>&6
10157 cat > confcache
<<\EOF
10158 # This file is a shell script that caches the results of configure
10159 # tests run on this system so they can be shared between configure
10160 # scripts and configure runs. It is not useful on other systems.
10161 # If it contains results you don't want to keep, you may remove or edit it.
10163 # By default, configure uses ./config.cache as the cache file,
10164 # creating it if it does not exist already. You can give configure
10165 # the --cache-file=FILE option to use a different cache file; that is
10166 # what configure does when it calls configure scripts in
10167 # subdirectories, so they share the cache.
10168 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10169 # config.status only pays attention to the cache file if you give it the
10170 # --recheck option to rerun configure.
10173 # The following way of writing the cache mishandles newlines in values,
10174 # but we know of no workaround that is simple, portable, and efficient.
10175 # So, don't put newlines in cache variables' values.
10176 # Ultrix sh set writes to stderr and can't be redirected directly,
10177 # and sets the high bit in the cache file unless we assign to the vars.
10179 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10181 # `set' does not quote correctly, so add quotes (double-quote substitution
10182 # turns \\\\ into \\, and sed turns \\ into \).
10184 -e "s/'/'\\\\''/g" \
10185 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10188 # `set' quotes correctly as required by POSIX, so do not add quotes.
10189 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10192 if cmp -s $cache_file confcache
; then
10195 if test -w $cache_file; then
10196 echo "updating cache $cache_file"
10197 cat confcache
> $cache_file
10199 echo "not updating unwritable cache $cache_file"
10206 if test "$USE_UNIX" = 1; then
10212 if test "$wxUSE_THREADS" = "yes" ; then
10213 if test "$wxUSE_WINE" = 1 ; then
10214 echo "configure: warning: Threads are not supported under WINE" 1>&2
10219 if test "$wxUSE_THREADS" = "yes" ; then
10221 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10222 echo "configure:10223: checking for pthread_create in -lpthread" >&5
10223 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10224 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10225 echo $ac_n "(cached) $ac_c" 1>&6
10227 ac_save_LIBS
="$LIBS"
10228 LIBS
="-lpthread $LIBS"
10229 cat > conftest.
$ac_ext <<EOF
10230 #line 10231 "configure"
10231 #include "confdefs.h"
10232 /* Override any gcc2 internal prototype to avoid an error. */
10233 /* We use char because int might match the return type of a gcc2
10234 builtin and then its argument prototype would still apply. */
10235 char pthread_create();
10241 if { (eval echo configure
:10242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10243 eval "ac_cv_lib_$ac_lib_var=yes"
10245 echo "configure: failed program was:" >&5
10246 cat conftest.
$ac_ext >&5
10248 eval "ac_cv_lib_$ac_lib_var=no"
10251 LIBS
="$ac_save_LIBS"
10254 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10255 echo "$ac_t""yes" 1>&6
10257 THREADS_OBJ
="threadpsx.lo"
10258 THREADS_LINK
="pthread"
10261 echo "$ac_t""no" 1>&6
10263 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10264 echo "configure:10265: checking for pthread_create in -lc_r" >&5
10265 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10267 echo $ac_n "(cached) $ac_c" 1>&6
10269 ac_save_LIBS
="$LIBS"
10271 cat > conftest.
$ac_ext <<EOF
10272 #line 10273 "configure"
10273 #include "confdefs.h"
10274 /* Override any gcc2 internal prototype to avoid an error. */
10275 /* We use char because int might match the return type of a gcc2
10276 builtin and then its argument prototype would still apply. */
10277 char pthread_create();
10283 if { (eval echo configure
:10284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10285 eval "ac_cv_lib_$ac_lib_var=yes"
10287 echo "configure: failed program was:" >&5
10288 cat conftest.
$ac_ext >&5
10290 eval "ac_cv_lib_$ac_lib_var=no"
10293 LIBS
="$ac_save_LIBS"
10296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10297 echo "$ac_t""yes" 1>&6
10299 THREADS_OBJ
="threadpsx.lo"
10303 echo "$ac_t""no" 1>&6
10305 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10306 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10307 echo "configure:10308: checking for sys/prctl.h" >&5
10308 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10311 cat > conftest.
$ac_ext <<EOF
10312 #line 10313 "configure"
10313 #include "confdefs.h"
10314 #include <sys/prctl.h>
10316 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10317 { (eval echo configure
:10318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10318 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10319 if test -z "$ac_err"; then
10321 eval "ac_cv_header_$ac_safe=yes"
10324 echo "configure: failed program was:" >&5
10325 cat conftest.
$ac_ext >&5
10327 eval "ac_cv_header_$ac_safe=no"
10331 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10332 echo "$ac_t""yes" 1>&6
10334 THREADS_OBJ
="threadsgi.lo"
10337 echo "$ac_t""no" 1>&6
10347 if test -z "$THREADS_OBJ" ; then
10349 echo "configure: warning: No thread support on this system" 1>&2
10353 if test "$wxUSE_THREADS" = "yes" ; then
10355 for ac_hdr
in sched.h
10357 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10358 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10359 echo "configure:10360: checking for $ac_hdr" >&5
10360 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10361 echo $ac_n "(cached) $ac_c" 1>&6
10363 cat > conftest.
$ac_ext <<EOF
10364 #line 10365 "configure"
10365 #include "confdefs.h"
10368 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10369 { (eval echo configure
:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10370 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10371 if test -z "$ac_err"; then
10373 eval "ac_cv_header_$ac_safe=yes"
10376 echo "configure: failed program was:" >&5
10377 cat conftest.
$ac_ext >&5
10379 eval "ac_cv_header_$ac_safe=no"
10383 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10384 echo "$ac_t""yes" 1>&6
10385 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10386 cat >> confdefs.h
<<EOF
10387 #define $ac_tr_hdr 1
10391 echo "$ac_t""no" 1>&6
10396 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10397 echo "configure:10398: checking for sched_yield in -l$THREADS_LINK" >&5
10398 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10399 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10400 echo $ac_n "(cached) $ac_c" 1>&6
10402 ac_save_LIBS
="$LIBS"
10403 LIBS
="-l$THREADS_LINK $LIBS"
10404 cat > conftest.
$ac_ext <<EOF
10405 #line 10406 "configure"
10406 #include "confdefs.h"
10407 /* Override any gcc2 internal prototype to avoid an error. */
10408 /* We use char because int might match the return type of a gcc2
10409 builtin and then its argument prototype would still apply. */
10410 char sched_yield();
10416 if { (eval echo configure
:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10418 eval "ac_cv_lib_$ac_lib_var=yes"
10420 echo "configure: failed program was:" >&5
10421 cat conftest.
$ac_ext >&5
10423 eval "ac_cv_lib_$ac_lib_var=no"
10426 LIBS
="$ac_save_LIBS"
10429 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10430 echo "$ac_t""yes" 1>&6
10431 cat >> confdefs.h
<<\EOF
10432 #define HAVE_SCHED_YIELD 1
10436 echo "$ac_t""no" 1>&6
10437 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10438 echo "configure:10439: checking for sched_yield in -l"posix4
"" >&5
10439 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10441 echo $ac_n "(cached) $ac_c" 1>&6
10443 ac_save_LIBS
="$LIBS"
10444 LIBS
="-l"posix4
" $LIBS"
10445 cat > conftest.
$ac_ext <<EOF
10446 #line 10447 "configure"
10447 #include "confdefs.h"
10448 /* Override any gcc2 internal prototype to avoid an error. */
10449 /* We use char because int might match the return type of a gcc2
10450 builtin and then its argument prototype would still apply. */
10451 char sched_yield();
10457 if { (eval echo configure
:10458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10459 eval "ac_cv_lib_$ac_lib_var=yes"
10461 echo "configure: failed program was:" >&5
10462 cat conftest.
$ac_ext >&5
10464 eval "ac_cv_lib_$ac_lib_var=no"
10467 LIBS
="$ac_save_LIBS"
10470 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10471 echo "$ac_t""yes" 1>&6
10472 cat >> confdefs.h
<<\EOF
10473 #define HAVE_SCHED_YIELD 1
10475 POSIX4_LINK
="-lposix4"
10477 echo "$ac_t""no" 1>&6
10478 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10486 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10487 echo "configure:10488: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10488 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10492 ac_save_LIBS
="$LIBS"
10493 LIBS
="-l$THREADS_LINK $LIBS"
10494 cat > conftest.
$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10497 /* Override any gcc2 internal prototype to avoid an error. */
10498 /* We use char because int might match the return type of a gcc2
10499 builtin and then its argument prototype would still apply. */
10500 char pthread_attr_getschedpolicy();
10503 pthread_attr_getschedpolicy()
10506 if { (eval echo configure
:10507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10508 eval "ac_cv_lib_$ac_lib_var=yes"
10510 echo "configure: failed program was:" >&5
10511 cat conftest.
$ac_ext >&5
10513 eval "ac_cv_lib_$ac_lib_var=no"
10516 LIBS
="$ac_save_LIBS"
10519 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10520 echo "$ac_t""yes" 1>&6
10521 cat >> confdefs.h
<<\EOF
10522 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10526 echo "$ac_t""no" 1>&6
10527 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10528 echo "configure:10529: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10529 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10530 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10531 echo $ac_n "(cached) $ac_c" 1>&6
10533 ac_save_LIBS
="$LIBS"
10534 LIBS
="-l"posix4
" $LIBS"
10535 cat > conftest.
$ac_ext <<EOF
10536 #line 10537 "configure"
10537 #include "confdefs.h"
10538 /* Override any gcc2 internal prototype to avoid an error. */
10539 /* We use char because int might match the return type of a gcc2
10540 builtin and then its argument prototype would still apply. */
10541 char pthread_attr_getschedpolicy();
10544 pthread_attr_getschedpolicy()
10547 if { (eval echo configure
:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10549 eval "ac_cv_lib_$ac_lib_var=yes"
10551 echo "configure: failed program was:" >&5
10552 cat conftest.
$ac_ext >&5
10554 eval "ac_cv_lib_$ac_lib_var=no"
10557 LIBS
="$ac_save_LIBS"
10560 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10561 echo "$ac_t""yes" 1>&6
10562 cat >> confdefs.h
<<\EOF
10563 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10565 POSIX4_LINK
="-lposix4"
10567 echo "$ac_t""no" 1>&6
10568 echo "configure: warning: Setting thread priority will not work" 1>&2
10576 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10577 echo "configure:10578: checking for pthread_cancel in -l$THREADS_LINK" >&5
10578 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10579 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10580 echo $ac_n "(cached) $ac_c" 1>&6
10582 ac_save_LIBS
="$LIBS"
10583 LIBS
="-l$THREADS_LINK $LIBS"
10584 cat > conftest.
$ac_ext <<EOF
10585 #line 10586 "configure"
10586 #include "confdefs.h"
10587 /* Override any gcc2 internal prototype to avoid an error. */
10588 /* We use char because int might match the return type of a gcc2
10589 builtin and then its argument prototype would still apply. */
10590 char pthread_cancel();
10596 if { (eval echo configure
:10597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10598 eval "ac_cv_lib_$ac_lib_var=yes"
10600 echo "configure: failed program was:" >&5
10601 cat conftest.
$ac_ext >&5
10603 eval "ac_cv_lib_$ac_lib_var=no"
10606 LIBS
="$ac_save_LIBS"
10609 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10610 echo "$ac_t""yes" 1>&6
10611 cat >> confdefs.h
<<\EOF
10612 #define HAVE_PTHREAD_CANCEL 1
10616 echo "$ac_t""no" 1>&6
10617 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10621 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10622 echo "configure:10623: checking for pthread_cleanup_push/pop" >&5
10623 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10627 cat > conftest.
$ac_ext <<EOF
10628 #line 10629 "configure"
10629 #include "confdefs.h"
10630 #include <pthread.h>
10633 pthread_cleanup_push(NULL, NULL);
10634 pthread_cleanup_pop(0);
10638 if { (eval echo configure
:10639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10641 wx_cv_func_pthread_cleanup_push
=yes
10642 cat >> confdefs.h
<<\EOF
10643 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10648 echo "configure: failed program was:" >&5
10649 cat conftest.
$ac_ext >&5
10652 wx_cv_func_pthread_cleanup_push
=no
10659 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10661 THREADS_LINK
="-l$THREADS_LINK"
10666 if test "$wxUSE_THREADS" = "yes"; then
10667 cat >> confdefs.h
<<\EOF
10668 #define wxUSE_THREADS 1
10672 CFLAGS
="${CFLAGS} -D_REENTRANT"
10673 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10678 if test "$WXGTK12" = 1 ; then
10679 cat >> confdefs.h
<<EOF
10680 #define __WXGTK12__ $WXGTK12
10685 if test "$WXWINE" = 1 ; then
10686 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10689 if test "$wxUSE_CYGWIN" = 1 ; then
10690 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10695 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10700 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10701 wxUSE_DEBUG_INFO
=yes
10705 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10706 cat >> confdefs.h
<<\EOF
10710 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10712 if test "$wxUSE_GTK" = 1 ; then
10713 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10717 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10718 cat >> confdefs.h
<<\EOF
10719 #define wxUSE_MEMORY_TRACING 1
10722 cat >> confdefs.h
<<\EOF
10723 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10729 if test "$wxUSE_DMALLOC" = "yes" ; then
10730 DMALLOC_LINK
="-ldmalloc"
10734 if test "$wxUSE_PROFILE" = "yes" ; then
10739 if test "$GCC" = yes ; then
10740 if test "$wxUSE_NO_RTTI" = "yes" ; then
10741 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10743 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10744 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10746 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10747 CFLAGS
="${CFLAGS} -fpermissive"
10748 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10750 if test "$wxUSE_NO_DEPS" = "no" ; then
10751 DEP_INFO_FLAGS
="-MMD"
10756 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10757 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10758 if test "$wxUSE_OPTIMISE" = "no" ; then
10761 if test "$GCC" = yes ; then
10764 i586
-*-*|i686
-*-* )
10765 OPTIMISE
="${OPTIMISE} "
10775 if test "$wxUSE_ZLIB" = "yes" ; then
10776 cat >> confdefs.h
<<\EOF
10777 #define wxUSE_ZLIB 1
10780 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10784 if test "$wxUSE_LIBPNG" = "yes" ; then
10785 cat >> confdefs.h
<<\EOF
10786 #define wxUSE_LIBPNG 1
10789 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10794 if test "$wxUSE_LIBJPEG" = "yes" ; then
10795 cat >> confdefs.h
<<\EOF
10796 #define wxUSE_LIBJPEG 1
10799 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10802 if test "$wxUSE_OPENGL" = "yes"; then
10803 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10804 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10805 echo "configure:10806: checking for GL/gl.h" >&5
10806 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10807 echo $ac_n "(cached) $ac_c" 1>&6
10809 cat > conftest.
$ac_ext <<EOF
10810 #line 10811 "configure"
10811 #include "confdefs.h"
10814 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10815 { (eval echo configure
:10816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10816 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10817 if test -z "$ac_err"; then
10819 eval "ac_cv_header_$ac_safe=yes"
10822 echo "configure: failed program was:" >&5
10823 cat conftest.
$ac_ext >&5
10825 eval "ac_cv_header_$ac_safe=no"
10829 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10830 echo "$ac_t""yes" 1>&6
10832 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10833 echo "configure:10834: checking for glInitNames in -lGL" >&5
10834 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10836 echo $ac_n "(cached) $ac_c" 1>&6
10838 ac_save_LIBS
="$LIBS"
10839 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10840 cat > conftest.
$ac_ext <<EOF
10841 #line 10842 "configure"
10842 #include "confdefs.h"
10843 /* Override any gcc2 internal prototype to avoid an error. */
10844 /* We use char because int might match the return type of a gcc2
10845 builtin and then its argument prototype would still apply. */
10846 char glInitNames();
10852 if { (eval echo configure
:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10854 eval "ac_cv_lib_$ac_lib_var=yes"
10856 echo "configure: failed program was:" >&5
10857 cat conftest.
$ac_ext >&5
10859 eval "ac_cv_lib_$ac_lib_var=no"
10862 LIBS
="$ac_save_LIBS"
10865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10866 echo "$ac_t""yes" 1>&6
10869 cat >> confdefs.h
<<\EOF
10870 #define wxUSE_OPENGL 1
10873 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10876 echo "$ac_t""no" 1>&6
10878 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10879 echo "configure:10880: checking for glInitNames in -lMesaGL" >&5
10880 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10881 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10882 echo $ac_n "(cached) $ac_c" 1>&6
10884 ac_save_LIBS
="$LIBS"
10885 LIBS
="-lMesaGL $LIBS"
10886 cat > conftest.
$ac_ext <<EOF
10887 #line 10888 "configure"
10888 #include "confdefs.h"
10889 /* Override any gcc2 internal prototype to avoid an error. */
10890 /* We use char because int might match the return type of a gcc2
10891 builtin and then its argument prototype would still apply. */
10892 char glInitNames();
10898 if { (eval echo configure
:10899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10900 eval "ac_cv_lib_$ac_lib_var=yes"
10902 echo "configure: failed program was:" >&5
10903 cat conftest.
$ac_ext >&5
10905 eval "ac_cv_lib_$ac_lib_var=no"
10908 LIBS
="$ac_save_LIBS"
10911 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10912 echo "$ac_t""yes" 1>&6
10914 OPENGL_LINK
="-lMesaGL"
10915 cat >> confdefs.h
<<\EOF
10916 #define wxUSE_OPENGL 1
10919 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10922 echo "$ac_t""no" 1>&6
10931 echo "$ac_t""no" 1>&6
10938 if test "$wxUSE_GUI" = "yes"; then
10939 cat >> confdefs.h
<<\EOF
10940 #define wxUSE_GUI 1
10945 cat >> confdefs.h
<<\EOF
10946 #define wxUSE_NOGUI 1
10952 if test "$wxUSE_UNIX" = "yes"; then
10953 cat >> confdefs.h
<<\EOF
10954 #define wxUSE_UNIX 1
10960 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10961 cat >> confdefs.h
<<\EOF
10962 #define wxUSE_APPLE_IEEE 1
10967 if test "$wxUSE_TIMEDATE" = "yes"; then
10968 cat >> confdefs.h
<<\EOF
10969 #define wxUSE_TIMEDATE 1
10972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10975 if test "$wxUSE_WAVE" = "yes"; then
10976 cat >> confdefs.h
<<\EOF
10977 #define wxUSE_WAVE 1
10982 if test "$wxUSE_FILE" = "yes"; then
10983 cat >> confdefs.h
<<\EOF
10984 #define wxUSE_FILE 1
10989 if test "$wxUSE_FS_INET" = "yes"; then
10990 cat >> confdefs.h
<<\EOF
10991 #define wxUSE_FS_INET 1
10996 if test "$wxUSE_FS_ZIP" = "yes"; then
10997 cat >> confdefs.h
<<\EOF
10998 #define wxUSE_FS_ZIP 1
11003 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11004 cat >> confdefs.h
<<\EOF
11005 #define wxUSE_ZIPSTREAM 1
11010 if test "$wxUSE_BUSYINFO" = "yes"; then
11011 cat >> confdefs.h
<<\EOF
11012 #define wxUSE_BUSYINFO 1
11017 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11018 cat >> confdefs.h
<<\EOF
11019 #define wxUSE_STD_IOSTREAM 1
11024 if test "$wxUSE_TEXTFILE" = "yes"; then
11025 if test "$wxUSE_FILE" != "yes"; then
11026 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11028 cat >> confdefs.h
<<\EOF
11029 #define wxUSE_TEXTFILE 1
11035 if test "$wxUSE_CONFIG" = "yes" ; then
11036 if test "$wxUSE_TEXTFILE" != "yes"; then
11037 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11039 cat >> confdefs.h
<<\EOF
11040 #define wxUSE_CONFIG 1
11043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11047 if test "$wxUSE_INTL" = "yes" ; then
11048 if test "$wxUSE_FILE" != "yes"; then
11049 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11051 cat >> confdefs.h
<<\EOF
11052 #define wxUSE_INTL 1
11055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11059 if test "$wxUSE_LOG" = "yes"; then
11060 cat >> confdefs.h
<<\EOF
11061 #define wxUSE_LOG 1
11066 if test "$wxUSE_LONGLONG" = "yes"; then
11067 cat >> confdefs.h
<<\EOF
11068 #define wxUSE_LONGLONG 1
11073 if test "$wxUSE_SOCKETS" = "yes" ; then
11074 cat >> confdefs.h
<<\EOF
11075 #define wxUSE_SOCKETS 1
11078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11079 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11082 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11083 cat >> confdefs.h
<<\EOF
11084 #define wxUSE_DIALUP_MANAGER 1
11089 if test "$wxUSE_STREAMS" = "yes" ; then
11090 cat >> confdefs.h
<<\EOF
11091 #define wxUSE_STREAMS 1
11096 if test "$wxUSE_SERIAL" = "yes" ; then
11097 cat >> confdefs.h
<<\EOF
11098 #define wxUSE_SERIAL 1
11104 if test "$wxUSE_SOCKETS" = "yes"; then
11107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11108 ac_cpp
='$CXXCPP $CPPFLAGS'
11109 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11110 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11111 cross_compiling
=$ac_cv_prog_cxx_cross
11113 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11114 echo "configure:11115: checking the type of the third argument of getsockname" >&5
11115 cat > conftest.
$ac_ext <<EOF
11116 #line 11117 "configure"
11117 #include "confdefs.h"
11118 #include <sys/socket.h>
11120 socklen_t len; getsockname(0, NULL, &len);
11123 if { (eval echo configure
:11124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11125 cat >> confdefs.h
<<\EOF
11126 #define SOCKLEN_T socklen_t
11128 echo "$ac_t""socklen_t" 1>&6
11130 echo "configure: failed program was:" >&5
11131 cat conftest.
$ac_ext >&5
11133 cat > conftest.
$ac_ext <<EOF
11134 #line 11135 "configure"
11135 #include "confdefs.h"
11136 #include <sys/socket.h>
11138 size_t len; getsockname(0, NULL, &len);
11141 if { (eval echo configure
:11142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11143 cat >> confdefs.h
<<\EOF
11144 #define SOCKLEN_T size_t
11146 echo "$ac_t""size_t" 1>&6
11148 echo "configure: failed program was:" >&5
11149 cat conftest.
$ac_ext >&5
11151 cat > conftest.
$ac_ext <<EOF
11152 #line 11153 "configure"
11153 #include "confdefs.h"
11154 #include <sys/socket.h>
11156 int len; getsockname(0, NULL, &len);
11159 if { (eval echo configure
:11160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11161 cat >> confdefs.h
<<\EOF
11162 #define SOCKLEN_T int
11164 echo "$ac_t""int" 1>&6
11166 echo "configure: failed program was:" >&5
11167 cat conftest.
$ac_ext >&5
11169 echo "$ac_t""unknown" 1>&6
11180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11181 ac_cpp
='$CPP $CPPFLAGS'
11182 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11183 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11184 cross_compiling
=$ac_cv_prog_cc_cross
11189 if test "$wxUSE_JOYSTICK" = 1; then
11190 for ac_hdr
in linux
/joystick.h
11192 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11193 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11194 echo "configure:11195: checking for $ac_hdr" >&5
11195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11196 echo $ac_n "(cached) $ac_c" 1>&6
11198 cat > conftest.
$ac_ext <<EOF
11199 #line 11200 "configure"
11200 #include "confdefs.h"
11203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11204 { (eval echo configure
:11205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11206 if test -z "$ac_err"; then
11208 eval "ac_cv_header_$ac_safe=yes"
11211 echo "configure: failed program was:" >&5
11212 cat conftest.
$ac_ext >&5
11214 eval "ac_cv_header_$ac_safe=no"
11218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11219 echo "$ac_t""yes" 1>&6
11220 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11221 cat >> confdefs.h
<<EOF
11222 #define $ac_tr_hdr 1
11226 echo "$ac_t""no" 1>&6
11230 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11231 cat >> confdefs.h
<<\EOF
11232 #define wxUSE_JOYSTICK 1
11235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11242 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11243 for ac_func
in dlopen
11245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11246 echo "configure:11247: checking for $ac_func" >&5
11247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11248 echo $ac_n "(cached) $ac_c" 1>&6
11250 cat > conftest.
$ac_ext <<EOF
11251 #line 11252 "configure"
11252 #include "confdefs.h"
11253 /* System header to define __stub macros and hopefully few prototypes,
11254 which can conflict with char $ac_func(); below. */
11255 #include <assert.h>
11256 /* Override any gcc2 internal prototype to avoid an error. */
11257 /* We use char because int might match the return type of a gcc2
11258 builtin and then its argument prototype would still apply. */
11263 /* The GNU C library defines this for functions which it implements
11264 to always fail with ENOSYS. Some functions are actually named
11265 something starting with __ and the normal name is an alias. */
11266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11274 if { (eval echo configure
:11275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11276 eval "ac_cv_func_$ac_func=yes"
11278 echo "configure: failed program was:" >&5
11279 cat conftest.
$ac_ext >&5
11281 eval "ac_cv_func_$ac_func=no"
11286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11287 echo "$ac_t""yes" 1>&6
11288 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11289 cat >> confdefs.h
<<EOF
11290 #define $ac_tr_func 1
11293 cat >> confdefs.h
<<\EOF
11294 #define HAVE_DLOPEN 1
11300 echo "$ac_t""no" 1>&6
11301 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11302 echo "configure:11303: checking for dlopen in -ldl" >&5
11303 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11304 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11305 echo $ac_n "(cached) $ac_c" 1>&6
11307 ac_save_LIBS
="$LIBS"
11309 cat > conftest.
$ac_ext <<EOF
11310 #line 11311 "configure"
11311 #include "confdefs.h"
11312 /* Override any gcc2 internal prototype to avoid an error. */
11313 /* We use char because int might match the return type of a gcc2
11314 builtin and then its argument prototype would still apply. */
11321 if { (eval echo configure
:11322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11323 eval "ac_cv_lib_$ac_lib_var=yes"
11325 echo "configure: failed program was:" >&5
11326 cat conftest.
$ac_ext >&5
11328 eval "ac_cv_lib_$ac_lib_var=no"
11331 LIBS
="$ac_save_LIBS"
11334 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11335 echo "$ac_t""yes" 1>&6
11337 cat >> confdefs.h
<<\EOF
11338 #define HAVE_DLOPEN 1
11345 echo "$ac_t""no" 1>&6
11347 for ac_func
in shl_load
11349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11350 echo "configure:11351: checking for $ac_func" >&5
11351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11352 echo $ac_n "(cached) $ac_c" 1>&6
11354 cat > conftest.
$ac_ext <<EOF
11355 #line 11356 "configure"
11356 #include "confdefs.h"
11357 /* System header to define __stub macros and hopefully few prototypes,
11358 which can conflict with char $ac_func(); below. */
11359 #include <assert.h>
11360 /* Override any gcc2 internal prototype to avoid an error. */
11361 /* We use char because int might match the return type of a gcc2
11362 builtin and then its argument prototype would still apply. */
11367 /* The GNU C library defines this for functions which it implements
11368 to always fail with ENOSYS. Some functions are actually named
11369 something starting with __ and the normal name is an alias. */
11370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11378 if { (eval echo configure
:11379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11380 eval "ac_cv_func_$ac_func=yes"
11382 echo "configure: failed program was:" >&5
11383 cat conftest.
$ac_ext >&5
11385 eval "ac_cv_func_$ac_func=no"
11390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11391 echo "$ac_t""yes" 1>&6
11392 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11393 cat >> confdefs.h
<<EOF
11394 #define $ac_tr_func 1
11397 cat >> confdefs.h
<<\EOF
11398 #define HAVE_SHL_LOAD 1
11404 echo "$ac_t""no" 1>&6
11416 if test "$HAVE_DL_FUNCS" = 0; then
11417 if test "$HAVE_SHL_FUNCS" = 0; then
11418 if test "$USE_UNIX" = 1; then
11419 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11421 wxUSE_DYNLIB_CLASS
=no
11423 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11429 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11430 cat >> confdefs.h
<<\EOF
11431 #define wxUSE_DYNLIB_CLASS 1
11437 if test "$wxUSE_UNICODE" = "yes" ; then
11438 cat >> confdefs.h
<<\EOF
11439 #define wxUSE_UNICODE 1
11444 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11445 cat >> confdefs.h
<<\EOF
11446 #define wxUSE_WCSRTOMBS 1
11451 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11452 cat >> confdefs.h
<<\EOF
11453 #define wxUSE_EXPERIMENTAL_PRINTF 1
11460 if test "$wxUSE_ODBC" = "yes" ; then
11461 cat >> confdefs.h
<<\EOF
11462 #define wxUSE_ODBC 1
11465 WXODBCFLAG
="-D_IODBC_"
11466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11467 IODBCOBJS
="\$(IODBC_OBJS)"
11473 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11474 cat >> confdefs.h
<<\EOF
11475 #define wxUSE_POSTSCRIPT 1
11480 cat >> confdefs.h
<<\EOF
11481 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11485 cat >> confdefs.h
<<\EOF
11486 #define wxUSE_NORMALIZED_PS_FONTS 1
11491 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11492 cat >> confdefs.h
<<\EOF
11493 #define wxUSE_CONSTRAINTS 1
11496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11499 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11500 cat >> confdefs.h
<<\EOF
11501 #define wxUSE_MDI_ARCHITECTURE 1
11504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11507 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11508 cat >> confdefs.h
<<\EOF
11509 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11513 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11518 if test "$wxUSE_HELP" = "yes"; then
11519 cat >> confdefs.h
<<\EOF
11520 #define wxUSE_HELP 1
11523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11526 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11527 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11528 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11530 cat >> confdefs.h
<<\EOF
11531 #define wxUSE_PRINTING_ARCHITECTURE 1
11535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11538 if test "$wxUSE_PROLOGIO" = "yes" ; then
11539 cat >> confdefs.h
<<\EOF
11540 #define wxUSE_PROLOGIO 1
11545 if test "$wxUSE_RESOURCES" = "yes" ; then
11546 if test "$wxUSE_PROLOGIO" = "yes" ; then
11547 cat >> confdefs.h
<<\EOF
11548 #define wxUSE_RESOURCES 1
11551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11553 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11557 if test "$wxUSE_X_RESOURCES" = "yes"; then
11558 cat >> confdefs.h
<<\EOF
11559 #define wxUSE_X_RESOURCES 1
11565 if test "$wxUSE_IPC" = "yes"; then
11566 cat >> confdefs.h
<<\EOF
11567 #define wxUSE_IPC 1
11572 if test "$wxUSE_CLIPBOARD" = "yes"; then
11573 cat >> confdefs.h
<<\EOF
11574 #define wxUSE_CLIPBOARD 1
11579 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11580 if test "$wxUSE_GTK" = 1; then
11581 if test "$WXGTK12" != 1; then
11582 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11583 wxUSE_DRAG_AND_DROP
=no
11587 if test "$wxUSE_MOTIF" = 1; then
11588 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11589 wxUSE_DRAG_AND_DROP
=no
11592 if test "$USE_WIN32" = 1; then
11593 for ac_hdr
in ole2.h
11595 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11597 echo "configure:11598: checking for $ac_hdr" >&5
11598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11599 echo $ac_n "(cached) $ac_c" 1>&6
11601 cat > conftest.
$ac_ext <<EOF
11602 #line 11603 "configure"
11603 #include "confdefs.h"
11606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11607 { (eval echo configure
:11608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11609 if test -z "$ac_err"; then
11611 eval "ac_cv_header_$ac_safe=yes"
11614 echo "configure: failed program was:" >&5
11615 cat conftest.
$ac_ext >&5
11617 eval "ac_cv_header_$ac_safe=no"
11621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11622 echo "$ac_t""yes" 1>&6
11623 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11624 cat >> confdefs.h
<<EOF
11625 #define $ac_tr_hdr 1
11629 echo "$ac_t""no" 1>&6
11633 if test "x$HAVE_OLE2_H" = x
; then
11634 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11635 wxUSE_DRAG_AND_DROP
=no
11639 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11640 cat >> confdefs.h
<<\EOF
11641 #define wxUSE_DRAG_AND_DROP 1
11644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11649 if test "$wxUSE_SPLINES" = "yes" ; then
11650 cat >> confdefs.h
<<\EOF
11651 #define wxUSE_SPLINES 1
11657 if test "$wxUSE_ACCEL" = "yes"; then
11658 cat >> confdefs.h
<<\EOF
11659 #define wxUSE_ACCEL 1
11664 if test "$wxUSE_CARET" = "yes"; then
11665 cat >> confdefs.h
<<\EOF
11666 #define wxUSE_CARET 1
11669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11672 if test "$wxUSE_COMBOBOX" = "yes"; then
11673 cat >> confdefs.h
<<\EOF
11674 #define wxUSE_COMBOBOX 1
11679 if test "$wxUSE_CHOICE" = "yes"; then
11680 cat >> confdefs.h
<<\EOF
11681 #define wxUSE_CHOICE 1
11686 if test "$wxUSE_BMPBUTTON" = "yes"; then
11687 cat >> confdefs.h
<<\EOF
11688 #define wxUSE_BMPBUTTON 1
11693 if test "$wxUSE_CHECKBOX" = "yes"; then
11694 cat >> confdefs.h
<<\EOF
11695 #define wxUSE_CHECKBOX 1
11700 if test "$wxUSE_CHECKLST" = "yes"; then
11701 cat >> confdefs.h
<<\EOF
11702 #define wxUSE_CHECKLISTBOX 1
11705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11708 if test "$wxUSE_GAUGE" = "yes"; then
11709 cat >> confdefs.h
<<\EOF
11710 #define wxUSE_GAUGE 1
11715 if test "$wxUSE_GRID" = "yes"; then
11716 cat >> confdefs.h
<<\EOF
11717 #define wxUSE_GRID 1
11720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11723 if test "$wxUSE_NEW_GRID" = "yes"; then
11724 cat >> confdefs.h
<<\EOF
11725 #define wxUSE_NEW_GRID 1
11728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
11731 if test "$wxUSE_IMAGLIST" = "yes"; then
11732 cat >> confdefs.h
<<\EOF
11733 #define wxUSE_IMAGLIST 1
11738 if test "$wxUSE_LISTBOX" = "yes"; then
11739 cat >> confdefs.h
<<\EOF
11740 #define wxUSE_LISTBOX 1
11745 if test "$wxUSE_LISTCTRL" = "yes"; then
11746 if test "$wxUSE_IMAGLIST" = "yes"; then
11747 cat >> confdefs.h
<<\EOF
11748 #define wxUSE_LISTCTRL 1
11751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11753 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11757 if test "$wxUSE_NOTEBOOK" = "yes"; then
11758 cat >> confdefs.h
<<\EOF
11759 #define wxUSE_NOTEBOOK 1
11762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11765 if test "$wxUSE_RADIOBOX" = "yes"; then
11766 cat >> confdefs.h
<<\EOF
11767 #define wxUSE_RADIOBOX 1
11772 if test "$wxUSE_RADIOBTN" = "yes"; then
11773 cat >> confdefs.h
<<\EOF
11774 #define wxUSE_RADIOBTN 1
11779 if test "$wxUSE_SASH" = "yes"; then
11780 cat >> confdefs.h
<<\EOF
11781 #define wxUSE_SASH 1
11784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11787 if test "$wxUSE_SCROLLBAR" = "yes"; then
11788 cat >> confdefs.h
<<\EOF
11789 #define wxUSE_SCROLLBAR 1
11792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11795 if test "$wxUSE_SLIDER" = "yes"; then
11796 cat >> confdefs.h
<<\EOF
11797 #define wxUSE_SLIDER 1
11802 if test "$wxUSE_SPINBTN" = "yes"; then
11803 cat >> confdefs.h
<<\EOF
11804 #define wxUSE_SPINBTN 1
11809 if test "$wxUSE_SPLITTER" = "yes"; then
11810 cat >> confdefs.h
<<\EOF
11811 #define wxUSE_SPLITTER 1
11814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11817 if test "$wxUSE_STATBMP" = "yes"; then
11818 cat >> confdefs.h
<<\EOF
11819 #define wxUSE_STATBMP 1
11824 if test "$wxUSE_STATBOX" = "yes"; then
11825 cat >> confdefs.h
<<\EOF
11826 #define wxUSE_STATBOX 1
11831 if test "$wxUSE_STATLINE" = "yes"; then
11832 if test "$wxUSE_WINE" = 1 ; then
11833 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11835 cat >> confdefs.h
<<\EOF
11836 #define wxUSE_STATLINE 1
11842 if test "$wxUSE_STATUSBAR" = "yes"; then
11843 cat >> confdefs.h
<<\EOF
11844 #define wxUSE_STATUSBAR 1
11849 if test "$wxUSE_TABDIALOG" = "yes"; then
11850 cat >> confdefs.h
<<\EOF
11851 #define wxUSE_TAB_DIALOG 1
11854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11857 if test "$wxUSE_TOOLBAR" = "yes"; then
11858 cat >> confdefs.h
<<\EOF
11859 #define wxUSE_TOOLBAR 1
11862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11865 if test "$wxUSE_TOOLTIPS" = "yes"; then
11866 if test "$wxUSE_MOTIF" = 1; then
11867 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11869 if test "$wxUSE_WINE" = 1; then
11870 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11872 cat >> confdefs.h
<<\EOF
11873 #define wxUSE_TOOLTIPS 1
11880 if test "$wxUSE_TREECTRL" = "yes"; then
11881 if test "$wxUSE_IMAGLIST" = "yes"; then
11882 cat >> confdefs.h
<<\EOF
11883 #define wxUSE_TREECTRL 1
11886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11888 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11894 if test "$wxUSE_METAFILE" = "yes"; then
11895 cat >> confdefs.h
<<\EOF
11896 #define wxUSE_METAFILE 1
11901 if test "$wxUSE_DIRDLG" = "yes"; then
11902 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11903 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11905 if test "$wxUSE_TREECTRL" != "yes"; then
11906 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11908 cat >> confdefs.h
<<\EOF
11909 #define wxUSE_DIRDLG 1
11916 if test "$wxUSE_TEXTDLG" = "yes"; then
11917 cat >> confdefs.h
<<\EOF
11918 #define wxUSE_TEXTDLG 1
11923 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11925 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11927 cat >> confdefs.h
<<\EOF
11928 #define wxUSE_STARTUP_TIPS 1
11934 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11935 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11936 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11938 cat >> confdefs.h
<<\EOF
11939 #define wxUSE_PROGRESSDLG 1
11945 if test "$wxUSE_MINIFRAME" = "yes"; then
11946 cat >> confdefs.h
<<\EOF
11947 #define wxUSE_MINIFRAME 1
11950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11953 if test "$wxUSE_HTML" = "yes"; then
11954 cat >> confdefs.h
<<\EOF
11955 #define wxUSE_HTML 1
11958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11959 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11962 if test "$wxUSE_VALIDATORS" = "yes"; then
11963 cat >> confdefs.h
<<\EOF
11964 #define wxUSE_VALIDATORS 1
11967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11970 if test "$wxUSE_GIF" = "yes" ; then
11971 cat >> confdefs.h
<<\EOF
11972 #define wxUSE_GIF 1
11977 if test "$wxUSE_PCX" = "yes" ; then
11978 cat >> confdefs.h
<<\EOF
11979 #define wxUSE_PCX 1
11984 if test "$wxUSE_PNM" = "yes" ; then
11985 cat >> confdefs.h
<<\EOF
11986 #define wxUSE_PNM 1
11992 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11994 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
11995 if test "$wxUSE_GUI" = "yes"; then
11996 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
11999 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12001 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12003 if test "$GXX" = yes ; then
12004 CXXWARNINGS
="-Wall"
12006 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12008 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
12009 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
12010 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
12012 if test "$wxUSE_GUI" = "yes"; then
12014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12015 forty fractal image wxpoem"
12020 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12075 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12076 echo "configure:12077: checking whether ${MAKE-make} sets \${MAKE}" >&5
12077 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12078 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12079 echo $ac_n "(cached) $ac_c" 1>&6
12081 cat > conftestmake
<<\EOF
12083 @
echo 'ac_maketemp="${MAKE}"'
12085 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12086 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12087 if test -n "$ac_maketemp"; then
12088 eval ac_cv_prog_make_
${ac_make}_set
=yes
12090 eval ac_cv_prog_make_
${ac_make}_set
=no
12094 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12095 echo "$ac_t""yes" 1>&6
12098 echo "$ac_t""no" 1>&6
12099 SET_MAKE
="MAKE=${MAKE-make}"
12105 if test "${TOOLKIT_DIR}" = "msw" ; then
12106 GL_TOOLKIT_DIR
="win"
12108 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12113 cat > confcache
<<\EOF
12114 # This file is a shell script that caches the results of configure
12115 # tests run on this system so they can be shared between configure
12116 # scripts and configure runs. It is not useful on other systems.
12117 # If it contains results you don't want to keep, you may remove or edit it.
12119 # By default, configure uses ./config.cache as the cache file,
12120 # creating it if it does not exist already. You can give configure
12121 # the --cache-file=FILE option to use a different cache file; that is
12122 # what configure does when it calls configure scripts in
12123 # subdirectories, so they share the cache.
12124 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12125 # config.status only pays attention to the cache file if you give it the
12126 # --recheck option to rerun configure.
12129 # The following way of writing the cache mishandles newlines in values,
12130 # but we know of no workaround that is simple, portable, and efficient.
12131 # So, don't put newlines in cache variables' values.
12132 # Ultrix sh set writes to stderr and can't be redirected directly,
12133 # and sets the high bit in the cache file unless we assign to the vars.
12135 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12137 # `set' does not quote correctly, so add quotes (double-quote substitution
12138 # turns \\\\ into \\, and sed turns \\ into \).
12140 -e "s/'/'\\\\''/g" \
12141 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12144 # `set' quotes correctly as required by POSIX, so do not add quotes.
12145 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12148 if cmp -s $cache_file confcache
; then
12151 if test -w $cache_file; then
12152 echo "updating cache $cache_file"
12153 cat confcache
> $cache_file
12155 echo "not updating unwritable cache $cache_file"
12160 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12162 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12163 # Let make expand exec_prefix.
12164 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12166 # Any assignment to VPATH causes Sun make to only execute
12167 # the first set of double-colon rules, so remove it if not needed.
12168 # If there is a colon in the path, we need to keep it.
12169 if test "x$srcdir" = x.
; then
12170 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12173 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12175 DEFS
=-DHAVE_CONFIG_H
12177 # Without the "./", some shells look in PATH for config.status.
12178 : ${CONFIG_STATUS=./config.status}
12180 echo creating
$CONFIG_STATUS
12181 rm -f $CONFIG_STATUS
12182 cat > $CONFIG_STATUS <<EOF
12184 # Generated automatically by configure.
12185 # Run this file to recreate the current configuration.
12186 # This directory was configured as follows,
12187 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12189 # $0 $ac_configure_args
12191 # Compiler output produced by configure, useful for debugging
12192 # configure, is in ./config.log if it exists.
12194 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12197 case "\$ac_option" in
12198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12199 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12200 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12201 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12202 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12204 -help | --help | --hel | --he | --h)
12205 echo "\$ac_cs_usage"; exit 0 ;;
12206 *) echo "\$ac_cs_usage"; exit 1 ;;
12210 ac_given_srcdir=$srcdir
12211 ac_given_INSTALL="$INSTALL"
12213 trap 'rm -fr `echo "
12220 samples/bombs/Makefile
12221 samples/caret/Makefile
12222 samples/checklst/Makefile
12223 samples/config/Makefile
12224 samples/controls/Makefile
12225 samples/db/Makefile
12226 samples/dialogs/Makefile
12227 samples/docview/Makefile
12228 samples/docvwmdi/Makefile
12229 samples/dnd/Makefile
12230 samples/drawing/Makefile
12231 samples/forty/Makefile
12232 samples/fractal/Makefile
12233 samples/image/Makefile
12234 samples/internat/Makefile
12235 samples/layout/Makefile
12236 samples/listctrl/Makefile
12237 samples/mdi/Makefile
12238 samples/minifram/Makefile
12239 samples/minimal/Makefile
12240 samples/nettest/Makefile
12241 samples/newgrid/Makefile
12242 samples/notebook/Makefile
12243 samples/png/Makefile
12244 samples/printing/Makefile
12245 samples/proplist/Makefile
12246 samples/richedit/Makefile
12247 samples/resource/Makefile
12248 samples/sashtest/Makefile
12249 samples/scroll/Makefile
12250 samples/splitter/Makefile
12251 samples/text/Makefile
12252 samples/thread/Makefile
12253 samples/toolbar/Makefile
12254 samples/treectrl/Makefile
12255 samples/typetest/Makefile
12256 samples/validate/Makefile
12257 samples/wxpoem/Makefile
12258 samples/wxsocket/Makefile
12259 samples/wizard/Makefile
12260 samples/html/Makefile
12261 samples/html/about/Makefile
12262 samples/html/help/Makefile
12263 samples/html/printing/Makefile
12264 samples/html/test/Makefile
12265 samples/html/zip/Makefile
12266 samples/html/virtual/Makefile
12267 samples/html/widget/Makefile
12269 utils/wxMMedia2/Makefile
12270 utils/wxMMedia2/lib/Makefile
12271 utils/wxMMedia2/sample/Makefile
12272 utils/glcanvas/Makefile
12273 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12275 utils/ogl/src/Makefile
12276 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12278 cat >> $CONFIG_STATUS <<EOF
12280 # Protect against being on the right side of a sed subst in config.status.
12281 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12282 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12286 s%@CFLAGS@%$CFLAGS%g
12287 s%@CPPFLAGS@%$CPPFLAGS%g
12288 s%@CXXFLAGS@%$CXXFLAGS%g
12289 s%@FFLAGS@%$FFLAGS%g
12291 s%@LDFLAGS@%$LDFLAGS%g
12293 s%@exec_prefix@%$exec_prefix%g
12294 s%@prefix@%$prefix%g
12295 s%@program_transform_name@%$program_transform_name%g
12296 s%@bindir@%$bindir%g
12297 s%@sbindir@%$sbindir%g
12298 s%@libexecdir@%$libexecdir%g
12299 s%@datadir@%$datadir%g
12300 s%@sysconfdir@%$sysconfdir%g
12301 s%@sharedstatedir@%$sharedstatedir%g
12302 s%@localstatedir@%$localstatedir%g
12303 s%@libdir@%$libdir%g
12304 s%@includedir@%$includedir%g
12305 s%@oldincludedir@%$oldincludedir%g
12306 s%@infodir@%$infodir%g
12307 s%@mandir@%$mandir%g
12309 s%@host_alias@%$host_alias%g
12310 s%@host_cpu@%$host_cpu%g
12311 s%@host_vendor@%$host_vendor%g
12312 s%@host_os@%$host_os%g
12313 s%@target@%$target%g
12314 s%@target_alias@%$target_alias%g
12315 s%@target_cpu@%$target_cpu%g
12316 s%@target_vendor@%$target_vendor%g
12317 s%@target_os@%$target_os%g
12319 s%@build_alias@%$build_alias%g
12320 s%@build_cpu@%$build_cpu%g
12321 s%@build_vendor@%$build_vendor%g
12322 s%@build_os@%$build_os%g
12326 s%@CXXCPP@%$CXXCPP%g
12327 s%@RANLIB@%$RANLIB%g
12329 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12330 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12331 s%@INSTALL_DATA@%$INSTALL_DATA%g
12335 s%@LEXLIB@%$LEXLIB%g
12337 s%@GTK_CONFIG@%$GTK_CONFIG%g
12338 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12339 s%@GTK_LIBS@%$GTK_LIBS%g
12340 s%@X_CFLAGS@%$X_CFLAGS%g
12341 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12342 s%@X_LIBS@%$X_LIBS%g
12343 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12344 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12345 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12346 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12347 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12348 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12349 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12350 s%@WX_LIBRARY@%$WX_LIBRARY%g
12351 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12352 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12353 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12354 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12355 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12356 s%@WX_ALL@%$WX_ALL%g
12357 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12358 s%@SHARED_LD@%$SHARED_LD%g
12359 s%@PIC_FLAG@%$PIC_FLAG%g
12360 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12361 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12362 s%@TOOLKIT@%$TOOLKIT%g
12363 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12364 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12365 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12366 s%@GUIHEADERS@%$GUIHEADERS%g
12367 s%@GUIOBJS@%$GUIOBJS%g
12368 s%@COMMONOBJS@%$COMMONOBJS%g
12369 s%@GENERICOBJS@%$GENERICOBJS%g
12370 s%@GUIDEPS@%$GUIDEPS%g
12371 s%@COMMONDEPS@%$COMMONDEPS%g
12372 s%@GENERICDEPS@%$GENERICDEPS%g
12373 s%@IODBCOBJS@%$IODBCOBJS%g
12374 s%@UNIXOBJS@%$UNIXOBJS%g
12375 s%@UNIXDEPS@%$UNIXDEPS%g
12376 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12377 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12378 s%@ALL_HEADERS@%$ALL_HEADERS%g
12379 s%@GUIDIST@%$GUIDIST%g
12380 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12381 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12382 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12383 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12384 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12385 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12386 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12387 s%@LD_LIBS@%$LD_LIBS%g
12388 s%@SET_MAKE@%$SET_MAKE%g
12389 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12394 cat >> $CONFIG_STATUS <<\EOF
12396 # Split the substitutions into bite-sized pieces for seds with
12397 # small command number limits, like on Digital OSF/1 and HP-UX.
12398 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12399 ac_file
=1 # Number of current file.
12400 ac_beg
=1 # First line for current file.
12401 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12404 while $ac_more_lines; do
12405 if test $ac_beg -gt 1; then
12406 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12408 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12410 if test ! -s conftest.s
$ac_file; then
12411 ac_more_lines
=false
12412 rm -f conftest.s
$ac_file
12414 if test -z "$ac_sed_cmds"; then
12415 ac_sed_cmds
="sed -f conftest.s$ac_file"
12417 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12419 ac_file
=`expr $ac_file + 1`
12421 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12424 if test -z "$ac_sed_cmds"; then
12429 cat >> $CONFIG_STATUS <<EOF
12431 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12437 samples/bombs/Makefile
12438 samples/caret/Makefile
12439 samples/checklst/Makefile
12440 samples/config/Makefile
12441 samples/controls/Makefile
12442 samples/db/Makefile
12443 samples/dialogs/Makefile
12444 samples/docview/Makefile
12445 samples/docvwmdi/Makefile
12446 samples/dnd/Makefile
12447 samples/drawing/Makefile
12448 samples/forty/Makefile
12449 samples/fractal/Makefile
12450 samples/image/Makefile
12451 samples/internat/Makefile
12452 samples/layout/Makefile
12453 samples/listctrl/Makefile
12454 samples/mdi/Makefile
12455 samples/minifram/Makefile
12456 samples/minimal/Makefile
12457 samples/nettest/Makefile
12458 samples/newgrid/Makefile
12459 samples/notebook/Makefile
12460 samples/png/Makefile
12461 samples/printing/Makefile
12462 samples/proplist/Makefile
12463 samples/richedit/Makefile
12464 samples/resource/Makefile
12465 samples/sashtest/Makefile
12466 samples/scroll/Makefile
12467 samples/splitter/Makefile
12468 samples/text/Makefile
12469 samples/thread/Makefile
12470 samples/toolbar/Makefile
12471 samples/treectrl/Makefile
12472 samples/typetest/Makefile
12473 samples/validate/Makefile
12474 samples/wxpoem/Makefile
12475 samples/wxsocket/Makefile
12476 samples/wizard/Makefile
12477 samples/html/Makefile
12478 samples/html/about/Makefile
12479 samples/html/help/Makefile
12480 samples/html/printing/Makefile
12481 samples/html/test/Makefile
12482 samples/html/zip/Makefile
12483 samples/html/virtual/Makefile
12484 samples/html/widget/Makefile
12486 utils/wxMMedia2/Makefile
12487 utils/wxMMedia2/lib/Makefile
12488 utils/wxMMedia2/sample/Makefile
12489 utils/glcanvas/Makefile
12490 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12492 utils/ogl/src/Makefile
12495 cat >> $CONFIG_STATUS <<\EOF
12496 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12497 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12499 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12500 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12501 *) ac_file_in
="${ac_file}.in" ;;
12504 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12506 # Remove last slash and all that follows it. Not all systems have dirname.
12507 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12508 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12509 # The file is in a subdirectory.
12510 test ! -d "$ac_dir" && mkdir "$ac_dir"
12511 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12512 # A "../" for each directory in $ac_dir_suffix.
12513 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12515 ac_dir_suffix
= ac_dots
=
12518 case "$ac_given_srcdir" in
12520 if test -z "$ac_dots"; then top_srcdir
=.
12521 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12522 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12523 *) # Relative path.
12524 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12525 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12528 case "$ac_given_INSTALL" in
12529 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12530 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12533 echo creating
"$ac_file"
12535 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12537 *Makefile
*) ac_comsub
="1i\\
12538 # $configure_input" ;;
12542 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12544 s%@configure_input@%$configure_input%g
12545 s%@srcdir@%$srcdir%g
12546 s%@top_srcdir@%$top_srcdir%g
12547 s%@INSTALL@%$INSTALL%g
12548 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12552 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12553 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12555 # ac_d sets the value in "#define NAME VALUE" lines.
12556 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12557 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12560 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12561 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12562 ac_uB
='\([ ]\)%\1#\2define\3'
12565 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12566 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12567 ac_eB
='$%\1#\2define\3'
12571 if test "${CONFIG_HEADERS+set}" != set; then
12573 cat >> $CONFIG_STATUS <<EOF
12574 CONFIG_HEADERS="setup.h:setup.h.in"
12576 cat >> $CONFIG_STATUS <<\EOF
12578 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12579 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12581 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12582 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12583 *) ac_file_in
="${ac_file}.in" ;;
12586 echo creating
$ac_file
12588 rm -f conftest.frag conftest.
in conftest.out
12589 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12590 cat $ac_file_inputs > conftest.
in
12594 # Transform confdefs.h into a sed script conftest.vals that substitutes
12595 # the proper values into config.h.in to produce config.h. And first:
12596 # Protect against being on the right side of a sed subst in config.status.
12597 # Protect against being in an unquoted here document in config.status.
12598 rm -f conftest.vals
12599 cat > conftest.hdr
<<\EOF
12602 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12606 sed -n -f conftest.hdr confdefs.h > conftest.vals
12609 # This sed command replaces #undef with comments. This is necessary, for
12610 # example, in the case of _POSIX_SOURCE, which is predefined and required
12611 # on some systems where configure will not decide to define it.
12612 cat >> conftest.vals <<\EOF
12613 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12616 # Break up conftest.vals because some shells have a limit on
12617 # the size of here documents, and old seds have small limits too.
12619 rm -f conftest.tail
12622 ac_lines=`grep -c . conftest.vals
`
12623 # grep -c gives empty output for an empty file on some AIX systems.
12624 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12625 # Write a limited-size here document to conftest.frag.
12626 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12627 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12629 sed -f conftest.frag conftest.in > conftest.out
12631 mv conftest.out conftest.in
12632 ' >> $CONFIG_STATUS
12633 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12634 rm -f conftest.vals
12635 mv conftest.tail conftest.vals
12637 rm -f conftest.vals
12639 cat >> $CONFIG_STATUS <<\EOF
12640 rm -f conftest.frag conftest.h
12641 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12642 cat conftest.in >> conftest.h
12644 if cmp -s $ac_file conftest.h 2>/dev/null; then
12645 echo "$ac_file is unchanged"
12648 # Remove last slash and all that follows it. Not all systems have dirname.
12649 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12650 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12651 # The file is in a subdirectory.
12652 test ! -d "$ac_dir" && mkdir "$ac_dir"
12655 mv conftest.h $ac_file
12660 cat >> $CONFIG_STATUS <<EOF
12662 LN_S="${ac_cv_prog_LN_S}"
12663 TOOLKIT_DIR="${TOOLKIT_DIR}"
12667 cat >> $CONFIG_STATUS <<\EOF
12670 if test ! -d include; then
12673 if test ! -d include/wx; then
12676 if test ! -d include/wx/${TOOLKIT_DIR}; then
12677 mkdir include/wx/${TOOLKIT_DIR}
12679 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12683 chmod +x $CONFIG_STATUS
12684 rm -fr confdefs* $ac_clean_files
12685 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1