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:
57 --with-motif use Motif/Lesstif"
61 --with-cygwin use Cygwin for MS-Windows"
63 --with-mingw use GCC Minimal MS-Windows"
65 --with-gtk-prefix=PFX Prefix where GTK is installed"
67 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
69 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
71 --with-zlib use zlib for LZW compression"
73 --with-libpng use libpng (PNG image format)"
75 --with-libjpeg use libjpeg (JPEG file format)"
77 --with-opengl use OpenGL (or Mesa)"
79 --with-odbc use the IODBC and wxODBC classes"
81 --enable-shared create shared library code"
83 --enable-optimise create optimised code"
85 --enable-debug same as debug_flag and debug_info"
87 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
89 --enable-debug_info create code with debugging information"
91 --enable-debug_gdb create code with extra GDB debugging information"
93 --enable-debug_cntxt use wxDebugContext"
95 --enable-mem_tracing create code with memory tracing"
97 --enable-profile create code with profiling information"
99 --enable-no_rtti create code without RTTI information"
101 --enable-no_exceptions create code without exceptions information"
103 --enable-permissive compile code disregarding strict ANSI"
105 --enable-no_deps create code without dependency information"
107 --enable-gui use GUI classes"
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-imaglist use wxImageList class"
205 --enable-listbox use wxListBox class"
207 --enable-listctrl use wxListCtrl class"
209 --enable-notebook use wxNotebook class"
211 --enable-radiobox use wxRadioBox class"
213 --enable-radiobtn use wxRadioButton class"
215 --enable-sash use wxSashWindow class"
217 --enable-scrollbar use wxScrollBar class and scrollable windows"
219 --enable-slider use wxSlider class"
221 --enable-spinbtn use wxSpinButton class"
223 --enable-splitter use wxSplitterWindow class"
225 --enable-statbmp use wxStaticBitmap class"
227 --enable-statbox use wxStaticBox class"
229 --enable-statline use wxStaticLine class"
231 --enable-statusbar use wxStatusBar class"
233 --enable-tabdialog use wxTabControl class"
235 --enable-toolbar use wxToolBar class"
237 --enable-treectrl use wxTreeCtrl class"
239 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
241 --enable-dirdlg use wxDirDialog"
243 --enable-textdlg use wxTextDialog"
245 --enable-tipdlg use startup tips"
247 --enable-progressdlg use wxProgressDialog"
249 --enable-miniframe use wxMiniFrame class"
251 --enable-html use wxHTML sub-library"
253 --enable-tooltips use wxToolTip class"
255 --enable-splines use spline drawing code"
257 --enable-validators use wxValidator and derived classes"
259 --enable-busyinfo use wxBusyInfo"
261 --enable-gif use gif images (GIF file format)"
263 --enable-pcx use pcx images (PCX file format)"
265 --enable-pnm use pnm images (PNM file format)"
267 --with-x use the X Window System"
269 # Initialize some variables set by options.
270 # The variables have the same names as the options, with
271 # dashes changed to underlines.
273 cache_file
=.
/config.cache
282 program_transform_name
=s
,x
,x
,
290 bindir
='${exec_prefix}/bin'
291 sbindir
='${exec_prefix}/sbin'
292 libexecdir
='${exec_prefix}/libexec'
293 datadir
='${prefix}/share'
294 sysconfdir
='${prefix}/etc'
295 sharedstatedir
='${prefix}/com'
296 localstatedir
='${prefix}/var'
297 libdir
='${exec_prefix}/lib'
298 includedir
='${prefix}/include'
299 oldincludedir
='/usr/include'
300 infodir
='${prefix}/info'
301 mandir
='${prefix}/man'
303 # Initialize some other variables.
306 SHELL
=${CONFIG_SHELL-/bin/sh}
307 # Maximum number of lines to put in a shell here document.
314 # If the previous option needs an argument, assign it.
315 if test -n "$ac_prev"; then
316 eval "$ac_prev=\$ac_option"
322 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
326 # Accept the important Cygnus configure options, so we can diagnose typos.
330 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
333 bindir
="$ac_optarg" ;;
335 -build | --build | --buil | --bui | --bu)
337 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
338 build
="$ac_optarg" ;;
340 -cache-file | --cache-file | --cache-fil | --cache-fi \
341 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
342 ac_prev
=cache_file
;;
343 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
344 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
345 cache_file
="$ac_optarg" ;;
347 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
349 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
351 datadir
="$ac_optarg" ;;
353 -disable-* | --disable-*)
354 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
355 # Reject names that are not valid shell variable names.
356 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
357 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
359 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
360 eval "enable_${ac_feature}=no" ;;
362 -enable-* | --enable-*)
363 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
364 # Reject names that are not valid shell variable names.
365 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
366 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
368 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
373 eval "enable_${ac_feature}='$ac_optarg'" ;;
375 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
376 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
377 | --exec | --exe | --ex)
378 ac_prev
=exec_prefix
;;
379 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
380 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
381 | --exec=* | --exe=* | --ex=*)
382 exec_prefix
="$ac_optarg" ;;
384 -gas | --gas | --ga | --g)
385 # Obsolete; use --with-gas.
388 -help | --help | --hel | --he)
389 # Omit some internal or obsolete options to make the list less imposing.
390 # This message is too long to be a string in the A/UX 3.1 sh.
392 Usage: configure [options] [host]
393 Options: [defaults in brackets after descriptions]
395 --cache-file=FILE cache test results in FILE
396 --help print this message
397 --no-create do not create output files
398 --quiet, --silent do not print \`checking...' messages
399 --version print the version of autoconf that created configure
400 Directory and file names:
401 --prefix=PREFIX install architecture-independent files in PREFIX
403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
405 --bindir=DIR user executables in DIR [EPREFIX/bin]
406 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
407 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
408 --datadir=DIR read-only architecture-independent data in DIR
410 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
411 --sharedstatedir=DIR modifiable architecture-independent data in DIR
413 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
414 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
415 --includedir=DIR C header files in DIR [PREFIX/include]
416 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
417 --infodir=DIR info documentation in DIR [PREFIX/info]
418 --mandir=DIR man documentation in DIR [PREFIX/man]
419 --srcdir=DIR find the sources in DIR [configure dir or ..]
420 --program-prefix=PREFIX prepend PREFIX to installed program names
421 --program-suffix=SUFFIX append SUFFIX to installed program names
422 --program-transform-name=PROGRAM
423 run sed PROGRAM on installed program names
427 --build=BUILD configure for building on BUILD [BUILD=HOST]
428 --host=HOST configure for HOST [guessed]
429 --target=TARGET configure for TARGET [TARGET=HOST]
430 Features and packages:
431 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
432 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
435 --x-includes=DIR X include files are in DIR
436 --x-libraries=DIR X library files are in DIR
438 if test -n "$ac_help"; then
439 echo "--enable and --with options recognized:$ac_help"
443 -host | --host | --hos | --ho)
445 -host=* | --host=* | --hos=* | --ho=*)
448 -includedir | --includedir | --includedi | --included | --include \
449 | --includ | --inclu | --incl | --inc)
450 ac_prev
=includedir
;;
451 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
452 | --includ=* | --inclu=* | --incl=* | --inc=*)
453 includedir
="$ac_optarg" ;;
455 -infodir | --infodir | --infodi | --infod | --info | --inf)
457 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
458 infodir
="$ac_optarg" ;;
460 -libdir | --libdir | --libdi | --libd)
462 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 libdir
="$ac_optarg" ;;
465 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
466 | --libexe | --libex | --libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
469 | --libexe=* | --libex=* | --libe=*)
470 libexecdir
="$ac_optarg" ;;
472 -localstatedir | --localstatedir | --localstatedi | --localstated \
473 | --localstate | --localstat | --localsta | --localst \
474 | --locals | --local | --loca | --loc | --lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
477 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
478 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
479 localstatedir
="$ac_optarg" ;;
481 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
483 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 mandir
="$ac_optarg" ;;
487 # Obsolete; use --without-fp.
490 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
494 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
495 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
498 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
499 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
500 | --oldin | --oldi | --old | --ol | --o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
503 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
504 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
505 oldincludedir
="$ac_optarg" ;;
507 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
509 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 prefix
="$ac_optarg" ;;
512 -program-prefix | --program-prefix | --program-prefi | --program-pref \
513 | --program-pre | --program-pr | --program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* | --program-prefix=* | --program-prefi=* \
516 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
517 program_prefix
="$ac_optarg" ;;
519 -program-suffix | --program-suffix | --program-suffi | --program-suff \
520 | --program-suf | --program-su | --program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* | --program-suffix=* | --program-suffi=* \
523 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
524 program_suffix
="$ac_optarg" ;;
526 -program-transform-name | --program-transform-name \
527 | --program-transform-nam | --program-transform-na \
528 | --program-transform-n | --program-transform- \
529 | --program-transform | --program-transfor \
530 | --program-transfo | --program-transf \
531 | --program-trans | --program-tran \
532 | --progr-tra | --program-tr | --program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* | --program-transform-name=* \
535 | --program-transform-nam=* | --program-transform-na=* \
536 | --program-transform-n=* | --program-transform-=* \
537 | --program-transform=* | --program-transfor=* \
538 | --program-transfo=* | --program-transf=* \
539 | --program-trans=* | --program-tran=* \
540 | --progr-tra=* | --program-tr=* | --program-t=*)
541 program_transform_name
="$ac_optarg" ;;
543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
544 | -silent | --silent | --silen | --sile | --sil)
547 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
549 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
551 sbindir
="$ac_optarg" ;;
553 -sharedstatedir | --sharedstatedir | --sharedstatedi \
554 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
555 | --sharedst | --shareds | --shared | --share | --shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
559 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
560 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
562 sharedstatedir
="$ac_optarg" ;;
564 -site | --site | --sit)
566 -site=* | --site=* | --sit=*)
569 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
571 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 srcdir
="$ac_optarg" ;;
574 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
575 | --syscon | --sysco | --sysc | --sys | --sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
578 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
579 sysconfdir
="$ac_optarg" ;;
581 -target | --target | --targe | --targ | --tar | --ta | --t)
583 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
584 target
="$ac_optarg" ;;
586 -v | -verbose | --verbose | --verbos | --verbo | --verb)
589 -version | --version | --versio | --versi | --vers)
590 echo "configure generated by autoconf version 2.13"
594 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
595 # Reject names that are not valid shell variable names.
596 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
597 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
599 ac_package
=`echo $ac_package| sed 's/-/_/g'`
604 eval "with_${ac_package}='$ac_optarg'" ;;
606 -without-* | --without-*)
607 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
608 # Reject names that are not valid shell variable names.
609 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
610 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
612 ac_package
=`echo $ac_package| sed 's/-/_/g'`
613 eval "with_${ac_package}=no" ;;
616 # Obsolete; use --with-x.
619 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
620 | --x-incl | --x-inc | --x-in | --x-i)
621 ac_prev
=x_includes
;;
622 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
623 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
624 x_includes
="$ac_optarg" ;;
626 -x-libraries | --x-libraries | --x-librarie | --x-librari \
627 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
628 ac_prev
=x_libraries
;;
629 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
630 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
631 x_libraries
="$ac_optarg" ;;
633 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
637 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
638 echo "configure: warning: $ac_option: invalid host type" 1>&2
640 if test "x$nonopt" != xNONE
; then
641 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
649 if test -n "$ac_prev"; then
650 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
653 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
655 # File descriptor usage:
658 # 2 errors and warnings
659 # 3 some systems may open it to /dev/tty
660 # 4 used on the Kubota Titan
661 # 6 checking for... messages and results
662 # 5 compiler messages saved in config.log
663 if test "$silent" = yes; then
671 This file contains any messages produced by compilers while
672 running configure, to aid debugging if configure makes a mistake.
675 # Strip out --no-create and --no-recursion so they do not pile up.
676 # Also quote any args containing shell metacharacters.
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
682 | --no-cr | --no-c) ;;
683 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
684 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
685 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
686 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
687 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
692 # Only set these to C if already set. These must not be set unconditionally
693 # because not all systems understand e.g. LANG=C (notably SCO).
694 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
695 # Non-C LC_CTYPE values break the ctype check.
696 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
697 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
698 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
699 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
702 rm -rf conftest
* confdefs.h
703 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
706 # A filename unique to this package, relative to the directory that
707 # configure is in, which we can look for to find out if srcdir is correct.
708 ac_unique_file
=wx
-config.
in
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
715 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
716 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted
=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
728 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
731 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
733 # Prefer explicitly selected file to automatically selected ones.
734 if test -z "$CONFIG_SITE"; then
735 if test "x$prefix" != xNONE
; then
736 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
738 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
741 for ac_site_file
in $CONFIG_SITE; do
742 if test -r "$ac_site_file"; then
743 echo "loading site script $ac_site_file"
748 if test -r "$cache_file"; then
749 echo "loading cache $cache_file"
752 echo "creating cache $cache_file"
757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
758 ac_cpp
='$CPP $CPPFLAGS'
759 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
760 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
761 cross_compiling
=$ac_cv_prog_cc_cross
765 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
766 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
767 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
774 ac_n
= ac_c
='\c' ac_t
=
780 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
781 if test -f $ac_dir/install-sh; then
783 ac_install_sh
="$ac_aux_dir/install-sh -c"
785 elif test -f $ac_dir/install.sh
; then
787 ac_install_sh
="$ac_aux_dir/install.sh -c"
791 if test -z "$ac_aux_dir"; then
792 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
794 ac_config_guess
=$ac_aux_dir/config.guess
795 ac_config_sub
=$ac_aux_dir/config.sub
796 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
799 # Do some error checking and defaulting for the host and target type.
801 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
804 # 1. You are not allowed to specify --host, --target, and nonopt at the
806 # 2. Host defaults to nonopt.
807 # 3. If nonopt is not specified, then host defaults to the current host,
808 # as determined by config.guess.
809 # 4. Target and build default to nonopt.
810 # 5. If nonopt is not specified, then target and build default to host.
812 # The aliases save the names the user supplied, while $host etc.
813 # will get canonicalized.
814 case $host---$target---$nonopt in
815 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
816 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
820 # Make sure we can run config.sub.
821 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
822 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
825 echo $ac_n "checking host system type""... $ac_c" 1>&6
826 echo "configure:827: checking host system type" >&5
829 case "$host_alias" in
833 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
834 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
836 *) host_alias
=$nonopt ;;
840 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
841 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
842 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
843 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
844 echo "$ac_t""$host" 1>&6
846 echo $ac_n "checking target system type""... $ac_c" 1>&6
847 echo "configure:848: checking target system type" >&5
850 case "$target_alias" in
853 NONE
) target_alias
=$host_alias ;;
854 *) target_alias
=$nonopt ;;
858 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
859 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
860 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
861 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
862 echo "$ac_t""$target" 1>&6
864 echo $ac_n "checking build system type""... $ac_c" 1>&6
865 echo "configure:866: checking build system type" >&5
868 case "$build_alias" in
871 NONE
) build_alias
=$host_alias ;;
872 *) build_alias
=$nonopt ;;
876 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
877 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
878 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
879 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
880 echo "$ac_t""$build" 1>&6
882 test "$host_alias" != "$target_alias" &&
883 test "$program_prefix$program_suffix$program_transform_name" = \
885 program_prefix
=${target_alias}-
889 WX_MAJOR_VERSION_NUMBER
=2
890 WX_MINOR_VERSION_NUMBER
=1
896 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
898 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
899 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
900 WX_REVISION
=$WX_INTERFACE_AGE
901 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
924 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
927 DEFAULT_wxUSE_MOTIF
=0
931 DEFAULT_DEFAULT_wxUSE_GTK
=0
932 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
933 DEFAULT_DEFAULT_wxUSE_MSW
=0
934 DEFAULT_DEFAULT_wxUSE_WINE
=0
939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
940 cat >> confdefs.h
<<\EOF
947 cat >> confdefs.h
<<\EOF
952 if test "x$TMP" = "xalpha"; then
954 cat >> confdefs.h
<<\EOF
959 DEFAULT_DEFAULT_wxUSE_GTK
=1
961 *-*-irix5* | *-*-irix6* )
964 cat >> confdefs.h
<<\EOF
968 cat >> confdefs.h
<<\EOF
972 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
978 cat >> confdefs.h
<<\EOF
982 cat >> confdefs.h
<<\EOF
983 #define __SOLARIS__ 1
986 cat >> confdefs.h
<<\EOF
990 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
996 cat >> confdefs.h
<<\EOF
1000 cat >> confdefs.h
<<\EOF
1004 cat >> confdefs.h
<<\EOF
1008 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1010 *-*-freebsd* | *-*-netbsd*)
1013 cat >> confdefs.h
<<\EOF
1014 #define __FREEBSD__ 1
1017 cat >> confdefs.h
<<\EOF
1021 DEFAULT_DEFAULT_wxUSE_GTK
=1
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1039 cat >> confdefs.h
<<\EOF
1043 cat >> confdefs.h
<<\EOF
1047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1052 cat >> confdefs.h
<<\EOF
1056 cat >> confdefs.h
<<\EOF
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1066 cat >> confdefs.h
<<\EOF
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1083 cat >> confdefs.h
<<\EOF
1087 cat >> confdefs.h
<<\EOF
1091 cat >> confdefs.h
<<\EOF
1092 #define __WINDOWS__ 1
1095 cat >> confdefs.h
<<\EOF
1096 #define __GNUWIN32__ 1
1099 cat >> confdefs.h
<<\EOF
1103 cat >> confdefs.h
<<\EOF
1104 #define WINVER 0x0400
1107 DEFAULT_DEFAULT_wxUSE_MSW
=1
1111 cat >> confdefs.h
<<\EOF
1115 cat >> confdefs.h
<<\EOF
1119 cat >> confdefs.h
<<\EOF
1120 #define __WINDOWS__ 1
1123 cat >> confdefs.h
<<\EOF
1124 #define __GNUWIN32__ 1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1132 #define WINVER 0x0400
1135 DEFAULT_DEFAULT_wxUSE_MSW
=1
1139 cat >> confdefs.h
<<\EOF
1146 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1149 if test "$USE_UNIX" = 1 ; then
1151 cat >> confdefs.h
<<\EOF
1155 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1156 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1159 if test "$USE_LINUX" = 1; then
1160 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1161 echo "configure:1162: checking for gettext in -lc" >&5
1162 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1164 echo $ac_n "(cached) $ac_c" 1>&6
1166 ac_save_LIBS
="$LIBS"
1168 cat > conftest.
$ac_ext <<EOF
1169 #line 1170 "configure"
1170 #include "confdefs.h"
1171 /* Override any gcc2 internal prototype to avoid an error. */
1172 /* We use char because int might match the return type of a gcc2
1173 builtin and then its argument prototype would still apply. */
1180 if { (eval echo configure
:1181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1182 eval "ac_cv_lib_$ac_lib_var=yes"
1184 echo "configure: failed program was:" >&5
1185 cat conftest.
$ac_ext >&5
1187 eval "ac_cv_lib_$ac_lib_var=no"
1190 LIBS
="$ac_save_LIBS"
1193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1194 echo "$ac_t""yes" 1>&6
1195 cat >> confdefs.h
<<\EOF
1196 #define wxHAVE_GLIBC2 1
1200 echo "$ac_t""no" 1>&6
1208 wx_arg_cache_file
="configarg.cache"
1209 echo "loading argument cache $wx_arg_cache_file"
1210 rm -f ${wx_arg_cache_file}.tmp
1211 touch ${wx_arg_cache_file}.tmp
1212 touch ${wx_arg_cache_file}
1216 if test $DEBUG_CONFIGURE = 1; then
1217 DEFAULT_wxUSE_THREADS
=yes
1219 DEFAULT_wxUSE_SHARED
=yes
1220 DEFAULT_wxUSE_OPTIMISE
=yes
1221 DEFAULT_wxUSE_PROFILE
=no
1222 DEFAULT_wxUSE_NO_DEPS
=no
1223 DEFAULT_wxUSE_NO_RTTI
=no
1224 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1225 DEFAULT_wxUSE_PERMISSIVE
=no
1226 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1227 DEFAULT_wxUSE_DEBUG_INFO
=yes
1228 DEFAULT_wxUSE_DEBUG_GDB
=yes
1229 DEFAULT_wxUSE_MEM_TRACING
=no
1230 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1231 DEFAULT_wxUSE_DMALLOC
=no
1232 DEFAULT_wxUSE_APPLE_IEEE
=no
1234 DEFAULT_wxUSE_LOG
=yes
1236 DEFAULT_wxUSE_GUI
=yes
1238 DEFAULT_wxUSE_ZLIB
=no
1239 DEFAULT_wxUSE_LIBPNG
=no
1240 DEFAULT_wxUSE_LIBJPEG
=no
1241 DEFAULT_wxUSE_ODBC
=no
1243 DEFAULT_wxUSE_STD_IOSTREAM
=no
1244 DEFAULT_wxUSE_FILE
=no
1245 DEFAULT_wxUSE_TEXTFILE
=no
1246 DEFAULT_wxUSE_TIMEDATE
=no
1247 DEFAULT_wxUSE_WAVE
=no
1248 DEFAULT_wxUSE_INTL
=no
1249 DEFAULT_wxUSE_CONFIG
=no
1250 DEFAULT_wxUSE_STREAMS
=no
1251 DEFAULT_wxUSE_SOCKETS
=no
1252 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1253 DEFAULT_wxUSE_SERIAL
=no
1254 DEFAULT_wxUSE_JOYSTICK
=no
1255 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1256 DEFAULT_wxUSE_LONGLONG
=no
1258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1260 DEFAULT_wxUSE_POSTSCRIPT
=no
1262 DEFAULT_wxUSE_X_RESOURCES
=no
1263 DEFAULT_wxUSE_CLIPBOARD
=no
1264 DEFAULT_wxUSE_TOOLTIPS
=no
1265 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1266 DEFAULT_wxUSE_SPLINES
=no
1268 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1269 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1270 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1272 DEFAULT_wxUSE_PROLOGIO
=no
1273 DEFAULT_wxUSE_RESOURCES
=no
1274 DEFAULT_wxUSE_CONSTRAINTS
=no
1275 DEFAULT_wxUSE_IPC
=no
1276 DEFAULT_wxUSE_HELP
=no
1277 DEFAULT_wxUSE_WXTREE
=no
1278 DEFAULT_wxUSE_METAFILE
=no
1280 DEFAULT_wxUSE_COMMONDLGS
=no
1281 DEFAULT_wxUSE_DIRDLG
=no
1282 DEFAULT_wxUSE_TEXTDLG
=no
1283 DEFAULT_wxUSE_STARTUP_TIPS
=no
1284 DEFAULT_wxUSE_PROGRESSDLG
=no
1285 DEFAULT_wxUSE_MINIFRAME
=no
1286 DEFAULT_wxUSE_HTML
=no
1287 DEFAULT_wxUSE_FS_INET
=no
1288 DEFAULT_wxUSE_FS_ZIP
=no
1289 DEFAULT_wxUSE_BUSYINFO
=no
1290 DEFAULT_wxUSE_ZIPSTREAM
=no
1291 DEFAULT_wxUSE_VALIDATORS
=yes
1293 DEFAULT_wxUSE_ACCEL
=no
1294 DEFAULT_wxUSE_CARET
=no
1295 DEFAULT_wxUSE_BMPBUTTON
=no
1296 DEFAULT_wxUSE_CHECKBOX
=no
1297 DEFAULT_wxUSE_CHECKLST
=no
1298 DEFAULT_wxUSE_CHOICE
=yes
1299 DEFAULT_wxUSE_COMBOBOX
=no
1300 DEFAULT_wxUSE_GAUGE
=no
1301 DEFAULT_wxUSE_GRID
=no
1302 DEFAULT_wxUSE_IMAGLIST
=no
1303 DEFAULT_wxUSE_LISTBOX
=no
1304 DEFAULT_wxUSE_LISTCTRL
=no
1305 DEFAULT_wxUSE_NOTEBOOK
=no
1306 DEFAULT_wxUSE_RADIOBOX
=no
1307 DEFAULT_wxUSE_RADIOBTN
=no
1308 DEFAULT_wxUSE_SASH
=no
1309 DEFAULT_wxUSE_SCROLLBAR
=no
1310 DEFAULT_wxUSE_SLIDER
=no
1311 DEFAULT_wxUSE_SPINBTN
=no
1312 DEFAULT_wxUSE_SPLITTER
=no
1313 DEFAULT_wxUSE_STATBMP
=no
1314 DEFAULT_wxUSE_STATBOX
=no
1315 DEFAULT_wxUSE_STATLINE
=no
1316 DEFAULT_wxUSE_STATUSBAR
=yes
1317 DEFAULT_wxUSE_TABDIALOG
=no
1318 DEFAULT_wxUSE_TOOLBAR
=no
1319 DEFAULT_wxUSE_TREECTRL
=no
1321 DEFAULT_wxUSE_UNICODE
=no
1322 DEFAULT_wxUSE_WCSRTOMBS
=no
1324 DEFAULT_wxUSE_GIF
=no
1325 DEFAULT_wxUSE_PCX
=no
1326 DEFAULT_wxUSE_PNM
=no
1328 DEFAULT_wxUSE_THREADS
=yes
1330 DEFAULT_wxUSE_SHARED
=yes
1331 DEFAULT_wxUSE_OPTIMISE
=yes
1332 DEFAULT_wxUSE_PROFILE
=no
1333 DEFAULT_wxUSE_NO_DEPS
=no
1334 DEFAULT_wxUSE_NO_RTTI
=no
1335 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1336 DEFAULT_wxUSE_PERMISSIVE
=no
1337 DEFAULT_wxUSE_DEBUG_FLAG
=no
1338 DEFAULT_wxUSE_DEBUG_INFO
=no
1339 DEFAULT_wxUSE_DEBUG_GDB
=no
1340 DEFAULT_wxUSE_MEM_TRACING
=no
1341 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1342 DEFAULT_wxUSE_DMALLOC
=no
1343 DEFAULT_wxUSE_APPLE_IEEE
=yes
1345 DEFAULT_wxUSE_LOG
=yes
1347 DEFAULT_wxUSE_GUI
=yes
1349 DEFAULT_wxUSE_ZLIB
=yes
1350 DEFAULT_wxUSE_LIBPNG
=yes
1351 DEFAULT_wxUSE_LIBJPEG
=yes
1352 DEFAULT_wxUSE_ODBC
=no
1354 DEFAULT_wxUSE_STD_IOSTREAM
=no
1355 DEFAULT_wxUSE_FILE
=yes
1356 DEFAULT_wxUSE_TEXTFILE
=yes
1357 DEFAULT_wxUSE_TIMEDATE
=yes
1358 DEFAULT_wxUSE_WAVE
=no
1359 DEFAULT_wxUSE_INTL
=yes
1360 DEFAULT_wxUSE_CONFIG
=yes
1361 DEFAULT_wxUSE_STREAMS
=yes
1362 DEFAULT_wxUSE_SOCKETS
=yes
1363 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1364 DEFAULT_wxUSE_SERIAL
=yes
1365 DEFAULT_wxUSE_JOYSTICK
=yes
1366 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1367 DEFAULT_wxUSE_LONGLONG
=no
1369 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1370 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1371 DEFAULT_wxUSE_POSTSCRIPT
=yes
1373 DEFAULT_wxUSE_X_RESOURCES
=no
1374 DEFAULT_wxUSE_CLIPBOARD
=yes
1375 DEFAULT_wxUSE_TOOLTIPS
=yes
1376 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1377 DEFAULT_wxUSE_SPLINES
=yes
1379 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1380 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1381 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1383 DEFAULT_wxUSE_PROLOGIO
=yes
1384 DEFAULT_wxUSE_RESOURCES
=yes
1385 DEFAULT_wxUSE_CONSTRAINTS
=yes
1386 DEFAULT_wxUSE_IPC
=yes
1387 DEFAULT_wxUSE_HELP
=yes
1388 DEFAULT_wxUSE_WXTREE
=yes
1389 DEFAULT_wxUSE_METAFILE
=yes
1391 DEFAULT_wxUSE_COMMONDLGS
=yes
1392 DEFAULT_wxUSE_DIRDLG
=yes
1393 DEFAULT_wxUSE_TEXTDLG
=yes
1394 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1395 DEFAULT_wxUSE_PROGRESSDLG
=yes
1396 DEFAULT_wxUSE_MINIFRAME
=yes
1397 DEFAULT_wxUSE_HTML
=yes
1398 DEFAULT_wxUSE_FS_INET
=yes
1399 DEFAULT_wxUSE_FS_ZIP
=yes
1400 DEFAULT_wxUSE_BUSYINFO
=yes
1401 DEFAULT_wxUSE_ZIPSTREAM
=yes
1402 DEFAULT_wxUSE_VALIDATORS
=yes
1404 DEFAULT_wxUSE_ACCEL
=yes
1405 DEFAULT_wxUSE_CARET
=yes
1406 DEFAULT_wxUSE_BMPBUTTON
=yes
1407 DEFAULT_wxUSE_CHECKBOX
=yes
1408 DEFAULT_wxUSE_CHECKLST
=yes
1409 DEFAULT_wxUSE_CHOICE
=yes
1410 DEFAULT_wxUSE_COMBOBOX
=yes
1411 DEFAULT_wxUSE_GAUGE
=yes
1412 DEFAULT_wxUSE_GRID
=yes
1413 DEFAULT_wxUSE_IMAGLIST
=yes
1414 DEFAULT_wxUSE_LISTBOX
=yes
1415 DEFAULT_wxUSE_LISTCTRL
=yes
1416 DEFAULT_wxUSE_NOTEBOOK
=yes
1417 DEFAULT_wxUSE_RADIOBOX
=yes
1418 DEFAULT_wxUSE_RADIOBTN
=yes
1419 DEFAULT_wxUSE_SASH
=yes
1420 DEFAULT_wxUSE_SCROLLBAR
=yes
1421 DEFAULT_wxUSE_SLIDER
=yes
1422 DEFAULT_wxUSE_SPINBTN
=yes
1423 DEFAULT_wxUSE_SPLITTER
=yes
1424 DEFAULT_wxUSE_STATBMP
=yes
1425 DEFAULT_wxUSE_STATBOX
=yes
1426 DEFAULT_wxUSE_STATLINE
=yes
1427 DEFAULT_wxUSE_STATUSBAR
=yes
1428 DEFAULT_wxUSE_TABDIALOG
=no
1429 DEFAULT_wxUSE_TOOLBAR
=yes
1430 DEFAULT_wxUSE_TREECTRL
=yes
1432 DEFAULT_wxUSE_UNICODE
=no
1433 DEFAULT_wxUSE_WCSRTOMBS
=no
1435 DEFAULT_wxUSE_GIF
=yes
1436 DEFAULT_wxUSE_PCX
=yes
1437 DEFAULT_wxUSE_PNM
=yes
1442 for toolkit
in `echo $ALL_TOOLKITS`; do
1443 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1444 if test "x$LINE" != x
; then
1445 has_toolkit_in_cache
=1
1446 eval "DEFAULT_$LINE"
1447 eval "CACHE_$toolkit=1"
1451 # Check whether --with-gtk or --without-gtk was given.
1452 if test "${with_gtk+set}" = set; then
1454 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1457 # Check whether --with-motif or --without-motif was given.
1458 if test "${with_motif+set}" = set; then
1459 withval
="$with_motif"
1460 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1463 # Check whether --with-wine or --without-wine was given.
1464 if test "${with_wine+set}" = set; then
1465 withval
="$with_wine"
1466 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1469 # Check whether --with-cygwin or --without-cygwin was given.
1470 if test "${with_cygwin+set}" = set; then
1471 withval
="$with_cygwin"
1472 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1475 # Check whether --with-mingw or --without-mingw was given.
1476 if test "${with_mingw+set}" = set; then
1477 withval
="$with_mingw"
1478 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1482 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1483 if test "${with_gtk_prefix+set}" = set; then
1484 withval
="$with_gtk_prefix"
1485 gtk_config_prefix
="$withval"
1487 gtk_config_prefix
=""
1490 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1491 if test "${with_gtk_exec_prefix+set}" = set; then
1492 withval
="$with_gtk_exec_prefix"
1493 gtk_config_exec_prefix
="$withval"
1495 gtk_config_exec_prefix
=""
1500 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1501 echo "configure:1502: checking "for --with-dmalloc"" >&5
1503 # Check whether --with-dmalloc or --without-dmalloc was given.
1504 if test "${with_dmalloc+set}" = set; then
1505 withval
="$with_dmalloc"
1507 if test "$withval" = yes; then
1508 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1510 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1515 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1516 if test "x$LINE" != x
; then
1517 eval "DEFAULT_$LINE"
1522 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1527 eval "$ac_cv_use_dmalloc"
1528 if test "$no_cache" != 1; then
1529 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1532 if test "$wxUSE_DMALLOC" = yes; then
1533 echo "$ac_t""yes" 1>&6
1535 echo "$ac_t""no" 1>&6
1539 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1540 echo "configure:1541: checking "for --with-zlib"" >&5
1542 # Check whether --with-zlib or --without-zlib was given.
1543 if test "${with_zlib+set}" = set; then
1544 withval
="$with_zlib"
1546 if test "$withval" = yes; then
1547 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1549 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1554 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1555 if test "x$LINE" != x
; then
1556 eval "DEFAULT_$LINE"
1561 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1566 eval "$ac_cv_use_zlib"
1567 if test "$no_cache" != 1; then
1568 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1571 if test "$wxUSE_ZLIB" = yes; then
1572 echo "$ac_t""yes" 1>&6
1574 echo "$ac_t""no" 1>&6
1578 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1579 echo "configure:1580: checking "for --with-libpng"" >&5
1581 # Check whether --with-libpng or --without-libpng was given.
1582 if test "${with_libpng+set}" = set; then
1583 withval
="$with_libpng"
1585 if test "$withval" = yes; then
1586 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1588 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1593 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1594 if test "x$LINE" != x
; then
1595 eval "DEFAULT_$LINE"
1600 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1605 eval "$ac_cv_use_libpng"
1606 if test "$no_cache" != 1; then
1607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1610 if test "$wxUSE_LIBPNG" = yes; then
1611 echo "$ac_t""yes" 1>&6
1613 echo "$ac_t""no" 1>&6
1617 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1618 echo "configure:1619: checking "for --with-libjpeg"" >&5
1620 # Check whether --with-libjpeg or --without-libjpeg was given.
1621 if test "${with_libjpeg+set}" = set; then
1622 withval
="$with_libjpeg"
1624 if test "$withval" = yes; then
1625 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1627 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1632 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1633 if test "x$LINE" != x
; then
1634 eval "DEFAULT_$LINE"
1639 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1644 eval "$ac_cv_use_libjpeg"
1645 if test "$no_cache" != 1; then
1646 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1649 if test "$wxUSE_LIBJPEG" = yes; then
1650 echo "$ac_t""yes" 1>&6
1652 echo "$ac_t""no" 1>&6
1656 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1657 echo "configure:1658: checking "for --with-opengl"" >&5
1659 # Check whether --with-opengl or --without-opengl was given.
1660 if test "${with_opengl+set}" = set; then
1661 withval
="$with_opengl"
1663 if test "$withval" = yes; then
1664 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1666 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1671 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1672 if test "x$LINE" != x
; then
1673 eval "DEFAULT_$LINE"
1678 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1683 eval "$ac_cv_use_opengl"
1684 if test "$no_cache" != 1; then
1685 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1688 if test "$wxUSE_OPENGL" = yes; then
1689 echo "$ac_t""yes" 1>&6
1691 echo "$ac_t""no" 1>&6
1695 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1696 echo "configure:1697: checking "for --with-odbc"" >&5
1698 # Check whether --with-odbc or --without-odbc was given.
1699 if test "${with_odbc+set}" = set; then
1700 withval
="$with_odbc"
1702 if test "$withval" = yes; then
1703 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1705 ac_cv_use_odbc
='wxUSE_ODBC=no'
1710 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1711 if test "x$LINE" != x
; then
1712 eval "DEFAULT_$LINE"
1717 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1722 eval "$ac_cv_use_odbc"
1723 if test "$no_cache" != 1; then
1724 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1727 if test "$wxUSE_ODBC" = yes; then
1728 echo "$ac_t""yes" 1>&6
1730 echo "$ac_t""no" 1>&6
1737 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1738 echo "configure:1739: checking "for --enable-shared"" >&5
1740 # Check whether --enable-shared or --disable-shared was given.
1741 if test "${enable_shared+set}" = set; then
1742 enableval
="$enable_shared"
1744 if test "$enableval" = yes; then
1745 ac_cv_use_shared
='wxUSE_SHARED=yes'
1747 ac_cv_use_shared
='wxUSE_SHARED=no'
1752 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1753 if test "x$LINE" != x
; then
1754 eval "DEFAULT_$LINE"
1759 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1764 eval "$ac_cv_use_shared"
1765 if test "$no_cache" != 1; then
1766 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1769 if test "$wxUSE_SHARED" = yes; then
1770 echo "$ac_t""yes" 1>&6
1772 echo "$ac_t""no" 1>&6
1776 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1777 echo "configure:1778: checking "for --enable-optimise"" >&5
1779 # Check whether --enable-optimise or --disable-optimise was given.
1780 if test "${enable_optimise+set}" = set; then
1781 enableval
="$enable_optimise"
1783 if test "$enableval" = yes; then
1784 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1786 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1791 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1792 if test "x$LINE" != x
; then
1793 eval "DEFAULT_$LINE"
1798 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1803 eval "$ac_cv_use_optimise"
1804 if test "$no_cache" != 1; then
1805 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1808 if test "$wxUSE_OPTIMISE" = yes; then
1809 echo "$ac_t""yes" 1>&6
1811 echo "$ac_t""no" 1>&6
1815 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1816 echo "configure:1817: checking "for --enable-debug"" >&5
1818 # Check whether --enable-debug or --disable-debug was given.
1819 if test "${enable_debug+set}" = set; then
1820 enableval
="$enable_debug"
1822 if test "$enableval" = yes; then
1823 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1825 ac_cv_use_debug
='wxUSE_DEBUG=no'
1830 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1831 if test "x$LINE" != x
; then
1832 eval "DEFAULT_$LINE"
1837 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1842 eval "$ac_cv_use_debug"
1843 if test "$no_cache" != 1; then
1844 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1847 if test "$wxUSE_DEBUG" = yes; then
1848 echo "$ac_t""yes" 1>&6
1850 echo "$ac_t""no" 1>&6
1854 if test "$wxUSE_DEBUG" = "yes"; then
1855 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1856 DEFAULT_wxUSE_DEBUG_INFO
=yes
1857 elif test "$wxUSE_DEBUG" = "no"; then
1858 DEFAULT_wxUSE_DEBUG_FLAG
=no
1859 DEFAULT_wxUSE_DEBUG_INFO
=no
1863 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1864 echo "configure:1865: checking "for --enable-debug_flag"" >&5
1866 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1867 if test "${enable_debug_flag+set}" = set; then
1868 enableval
="$enable_debug_flag"
1870 if test "$enableval" = yes; then
1871 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1873 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1878 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1879 if test "x$LINE" != x
; then
1880 eval "DEFAULT_$LINE"
1885 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1890 eval "$ac_cv_use_debug_flag"
1891 if test "$no_cache" != 1; then
1892 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1895 if test "$wxUSE_DEBUG_FLAG" = yes; then
1896 echo "$ac_t""yes" 1>&6
1898 echo "$ac_t""no" 1>&6
1902 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1903 echo "configure:1904: checking "for --enable-debug_info"" >&5
1905 # Check whether --enable-debug_info or --disable-debug_info was given.
1906 if test "${enable_debug_info+set}" = set; then
1907 enableval
="$enable_debug_info"
1909 if test "$enableval" = yes; then
1910 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
1912 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
1917 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
1918 if test "x$LINE" != x
; then
1919 eval "DEFAULT_$LINE"
1924 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
1929 eval "$ac_cv_use_debug_info"
1930 if test "$no_cache" != 1; then
1931 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
1934 if test "$wxUSE_DEBUG_INFO" = yes; then
1935 echo "$ac_t""yes" 1>&6
1937 echo "$ac_t""no" 1>&6
1941 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
1942 echo "configure:1943: checking "for --enable-debug_gdb"" >&5
1944 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
1945 if test "${enable_debug_gdb+set}" = set; then
1946 enableval
="$enable_debug_gdb"
1948 if test "$enableval" = yes; then
1949 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
1951 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
1956 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
1957 if test "x$LINE" != x
; then
1958 eval "DEFAULT_$LINE"
1963 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
1968 eval "$ac_cv_use_debug_gdb"
1969 if test "$no_cache" != 1; then
1970 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
1973 if test "$wxUSE_DEBUG_GDB" = yes; then
1974 echo "$ac_t""yes" 1>&6
1976 echo "$ac_t""no" 1>&6
1980 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
1981 echo "configure:1982: checking "for --enable-debug_cntxt"" >&5
1983 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
1984 if test "${enable_debug_cntxt+set}" = set; then
1985 enableval
="$enable_debug_cntxt"
1987 if test "$enableval" = yes; then
1988 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
1990 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
1995 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x
; then
1997 eval "DEFAULT_$LINE"
2002 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2007 eval "$ac_cv_use_debug_cntxt"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2012 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2013 echo "$ac_t""yes" 1>&6
2015 echo "$ac_t""no" 1>&6
2019 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-mem_tracing"" >&5
2022 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2023 if test "${enable_mem_tracing+set}" = set; then
2024 enableval
="$enable_mem_tracing"
2026 if test "$enableval" = yes; then
2027 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2029 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2034 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x
; then
2036 eval "DEFAULT_$LINE"
2041 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2046 eval "$ac_cv_use_mem_tracing"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2051 if test "$wxUSE_MEM_TRACING" = yes; then
2052 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-profile"" >&5
2061 # Check whether --enable-profile or --disable-profile was given.
2062 if test "${enable_profile+set}" = set; then
2063 enableval
="$enable_profile"
2065 if test "$enableval" = yes; then
2066 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2068 ac_cv_use_profile
='wxUSE_PROFILE=no'
2073 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2085 eval "$ac_cv_use_profile"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_PROFILE" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-no_rtti"" >&5
2100 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2101 if test "${enable_no_rtti+set}" = set; then
2102 enableval
="$enable_no_rtti"
2104 if test "$enableval" = yes; then
2105 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2107 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2112 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2124 eval "$ac_cv_use_no_rtti"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_NO_RTTI" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2137 echo "configure:2138: checking "for --enable-no_exceptions"" >&5
2139 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2140 if test "${enable_no_exceptions+set}" = set; then
2141 enableval
="$enable_no_exceptions"
2143 if test "$enableval" = yes; then
2144 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2146 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2151 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2163 eval "$ac_cv_use_no_exceptions"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2169 echo "$ac_t""yes" 1>&6
2171 echo "$ac_t""no" 1>&6
2175 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-permissive"" >&5
2178 # Check whether --enable-permissive or --disable-permissive was given.
2179 if test "${enable_permissive+set}" = set; then
2180 enableval
="$enable_permissive"
2182 if test "$enableval" = yes; then
2183 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2185 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2190 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2202 eval "$ac_cv_use_permissive"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_PERMISSIVE" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-no_deps"" >&5
2217 # Check whether --enable-no_deps or --disable-no_deps was given.
2218 if test "${enable_no_deps+set}" = set; then
2219 enableval
="$enable_no_deps"
2221 if test "$enableval" = yes; then
2222 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2224 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2229 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2241 eval "$ac_cv_use_no_deps"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_NO_DEPS" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2255 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
2256 echo "configure:2257: checking "for --enable-gui"" >&5
2258 # Check whether --enable-gui or --disable-gui was given.
2259 if test "${enable_gui+set}" = set; then
2260 enableval
="$enable_gui"
2262 if test "$enableval" = yes; then
2263 ac_cv_use_gui
='wxUSE_GUI=yes'
2265 ac_cv_use_gui
='wxUSE_GUI=no'
2270 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2271 if test "x$LINE" != x
; then
2272 eval "DEFAULT_$LINE"
2277 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2282 eval "$ac_cv_use_gui"
2283 if test "$no_cache" != 1; then
2284 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2287 if test "$wxUSE_GUI" = yes; then
2288 echo "$ac_t""yes" 1>&6
2290 echo "$ac_t""no" 1>&6
2296 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2297 echo "configure:2298: checking "for --enable-intl"" >&5
2299 # Check whether --enable-intl or --disable-intl was given.
2300 if test "${enable_intl+set}" = set; then
2301 enableval
="$enable_intl"
2303 if test "$enableval" = yes; then
2304 ac_cv_use_intl
='wxUSE_INTL=yes'
2306 ac_cv_use_intl
='wxUSE_INTL=no'
2311 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2312 if test "x$LINE" != x
; then
2313 eval "DEFAULT_$LINE"
2318 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2323 eval "$ac_cv_use_intl"
2324 if test "$no_cache" != 1; then
2325 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2328 if test "$wxUSE_INTL" = yes; then
2329 echo "$ac_t""yes" 1>&6
2331 echo "$ac_t""no" 1>&6
2335 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2336 echo "configure:2337: checking "for --enable-config"" >&5
2338 # Check whether --enable-config or --disable-config was given.
2339 if test "${enable_config+set}" = set; then
2340 enableval
="$enable_config"
2342 if test "$enableval" = yes; then
2343 ac_cv_use_config
='wxUSE_CONFIG=yes'
2345 ac_cv_use_config
='wxUSE_CONFIG=no'
2350 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2351 if test "x$LINE" != x
; then
2352 eval "DEFAULT_$LINE"
2357 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2362 eval "$ac_cv_use_config"
2363 if test "$no_cache" != 1; then
2364 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2367 if test "$wxUSE_CONFIG" = yes; then
2368 echo "$ac_t""yes" 1>&6
2370 echo "$ac_t""no" 1>&6
2374 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2375 echo "configure:2376: checking "for --enable-sockets"" >&5
2377 # Check whether --enable-sockets or --disable-sockets was given.
2378 if test "${enable_sockets+set}" = set; then
2379 enableval
="$enable_sockets"
2381 if test "$enableval" = yes; then
2382 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2384 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2389 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2390 if test "x$LINE" != x
; then
2391 eval "DEFAULT_$LINE"
2396 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2401 eval "$ac_cv_use_sockets"
2402 if test "$no_cache" != 1; then
2403 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2406 if test "$wxUSE_SOCKETS" = yes; then
2407 echo "$ac_t""yes" 1>&6
2409 echo "$ac_t""no" 1>&6
2413 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2414 echo "configure:2415: checking "for --enable-dialupman"" >&5
2416 # Check whether --enable-dialupman or --disable-dialupman was given.
2417 if test "${enable_dialupman+set}" = set; then
2418 enableval
="$enable_dialupman"
2420 if test "$enableval" = yes; then
2421 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2423 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2428 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2429 if test "x$LINE" != x
; then
2430 eval "DEFAULT_$LINE"
2435 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2440 eval "$ac_cv_use_dialupman"
2441 if test "$no_cache" != 1; then
2442 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2445 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2446 echo "$ac_t""yes" 1>&6
2448 echo "$ac_t""no" 1>&6
2452 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2453 echo "configure:2454: checking "for --enable-ipc"" >&5
2455 # Check whether --enable-ipc or --disable-ipc was given.
2456 if test "${enable_ipc+set}" = set; then
2457 enableval
="$enable_ipc"
2459 if test "$enableval" = yes; then
2460 ac_cv_use_ipc
='wxUSE_IPC=yes'
2462 ac_cv_use_ipc
='wxUSE_IPC=no'
2467 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2468 if test "x$LINE" != x
; then
2469 eval "DEFAULT_$LINE"
2474 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2479 eval "$ac_cv_use_ipc"
2480 if test "$no_cache" != 1; then
2481 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2484 if test "$wxUSE_IPC" = yes; then
2485 echo "$ac_t""yes" 1>&6
2487 echo "$ac_t""no" 1>&6
2491 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2492 echo "configure:2493: checking "for --enable-apple_ieee"" >&5
2494 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2495 if test "${enable_apple_ieee+set}" = set; then
2496 enableval
="$enable_apple_ieee"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2501 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2506 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2518 eval "$ac_cv_use_apple_ieee"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2523 if test "$wxUSE_APPLE_IEEE" = yes; then
2524 echo "$ac_t""yes" 1>&6
2526 echo "$ac_t""no" 1>&6
2530 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2531 echo "configure:2532: checking "for --enable-timedate"" >&5
2533 # Check whether --enable-timedate or --disable-timedate was given.
2534 if test "${enable_timedate+set}" = set; then
2535 enableval
="$enable_timedate"
2537 if test "$enableval" = yes; then
2538 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2540 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2545 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2546 if test "x$LINE" != x
; then
2547 eval "DEFAULT_$LINE"
2552 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2557 eval "$ac_cv_use_timedate"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_TIMEDATE" = yes; then
2563 echo "$ac_t""yes" 1>&6
2565 echo "$ac_t""no" 1>&6
2569 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2570 echo "configure:2571: checking "for --enable-wave"" >&5
2572 # Check whether --enable-wave or --disable-wave was given.
2573 if test "${enable_wave+set}" = set; then
2574 enableval
="$enable_wave"
2576 if test "$enableval" = yes; then
2577 ac_cv_use_wave
='wxUSE_WAVE=yes'
2579 ac_cv_use_wave
='wxUSE_WAVE=no'
2584 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2585 if test "x$LINE" != x
; then
2586 eval "DEFAULT_$LINE"
2591 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2596 eval "$ac_cv_use_wave"
2597 if test "$no_cache" != 1; then
2598 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2601 if test "$wxUSE_WAVE" = yes; then
2602 echo "$ac_t""yes" 1>&6
2604 echo "$ac_t""no" 1>&6
2608 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2609 echo "configure:2610: checking "for --enable-fraction"" >&5
2611 # Check whether --enable-fraction or --disable-fraction was given.
2612 if test "${enable_fraction+set}" = set; then
2613 enableval
="$enable_fraction"
2615 if test "$enableval" = yes; then
2616 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2618 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2623 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2624 if test "x$LINE" != x
; then
2625 eval "DEFAULT_$LINE"
2630 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2635 eval "$ac_cv_use_fraction"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2640 if test "$wxUSE_FRACTION" = yes; then
2641 echo "$ac_t""yes" 1>&6
2643 echo "$ac_t""no" 1>&6
2647 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2648 echo "configure:2649: checking "for --enable-dynlib"" >&5
2650 # Check whether --enable-dynlib or --disable-dynlib was given.
2651 if test "${enable_dynlib+set}" = set; then
2652 enableval
="$enable_dynlib"
2654 if test "$enableval" = yes; then
2655 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2657 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2662 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x
; then
2664 eval "DEFAULT_$LINE"
2669 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2674 eval "$ac_cv_use_dynlib"
2675 if test "$no_cache" != 1; then
2676 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2679 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2680 echo "$ac_t""yes" 1>&6
2682 echo "$ac_t""no" 1>&6
2686 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2687 echo "configure:2688: checking "for --enable-longlong"" >&5
2689 # Check whether --enable-longlong or --disable-longlong was given.
2690 if test "${enable_longlong+set}" = set; then
2691 enableval
="$enable_longlong"
2693 if test "$enableval" = yes; then
2694 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2696 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2701 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x
; then
2703 eval "DEFAULT_$LINE"
2708 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2713 eval "$ac_cv_use_longlong"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_LONGLONG" = yes; then
2719 echo "$ac_t""yes" 1>&6
2721 echo "$ac_t""no" 1>&6
2725 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2726 echo "configure:2727: checking "for --enable-log"" >&5
2728 # Check whether --enable-log or --disable-log was given.
2729 if test "${enable_log+set}" = set; then
2730 enableval
="$enable_log"
2732 if test "$enableval" = yes; then
2733 ac_cv_use_log
='wxUSE_LOG=yes'
2735 ac_cv_use_log
='wxUSE_LOG=no'
2740 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x
; then
2742 eval "DEFAULT_$LINE"
2747 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2752 eval "$ac_cv_use_log"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2757 if test "$wxUSE_LOG" = yes; then
2758 echo "$ac_t""yes" 1>&6
2760 echo "$ac_t""no" 1>&6
2764 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2765 echo "configure:2766: checking "for --enable-streams"" >&5
2767 # Check whether --enable-streams or --disable-streams was given.
2768 if test "${enable_streams+set}" = set; then
2769 enableval
="$enable_streams"
2771 if test "$enableval" = yes; then
2772 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2774 ac_cv_use_streams
='wxUSE_STREAMS=no'
2779 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2780 if test "x$LINE" != x
; then
2781 eval "DEFAULT_$LINE"
2786 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2791 eval "$ac_cv_use_streams"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2796 if test "$wxUSE_STREAMS" = yes; then
2797 echo "$ac_t""yes" 1>&6
2799 echo "$ac_t""no" 1>&6
2803 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2804 echo "configure:2805: checking "for --enable-file"" >&5
2806 # Check whether --enable-file or --disable-file was given.
2807 if test "${enable_file+set}" = set; then
2808 enableval
="$enable_file"
2810 if test "$enableval" = yes; then
2811 ac_cv_use_file
='wxUSE_FILE=yes'
2813 ac_cv_use_file
='wxUSE_FILE=no'
2818 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x
; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2830 eval "$ac_cv_use_file"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_FILE" = yes; then
2836 echo "$ac_t""yes" 1>&6
2838 echo "$ac_t""no" 1>&6
2842 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2843 echo "configure:2844: checking "for --enable-textfile"" >&5
2845 # Check whether --enable-textfile or --disable-textfile was given.
2846 if test "${enable_textfile+set}" = set; then
2847 enableval
="$enable_textfile"
2849 if test "$enableval" = yes; then
2850 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2852 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2857 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2869 eval "$ac_cv_use_textfile"
2870 if test "$no_cache" != 1; then
2871 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2874 if test "$wxUSE_TEXTFILE" = yes; then
2875 echo "$ac_t""yes" 1>&6
2877 echo "$ac_t""no" 1>&6
2881 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2882 echo "configure:2883: checking "for --enable-unicode"" >&5
2884 # Check whether --enable-unicode or --disable-unicode was given.
2885 if test "${enable_unicode+set}" = set; then
2886 enableval
="$enable_unicode"
2888 if test "$enableval" = yes; then
2889 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2891 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2896 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x
; then
2898 eval "DEFAULT_$LINE"
2903 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2908 eval "$ac_cv_use_unicode"
2909 if test "$no_cache" != 1; then
2910 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2913 if test "$wxUSE_UNICODE" = yes; then
2914 echo "$ac_t""yes" 1>&6
2916 echo "$ac_t""no" 1>&6
2920 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2921 echo "configure:2922: checking "for --enable-wcsrtombs"" >&5
2923 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2924 if test "${enable_wcsrtombs+set}" = set; then
2925 enableval
="$enable_wcsrtombs"
2927 if test "$enableval" = yes; then
2928 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2930 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2935 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2936 if test "x$LINE" != x
; then
2937 eval "DEFAULT_$LINE"
2942 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2947 eval "$ac_cv_use_wcsrtombs"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_WCSRTOMBS" = yes; then
2953 echo "$ac_t""yes" 1>&6
2955 echo "$ac_t""no" 1>&6
2959 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
2960 echo "configure:2961: checking "for --enable-wxprintfv"" >&5
2962 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
2963 if test "${enable_wxprintfv+set}" = set; then
2964 enableval
="$enable_wxprintfv"
2966 if test "$enableval" = yes; then
2967 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
2969 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
2974 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x
; then
2976 eval "DEFAULT_$LINE"
2981 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
2986 eval "$ac_cv_use_wxprintfv"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
2992 echo "$ac_t""yes" 1>&6
2994 echo "$ac_t""no" 1>&6
2998 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
2999 echo "configure:3000: checking "for --enable-joystick"" >&5
3001 # Check whether --enable-joystick or --disable-joystick was given.
3002 if test "${enable_joystick+set}" = set; then
3003 enableval
="$enable_joystick"
3005 if test "$enableval" = yes; then
3006 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3008 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3013 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3025 eval "$ac_cv_use_joystick"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_JOYSTICK" = yes; then
3031 echo "$ac_t""yes" 1>&6
3033 echo "$ac_t""no" 1>&6
3037 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3038 echo "configure:3039: checking "for --enable-std_iostreams"" >&5
3040 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3041 if test "${enable_std_iostreams+set}" = set; then
3042 enableval
="$enable_std_iostreams"
3044 if test "$enableval" = yes; then
3045 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3047 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3052 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3053 if test "x$LINE" != x
; then
3054 eval "DEFAULT_$LINE"
3059 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3064 eval "$ac_cv_use_std_iostreams"
3065 if test "$no_cache" != 1; then
3066 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3069 if test "$wxUSE_STD_IOSTREAM" = yes; then
3070 echo "$ac_t""yes" 1>&6
3072 echo "$ac_t""no" 1>&6
3076 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3077 echo "configure:3078: checking "for --enable-fs_inet"" >&5
3079 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3080 if test "${enable_fs_inet+set}" = set; then
3081 enableval
="$enable_fs_inet"
3083 if test "$enableval" = yes; then
3084 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3086 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3091 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3092 if test "x$LINE" != x
; then
3093 eval "DEFAULT_$LINE"
3098 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3103 eval "$ac_cv_use_fs_inet"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_FS_INET" = yes; then
3109 echo "$ac_t""yes" 1>&6
3111 echo "$ac_t""no" 1>&6
3115 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3116 echo "configure:3117: checking "for --enable-fs_zip"" >&5
3118 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3119 if test "${enable_fs_zip+set}" = set; then
3120 enableval
="$enable_fs_zip"
3122 if test "$enableval" = yes; then
3123 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3125 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3130 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x
; then
3132 eval "DEFAULT_$LINE"
3137 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3142 eval "$ac_cv_use_fs_zip"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_FS_ZIP" = yes; then
3148 echo "$ac_t""yes" 1>&6
3150 echo "$ac_t""no" 1>&6
3154 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3155 echo "configure:3156: checking "for --enable-zipstream"" >&5
3157 # Check whether --enable-zipstream or --disable-zipstream was given.
3158 if test "${enable_zipstream+set}" = set; then
3159 enableval
="$enable_zipstream"
3161 if test "$enableval" = yes; then
3162 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3164 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3169 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x
; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3181 eval "$ac_cv_use_zipstream"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_ZIPSTREAM" = yes; then
3187 echo "$ac_t""yes" 1>&6
3189 echo "$ac_t""no" 1>&6
3195 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3196 echo "configure:3197: checking "for --enable-threads"" >&5
3198 # Check whether --enable-threads or --disable-threads was given.
3199 if test "${enable_threads+set}" = set; then
3200 enableval
="$enable_threads"
3202 if test "$enableval" = yes; then
3203 ac_cv_use_threads
='wxUSE_THREADS=yes'
3205 ac_cv_use_threads
='wxUSE_THREADS=no'
3210 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x
; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3222 eval "$ac_cv_use_threads"
3223 if test "$no_cache" != 1; then
3224 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3227 if test "$wxUSE_THREADS" = yes; then
3228 echo "$ac_t""yes" 1>&6
3230 echo "$ac_t""no" 1>&6
3234 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3235 echo "configure:3236: checking "for --enable-serial"" >&5
3237 # Check whether --enable-serial or --disable-serial was given.
3238 if test "${enable_serial+set}" = set; then
3239 enableval
="$enable_serial"
3241 if test "$enableval" = yes; then
3242 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3244 ac_cv_use_serial
='wxUSE_SERIAL=no'
3249 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x
; then
3251 eval "DEFAULT_$LINE"
3256 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3261 eval "$ac_cv_use_serial"
3262 if test "$no_cache" != 1; then
3263 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3266 if test "$wxUSE_SERIAL" = yes; then
3267 echo "$ac_t""yes" 1>&6
3269 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3276 echo "configure:3277: checking "for --enable-docview"" >&5
3278 # Check whether --enable-docview or --disable-docview was given.
3279 if test "${enable_docview+set}" = set; then
3280 enableval
="$enable_docview"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3285 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3290 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3302 eval "$ac_cv_use_docview"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3315 echo "configure:3316: checking "for --enable-help"" >&5
3317 # Check whether --enable-help or --disable-help was given.
3318 if test "${enable_help+set}" = set; then
3319 enableval
="$enable_help"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_help
='wxUSE_HELP=yes'
3324 ac_cv_use_help
='wxUSE_HELP=no'
3329 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3341 eval "$ac_cv_use_help"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_HELP" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3354 echo "configure:3355: checking "for --enable-constraints"" >&5
3356 # Check whether --enable-constraints or --disable-constraints was given.
3357 if test "${enable_constraints+set}" = set; then
3358 enableval
="$enable_constraints"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3363 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3368 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3380 eval "$ac_cv_use_constraints"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_CONSTRAINTS" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3392 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3393 echo "configure:3394: checking "for --enable-printarch"" >&5
3395 # Check whether --enable-printarch or --disable-printarch was given.
3396 if test "${enable_printarch+set}" = set; then
3397 enableval
="$enable_printarch"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3402 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3407 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3419 eval "$ac_cv_use_printarch"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3425 echo "$ac_t""yes" 1>&6
3427 echo "$ac_t""no" 1>&6
3431 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3432 echo "configure:3433: checking "for --enable-mdi"" >&5
3434 # Check whether --enable-mdi or --disable-mdi was given.
3435 if test "${enable_mdi+set}" = set; then
3436 enableval
="$enable_mdi"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3441 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3446 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3458 eval "$ac_cv_use_mdi"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3464 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3471 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3472 echo "configure:3473: checking "for --enable-postscript"" >&5
3474 # Check whether --enable-postscript or --disable-postscript was given.
3475 if test "${enable_postscript+set}" = set; then
3476 enableval
="$enable_postscript"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3481 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3486 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x
; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3498 eval "$ac_cv_use_postscript"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_POSTSCRIPT" = yes; then
3504 echo "$ac_t""yes" 1>&6
3506 echo "$ac_t""no" 1>&6
3512 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3513 echo "configure:3514: checking "for --enable-prologio"" >&5
3515 # Check whether --enable-prologio or --disable-prologio was given.
3516 if test "${enable_prologio+set}" = set; then
3517 enableval
="$enable_prologio"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3522 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3527 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x
; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3539 eval "$ac_cv_use_prologio"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_PROLOGIO" = yes; then
3545 echo "$ac_t""yes" 1>&6
3547 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3552 echo "configure:3553: checking "for --enable-resources"" >&5
3554 # Check whether --enable-resources or --disable-resources was given.
3555 if test "${enable_resources+set}" = set; then
3556 enableval
="$enable_resources"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3561 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3566 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3578 eval "$ac_cv_use_resources"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_RESOURCES" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3591 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3592 echo "configure:3593: checking "for --enable-xresources"" >&5
3594 # Check whether --enable-xresources or --disable-xresources was given.
3595 if test "${enable_xresources+set}" = set; then
3596 enableval
="$enable_xresources"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3601 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3606 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3618 eval "$ac_cv_use_xresources"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3623 if test "$wxUSE_X_RESOURCES" = yes; then
3624 echo "$ac_t""yes" 1>&6
3626 echo "$ac_t""no" 1>&6
3632 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3633 echo "configure:3634: checking "for --enable-clipboard"" >&5
3635 # Check whether --enable-clipboard or --disable-clipboard was given.
3636 if test "${enable_clipboard+set}" = set; then
3637 enableval
="$enable_clipboard"
3639 if test "$enableval" = yes; then
3640 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3642 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3647 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x
; then
3649 eval "DEFAULT_$LINE"
3654 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3659 eval "$ac_cv_use_clipboard"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_CLIPBOARD" = yes; then
3665 echo "$ac_t""yes" 1>&6
3667 echo "$ac_t""no" 1>&6
3671 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3672 echo "configure:3673: checking "for --enable-dnd"" >&5
3674 # Check whether --enable-dnd or --disable-dnd was given.
3675 if test "${enable_dnd+set}" = set; then
3676 enableval
="$enable_dnd"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3681 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3686 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x
; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3698 eval "$ac_cv_use_dnd"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3703 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3704 echo "$ac_t""yes" 1>&6
3706 echo "$ac_t""no" 1>&6
3711 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3712 echo "configure:3713: checking "for --enable-wxtree"" >&5
3714 # Check whether --enable-wxtree or --disable-wxtree was given.
3715 if test "${enable_wxtree+set}" = set; then
3716 enableval
="$enable_wxtree"
3718 if test "$enableval" = yes; then
3719 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3721 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3726 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x
; then
3728 eval "DEFAULT_$LINE"
3733 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3738 eval "$ac_cv_use_wxtree"
3739 if test "$no_cache" != 1; then
3740 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3743 if test "$wxUSE_WXTREE" = yes; then
3744 echo "$ac_t""yes" 1>&6
3746 echo "$ac_t""no" 1>&6
3752 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3753 echo "configure:3754: checking "for --enable-controls"" >&5
3755 # Check whether --enable-controls or --disable-controls was given.
3756 if test "${enable_controls+set}" = set; then
3757 enableval
="$enable_controls"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3762 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3767 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x
; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3779 eval "$ac_cv_use_controls"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3784 if test "$wxUSE_CONTROLS" = yes; then
3785 echo "$ac_t""yes" 1>&6
3787 echo "$ac_t""no" 1>&6
3791 if test "$wxUSE_CONTROLS" = "yes"; then
3792 DEFAULT_wxUSE_ACCEL
=yes
3793 DEFAULT_wxUSE_CARET
=yes
3794 DEFAULT_wxUSE_COMBOBOX
=yes
3795 DEFAULT_wxUSE_BMPBUTTON
=yes
3796 DEFAULT_wxUSE_CHECKBOX
=yes
3797 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3798 DEFAULT_wxUSE_CHOICE
=yes
3799 DEFAULT_wxUSE_GAUGE
=yes
3800 DEFAULT_wxUSE_GRID
=yes
3801 DEFAULT_wxUSE_IMAGLIST
=yes
3802 DEFAULT_wxUSE_LISTBOX
=yes
3803 DEFAULT_wxUSE_LISTCTRL
=yes
3804 DEFAULT_wxUSE_NOTEBOOK
=yes
3805 DEFAULT_wxUSE_RADIOBOX
=yes
3806 DEFAULT_wxUSE_RADIOBTN
=yes
3807 DEFAULT_wxUSE_SASH
=yes
3808 DEFAULT_wxUSE_SCROLLBAR
=yes
3809 DEFAULT_wxUSE_SLIDER
=yes
3810 DEFAULT_wxUSE_SPINBTN
=yes
3811 DEFAULT_wxUSE_SPLITTER
=yes
3812 DEFAULT_wxUSE_STATBMP
=yes
3813 DEFAULT_wxUSE_STATBOX
=yes
3814 DEFAULT_wxUSE_STATLINE
=yes
3815 DEFAULT_wxUSE_STATUSBAR
=yes
3816 DEFAULT_wxUSE_TAB_DIALOG
=yes
3817 DEFAULT_wxUSE_TOOLBAR
=yes
3818 DEFAULT_wxUSE_TOOLTIPS
=yes
3819 DEFAULT_wxUSE_TREECTRL
=yes
3820 elif test "$wxUSE_CONTROLS" = "no"; then
3821 DEFAULT_wxUSE_ACCEL
=no
3822 DEFAULT_wxUSE_CARET
=no
3823 DEFAULT_wxUSE_COMBOBOX
=no
3824 DEFAULT_wxUSE_BMPBUTTON
=no
3825 DEFAULT_wxUSE_CHECKBOX
=no
3826 DEFAULT_wxUSE_CHECKLISTBOX
=no
3827 DEFAULT_wxUSE_CHOICE
=no
3828 DEFAULT_wxUSE_GAUGE
=no
3829 DEFAULT_wxUSE_GRID
=no
3830 DEFAULT_wxUSE_IMAGLIST
=no
3831 DEFAULT_wxUSE_LISTBOX
=no
3832 DEFAULT_wxUSE_LISTCTRL
=no
3833 DEFAULT_wxUSE_NOTEBOOK
=no
3834 DEFAULT_wxUSE_RADIOBOX
=no
3835 DEFAULT_wxUSE_RADIOBTN
=no
3836 DEFAULT_wxUSE_SASH
=no
3837 DEFAULT_wxUSE_SCROLLBAR
=no
3838 DEFAULT_wxUSE_SLIDER
=no
3839 DEFAULT_wxUSE_SPINBTN
=no
3840 DEFAULT_wxUSE_SPLITTER
=no
3841 DEFAULT_wxUSE_STATBMP
=no
3842 DEFAULT_wxUSE_STATBOX
=no
3843 DEFAULT_wxUSE_STATLINE
=no
3844 DEFAULT_wxUSE_STATUSBAR
=no
3845 DEFAULT_wxUSE_TAB_DIALOG
=no
3846 DEFAULT_wxUSE_TOOLBAR
=no
3847 DEFAULT_wxUSE_TOOLTIPS
=no
3848 DEFAULT_wxUSE_TREECTRL
=no
3852 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3853 echo "configure:3854: checking "for --enable-accel"" >&5
3855 # Check whether --enable-accel or --disable-accel was given.
3856 if test "${enable_accel+set}" = set; then
3857 enableval
="$enable_accel"
3859 if test "$enableval" = yes; then
3860 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3862 ac_cv_use_accel
='wxUSE_ACCEL=no'
3867 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x
; then
3869 eval "DEFAULT_$LINE"
3874 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3879 eval "$ac_cv_use_accel"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3884 if test "$wxUSE_ACCEL" = yes; then
3885 echo "$ac_t""yes" 1>&6
3887 echo "$ac_t""no" 1>&6
3891 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3892 echo "configure:3893: checking "for --enable-caret"" >&5
3894 # Check whether --enable-caret or --disable-caret was given.
3895 if test "${enable_caret+set}" = set; then
3896 enableval
="$enable_caret"
3898 if test "$enableval" = yes; then
3899 ac_cv_use_caret
='wxUSE_CARET=yes'
3901 ac_cv_use_caret
='wxUSE_CARET=no'
3906 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x
; then
3908 eval "DEFAULT_$LINE"
3913 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3918 eval "$ac_cv_use_caret"
3919 if test "$no_cache" != 1; then
3920 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3923 if test "$wxUSE_CARET" = yes; then
3924 echo "$ac_t""yes" 1>&6
3926 echo "$ac_t""no" 1>&6
3930 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3931 echo "configure:3932: checking "for --enable-bmpbutton"" >&5
3933 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3934 if test "${enable_bmpbutton+set}" = set; then
3935 enableval
="$enable_bmpbutton"
3937 if test "$enableval" = yes; then
3938 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3940 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3945 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3946 if test "x$LINE" != x
; then
3947 eval "DEFAULT_$LINE"
3952 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
3957 eval "$ac_cv_use_bmpbutton"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_BMPBUTTON" = yes; then
3963 echo "$ac_t""yes" 1>&6
3965 echo "$ac_t""no" 1>&6
3969 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
3970 echo "configure:3971: checking "for --enable-checkbox"" >&5
3972 # Check whether --enable-checkbox or --disable-checkbox was given.
3973 if test "${enable_checkbox+set}" = set; then
3974 enableval
="$enable_checkbox"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
3979 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
3984 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
3996 eval "$ac_cv_use_checkbox"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_CHECKBOX" = yes; then
4002 echo "$ac_t""yes" 1>&6
4004 echo "$ac_t""no" 1>&6
4008 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4009 echo "configure:4010: checking "for --enable-checklst"" >&5
4011 # Check whether --enable-checklst or --disable-checklst was given.
4012 if test "${enable_checklst+set}" = set; then
4013 enableval
="$enable_checklst"
4015 if test "$enableval" = yes; then
4016 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4018 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4023 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4024 if test "x$LINE" != x
; then
4025 eval "DEFAULT_$LINE"
4030 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4035 eval "$ac_cv_use_checklst"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_CHECKLST" = yes; then
4041 echo "$ac_t""yes" 1>&6
4043 echo "$ac_t""no" 1>&6
4047 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4048 echo "configure:4049: checking "for --enable-choice"" >&5
4050 # Check whether --enable-choice or --disable-choice was given.
4051 if test "${enable_choice+set}" = set; then
4052 enableval
="$enable_choice"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4057 ac_cv_use_choice
='wxUSE_CHOICE=no'
4062 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x
; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4074 eval "$ac_cv_use_choice"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4079 if test "$wxUSE_CHOICE" = yes; then
4080 echo "$ac_t""yes" 1>&6
4082 echo "$ac_t""no" 1>&6
4086 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4087 echo "configure:4088: checking "for --enable-combobox"" >&5
4089 # Check whether --enable-combobox or --disable-combobox was given.
4090 if test "${enable_combobox+set}" = set; then
4091 enableval
="$enable_combobox"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4096 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4101 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4113 eval "$ac_cv_use_combobox"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4118 if test "$wxUSE_COMBOBOX" = yes; then
4119 echo "$ac_t""yes" 1>&6
4121 echo "$ac_t""no" 1>&6
4125 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4126 echo "configure:4127: checking "for --enable-gauge"" >&5
4128 # Check whether --enable-gauge or --disable-gauge was given.
4129 if test "${enable_gauge+set}" = set; then
4130 enableval
="$enable_gauge"
4132 if test "$enableval" = yes; then
4133 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4135 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4140 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x
; then
4142 eval "DEFAULT_$LINE"
4147 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4152 eval "$ac_cv_use_gauge"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_GAUGE" = yes; then
4158 echo "$ac_t""yes" 1>&6
4160 echo "$ac_t""no" 1>&6
4164 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4165 echo "configure:4166: checking "for --enable-grid"" >&5
4167 # Check whether --enable-grid or --disable-grid was given.
4168 if test "${enable_grid+set}" = set; then
4169 enableval
="$enable_grid"
4171 if test "$enableval" = yes; then
4172 ac_cv_use_grid
='wxUSE_GRID=yes'
4174 ac_cv_use_grid
='wxUSE_GRID=no'
4179 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4180 if test "x$LINE" != x
; then
4181 eval "DEFAULT_$LINE"
4186 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4191 eval "$ac_cv_use_grid"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_GRID" = yes; then
4197 echo "$ac_t""yes" 1>&6
4199 echo "$ac_t""no" 1>&6
4203 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4204 echo "configure:4205: checking "for --enable-imaglist"" >&5
4206 # Check whether --enable-imaglist or --disable-imaglist was given.
4207 if test "${enable_imaglist+set}" = set; then
4208 enableval
="$enable_imaglist"
4210 if test "$enableval" = yes; then
4211 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4213 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4218 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4219 if test "x$LINE" != x
; then
4220 eval "DEFAULT_$LINE"
4225 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4230 eval "$ac_cv_use_imaglist"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_IMAGLIST" = yes; then
4236 echo "$ac_t""yes" 1>&6
4238 echo "$ac_t""no" 1>&6
4242 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4243 echo "configure:4244: checking "for --enable-listbox"" >&5
4245 # Check whether --enable-listbox or --disable-listbox was given.
4246 if test "${enable_listbox+set}" = set; then
4247 enableval
="$enable_listbox"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4252 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4257 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4269 eval "$ac_cv_use_listbox"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_LISTBOX" = yes; then
4275 echo "$ac_t""yes" 1>&6
4277 echo "$ac_t""no" 1>&6
4281 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4282 echo "configure:4283: checking "for --enable-listctrl"" >&5
4284 # Check whether --enable-listctrl or --disable-listctrl was given.
4285 if test "${enable_listctrl+set}" = set; then
4286 enableval
="$enable_listctrl"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4291 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4296 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4308 eval "$ac_cv_use_listctrl"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_LISTCTRL" = yes; then
4314 echo "$ac_t""yes" 1>&6
4316 echo "$ac_t""no" 1>&6
4320 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4321 echo "configure:4322: checking "for --enable-notebook"" >&5
4323 # Check whether --enable-notebook or --disable-notebook was given.
4324 if test "${enable_notebook+set}" = set; then
4325 enableval
="$enable_notebook"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4330 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4335 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4347 eval "$ac_cv_use_notebook"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_NOTEBOOK" = yes; then
4353 echo "$ac_t""yes" 1>&6
4355 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4360 echo "configure:4361: checking "for --enable-radiobox"" >&5
4362 # Check whether --enable-radiobox or --disable-radiobox was given.
4363 if test "${enable_radiobox+set}" = set; then
4364 enableval
="$enable_radiobox"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4369 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4374 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4386 eval "$ac_cv_use_radiobox"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_RADIOBOX" = yes; then
4392 echo "$ac_t""yes" 1>&6
4394 echo "$ac_t""no" 1>&6
4398 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4399 echo "configure:4400: checking "for --enable-radiobtn"" >&5
4401 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4402 if test "${enable_radiobtn+set}" = set; then
4403 enableval
="$enable_radiobtn"
4405 if test "$enableval" = yes; then
4406 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4408 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4413 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x
; then
4415 eval "DEFAULT_$LINE"
4420 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4425 eval "$ac_cv_use_radiobtn"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4430 if test "$wxUSE_RADIOBTN" = yes; then
4431 echo "$ac_t""yes" 1>&6
4433 echo "$ac_t""no" 1>&6
4437 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4438 echo "configure:4439: checking "for --enable-sash"" >&5
4440 # Check whether --enable-sash or --disable-sash was given.
4441 if test "${enable_sash+set}" = set; then
4442 enableval
="$enable_sash"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_sash
='wxUSE_SASH=yes'
4447 ac_cv_use_sash
='wxUSE_SASH=no'
4452 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4464 eval "$ac_cv_use_sash"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_SASH" = yes; then
4470 echo "$ac_t""yes" 1>&6
4472 echo "$ac_t""no" 1>&6
4476 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4477 echo "configure:4478: checking "for --enable-scrollbar"" >&5
4479 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4480 if test "${enable_scrollbar+set}" = set; then
4481 enableval
="$enable_scrollbar"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4486 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4491 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x
; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4503 eval "$ac_cv_use_scrollbar"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_SCROLLBAR" = yes; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4515 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4516 echo "configure:4517: checking "for --enable-slider"" >&5
4518 # Check whether --enable-slider or --disable-slider was given.
4519 if test "${enable_slider+set}" = set; then
4520 enableval
="$enable_slider"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4525 ac_cv_use_slider
='wxUSE_SLIDER=no'
4530 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4542 eval "$ac_cv_use_slider"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_SLIDER" = yes; then
4548 echo "$ac_t""yes" 1>&6
4550 echo "$ac_t""no" 1>&6
4554 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4555 echo "configure:4556: checking "for --enable-spinbtn"" >&5
4557 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4558 if test "${enable_spinbtn+set}" = set; then
4559 enableval
="$enable_spinbtn"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4564 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4569 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4581 eval "$ac_cv_use_spinbtn"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_SPINBTN" = yes; then
4587 echo "$ac_t""yes" 1>&6
4589 echo "$ac_t""no" 1>&6
4593 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for --enable-splitter"" >&5
4596 # Check whether --enable-splitter or --disable-splitter was given.
4597 if test "${enable_splitter+set}" = set; then
4598 enableval
="$enable_splitter"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4603 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4608 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4620 eval "$ac_cv_use_splitter"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4625 if test "$wxUSE_SPLITTER" = yes; then
4626 echo "$ac_t""yes" 1>&6
4628 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4633 echo "configure:4634: checking "for --enable-statbmp"" >&5
4635 # Check whether --enable-statbmp or --disable-statbmp was given.
4636 if test "${enable_statbmp+set}" = set; then
4637 enableval
="$enable_statbmp"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4642 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4647 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4659 eval "$ac_cv_use_statbmp"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_STATBMP" = yes; then
4665 echo "$ac_t""yes" 1>&6
4667 echo "$ac_t""no" 1>&6
4671 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4672 echo "configure:4673: checking "for --enable-statbox"" >&5
4674 # Check whether --enable-statbox or --disable-statbox was given.
4675 if test "${enable_statbox+set}" = set; then
4676 enableval
="$enable_statbox"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4681 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4686 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x
; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4698 eval "$ac_cv_use_statbox"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_STATBOX" = yes; then
4704 echo "$ac_t""yes" 1>&6
4706 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4711 echo "configure:4712: checking "for --enable-statline"" >&5
4713 # Check whether --enable-statline or --disable-statline was given.
4714 if test "${enable_statline+set}" = set; then
4715 enableval
="$enable_statline"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4720 ac_cv_use_statline
='wxUSE_STATLINE=no'
4725 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4737 eval "$ac_cv_use_statline"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_STATLINE" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4750 echo "configure:4751: checking "for --enable-statusbar"" >&5
4752 # Check whether --enable-statusbar or --disable-statusbar was given.
4753 if test "${enable_statusbar+set}" = set; then
4754 enableval
="$enable_statusbar"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4759 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4764 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4776 eval "$ac_cv_use_statusbar"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_STATUSBAR" = yes; then
4782 echo "$ac_t""yes" 1>&6
4784 echo "$ac_t""no" 1>&6
4788 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4789 echo "configure:4790: checking "for --enable-tabdialog"" >&5
4791 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4792 if test "${enable_tabdialog+set}" = set; then
4793 enableval
="$enable_tabdialog"
4795 if test "$enableval" = yes; then
4796 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4798 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4803 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x
; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4815 eval "$ac_cv_use_tabdialog"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4820 if test "$wxUSE_TABDIALOG" = yes; then
4821 echo "$ac_t""yes" 1>&6
4823 echo "$ac_t""no" 1>&6
4827 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4828 echo "configure:4829: checking "for --enable-toolbar"" >&5
4830 # Check whether --enable-toolbar or --disable-toolbar was given.
4831 if test "${enable_toolbar+set}" = set; then
4832 enableval
="$enable_toolbar"
4834 if test "$enableval" = yes; then
4835 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4837 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4842 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4843 if test "x$LINE" != x
; then
4844 eval "DEFAULT_$LINE"
4849 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4854 eval "$ac_cv_use_toolbar"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4859 if test "$wxUSE_TOOLBAR" = yes; then
4860 echo "$ac_t""yes" 1>&6
4862 echo "$ac_t""no" 1>&6
4866 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4867 echo "configure:4868: checking "for --enable-treectrl"" >&5
4869 # Check whether --enable-treectrl or --disable-treectrl was given.
4870 if test "${enable_treectrl+set}" = set; then
4871 enableval
="$enable_treectrl"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4876 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4881 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4893 eval "$ac_cv_use_treectrl"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_TREECTRL" = yes; then
4899 echo "$ac_t""yes" 1>&6
4901 echo "$ac_t""no" 1>&6
4907 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4908 echo "configure:4909: checking "for --enable-commondlg"" >&5
4910 # Check whether --enable-commondlg or --disable-commondlg was given.
4911 if test "${enable_commondlg+set}" = set; then
4912 enableval
="$enable_commondlg"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
4917 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
4922 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
4934 eval "$ac_cv_use_commondlg"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_COMMONDLGS" = yes; then
4940 echo "$ac_t""yes" 1>&6
4942 echo "$ac_t""no" 1>&6
4946 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
4947 echo "configure:4948: checking "for --enable-dirdlg"" >&5
4949 # Check whether --enable-dirdlg or --disable-dirdlg was given.
4950 if test "${enable_dirdlg+set}" = set; then
4951 enableval
="$enable_dirdlg"
4953 if test "$enableval" = yes; then
4954 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
4956 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
4961 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x
; then
4963 eval "DEFAULT_$LINE"
4968 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
4973 eval "$ac_cv_use_dirdlg"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_DIRDLG" = yes; then
4979 echo "$ac_t""yes" 1>&6
4981 echo "$ac_t""no" 1>&6
4985 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
4986 echo "configure:4987: checking "for --enable-textdlg"" >&5
4988 # Check whether --enable-textdlg or --disable-textdlg was given.
4989 if test "${enable_textdlg+set}" = set; then
4990 enableval
="$enable_textdlg"
4992 if test "$enableval" = yes; then
4993 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
4995 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5000 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5001 if test "x$LINE" != x
; then
5002 eval "DEFAULT_$LINE"
5007 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5012 eval "$ac_cv_use_textdlg"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5017 if test "$wxUSE_TEXTDLG" = yes; then
5018 echo "$ac_t""yes" 1>&6
5020 echo "$ac_t""no" 1>&6
5024 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5025 echo "configure:5026: checking "for --enable-tipdlg"" >&5
5027 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5028 if test "${enable_tipdlg+set}" = set; then
5029 enableval
="$enable_tipdlg"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5034 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5039 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5051 eval "$ac_cv_use_tipdlg"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_STARTUP_TIPS" = yes; then
5057 echo "$ac_t""yes" 1>&6
5059 echo "$ac_t""no" 1>&6
5063 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5064 echo "configure:5065: checking "for --enable-progressdlg"" >&5
5066 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5067 if test "${enable_progressdlg+set}" = set; then
5068 enableval
="$enable_progressdlg"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5073 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5078 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5090 eval "$ac_cv_use_progressdlg"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5095 if test "$wxUSE_PROGRESSDLG" = yes; then
5096 echo "$ac_t""yes" 1>&6
5098 echo "$ac_t""no" 1>&6
5102 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5103 echo "configure:5104: checking "for --enable-miniframe"" >&5
5105 # Check whether --enable-miniframe or --disable-miniframe was given.
5106 if test "${enable_miniframe+set}" = set; then
5107 enableval
="$enable_miniframe"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5112 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5117 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5129 eval "$ac_cv_use_miniframe"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5134 if test "$wxUSE_MINIFRAME" = yes; then
5135 echo "$ac_t""yes" 1>&6
5137 echo "$ac_t""no" 1>&6
5141 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5142 echo "configure:5143: checking "for --enable-html"" >&5
5144 # Check whether --enable-html or --disable-html was given.
5145 if test "${enable_html+set}" = set; then
5146 enableval
="$enable_html"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_html
='wxUSE_HTML=yes'
5151 ac_cv_use_html
='wxUSE_HTML=no'
5156 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x
; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5168 eval "$ac_cv_use_html"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_HTML" = yes; then
5174 echo "$ac_t""yes" 1>&6
5176 echo "$ac_t""no" 1>&6
5180 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5181 echo "configure:5182: checking "for --enable-tooltips"" >&5
5183 # Check whether --enable-tooltips or --disable-tooltips was given.
5184 if test "${enable_tooltips+set}" = set; then
5185 enableval
="$enable_tooltips"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5190 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5195 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x
; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5207 eval "$ac_cv_use_tooltips"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_TOOLTIPS" = yes; then
5213 echo "$ac_t""yes" 1>&6
5215 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5220 echo "configure:5221: checking "for --enable-splines"" >&5
5222 # Check whether --enable-splines or --disable-splines was given.
5223 if test "${enable_splines+set}" = set; then
5224 enableval
="$enable_splines"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5229 ac_cv_use_splines
='wxUSE_SPLINES=no'
5234 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5246 eval "$ac_cv_use_splines"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_SPLINES" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5258 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5259 echo "configure:5260: checking "for --enable-validators"" >&5
5261 # Check whether --enable-validators or --disable-validators was given.
5262 if test "${enable_validators+set}" = set; then
5263 enableval
="$enable_validators"
5265 if test "$enableval" = yes; then
5266 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5268 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5273 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x
; then
5275 eval "DEFAULT_$LINE"
5280 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5285 eval "$ac_cv_use_validators"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_VALIDATORS" = yes; then
5291 echo "$ac_t""yes" 1>&6
5293 echo "$ac_t""no" 1>&6
5297 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5298 echo "configure:5299: checking "for --enable-busyinfo"" >&5
5300 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5301 if test "${enable_busyinfo+set}" = set; then
5302 enableval
="$enable_busyinfo"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5307 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5312 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5324 eval "$ac_cv_use_busyinfo"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_BUSYINFO" = yes; then
5330 echo "$ac_t""yes" 1>&6
5332 echo "$ac_t""no" 1>&6
5338 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5339 echo "configure:5340: checking "for --enable-gif"" >&5
5341 # Check whether --enable-gif or --disable-gif was given.
5342 if test "${enable_gif+set}" = set; then
5343 enableval
="$enable_gif"
5345 if test "$enableval" = yes; then
5346 ac_cv_use_gif
='wxUSE_GIF=yes'
5348 ac_cv_use_gif
='wxUSE_GIF=no'
5353 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x
; then
5355 eval "DEFAULT_$LINE"
5360 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5365 eval "$ac_cv_use_gif"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_GIF" = yes; then
5371 echo "$ac_t""yes" 1>&6
5373 echo "$ac_t""no" 1>&6
5377 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5378 echo "configure:5379: checking "for --enable-pcx"" >&5
5380 # Check whether --enable-pcx or --disable-pcx was given.
5381 if test "${enable_pcx+set}" = set; then
5382 enableval
="$enable_pcx"
5384 if test "$enableval" = yes; then
5385 ac_cv_use_pcx
='wxUSE_PCX=yes'
5387 ac_cv_use_pcx
='wxUSE_PCX=no'
5392 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x
; then
5394 eval "DEFAULT_$LINE"
5399 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5404 eval "$ac_cv_use_pcx"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_PCX" = yes; then
5410 echo "$ac_t""yes" 1>&6
5412 echo "$ac_t""no" 1>&6
5416 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5417 echo "configure:5418: checking "for --enable-pnm"" >&5
5419 # Check whether --enable-pnm or --disable-pnm was given.
5420 if test "${enable_pnm+set}" = set; then
5421 enableval
="$enable_pnm"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_pnm
='wxUSE_PNM=yes'
5426 ac_cv_use_pnm
='wxUSE_PNM=no'
5431 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5443 eval "$ac_cv_use_pnm"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_PNM" = yes; then
5449 echo "$ac_t""yes" 1>&6
5451 echo "$ac_t""no" 1>&6
5456 echo "saving argument cache $wx_arg_cache_file"
5457 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5461 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5462 echo "configure:5463: checking for toolkit" >&5
5464 if test "$TOOLKIT_GIVEN" = 1; then
5465 for toolkit
in `echo $ALL_TOOLKITS`; do
5467 eval "value=\$${var}"
5468 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5471 for toolkit
in `echo $ALL_TOOLKITS`; do
5472 if test "$has_toolkit_in_cache" != 1; then
5473 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5475 var
=DEFAULT_wxUSE_
$toolkit
5477 eval "wxUSE_$toolkit=\$${var}"
5481 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5483 case "$NUM_TOOLKITS" in
5487 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5490 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5493 for toolkit
in `echo $ALL_TOOLKITS`; do
5495 eval "value=\$${var}"
5496 if test "x$value" != x
; then
5497 cache_var
=CACHE_
$toolkit
5498 eval "cache=\$${cache_var}"
5499 if test "$cache" = 1; then
5500 echo "$var=$value" >> ${wx_arg_cache_file}
5502 if test "$value" = 1; then
5503 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5509 cat > confcache
<<\EOF
5510 # This file is a shell script that caches the results of configure
5511 # tests run on this system so they can be shared between configure
5512 # scripts and configure runs. It is not useful on other systems.
5513 # If it contains results you don't want to keep, you may remove or edit it.
5515 # By default, configure uses ./config.cache as the cache file,
5516 # creating it if it does not exist already. You can give configure
5517 # the --cache-file=FILE option to use a different cache file; that is
5518 # what configure does when it calls configure scripts in
5519 # subdirectories, so they share the cache.
5520 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5521 # config.status only pays attention to the cache file if you give it the
5522 # --recheck option to rerun configure.
5525 # The following way of writing the cache mishandles newlines in values,
5526 # but we know of no workaround that is simple, portable, and efficient.
5527 # So, don't put newlines in cache variables' values.
5528 # Ultrix sh set writes to stderr and can't be redirected directly,
5529 # and sets the high bit in the cache file unless we assign to the vars.
5531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5533 # `set' does not quote correctly, so add quotes (double-quote substitution
5534 # turns \\\\ into \\, and sed turns \\ into \).
5536 -e "s/'/'\\\\''/g" \
5537 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5540 # `set' quotes correctly as required by POSIX, so do not add quotes.
5541 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5544 if cmp -s $cache_file confcache
; then
5547 if test -w $cache_file; then
5548 echo "updating cache $cache_file"
5549 cat confcache
> $cache_file
5551 echo "not updating unwritable cache $cache_file"
5557 if eval "test $host != $build"; then
5558 if eval "test $host_alias != NONE"; then
5562 RANLIB
=$host_alias-ranlib
5563 DLLTOOL
=$host_alias-dlltool
5566 STRIP
=$host_alias-strip
5570 # Extract the first word of "gcc", so it can be a program name with args.
5571 set dummy gcc
; ac_word
=$2
5572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5573 echo "configure:5574: checking for $ac_word" >&5
5574 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5575 echo $ac_n "(cached) $ac_c" 1>&6
5577 if test -n "$CC"; then
5578 ac_cv_prog_CC
="$CC" # Let the user override the test.
5580 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5582 for ac_dir
in $ac_dummy; do
5583 test -z "$ac_dir" && ac_dir
=.
5584 if test -f $ac_dir/$ac_word; then
5593 if test -n "$CC"; then
5594 echo "$ac_t""$CC" 1>&6
5596 echo "$ac_t""no" 1>&6
5599 if test -z "$CC"; then
5600 # Extract the first word of "cc", so it can be a program name with args.
5601 set dummy cc
; ac_word
=$2
5602 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5603 echo "configure:5604: checking for $ac_word" >&5
5604 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5605 echo $ac_n "(cached) $ac_c" 1>&6
5607 if test -n "$CC"; then
5608 ac_cv_prog_CC
="$CC" # Let the user override the test.
5610 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5613 for ac_dir
in $ac_dummy; do
5614 test -z "$ac_dir" && ac_dir
=.
5615 if test -f $ac_dir/$ac_word; then
5616 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5617 ac_prog_rejected
=yes
5625 if test $ac_prog_rejected = yes; then
5626 # We found a bogon in the path, so make sure we never use it.
5627 set dummy
$ac_cv_prog_CC
5629 if test $# -gt 0; then
5630 # We chose a different compiler from the bogus one.
5631 # However, it has the same basename, so the bogon will be chosen
5632 # first if we set CC to just the basename; use the full file name.
5634 set dummy
"$ac_dir/$ac_word" "$@"
5642 if test -n "$CC"; then
5643 echo "$ac_t""$CC" 1>&6
5645 echo "$ac_t""no" 1>&6
5648 if test -z "$CC"; then
5649 case "`uname -s`" in
5651 # Extract the first word of "cl", so it can be a program name with args.
5652 set dummy cl
; ac_word
=$2
5653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5654 echo "configure:5655: checking for $ac_word" >&5
5655 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5656 echo $ac_n "(cached) $ac_c" 1>&6
5658 if test -n "$CC"; then
5659 ac_cv_prog_CC
="$CC" # Let the user override the test.
5661 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5663 for ac_dir
in $ac_dummy; do
5664 test -z "$ac_dir" && ac_dir
=.
5665 if test -f $ac_dir/$ac_word; then
5674 if test -n "$CC"; then
5675 echo "$ac_t""$CC" 1>&6
5677 echo "$ac_t""no" 1>&6
5682 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5685 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5686 echo "configure:5687: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5690 ac_cpp
='$CPP $CPPFLAGS'
5691 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5692 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5693 cross_compiling
=$ac_cv_prog_cc_cross
5695 cat > conftest.
$ac_ext << EOF
5697 #line 5698 "configure"
5698 #include "confdefs.h"
5702 if { (eval echo configure
:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5703 ac_cv_prog_cc_works
=yes
5704 # If we can't run a trivial program, we are probably using a cross compiler.
5705 if (.
/conftest
; exit) 2>/dev
/null
; then
5706 ac_cv_prog_cc_cross
=no
5708 ac_cv_prog_cc_cross
=yes
5711 echo "configure: failed program was:" >&5
5712 cat conftest.
$ac_ext >&5
5713 ac_cv_prog_cc_works
=no
5717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5718 ac_cpp
='$CPP $CPPFLAGS'
5719 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5720 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5721 cross_compiling
=$ac_cv_prog_cc_cross
5723 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5724 if test $ac_cv_prog_cc_works = no
; then
5725 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5728 echo "configure:5729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5729 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5730 cross_compiling
=$ac_cv_prog_cc_cross
5732 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5733 echo "configure:5734: checking whether we are using GNU C" >&5
5734 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5735 echo $ac_n "(cached) $ac_c" 1>&6
5737 cat > conftest.c
<<EOF
5742 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5749 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5751 if test $ac_cv_prog_gcc = yes; then
5757 ac_test_CFLAGS
="${CFLAGS+set}"
5758 ac_save_CFLAGS
="$CFLAGS"
5760 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5761 echo "configure:5762: checking whether ${CC-cc} accepts -g" >&5
5762 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5763 echo $ac_n "(cached) $ac_c" 1>&6
5765 echo 'void f(){}' > conftest.c
5766 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5775 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5776 if test "$ac_test_CFLAGS" = set; then
5777 CFLAGS
="$ac_save_CFLAGS"
5778 elif test $ac_cv_prog_cc_g = yes; then
5779 if test "$GCC" = yes; then
5785 if test "$GCC" = yes; then
5793 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5795 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5796 echo "configure:5797: checking how to run the C preprocessor" >&5
5797 # On Suns, sometimes $CPP names a directory.
5798 if test -n "$CPP" && test -d "$CPP"; then
5801 if test -z "$CPP"; then
5802 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5803 echo $ac_n "(cached) $ac_c" 1>&6
5805 # This must be in double quotes, not single quotes, because CPP may get
5806 # substituted into the Makefile and "${CC-cc}" will confuse make.
5808 # On the NeXT, cc -E runs the code through the compiler's parser,
5809 # not just through cpp.
5810 cat > conftest.
$ac_ext <<EOF
5811 #line 5812 "configure"
5812 #include "confdefs.h"
5816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5817 { (eval echo configure
:5818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5819 if test -z "$ac_err"; then
5823 echo "configure: failed program was:" >&5
5824 cat conftest.
$ac_ext >&5
5826 CPP
="${CC-cc} -E -traditional-cpp"
5827 cat > conftest.
$ac_ext <<EOF
5828 #line 5829 "configure"
5829 #include "confdefs.h"
5833 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5834 { (eval echo configure
:5835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5835 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5836 if test -z "$ac_err"; then
5840 echo "configure: failed program was:" >&5
5841 cat conftest.
$ac_ext >&5
5843 CPP
="${CC-cc} -nologo -E"
5844 cat > conftest.
$ac_ext <<EOF
5845 #line 5846 "configure"
5846 #include "confdefs.h"
5850 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5851 { (eval echo configure
:5852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5852 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5853 if test -z "$ac_err"; then
5857 echo "configure: failed program was:" >&5
5858 cat conftest.
$ac_ext >&5
5867 ac_cv_prog_CPP
="$CPP"
5869 CPP
="$ac_cv_prog_CPP"
5871 ac_cv_prog_CPP
="$CPP"
5873 echo "$ac_t""$CPP" 1>&6
5876 if test $ac_cv_prog_gcc = yes; then
5877 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5878 echo "configure:5879: checking whether ${CC-cc} needs -traditional" >&5
5879 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5880 echo $ac_n "(cached) $ac_c" 1>&6
5882 ac_pattern
="Autoconf.*'x'"
5883 cat > conftest.
$ac_ext <<EOF
5884 #line 5885 "configure"
5885 #include "confdefs.h"
5889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5890 egrep "$ac_pattern" >/dev
/null
2>&1; then
5892 ac_cv_prog_gcc_traditional
=yes
5895 ac_cv_prog_gcc_traditional
=no
5900 if test $ac_cv_prog_gcc_traditional = no
; then
5901 cat > conftest.
$ac_ext <<EOF
5902 #line 5903 "configure"
5903 #include "confdefs.h"
5907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5908 egrep "$ac_pattern" >/dev
/null
2>&1; then
5910 ac_cv_prog_gcc_traditional
=yes
5917 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5918 if test $ac_cv_prog_gcc_traditional = yes; then
5919 CC
="$CC -traditional"
5926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5927 ac_cpp
='$CXXCPP $CPPFLAGS'
5928 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5929 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5930 cross_compiling
=$ac_cv_prog_cxx_cross
5933 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
5935 # Extract the first word of "$ac_prog", so it can be a program name with args.
5936 set dummy
$ac_prog; ac_word
=$2
5937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5938 echo "configure:5939: checking for $ac_word" >&5
5939 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
5940 echo $ac_n "(cached) $ac_c" 1>&6
5942 if test -n "$CXX"; then
5943 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5945 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5947 for ac_dir
in $ac_dummy; do
5948 test -z "$ac_dir" && ac_dir
=.
5949 if test -f $ac_dir/$ac_word; then
5950 ac_cv_prog_CXX
="$ac_prog"
5957 CXX
="$ac_cv_prog_CXX"
5958 if test -n "$CXX"; then
5959 echo "$ac_t""$CXX" 1>&6
5961 echo "$ac_t""no" 1>&6
5964 test -n "$CXX" && break
5966 test -n "$CXX" || CXX
="gcc"
5969 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5970 echo "configure:5971: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
5973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5974 ac_cpp
='$CXXCPP $CPPFLAGS'
5975 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5976 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5977 cross_compiling
=$ac_cv_prog_cxx_cross
5979 cat > conftest.
$ac_ext << EOF
5981 #line 5982 "configure"
5982 #include "confdefs.h"
5984 int main(){return(0);}
5986 if { (eval echo configure
:5987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5987 ac_cv_prog_cxx_works
=yes
5988 # If we can't run a trivial program, we are probably using a cross compiler.
5989 if (.
/conftest
; exit) 2>/dev
/null
; then
5990 ac_cv_prog_cxx_cross
=no
5992 ac_cv_prog_cxx_cross
=yes
5995 echo "configure: failed program was:" >&5
5996 cat conftest.
$ac_ext >&5
5997 ac_cv_prog_cxx_works
=no
6001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6002 ac_cpp
='$CXXCPP $CPPFLAGS'
6003 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6004 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6005 cross_compiling
=$ac_cv_prog_cxx_cross
6007 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6008 if test $ac_cv_prog_cxx_works = no
; then
6009 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6011 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6012 echo "configure:6013: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6013 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6014 cross_compiling
=$ac_cv_prog_cxx_cross
6016 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6017 echo "configure:6018: checking whether we are using GNU C++" >&5
6018 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6019 echo $ac_n "(cached) $ac_c" 1>&6
6021 cat > conftest.C
<<EOF
6026 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6033 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6035 if test $ac_cv_prog_gxx = yes; then
6041 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6042 ac_save_CXXFLAGS
="$CXXFLAGS"
6044 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6045 echo "configure:6046: checking whether ${CXX-g++} accepts -g" >&5
6046 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6047 echo $ac_n "(cached) $ac_c" 1>&6
6049 echo 'void f(){}' > conftest.cc
6050 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6051 ac_cv_prog_cxx_g
=yes
6059 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6060 if test "$ac_test_CXXFLAGS" = set; then
6061 CXXFLAGS
="$ac_save_CXXFLAGS"
6062 elif test $ac_cv_prog_cxx_g = yes; then
6063 if test "$GXX" = yes; then
6069 if test "$GXX" = yes; then
6077 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6078 echo "configure:6079: checking how to run the C++ preprocessor" >&5
6079 if test -z "$CXXCPP"; then
6080 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6081 echo $ac_n "(cached) $ac_c" 1>&6
6084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6085 ac_cpp
='$CXXCPP $CPPFLAGS'
6086 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6087 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6088 cross_compiling
=$ac_cv_prog_cxx_cross
6089 CXXCPP
="${CXX-g++} -E"
6090 cat > conftest.
$ac_ext <<EOF
6091 #line 6092 "configure"
6092 #include "confdefs.h"
6095 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6096 { (eval echo configure
:6097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6097 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6098 if test -z "$ac_err"; then
6102 echo "configure: failed program was:" >&5
6103 cat conftest.
$ac_ext >&5
6108 ac_cv_prog_CXXCPP
="$CXXCPP"
6110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6111 ac_cpp
='$CXXCPP $CPPFLAGS'
6112 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6113 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6114 cross_compiling
=$ac_cv_prog_cxx_cross
6117 CXXCPP
="$ac_cv_prog_CXXCPP"
6118 echo "$ac_t""$CXXCPP" 1>&6
6121 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6125 ac_cpp
='$CPP $CPPFLAGS'
6126 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6127 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6128 cross_compiling
=$ac_cv_prog_cc_cross
6131 # Extract the first word of "ranlib", so it can be a program name with args.
6132 set dummy ranlib
; ac_word
=$2
6133 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6134 echo "configure:6135: checking for $ac_word" >&5
6135 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6136 echo $ac_n "(cached) $ac_c" 1>&6
6138 if test -n "$RANLIB"; then
6139 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6141 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6143 for ac_dir
in $ac_dummy; do
6144 test -z "$ac_dir" && ac_dir
=.
6145 if test -f $ac_dir/$ac_word; then
6146 ac_cv_prog_RANLIB
="ranlib"
6151 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6154 RANLIB
="$ac_cv_prog_RANLIB"
6155 if test -n "$RANLIB"; then
6156 echo "$ac_t""$RANLIB" 1>&6
6158 echo "$ac_t""no" 1>&6
6162 # Extract the first word of "ar", so it can be a program name with args.
6163 set dummy
ar; ac_word
=$2
6164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6165 echo "configure:6166: checking for $ac_word" >&5
6166 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6167 echo $ac_n "(cached) $ac_c" 1>&6
6169 if test -n "$AR"; then
6170 ac_cv_prog_AR
="$AR" # Let the user override the test.
6172 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6174 for ac_dir
in $ac_dummy; do
6175 test -z "$ac_dir" && ac_dir
=.
6176 if test -f $ac_dir/$ac_word; then
6182 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6186 if test -n "$AR"; then
6187 echo "$ac_t""$AR" 1>&6
6189 echo "$ac_t""no" 1>&6
6193 # Find a good install program. We prefer a C program (faster),
6194 # so one script is as good as another. But avoid the broken or
6195 # incompatible versions:
6196 # SysV /etc/install, /usr/sbin/install
6197 # SunOS /usr/etc/install
6198 # IRIX /sbin/install
6200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6203 # ./install, which can be erroneously created by make from ./install.sh.
6204 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6205 echo "configure:6206: checking for a BSD compatible install" >&5
6206 if test -z "$INSTALL"; then
6207 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6208 echo $ac_n "(cached) $ac_c" 1>&6
6210 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6211 for ac_dir
in $PATH; do
6212 # Account for people who put trailing slashes in PATH elements.
6214 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6216 # OSF1 and SCO ODT 3.0 have their own names for install.
6217 # Don't use installbsd from OSF since it installs stuff as root
6219 for ac_prog
in ginstall scoinst
install; do
6220 if test -f $ac_dir/$ac_prog; then
6221 if test $ac_prog = install &&
6222 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6223 # AIX install. It has an incompatible calling convention.
6226 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6237 if test "${ac_cv_path_install+set}" = set; then
6238 INSTALL
="$ac_cv_path_install"
6240 # As a last resort, use the slow shell script. We don't cache a
6241 # path for INSTALL within a source directory, because that will
6242 # break other packages using the cache if that directory is
6243 # removed, or if the path is relative.
6244 INSTALL
="$ac_install_sh"
6247 echo "$ac_t""$INSTALL" 1>&6
6249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6250 # It thinks the first close brace ends the variable substitution.
6251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6255 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6258 # Extract the first word of "strip", so it can be a program name with args.
6259 set dummy strip
; ac_word
=$2
6260 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6261 echo "configure:6262: checking for $ac_word" >&5
6262 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6263 echo $ac_n "(cached) $ac_c" 1>&6
6265 if test -n "$STRIP"; then
6266 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6268 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6270 for ac_dir
in $ac_dummy; do
6271 test -z "$ac_dir" && ac_dir
=.
6272 if test -f $ac_dir/$ac_word; then
6273 ac_cv_prog_STRIP
="strip"
6278 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6281 STRIP
="$ac_cv_prog_STRIP"
6282 if test -n "$STRIP"; then
6283 echo "$ac_t""$STRIP" 1>&6
6285 echo "$ac_t""no" 1>&6
6289 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6290 echo "configure:6291: checking "make for VPATH support
"" >&5
6291 cat - << EOF > confMake
6297 if test ! -d sub
; then
6300 echo dummy
> sub
/file
6301 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6303 rm -f sub
/file check final_file confMake
6305 if test "$RESULT" = 0; then
6306 echo "$ac_t""yes" 1>&6
6308 echo "$ac_t""no" 1>&6
6309 { echo "configure: error: You need a make-utility that is able to use the variable
6311 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6314 for ac_prog
in 'bison -y' byacc
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy
$ac_prog; ac_word
=$2
6318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6319 echo "configure:6320: checking for $ac_word" >&5
6320 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6321 echo $ac_n "(cached) $ac_c" 1>&6
6323 if test -n "$YACC"; then
6324 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6328 for ac_dir
in $ac_dummy; do
6329 test -z "$ac_dir" && ac_dir
=.
6330 if test -f $ac_dir/$ac_word; then
6331 ac_cv_prog_YACC
="$ac_prog"
6338 YACC
="$ac_cv_prog_YACC"
6339 if test -n "$YACC"; then
6340 echo "$ac_t""$YACC" 1>&6
6342 echo "$ac_t""no" 1>&6
6345 test -n "$YACC" && break
6347 test -n "$YACC" || YACC
="yacc"
6350 # Extract the first word of "flex", so it can be a program name with args.
6351 set dummy flex
; ac_word
=$2
6352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6353 echo "configure:6354: checking for $ac_word" >&5
6354 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6355 echo $ac_n "(cached) $ac_c" 1>&6
6357 if test -n "$LEX"; then
6358 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6360 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6362 for ac_dir
in $ac_dummy; do
6363 test -z "$ac_dir" && ac_dir
=.
6364 if test -f $ac_dir/$ac_word; then
6365 ac_cv_prog_LEX
="flex"
6370 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6373 LEX
="$ac_cv_prog_LEX"
6374 if test -n "$LEX"; then
6375 echo "$ac_t""$LEX" 1>&6
6377 echo "$ac_t""no" 1>&6
6380 if test -z "$LEXLIB"
6386 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6387 echo "configure:6388: checking for yywrap in -l$ac_lib" >&5
6388 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6390 echo $ac_n "(cached) $ac_c" 1>&6
6392 ac_save_LIBS
="$LIBS"
6393 LIBS
="-l$ac_lib $LIBS"
6394 cat > conftest.
$ac_ext <<EOF
6395 #line 6396 "configure"
6396 #include "confdefs.h"
6397 /* Override any gcc2 internal prototype to avoid an error. */
6398 /* We use char because int might match the return type of a gcc2
6399 builtin and then its argument prototype would still apply. */
6406 if { (eval echo configure
:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6408 eval "ac_cv_lib_$ac_lib_var=yes"
6410 echo "configure: failed program was:" >&5
6411 cat conftest.
$ac_ext >&5
6413 eval "ac_cv_lib_$ac_lib_var=no"
6416 LIBS
="$ac_save_LIBS"
6419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6420 echo "$ac_t""yes" 1>&6
6423 echo "$ac_t""no" 1>&6
6429 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6430 echo "configure:6431: checking whether ln -s works" >&5
6431 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6432 echo $ac_n "(cached) $ac_c" 1>&6
6435 if ln -s X conftestdata
2>/dev
/null
6438 ac_cv_prog_LN_S
="ln -s"
6443 LN_S
="$ac_cv_prog_LN_S"
6444 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6445 echo "$ac_t""yes" 1>&6
6447 echo "$ac_t""no" 1>&6
6453 /usr/Motif-1.2/include \
6454 /usr/Motif-2.1/include \
6456 /usr/include/Motif1.2 \
6457 /opt/xpm/include/X11 \
6458 /opt/GBxpm/include/ \
6459 /opt/GBxpm/X11/include/ \
6461 /usr/Motif1.2/include \
6465 /usr/X11R6/include \
6466 /usr/X11R5/include \
6467 /usr/X11R4/include \
6473 /usr/include/X11R6 \
6474 /usr/include/X11R5 \
6475 /usr/include/X11R4 \
6477 /usr/local/X11R6/include \
6478 /usr/local/X11R5/include \
6479 /usr/local/X11R4/include \
6481 /usr/local/include/X11R6 \
6482 /usr/local/include/X11R5 \
6483 /usr/local/include/X11R4 \
6487 /usr/local/X11/include \
6488 /usr/local/include/X11 \
6492 /usr/XFree86/include/X11 \
6495 /usr/local/include \
6498 /usr/local/include/gtk \
6500 /usr/local/include/glib \
6503 /usr/local/include/qt \
6505 /usr/include/windows \
6507 /usr/local/include/wine \
6509 /usr/unsupported/include \
6510 /usr/athena/include \
6511 /usr/local/x11r5/include \
6512 /usr/lpp/Xamples/include \
6514 /usr/openwin/include \
6515 /usr/openwin/share/include \
6518 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6521 cat > confcache
<<\EOF
6522 # This file is a shell script that caches the results of configure
6523 # tests run on this system so they can be shared between configure
6524 # scripts and configure runs. It is not useful on other systems.
6525 # If it contains results you don't want to keep, you may remove or edit it.
6527 # By default, configure uses ./config.cache as the cache file,
6528 # creating it if it does not exist already. You can give configure
6529 # the --cache-file=FILE option to use a different cache file; that is
6530 # what configure does when it calls configure scripts in
6531 # subdirectories, so they share the cache.
6532 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6533 # config.status only pays attention to the cache file if you give it the
6534 # --recheck option to rerun configure.
6537 # The following way of writing the cache mishandles newlines in values,
6538 # but we know of no workaround that is simple, portable, and efficient.
6539 # So, don't put newlines in cache variables' values.
6540 # Ultrix sh set writes to stderr and can't be redirected directly,
6541 # and sets the high bit in the cache file unless we assign to the vars.
6543 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6545 # `set' does not quote correctly, so add quotes (double-quote substitution
6546 # turns \\\\ into \\, and sed turns \\ into \).
6548 -e "s/'/'\\\\''/g" \
6549 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6552 # `set' quotes correctly as required by POSIX, so do not add quotes.
6553 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6556 if cmp -s $cache_file confcache
; then
6559 if test -w $cache_file; then
6560 echo "updating cache $cache_file"
6561 cat confcache
> $cache_file
6563 echo "not updating unwritable cache $cache_file"
6586 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6587 if test "$cross_compiling" = "yes" ; then
6588 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6590 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6591 echo "configure:6592: checking for Windows headers" >&5
6594 for ac_dir
in $SEARCH_INCLUDE;
6596 if test -f "$ac_dir/windows.h"; then
6597 ac_find_includes
=$ac_dir
6602 if test "$ac_find_includes" != "" ; then
6603 echo "$ac_t""found $ac_find_includes" 1>&6
6604 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6606 echo "$ac_t""no" 1>&6
6607 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6611 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6612 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6617 GUIHEADERS
=MSW_HEADERS
6618 COMMONOBJS
=MSW_COMMONOBJS
6619 GENERICOBJS
=MSW_GENERICOBJS
6625 if test "$wxUSE_GTK" = 1; then
6627 if test x
$gtk_config_exec_prefix != x
; then
6628 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6629 if test x
${GTK_CONFIG+set} != xset
; then
6630 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6633 if test x
$gtk_config_prefix != x
; then
6634 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6635 if test x
${GTK_CONFIG+set} != xset
; then
6636 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6640 # Extract the first word of "gtk-config", so it can be a program name with args.
6641 set dummy gtk
-config; ac_word
=$2
6642 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6643 echo "configure:6644: checking for $ac_word" >&5
6644 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6645 echo $ac_n "(cached) $ac_c" 1>&6
6647 case "$GTK_CONFIG" in
6649 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6652 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6655 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6657 for ac_dir
in $ac_dummy; do
6658 test -z "$ac_dir" && ac_dir
=.
6659 if test -f $ac_dir/$ac_word; then
6660 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6665 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6669 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6670 if test -n "$GTK_CONFIG"; then
6671 echo "$ac_t""$GTK_CONFIG" 1>&6
6673 echo "$ac_t""no" 1>&6
6676 min_gtk_version
=1.2.0
6677 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6678 echo "configure:6679: checking for GTK - version >= $min_gtk_version" >&5
6680 if test "$GTK_CONFIG" != "no" ; then
6681 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6682 GTK_LIBS
=`$GTK_CONFIG --libs`
6683 ac_save_CFLAGS
="$CFLAGS"
6684 ac_save_LIBS
="$LIBS"
6685 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6686 LIBS
="$LIBS $GTK_LIBS"
6687 if test "$cross_compiling" = yes; then
6688 echo $ac_n "cross compiling; assumed OK... $ac_c"
6690 cat > conftest.
$ac_ext <<EOF
6691 #line 6692 "configure"
6692 #include "confdefs.h"
6694 #include <gtk/gtk.h>
6700 int major, minor, micro;
6702 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6703 printf("%s, bad version string\n", "$min_gtk_version");
6707 if (gtk_minor_version == 1) return FALSE;
6709 return !((gtk_major_version > major) ||
6710 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6711 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6715 if { (eval echo configure
:6716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6719 echo "configure: failed program was:" >&5
6720 cat conftest.
$ac_ext >&5
6727 CFLAGS
="$ac_save_CFLAGS"
6728 LIBS
="$ac_save_LIBS"
6732 if test "x$no_gtk" = x
; then
6733 echo "$ac_t""yes" 1>&6
6736 echo "$ac_t""no" 1>&6
6744 if test "$WXGTK12" != 1; then
6746 if test x
$gtk_config_exec_prefix != x
; then
6747 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6748 if test x
${GTK_CONFIG+set} != xset
; then
6749 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6752 if test x
$gtk_config_prefix != x
; then
6753 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6754 if test x
${GTK_CONFIG+set} != xset
; then
6755 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6759 # Extract the first word of "gtk-config", so it can be a program name with args.
6760 set dummy gtk
-config; ac_word
=$2
6761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6762 echo "configure:6763: checking for $ac_word" >&5
6763 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6764 echo $ac_n "(cached) $ac_c" 1>&6
6766 case "$GTK_CONFIG" in
6768 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6771 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6774 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6776 for ac_dir
in $ac_dummy; do
6777 test -z "$ac_dir" && ac_dir
=.
6778 if test -f $ac_dir/$ac_word; then
6779 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6784 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6788 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6789 if test -n "$GTK_CONFIG"; then
6790 echo "$ac_t""$GTK_CONFIG" 1>&6
6792 echo "$ac_t""no" 1>&6
6795 min_gtk_version
=1.0.0
6796 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6797 echo "configure:6798: checking for GTK - version >= $min_gtk_version" >&5
6799 if test "$GTK_CONFIG" != "no" ; then
6800 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6801 GTK_LIBS
=`$GTK_CONFIG --libs`
6802 ac_save_CFLAGS
="$CFLAGS"
6803 ac_save_LIBS
="$LIBS"
6804 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6805 LIBS
="$LIBS $GTK_LIBS"
6806 if test "$cross_compiling" = yes; then
6807 echo $ac_n "cross compiling; assumed OK... $ac_c"
6809 cat > conftest.
$ac_ext <<EOF
6810 #line 6811 "configure"
6811 #include "confdefs.h"
6813 #include <gtk/gtk.h>
6819 int major, minor, micro;
6821 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6822 printf("%s, bad version string\n", "$min_gtk_version");
6826 if (gtk_minor_version == 1) return FALSE;
6828 return !((gtk_major_version > major) ||
6829 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6830 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6834 if { (eval echo configure
:6835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6838 echo "configure: failed program was:" >&5
6839 cat conftest.
$ac_ext >&5
6846 CFLAGS
="$ac_save_CFLAGS"
6847 LIBS
="$ac_save_LIBS"
6851 if test "x$no_gtk" = x
; then
6852 echo "$ac_t""yes" 1>&6
6855 echo "$ac_t""no" 1>&6
6858 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6865 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6866 GUI_TK_LIBRARY
="$GTK_LIBS -ldl"
6869 GUIHEADERS
=GTK_HEADERS
6871 COMMONOBJS
=GTK_COMMONOBJS
6872 GENERICOBJS
=GTK_GENERICOBJS
6874 COMMONDEPS
=GTK_COMMONDEPS
6875 GENERICDEPS
=GTK_GENERICDEPS
6880 if test "$wxUSE_WINE" = 1; then
6881 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6882 echo "configure:6883: checking for WINE includes" >&5
6885 for ac_dir
in $SEARCH_INCLUDE;
6887 if test -f "$ac_dir/windows.h"; then
6888 ac_find_includes
=$ac_dir
6893 if test "$ac_find_includes" != "" ; then
6894 echo "$ac_t""found $ac_find_includes" 1>&6
6895 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6897 echo "$ac_t""no" 1>&6
6898 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6902 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6903 echo "configure:6904: checking for Xpm library" >&5
6906 for ac_dir
in $SEARCH_LIB;
6908 for ac_extension
in a so sl
; do
6909 if test -f "$ac_dir/libXpm.$ac_extension"; then
6910 ac_find_libraries
=$ac_dir
6916 if test "$ac_find_libraries" != "" ; then
6917 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6919 cat >> confdefs.h
<<\EOF
6920 #define wxHAVE_LIB_XPM 1
6923 echo "$ac_t""found at $ac_find_libraries" 1>&6
6925 echo "$ac_t""no" 1>&6
6926 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6930 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6931 echo "configure:6932: checking for Mesa library" >&5
6934 for ac_dir
in $SEARCH_LIB;
6936 for ac_extension
in a so sl
; do
6937 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6938 ac_find_libraries
=$ac_dir
6944 if test "$ac_find_libraries" != "" ; then
6945 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6946 MESA_LINK
="-lMesaGL"
6947 echo "$ac_t""found at $ac_find_libraries" 1>&6
6949 { echo "configure: error: no" 1>&2; exit 1; }
6952 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -ldl -lm"
6953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6957 GUIHEADERS
=MSW_HEADERS
6959 COMMONOBJS
=MSW_COMMONOBJS
6960 GENERICOBJS
=MSW_GENERICOBJS
6962 COMMONDEPS
=MSW_COMMONDEPS
6963 GENERICDEPS
=MSW_GENERICDEPS
6968 if test "$wxUSE_MOTIF" = 1; then
6969 # If we find X, set shell vars x_includes and x_libraries to the
6970 # paths, otherwise set no_x=yes.
6971 # Uses ac_ vars as temps to allow command line to override cache and checks.
6972 # --without-x overrides everything else, but does not touch the cache.
6973 echo $ac_n "checking for X""... $ac_c" 1>&6
6974 echo "configure:6975: checking for X" >&5
6976 # Check whether --with-x or --without-x was given.
6977 if test "${with_x+set}" = set; then
6982 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6983 if test "x$with_x" = xno
; then
6984 # The user explicitly disabled X.
6987 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6988 # Both variables are already set.
6991 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6992 echo $ac_n "(cached) $ac_c" 1>&6
6994 # One or both of the vars are not set, and there is no cached value.
6995 ac_x_includes
=NO ac_x_libraries
=NO
6997 if mkdir conftestdir
; then
6999 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7000 cat > Imakefile
<<'EOF'
7002 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7004 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7005 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7006 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7007 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7008 for ac_extension
in a so sl
; do
7009 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7010 test -f $ac_im_libdir/libX11.
$ac_extension; then
7011 ac_im_usrlibdir
=$ac_im_libdir; break
7014 # Screen out bogus values from the imake configuration. They are
7015 # bogus both because they are the default anyway, and because
7016 # using them would break gcc on systems where it needs fixed includes.
7017 case "$ac_im_incroot" in
7019 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7021 case "$ac_im_usrlibdir" in
7023 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7030 if test "$ac_x_includes" = NO
; then
7031 # Guess where to find include files, by looking for this one X11 .h file.
7032 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7034 # First, try using that file with no special directory specified.
7035 cat > conftest.
$ac_ext <<EOF
7036 #line 7037 "configure"
7037 #include "confdefs.h"
7038 #include <$x_direct_test_include>
7040 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7041 { (eval echo configure
:7042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7042 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7043 if test -z "$ac_err"; then
7045 # We can compile using X headers with no special include directory.
7049 echo "configure: failed program was:" >&5
7050 cat conftest.
$ac_ext >&5
7052 # Look for the header file in a standard set of common directories.
7053 # Check X11 before X11Rn because it is often a symlink to the current release.
7056 /usr
/X
11R
6/include \
7057 /usr
/X
11R
5/include \
7058 /usr
/X
11R
4/include \
7061 /usr
/include
/X11R6 \
7062 /usr
/include
/X11R5 \
7063 /usr
/include
/X11R4 \
7065 /usr
/local
/X
11/include \
7066 /usr
/local
/X
11R
6/include \
7067 /usr
/local
/X
11R
5/include \
7068 /usr
/local
/X
11R
4/include \
7070 /usr
/local
/include
/X11 \
7071 /usr
/local
/include
/X11R6 \
7072 /usr
/local
/include
/X11R5 \
7073 /usr
/local
/include
/X11R4 \
7077 /usr
/XFree
86/include
/X11 \
7080 /usr
/local
/include \
7081 /usr
/unsupported
/include \
7082 /usr
/athena
/include \
7083 /usr
/local
/x
11r
5/include \
7084 /usr
/lpp
/Xamples
/include \
7086 /usr
/openwin
/include \
7087 /usr
/openwin
/share
/include \
7090 if test -r "$ac_dir/$x_direct_test_include"; then
7091 ac_x_includes
=$ac_dir
7097 fi # $ac_x_includes = NO
7099 if test "$ac_x_libraries" = NO
; then
7100 # Check for the libraries.
7102 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7103 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7105 # See if we find them without any special options.
7106 # Don't add to $LIBS permanently.
7107 ac_save_LIBS
="$LIBS"
7108 LIBS
="-l$x_direct_test_library $LIBS"
7109 cat > conftest.
$ac_ext <<EOF
7110 #line 7111 "configure"
7111 #include "confdefs.h"
7114 ${x_direct_test_function}()
7117 if { (eval echo configure
:7118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7119 LIBS
="$ac_save_LIBS"
7120 # We can link X programs with no special library path.
7123 echo "configure: failed program was:" >&5
7124 cat conftest.
$ac_ext >&5
7126 LIBS
="$ac_save_LIBS"
7127 # First see if replacing the include by lib works.
7128 # Check X11 before X11Rn because it is often a symlink to the current release.
7129 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7140 /usr
/local
/X
11/lib \
7141 /usr
/local
/X
11R
6/lib \
7142 /usr
/local
/X
11R
5/lib \
7143 /usr
/local
/X
11R
4/lib \
7145 /usr
/local
/lib
/X11 \
7146 /usr
/local
/lib
/X11R6 \
7147 /usr
/local
/lib
/X11R5 \
7148 /usr
/local
/lib
/X11R4 \
7152 /usr
/XFree
86/lib
/X11 \
7156 /usr
/unsupported
/lib \
7158 /usr
/local
/x
11r
5/lib \
7159 /usr
/lpp
/Xamples
/lib \
7163 /usr
/openwin
/share
/lib \
7166 for ac_extension
in a so sl
; do
7167 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7168 ac_x_libraries
=$ac_dir
7175 fi # $ac_x_libraries = NO
7177 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7178 # Didn't find X anywhere. Cache the known absence of X.
7179 ac_cv_have_x
="have_x=no"
7181 # Record where we found X for the cache.
7182 ac_cv_have_x
="have_x=yes \
7183 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7187 eval "$ac_cv_have_x"
7190 if test "$have_x" != yes; then
7191 echo "$ac_t""$have_x" 1>&6
7194 # If each of the values was on the command line, it overrides each guess.
7195 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7196 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7197 # Update the cache value to reflect the command line values.
7198 ac_cv_have_x
="have_x=yes \
7199 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7200 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7203 if test "$no_x" = yes; then
7204 # Not all programs may use this symbol, but it does not hurt to define it.
7205 cat >> confdefs.h
<<\EOF
7206 #define X_DISPLAY_MISSING 1
7209 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7211 if test -n "$x_includes"; then
7212 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7215 # It would also be nice to do this for all -L options, not just this one.
7216 if test -n "$x_libraries"; then
7217 X_LIBS
="$X_LIBS -L$x_libraries"
7218 # For Solaris; some versions of Sun CC require a space after -R and
7219 # others require no space. Words are not sufficient . . . .
7220 case "`(uname -sr) 2>/dev/null`" in
7222 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7223 echo "configure:7224: checking whether -R must be followed by a space" >&5
7224 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7225 cat > conftest.
$ac_ext <<EOF
7226 #line 7227 "configure"
7227 #include "confdefs.h"
7233 if { (eval echo configure
:7234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7237 echo "configure: failed program was:" >&5
7238 cat conftest.
$ac_ext >&5
7243 if test $ac_R_nospace = yes; then
7244 echo "$ac_t""no" 1>&6
7245 X_LIBS
="$X_LIBS -R$x_libraries"
7247 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7248 cat > conftest.
$ac_ext <<EOF
7249 #line 7250 "configure"
7250 #include "confdefs.h"
7256 if { (eval echo configure
:7257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7260 echo "configure: failed program was:" >&5
7261 cat conftest.
$ac_ext >&5
7266 if test $ac_R_space = yes; then
7267 echo "$ac_t""yes" 1>&6
7268 X_LIBS
="$X_LIBS -R $x_libraries"
7270 echo "$ac_t""neither works" 1>&6
7273 LIBS
="$ac_xsave_LIBS"
7277 # Check for system-dependent libraries X programs must link with.
7278 # Do this before checking for the system-independent R6 libraries
7279 # (-lICE), since we may need -lsocket or whatever for X linking.
7281 if test "$ISC" = yes; then
7282 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7284 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7285 # libraries were built with DECnet support. And karl@cs.umb.edu says
7286 # the Alpha needs dnet_stub (dnet does not exist).
7287 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7288 echo "configure:7289: checking for dnet_ntoa in -ldnet" >&5
7289 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7290 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7291 echo $ac_n "(cached) $ac_c" 1>&6
7293 ac_save_LIBS
="$LIBS"
7295 cat > conftest.
$ac_ext <<EOF
7296 #line 7297 "configure"
7297 #include "confdefs.h"
7298 /* Override any gcc2 internal prototype to avoid an error. */
7299 /* We use char because int might match the return type of a gcc2
7300 builtin and then its argument prototype would still apply. */
7307 if { (eval echo configure
:7308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7309 eval "ac_cv_lib_$ac_lib_var=yes"
7311 echo "configure: failed program was:" >&5
7312 cat conftest.
$ac_ext >&5
7314 eval "ac_cv_lib_$ac_lib_var=no"
7317 LIBS
="$ac_save_LIBS"
7320 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7321 echo "$ac_t""yes" 1>&6
7322 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7324 echo "$ac_t""no" 1>&6
7327 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7328 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7329 echo "configure:7330: checking for dnet_ntoa in -ldnet_stub" >&5
7330 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7331 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7332 echo $ac_n "(cached) $ac_c" 1>&6
7334 ac_save_LIBS
="$LIBS"
7335 LIBS
="-ldnet_stub $LIBS"
7336 cat > conftest.
$ac_ext <<EOF
7337 #line 7338 "configure"
7338 #include "confdefs.h"
7339 /* Override any gcc2 internal prototype to avoid an error. */
7340 /* We use char because int might match the return type of a gcc2
7341 builtin and then its argument prototype would still apply. */
7348 if { (eval echo configure
:7349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7350 eval "ac_cv_lib_$ac_lib_var=yes"
7352 echo "configure: failed program was:" >&5
7353 cat conftest.
$ac_ext >&5
7355 eval "ac_cv_lib_$ac_lib_var=no"
7358 LIBS
="$ac_save_LIBS"
7361 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7362 echo "$ac_t""yes" 1>&6
7363 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7365 echo "$ac_t""no" 1>&6
7370 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7371 # to get the SysV transport functions.
7372 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7374 # The nsl library prevents programs from opening the X display
7375 # on Irix 5.2, according to dickey@clark.net.
7376 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7377 echo "configure:7378: checking for gethostbyname" >&5
7378 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7379 echo $ac_n "(cached) $ac_c" 1>&6
7381 cat > conftest.
$ac_ext <<EOF
7382 #line 7383 "configure"
7383 #include "confdefs.h"
7384 /* System header to define __stub macros and hopefully few prototypes,
7385 which can conflict with char gethostbyname(); below. */
7387 /* Override any gcc2 internal prototype to avoid an error. */
7388 /* We use char because int might match the return type of a gcc2
7389 builtin and then its argument prototype would still apply. */
7390 char gethostbyname();
7394 /* The GNU C library defines this for functions which it implements
7395 to always fail with ENOSYS. Some functions are actually named
7396 something starting with __ and the normal name is an alias. */
7397 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7405 if { (eval echo configure
:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7407 eval "ac_cv_func_gethostbyname=yes"
7409 echo "configure: failed program was:" >&5
7410 cat conftest.
$ac_ext >&5
7412 eval "ac_cv_func_gethostbyname=no"
7417 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7418 echo "$ac_t""yes" 1>&6
7421 echo "$ac_t""no" 1>&6
7424 if test $ac_cv_func_gethostbyname = no
; then
7425 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7426 echo "configure:7427: checking for gethostbyname in -lnsl" >&5
7427 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7428 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7429 echo $ac_n "(cached) $ac_c" 1>&6
7431 ac_save_LIBS
="$LIBS"
7433 cat > conftest.
$ac_ext <<EOF
7434 #line 7435 "configure"
7435 #include "confdefs.h"
7436 /* Override any gcc2 internal prototype to avoid an error. */
7437 /* We use char because int might match the return type of a gcc2
7438 builtin and then its argument prototype would still apply. */
7439 char gethostbyname();
7445 if { (eval echo configure
:7446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7447 eval "ac_cv_lib_$ac_lib_var=yes"
7449 echo "configure: failed program was:" >&5
7450 cat conftest.
$ac_ext >&5
7452 eval "ac_cv_lib_$ac_lib_var=no"
7455 LIBS
="$ac_save_LIBS"
7458 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7459 echo "$ac_t""yes" 1>&6
7460 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7462 echo "$ac_t""no" 1>&6
7467 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7468 # socket/setsockopt and other routines are undefined under SCO ODT
7469 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7470 # on later versions), says simon@lia.di.epfl.ch: it contains
7471 # gethostby* variants that don't use the nameserver (or something).
7472 # -lsocket must be given before -lnsl if both are needed.
7473 # We assume that if connect needs -lnsl, so does gethostbyname.
7474 echo $ac_n "checking for connect""... $ac_c" 1>&6
7475 echo "configure:7476: checking for connect" >&5
7476 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7477 echo $ac_n "(cached) $ac_c" 1>&6
7479 cat > conftest.
$ac_ext <<EOF
7480 #line 7481 "configure"
7481 #include "confdefs.h"
7482 /* System header to define __stub macros and hopefully few prototypes,
7483 which can conflict with char connect(); below. */
7485 /* Override any gcc2 internal prototype to avoid an error. */
7486 /* We use char because int might match the return type of a gcc2
7487 builtin and then its argument prototype would still apply. */
7492 /* The GNU C library defines this for functions which it implements
7493 to always fail with ENOSYS. Some functions are actually named
7494 something starting with __ and the normal name is an alias. */
7495 #if defined (__stub_connect) || defined (__stub___connect)
7503 if { (eval echo configure
:7504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7505 eval "ac_cv_func_connect=yes"
7507 echo "configure: failed program was:" >&5
7508 cat conftest.
$ac_ext >&5
7510 eval "ac_cv_func_connect=no"
7515 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7516 echo "$ac_t""yes" 1>&6
7519 echo "$ac_t""no" 1>&6
7522 if test $ac_cv_func_connect = no
; then
7523 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7524 echo "configure:7525: checking for connect in -lsocket" >&5
7525 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7526 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7527 echo $ac_n "(cached) $ac_c" 1>&6
7529 ac_save_LIBS
="$LIBS"
7530 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7531 cat > conftest.
$ac_ext <<EOF
7532 #line 7533 "configure"
7533 #include "confdefs.h"
7534 /* Override any gcc2 internal prototype to avoid an error. */
7535 /* We use char because int might match the return type of a gcc2
7536 builtin and then its argument prototype would still apply. */
7543 if { (eval echo configure
:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7545 eval "ac_cv_lib_$ac_lib_var=yes"
7547 echo "configure: failed program was:" >&5
7548 cat conftest.
$ac_ext >&5
7550 eval "ac_cv_lib_$ac_lib_var=no"
7553 LIBS
="$ac_save_LIBS"
7556 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7557 echo "$ac_t""yes" 1>&6
7558 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7560 echo "$ac_t""no" 1>&6
7565 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7566 echo $ac_n "checking for remove""... $ac_c" 1>&6
7567 echo "configure:7568: checking for remove" >&5
7568 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7569 echo $ac_n "(cached) $ac_c" 1>&6
7571 cat > conftest.
$ac_ext <<EOF
7572 #line 7573 "configure"
7573 #include "confdefs.h"
7574 /* System header to define __stub macros and hopefully few prototypes,
7575 which can conflict with char remove(); below. */
7577 /* Override any gcc2 internal prototype to avoid an error. */
7578 /* We use char because int might match the return type of a gcc2
7579 builtin and then its argument prototype would still apply. */
7584 /* The GNU C library defines this for functions which it implements
7585 to always fail with ENOSYS. Some functions are actually named
7586 something starting with __ and the normal name is an alias. */
7587 #if defined (__stub_remove) || defined (__stub___remove)
7595 if { (eval echo configure
:7596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7597 eval "ac_cv_func_remove=yes"
7599 echo "configure: failed program was:" >&5
7600 cat conftest.
$ac_ext >&5
7602 eval "ac_cv_func_remove=no"
7607 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7608 echo "$ac_t""yes" 1>&6
7611 echo "$ac_t""no" 1>&6
7614 if test $ac_cv_func_remove = no
; then
7615 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7616 echo "configure:7617: checking for remove in -lposix" >&5
7617 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7619 echo $ac_n "(cached) $ac_c" 1>&6
7621 ac_save_LIBS
="$LIBS"
7622 LIBS
="-lposix $LIBS"
7623 cat > conftest.
$ac_ext <<EOF
7624 #line 7625 "configure"
7625 #include "confdefs.h"
7626 /* Override any gcc2 internal prototype to avoid an error. */
7627 /* We use char because int might match the return type of a gcc2
7628 builtin and then its argument prototype would still apply. */
7635 if { (eval echo configure
:7636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7637 eval "ac_cv_lib_$ac_lib_var=yes"
7639 echo "configure: failed program was:" >&5
7640 cat conftest.
$ac_ext >&5
7642 eval "ac_cv_lib_$ac_lib_var=no"
7645 LIBS
="$ac_save_LIBS"
7648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7649 echo "$ac_t""yes" 1>&6
7650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7652 echo "$ac_t""no" 1>&6
7657 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7658 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7659 echo "configure:7660: checking for shmat" >&5
7660 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7661 echo $ac_n "(cached) $ac_c" 1>&6
7663 cat > conftest.
$ac_ext <<EOF
7664 #line 7665 "configure"
7665 #include "confdefs.h"
7666 /* System header to define __stub macros and hopefully few prototypes,
7667 which can conflict with char shmat(); below. */
7669 /* Override any gcc2 internal prototype to avoid an error. */
7670 /* We use char because int might match the return type of a gcc2
7671 builtin and then its argument prototype would still apply. */
7676 /* The GNU C library defines this for functions which it implements
7677 to always fail with ENOSYS. Some functions are actually named
7678 something starting with __ and the normal name is an alias. */
7679 #if defined (__stub_shmat) || defined (__stub___shmat)
7687 if { (eval echo configure
:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7689 eval "ac_cv_func_shmat=yes"
7691 echo "configure: failed program was:" >&5
7692 cat conftest.
$ac_ext >&5
7694 eval "ac_cv_func_shmat=no"
7699 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7700 echo "$ac_t""yes" 1>&6
7703 echo "$ac_t""no" 1>&6
7706 if test $ac_cv_func_shmat = no
; then
7707 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7708 echo "configure:7709: checking for shmat in -lipc" >&5
7709 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7710 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7711 echo $ac_n "(cached) $ac_c" 1>&6
7713 ac_save_LIBS
="$LIBS"
7715 cat > conftest.
$ac_ext <<EOF
7716 #line 7717 "configure"
7717 #include "confdefs.h"
7718 /* Override any gcc2 internal prototype to avoid an error. */
7719 /* We use char because int might match the return type of a gcc2
7720 builtin and then its argument prototype would still apply. */
7727 if { (eval echo configure
:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7729 eval "ac_cv_lib_$ac_lib_var=yes"
7731 echo "configure: failed program was:" >&5
7732 cat conftest.
$ac_ext >&5
7734 eval "ac_cv_lib_$ac_lib_var=no"
7737 LIBS
="$ac_save_LIBS"
7740 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7741 echo "$ac_t""yes" 1>&6
7742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7744 echo "$ac_t""no" 1>&6
7750 # Check for libraries that X11R6 Xt/Xaw programs need.
7751 ac_save_LDFLAGS
="$LDFLAGS"
7752 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7753 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7754 # check for ICE first), but we must link in the order -lSM -lICE or
7755 # we get undefined symbols. So assume we have SM if we have ICE.
7756 # These have to be linked with before -lX11, unlike the other
7757 # libraries we check for below, so use a different variable.
7758 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7759 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7760 echo "configure:7761: checking for IceConnectionNumber in -lICE" >&5
7761 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7763 echo $ac_n "(cached) $ac_c" 1>&6
7765 ac_save_LIBS
="$LIBS"
7766 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7767 cat > conftest.
$ac_ext <<EOF
7768 #line 7769 "configure"
7769 #include "confdefs.h"
7770 /* Override any gcc2 internal prototype to avoid an error. */
7771 /* We use char because int might match the return type of a gcc2
7772 builtin and then its argument prototype would still apply. */
7773 char IceConnectionNumber();
7776 IceConnectionNumber()
7779 if { (eval echo configure
:7780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7781 eval "ac_cv_lib_$ac_lib_var=yes"
7783 echo "configure: failed program was:" >&5
7784 cat conftest.
$ac_ext >&5
7786 eval "ac_cv_lib_$ac_lib_var=no"
7789 LIBS
="$ac_save_LIBS"
7792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7793 echo "$ac_t""yes" 1>&6
7794 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7796 echo "$ac_t""no" 1>&6
7799 LDFLAGS
="$ac_save_LDFLAGS"
7804 if test "$no_x" = "yes"; then
7805 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7808 TOOLKIT_INCLUDE
="$X_CFLAGS"
7809 GUI_TK_LIBRARY
="$X_LIBS"
7811 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7812 echo "configure:7813: checking for Motif/Lesstif includes" >&5
7815 for ac_dir
in $SEARCH_INCLUDE;
7817 if test -f "$ac_dir/Xm/Xm.h"; then
7818 ac_find_includes
=$ac_dir
7823 if test "$ac_find_includes" != "" ; then
7824 echo "$ac_t""found $ac_find_includes" 1>&6
7826 echo "$ac_t""no" 1>&6
7827 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7830 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7831 echo "configure:7832: checking for Motif/Lesstif library" >&5
7834 for ac_dir
in $SEARCH_LIB;
7836 for ac_extension
in a so sl
; do
7837 if test -f "$ac_dir/libXm.$ac_extension"; then
7838 ac_find_libraries
=$ac_dir
7844 if test "$ac_find_libraries" != "" ; then
7846 ac_path_to_include
=$ac_find_includes
7847 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7849 if test $result = 0; then
7850 ac_path_to_include
=""
7852 ac_path_to_include
="-I$ac_find_includes"
7856 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7858 if test $result = 0; then
7861 ac_path_to_link
="-L$ac_find_libraries"
7865 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7866 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7867 echo "$ac_t""found at $ac_find_libraries" 1>&6
7869 echo "$ac_t""no" 1>&6
7870 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7873 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7874 echo "configure:7875: checking for Xt library" >&5
7877 for ac_dir
in $SEARCH_LIB;
7879 for ac_extension
in a so sl
; do
7880 if test -f "$ac_dir/libXt.$ac_extension"; then
7881 ac_find_libraries
=$ac_dir
7887 if test "$ac_find_libraries" != "" ; then
7889 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7891 if test $result = 0; then
7894 ac_path_to_link
="-L$ac_find_libraries"
7897 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7898 echo "$ac_t""found at $ac_find_libraries" 1>&6
7900 echo "$ac_t""no" 1>&6
7901 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7905 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7906 echo "configure:7907: checking for Xpm library" >&5
7909 for ac_dir
in $SEARCH_LIB;
7911 for ac_extension
in a so sl
; do
7912 if test -f "$ac_dir/libXpm.$ac_extension"; then
7913 ac_find_libraries
=$ac_dir
7919 if test "$ac_find_libraries" != "" ; then
7921 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7923 if test $result = 0; then
7926 ac_path_to_link
="-L$ac_find_libraries"
7929 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7931 cat >> confdefs.h
<<\EOF
7932 #define wxHAVE_LIB_XPM 1
7935 echo "$ac_t""found at $ac_find_libraries" 1>&6
7937 echo "$ac_t""no" 1>&6
7938 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7941 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -ldl -lm"
7942 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7945 GUIHEADERS
=MOTIF_HEADERS
7946 GUIOBJS
=MOTIF_GUIOBJS
7947 COMMONOBJS
=MOTIF_COMMONOBJS
7948 GENERICOBJS
=MOTIF_GENERICOBJS
7949 GUIDEPS
=MOTIF_GUIDEPS
7950 COMMONDEPS
=MOTIF_COMMONDEPS
7951 GENERICDEPS
=MOTIF_GENERICDEPS
7956 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7958 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7960 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7962 WX_LIBRARY_NAME
="libwx_${TOOLKIT_DIR}.la"
7964 WX_LIBRARY_NAME_STATIC
="libwx_${TOOLKIT_DIR}.a"
7966 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7968 WX_LIBRARY_LINK1
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
7969 WX_LIBRARY_LINK2
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
7970 WX_LIBRARY_LINK3
="libwx_${TOOLKIT_DIR}.so"
7976 if test "$wxUSE_SHARED" = "yes"; then
7977 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7981 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7982 SHARED_LD
="${CXX} -b -o"
7986 SHARED_LD
="${CC} -shared -o"
7988 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7989 WX_CREATE_LINKS
="CREATE_LINKS"
7991 *-*-irix5* | *-*-irix6* )
7992 if test "$GCC" = yes ; then
7993 SHARED_LD
="${CC} -shared -o"
7996 SHARED_LD
="${CXX} -shared -o"
7998 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7999 WX_CREATE_LINKS
="CREATE_LINKS"
8002 if test "$GCC" = yes ; then
8003 SHARED_LD
="${CC} -shared -o"
8006 SHARED_LD
="${CXX} -G -o"
8009 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8010 WX_CREATE_LINKS
="CREATE_LINKS"
8013 SHARED_LD
="${CC} -shared -o"
8015 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8016 WX_CREATE_LINKS
="CREATE_LINKS"
8018 *-*-freebsd* | *-*-netbsd*)
8019 SHARED_LD
="${CC} -shared -o"
8021 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8022 WX_CREATE_LINKS
="CREATE_LINKS"
8025 SHARED_LD
="${CXX} -shared -o"
8027 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8028 WX_CREATE_LINKS
="CREATE_LINKS"
8031 SHARED_LD
="${CXX} -shared -o"
8033 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8034 WX_CREATE_LINKS
="CREATE_LINKS"
8037 SHARED_LD
="${CC} -shared -o"
8039 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8040 WX_CREATE_LINKS
="CREATE_LINKS"
8043 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8046 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8049 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8054 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8058 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8062 for ac_hdr
in strings.h
8064 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8066 echo "configure:8067: checking for $ac_hdr" >&5
8067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8068 echo $ac_n "(cached) $ac_c" 1>&6
8070 cat > conftest.
$ac_ext <<EOF
8071 #line 8072 "configure"
8072 #include "confdefs.h"
8075 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8076 { (eval echo configure
:8077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8077 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8078 if test -z "$ac_err"; then
8080 eval "ac_cv_header_$ac_safe=yes"
8083 echo "configure: failed program was:" >&5
8084 cat conftest.
$ac_ext >&5
8086 eval "ac_cv_header_$ac_safe=no"
8090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8091 echo "$ac_t""yes" 1>&6
8092 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8093 cat >> confdefs.h
<<EOF
8094 #define $ac_tr_hdr 1
8098 echo "$ac_t""no" 1>&6
8102 for ac_hdr
in unistd.h
8104 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8106 echo "configure:8107: checking for $ac_hdr" >&5
8107 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8108 echo $ac_n "(cached) $ac_c" 1>&6
8110 cat > conftest.
$ac_ext <<EOF
8111 #line 8112 "configure"
8112 #include "confdefs.h"
8115 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8116 { (eval echo configure
:8117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8117 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8118 if test -z "$ac_err"; then
8120 eval "ac_cv_header_$ac_safe=yes"
8123 echo "configure: failed program was:" >&5
8124 cat conftest.
$ac_ext >&5
8126 eval "ac_cv_header_$ac_safe=no"
8130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8131 echo "$ac_t""yes" 1>&6
8132 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8133 cat >> confdefs.h
<<EOF
8134 #define $ac_tr_hdr 1
8138 echo "$ac_t""no" 1>&6
8142 for ac_hdr
in wchar.h
8144 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8146 echo "configure:8147: checking for $ac_hdr" >&5
8147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8148 echo $ac_n "(cached) $ac_c" 1>&6
8150 cat > conftest.
$ac_ext <<EOF
8151 #line 8152 "configure"
8152 #include "confdefs.h"
8155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8156 { (eval echo configure
:8157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8158 if test -z "$ac_err"; then
8160 eval "ac_cv_header_$ac_safe=yes"
8163 echo "configure: failed program was:" >&5
8164 cat conftest.
$ac_ext >&5
8166 eval "ac_cv_header_$ac_safe=no"
8170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8171 echo "$ac_t""yes" 1>&6
8172 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8173 cat >> confdefs.h
<<EOF
8174 #define $ac_tr_hdr 1
8178 echo "$ac_t""no" 1>&6
8182 for ac_hdr
in wcstr.h
8184 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8186 echo "configure:8187: checking for $ac_hdr" >&5
8187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8188 echo $ac_n "(cached) $ac_c" 1>&6
8190 cat > conftest.
$ac_ext <<EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8195 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8196 { (eval echo configure
:8197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8197 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8198 if test -z "$ac_err"; then
8200 eval "ac_cv_header_$ac_safe=yes"
8203 echo "configure: failed program was:" >&5
8204 cat conftest.
$ac_ext >&5
8206 eval "ac_cv_header_$ac_safe=no"
8210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8211 echo "$ac_t""yes" 1>&6
8212 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8213 cat >> confdefs.h
<<EOF
8214 #define $ac_tr_hdr 1
8218 echo "$ac_t""no" 1>&6
8222 for ac_hdr
in fnmatch.h
8224 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8226 echo "configure:8227: checking for $ac_hdr" >&5
8227 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8228 echo $ac_n "(cached) $ac_c" 1>&6
8230 cat > conftest.
$ac_ext <<EOF
8231 #line 8232 "configure"
8232 #include "confdefs.h"
8235 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8236 { (eval echo configure
:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8237 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8238 if test -z "$ac_err"; then
8240 eval "ac_cv_header_$ac_safe=yes"
8243 echo "configure: failed program was:" >&5
8244 cat conftest.
$ac_ext >&5
8246 eval "ac_cv_header_$ac_safe=no"
8250 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8251 echo "$ac_t""yes" 1>&6
8252 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8253 cat >> confdefs.h
<<EOF
8254 #define $ac_tr_hdr 1
8258 echo "$ac_t""no" 1>&6
8262 for ac_hdr
in X
11/XKBlib.h
8264 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8266 echo "configure:8267: checking for $ac_hdr" >&5
8267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8268 echo $ac_n "(cached) $ac_c" 1>&6
8270 cat > conftest.
$ac_ext <<EOF
8271 #line 8272 "configure"
8272 #include "confdefs.h"
8275 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8276 { (eval echo configure
:8277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8277 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8278 if test -z "$ac_err"; then
8280 eval "ac_cv_header_$ac_safe=yes"
8283 echo "configure: failed program was:" >&5
8284 cat conftest.
$ac_ext >&5
8286 eval "ac_cv_header_$ac_safe=no"
8290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8291 echo "$ac_t""yes" 1>&6
8292 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8293 cat >> confdefs.h
<<EOF
8294 #define $ac_tr_hdr 1
8298 echo "$ac_t""no" 1>&6
8304 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8305 echo "configure:8306: checking for ANSI C header files" >&5
8306 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8307 echo $ac_n "(cached) $ac_c" 1>&6
8309 cat > conftest.
$ac_ext <<EOF
8310 #line 8311 "configure"
8311 #include "confdefs.h"
8317 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8318 { (eval echo configure
:8319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8319 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8320 if test -z "$ac_err"; then
8322 ac_cv_header_stdc
=yes
8325 echo "configure: failed program was:" >&5
8326 cat conftest.
$ac_ext >&5
8328 ac_cv_header_stdc
=no
8332 if test $ac_cv_header_stdc = yes; then
8333 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8334 cat > conftest.
$ac_ext <<EOF
8335 #line 8336 "configure"
8336 #include "confdefs.h"
8339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8340 egrep "memchr" >/dev
/null
2>&1; then
8344 ac_cv_header_stdc
=no
8350 if test $ac_cv_header_stdc = yes; then
8351 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8352 cat > conftest.
$ac_ext <<EOF
8353 #line 8354 "configure"
8354 #include "confdefs.h"
8357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8358 egrep "free" >/dev
/null
2>&1; then
8362 ac_cv_header_stdc
=no
8368 if test $ac_cv_header_stdc = yes; then
8369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8370 if test "$cross_compiling" = yes; then
8373 cat > conftest.
$ac_ext <<EOF
8374 #line 8375 "configure"
8375 #include "confdefs.h"
8377 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8378 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8380 int main () { int i; for (i = 0; i < 256; i++)
8381 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8385 if { (eval echo configure
:8386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8389 echo "configure: failed program was:" >&5
8390 cat conftest.
$ac_ext >&5
8392 ac_cv_header_stdc
=no
8400 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8401 if test $ac_cv_header_stdc = yes; then
8402 cat >> confdefs.h
<<\EOF
8403 #define STDC_HEADERS 1
8408 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8409 echo "configure:8410: checking for mode_t" >&5
8410 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8413 cat > conftest.
$ac_ext <<EOF
8414 #line 8415 "configure"
8415 #include "confdefs.h"
8416 #include <sys/types.h>
8422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8423 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8425 ac_cv_type_mode_t
=yes
8428 ac_cv_type_mode_t
=no
8433 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8434 if test $ac_cv_type_mode_t = no
; then
8435 cat >> confdefs.h
<<\EOF
8441 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8442 echo "configure:8443: checking for off_t" >&5
8443 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8444 echo $ac_n "(cached) $ac_c" 1>&6
8446 cat > conftest.
$ac_ext <<EOF
8447 #line 8448 "configure"
8448 #include "confdefs.h"
8449 #include <sys/types.h>
8455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8456 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8458 ac_cv_type_off_t
=yes
8466 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8467 if test $ac_cv_type_off_t = no
; then
8468 cat >> confdefs.h
<<\EOF
8474 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8475 echo "configure:8476: checking for pid_t" >&5
8476 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8477 echo $ac_n "(cached) $ac_c" 1>&6
8479 cat > conftest.
$ac_ext <<EOF
8480 #line 8481 "configure"
8481 #include "confdefs.h"
8482 #include <sys/types.h>
8488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8489 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8491 ac_cv_type_pid_t
=yes
8499 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8500 if test $ac_cv_type_pid_t = no
; then
8501 cat >> confdefs.h
<<\EOF
8507 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8508 echo "configure:8509: checking for size_t" >&5
8509 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8510 echo $ac_n "(cached) $ac_c" 1>&6
8512 cat > conftest.
$ac_ext <<EOF
8513 #line 8514 "configure"
8514 #include "confdefs.h"
8515 #include <sys/types.h>
8521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8522 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8524 ac_cv_type_size_t
=yes
8527 ac_cv_type_size_t
=no
8532 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8533 if test $ac_cv_type_size_t = no
; then
8534 cat >> confdefs.h
<<\EOF
8535 #define size_t unsigned
8540 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8541 echo "configure:8542: checking for uid_t in sys/types.h" >&5
8542 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8543 echo $ac_n "(cached) $ac_c" 1>&6
8545 cat > conftest.
$ac_ext <<EOF
8546 #line 8547 "configure"
8547 #include "confdefs.h"
8548 #include <sys/types.h>
8550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8551 egrep "uid_t" >/dev
/null
2>&1; then
8553 ac_cv_type_uid_t
=yes
8562 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8563 if test $ac_cv_type_uid_t = no
; then
8564 cat >> confdefs.h
<<\EOF
8568 cat >> confdefs.h
<<\EOF
8577 echo $ac_n "checking for working const""... $ac_c" 1>&6
8578 echo "configure:8579: checking for working const" >&5
8579 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8580 echo $ac_n "(cached) $ac_c" 1>&6
8582 cat > conftest.
$ac_ext <<EOF
8583 #line 8584 "configure"
8584 #include "confdefs.h"
8588 /* Ultrix mips cc rejects this. */
8589 typedef int charset[2]; const charset x;
8590 /* SunOS 4.1.1 cc rejects this. */
8591 char const *const *ccp;
8593 /* NEC SVR4.0.2 mips cc rejects this. */
8594 struct point {int x, y;};
8595 static struct point const zero = {0,0};
8596 /* AIX XL C 1.02.0.0 rejects this.
8597 It does not let you subtract one const X* pointer from another in an arm
8598 of an if-expression whose if-part is not a constant expression */
8599 const char *g = "string";
8600 ccp = &g + (g ? g-g : 0);
8601 /* HPUX 7.0 cc rejects these. */
8604 ccp = (char const *const *) p;
8605 { /* SCO 3.2v4 cc rejects this. */
8607 char const *s = 0 ? (char *) 0 : (char const *) 0;
8611 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8613 const int *foo = &x[0];
8616 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8617 typedef const int *iptr;
8621 { /* AIX XL C 1.02.0.0 rejects this saying
8622 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8623 struct s { int j; const int *ap[3]; };
8624 struct s *b; b->j = 5;
8626 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8632 if { (eval echo configure
:8633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8636 echo "configure: failed program was:" >&5
8637 cat conftest.
$ac_ext >&5
8644 echo "$ac_t""$ac_cv_c_const" 1>&6
8645 if test $ac_cv_c_const = no
; then
8646 cat >> confdefs.h
<<\EOF
8652 echo $ac_n "checking for inline""... $ac_c" 1>&6
8653 echo "configure:8654: checking for inline" >&5
8654 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8655 echo $ac_n "(cached) $ac_c" 1>&6
8658 for ac_kw
in inline __inline__ __inline
; do
8659 cat > conftest.
$ac_ext <<EOF
8660 #line 8661 "configure"
8661 #include "confdefs.h"
8667 if { (eval echo configure
:8668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8669 ac_cv_c_inline
=$ac_kw; break
8671 echo "configure: failed program was:" >&5
8672 cat conftest.
$ac_ext >&5
8679 echo "$ac_t""$ac_cv_c_inline" 1>&6
8680 case "$ac_cv_c_inline" in
8682 no
) cat >> confdefs.h
<<\EOF
8686 *) cat >> confdefs.h
<<EOF
8687 #define inline $ac_cv_c_inline
8693 echo $ac_n "checking size of char""... $ac_c" 1>&6
8694 echo "configure:8695: checking size of char" >&5
8695 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8696 echo $ac_n "(cached) $ac_c" 1>&6
8698 if test "$cross_compiling" = yes; then
8701 cat > conftest.
$ac_ext <<EOF
8702 #line 8703 "configure"
8703 #include "confdefs.h"
8707 FILE *f=fopen("conftestval", "w");
8709 fprintf(f, "%d\n", sizeof(char));
8713 if { (eval echo configure
:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8715 ac_cv_sizeof_char
=`cat conftestval`
8717 echo "configure: failed program was:" >&5
8718 cat conftest.
$ac_ext >&5
8726 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8727 cat >> confdefs.h
<<EOF
8728 #define SIZEOF_CHAR $ac_cv_sizeof_char
8732 echo $ac_n "checking size of short""... $ac_c" 1>&6
8733 echo "configure:8734: checking size of short" >&5
8734 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8735 echo $ac_n "(cached) $ac_c" 1>&6
8737 if test "$cross_compiling" = yes; then
8738 ac_cv_sizeof_short
=2
8740 cat > conftest.
$ac_ext <<EOF
8741 #line 8742 "configure"
8742 #include "confdefs.h"
8746 FILE *f=fopen("conftestval", "w");
8748 fprintf(f, "%d\n", sizeof(short));
8752 if { (eval echo configure
:8753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8754 ac_cv_sizeof_short
=`cat conftestval`
8756 echo "configure: failed program was:" >&5
8757 cat conftest.
$ac_ext >&5
8759 ac_cv_sizeof_short
=0
8765 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8766 cat >> confdefs.h
<<EOF
8767 #define SIZEOF_SHORT $ac_cv_sizeof_short
8771 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8772 echo "configure:8773: checking size of int *" >&5
8773 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8774 echo $ac_n "(cached) $ac_c" 1>&6
8776 if test "$cross_compiling" = yes; then
8777 ac_cv_sizeof_int_p
=4
8779 cat > conftest.
$ac_ext <<EOF
8780 #line 8781 "configure"
8781 #include "confdefs.h"
8785 FILE *f=fopen("conftestval", "w");
8787 fprintf(f, "%d\n", sizeof(int *));
8791 if { (eval echo configure
:8792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8793 ac_cv_sizeof_int_p
=`cat conftestval`
8795 echo "configure: failed program was:" >&5
8796 cat conftest.
$ac_ext >&5
8798 ac_cv_sizeof_int_p
=0
8804 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8805 cat >> confdefs.h
<<EOF
8806 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8810 echo $ac_n "checking size of int""... $ac_c" 1>&6
8811 echo "configure:8812: checking size of int" >&5
8812 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8813 echo $ac_n "(cached) $ac_c" 1>&6
8815 if test "$cross_compiling" = yes; then
8818 cat > conftest.
$ac_ext <<EOF
8819 #line 8820 "configure"
8820 #include "confdefs.h"
8824 FILE *f=fopen("conftestval", "w");
8826 fprintf(f, "%d\n", sizeof(int));
8830 if { (eval echo configure
:8831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8832 ac_cv_sizeof_int
=`cat conftestval`
8834 echo "configure: failed program was:" >&5
8835 cat conftest.
$ac_ext >&5
8843 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8844 cat >> confdefs.h
<<EOF
8845 #define SIZEOF_INT $ac_cv_sizeof_int
8849 echo $ac_n "checking size of long""... $ac_c" 1>&6
8850 echo "configure:8851: checking size of long" >&5
8851 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8852 echo $ac_n "(cached) $ac_c" 1>&6
8854 if test "$cross_compiling" = yes; then
8857 cat > conftest.
$ac_ext <<EOF
8858 #line 8859 "configure"
8859 #include "confdefs.h"
8863 FILE *f=fopen("conftestval", "w");
8865 fprintf(f, "%d\n", sizeof(long));
8869 if { (eval echo configure
:8870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8871 ac_cv_sizeof_long
=`cat conftestval`
8873 echo "configure: failed program was:" >&5
8874 cat conftest.
$ac_ext >&5
8882 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8883 cat >> confdefs.h
<<EOF
8884 #define SIZEOF_LONG $ac_cv_sizeof_long
8888 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8889 echo "configure:8890: checking size of long long" >&5
8890 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8891 echo $ac_n "(cached) $ac_c" 1>&6
8893 if test "$cross_compiling" = yes; then
8894 ac_cv_sizeof_long_long
=0
8896 cat > conftest.
$ac_ext <<EOF
8897 #line 8898 "configure"
8898 #include "confdefs.h"
8902 FILE *f=fopen("conftestval", "w");
8904 fprintf(f, "%d\n", sizeof(long long));
8908 if { (eval echo configure
:8909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8910 ac_cv_sizeof_long_long
=`cat conftestval`
8912 echo "configure: failed program was:" >&5
8913 cat conftest.
$ac_ext >&5
8915 ac_cv_sizeof_long_long
=0
8921 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8922 cat >> confdefs.h
<<EOF
8923 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8928 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8929 echo "configure:8930: checking whether byte ordering is bigendian" >&5
8930 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8931 echo $ac_n "(cached) $ac_c" 1>&6
8933 ac_cv_c_bigendian
=unknown
8934 # See if sys/param.h defines the BYTE_ORDER macro.
8935 cat > conftest.
$ac_ext <<EOF
8936 #line 8937 "configure"
8937 #include "confdefs.h"
8938 #include <sys/types.h>
8939 #include <sys/param.h>
8942 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8947 if { (eval echo configure
:8948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8949 # It does; now see whether it defined to BIG_ENDIAN or not.
8950 cat > conftest.
$ac_ext <<EOF
8951 #line 8952 "configure"
8952 #include "confdefs.h"
8953 #include <sys/types.h>
8954 #include <sys/param.h>
8957 #if BYTE_ORDER != BIG_ENDIAN
8962 if { (eval echo configure
:8963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8964 ac_cv_c_bigendian
=yes
8966 echo "configure: failed program was:" >&5
8967 cat conftest.
$ac_ext >&5
8969 ac_cv_c_bigendian
=no
8973 echo "configure: failed program was:" >&5
8974 cat conftest.
$ac_ext >&5
8977 if test $ac_cv_c_bigendian = unknown
; then
8978 if test "$cross_compiling" = yes; then
8979 ac_cv_c_bigendian
=unknown
8981 cat > conftest.
$ac_ext <<EOF
8982 #line 8983 "configure"
8983 #include "confdefs.h"
8985 /* Are we little or big endian? From Harbison&Steele. */
8989 char c[sizeof (long)];
8992 exit (u.c[sizeof (long) - 1] == 1);
8995 if { (eval echo configure
:8996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8997 ac_cv_c_bigendian
=no
8999 echo "configure: failed program was:" >&5
9000 cat conftest.
$ac_ext >&5
9002 ac_cv_c_bigendian
=yes
9010 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9011 if test $ac_cv_c_bigendian = unknown
; then
9012 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
9014 if test $ac_cv_c_bigendian = yes; then
9015 cat >> confdefs.h
<<\EOF
9016 #define WORDS_BIGENDIAN 1
9023 if test "$cross_compiling" = "yes"; then
9024 cat >> confdefs.h
<<\EOF
9025 #define wxUSE_IOSTREAMH 1
9031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9032 ac_cpp
='$CXXCPP $CPPFLAGS'
9033 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9034 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9035 cross_compiling
=$ac_cv_prog_cxx_cross
9038 for ac_hdr
in iostream
9040 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9042 echo "configure:9043: checking for $ac_hdr" >&5
9043 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9044 echo $ac_n "(cached) $ac_c" 1>&6
9046 cat > conftest.
$ac_ext <<EOF
9047 #line 9048 "configure"
9048 #include "confdefs.h"
9051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9052 { (eval echo configure
:9053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9054 if test -z "$ac_err"; then
9056 eval "ac_cv_header_$ac_safe=yes"
9059 echo "configure: failed program was:" >&5
9060 cat conftest.
$ac_ext >&5
9062 eval "ac_cv_header_$ac_safe=no"
9066 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9067 echo "$ac_t""yes" 1>&6
9068 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9069 cat >> confdefs.h
<<EOF
9070 #define $ac_tr_hdr 1
9074 echo "$ac_t""no" 1>&6
9079 if test "x$HAVE_IOSTREAM" = x
; then
9080 cat >> confdefs.h
<<\EOF
9081 #define wxUSE_IOSTREAMH 1
9089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9090 ac_cpp
='$CPP $CPPFLAGS'
9091 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9092 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9093 cross_compiling
=$ac_cv_prog_cc_cross
9099 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9100 echo "configure:9101: checking if C++ compiler supports bool" >&5
9101 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9102 echo $ac_n "(cached) $ac_c" 1>&6
9107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9108 ac_cpp
='$CXXCPP $CPPFLAGS'
9109 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9110 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9111 cross_compiling
=$ac_cv_prog_cxx_cross
9114 cat > conftest.
$ac_ext <<EOF
9115 #line 9116 "configure"
9116 #include "confdefs.h"
9127 if { (eval echo configure
:9128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9130 cat >> confdefs.h
<<\EOF
9137 echo "configure: failed program was:" >&5
9138 cat conftest.
$ac_ext >&5
9148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9149 ac_cpp
='$CPP $CPPFLAGS'
9150 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9151 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9152 cross_compiling
=$ac_cv_prog_cc_cross
9157 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9159 if test "$wx_cv_cpp_bool" = "yes"; then
9160 cat >> confdefs.h
<<\EOF
9168 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9169 echo "configure:9170: checking if size_t and int are different types" >&5
9170 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9171 echo $ac_n "(cached) $ac_c" 1>&6
9176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9177 ac_cpp
='$CXXCPP $CPPFLAGS'
9178 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9179 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9180 cross_compiling
=$ac_cv_prog_cxx_cross
9183 if test "$cross_compiling" = yes; then
9184 wx_cv_cpp_sizet_not_int
=no
9187 cat > conftest.
$ac_ext <<EOF
9188 #line 9189 "configure"
9189 #include "confdefs.h"
9191 extern "C" void exit(int);
9199 S(char *s) { m_s = s; }
9201 char operator[](size_t n) const { return m_s[n]; }
9202 char operator[](int n) const { return m_s[n]; }
9214 return s[n1] == s[n2];
9218 if { (eval echo configure
:9219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9220 cat >> confdefs.h
<<\EOF
9221 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9223 wx_cv_cpp_sizet_not_int
=yes
9225 echo "configure: failed program was:" >&5
9226 cat conftest.
$ac_ext >&5
9228 wx_cv_cpp_sizet_not_int
=no
9235 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9236 ac_cpp
='$CPP $CPPFLAGS'
9237 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9238 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9239 cross_compiling
=$ac_cv_prog_cc_cross
9244 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9248 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9249 echo "configure:9250: checking if you need GNU extensions" >&5
9250 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9251 echo $ac_n "(cached) $ac_c" 1>&6
9254 cat > conftest.
$ac_ext <<EOF
9255 #line 9256 "configure"
9256 #include "confdefs.h"
9257 #include <features.h>
9261 #ifndef __GNU_LIBRARY__
9262 Compile error wanted
9268 if { (eval echo configure
:9269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9270 wx_cv_gnu_extensions
=yes
9272 echo "configure: failed program was:" >&5
9273 cat conftest.
$ac_ext >&5
9275 wx_cv_gnu_extensions
=no
9282 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9283 if test "$wx_cv_gnu_extensions" = "yes"; then
9284 cat >> confdefs.h
<<EOF
9285 #define _GNU_SOURCE 1
9292 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9293 echo "configure:9294: checking for wcslen in -lc" >&5
9294 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9296 echo $ac_n "(cached) $ac_c" 1>&6
9298 ac_save_LIBS
="$LIBS"
9300 cat > conftest.
$ac_ext <<EOF
9301 #line 9302 "configure"
9302 #include "confdefs.h"
9303 /* Override any gcc2 internal prototype to avoid an error. */
9304 /* We use char because int might match the return type of a gcc2
9305 builtin and then its argument prototype would still apply. */
9312 if { (eval echo configure
:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9314 eval "ac_cv_lib_$ac_lib_var=yes"
9316 echo "configure: failed program was:" >&5
9317 cat conftest.
$ac_ext >&5
9319 eval "ac_cv_lib_$ac_lib_var=no"
9322 LIBS
="$ac_save_LIBS"
9325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9326 echo "$ac_t""yes" 1>&6
9328 cat >> confdefs.h
<<\EOF
9329 #define HAVE_WCSLEN 1
9335 echo "$ac_t""no" 1>&6
9337 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9338 echo "configure:9339: checking for wcslen in -lw" >&5
9339 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9341 echo $ac_n "(cached) $ac_c" 1>&6
9343 ac_save_LIBS
="$LIBS"
9345 cat > conftest.
$ac_ext <<EOF
9346 #line 9347 "configure"
9347 #include "confdefs.h"
9348 /* Override any gcc2 internal prototype to avoid an error. */
9349 /* We use char because int might match the return type of a gcc2
9350 builtin and then its argument prototype would still apply. */
9357 if { (eval echo configure
:9358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9359 eval "ac_cv_lib_$ac_lib_var=yes"
9361 echo "configure: failed program was:" >&5
9362 cat conftest.
$ac_ext >&5
9364 eval "ac_cv_lib_$ac_lib_var=no"
9367 LIBS
="$ac_save_LIBS"
9370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9371 echo "$ac_t""yes" 1>&6
9373 cat >> confdefs.h
<<\EOF
9374 #define HAVE_WCSLEN 1
9380 echo "$ac_t""no" 1>&6
9387 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9388 echo "configure:9389: checking for vprintf" >&5
9389 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9390 echo $ac_n "(cached) $ac_c" 1>&6
9392 cat > conftest.
$ac_ext <<EOF
9393 #line 9394 "configure"
9394 #include "confdefs.h"
9395 /* System header to define __stub macros and hopefully few prototypes,
9396 which can conflict with char vprintf(); below. */
9398 /* Override any gcc2 internal prototype to avoid an error. */
9399 /* We use char because int might match the return type of a gcc2
9400 builtin and then its argument prototype would still apply. */
9405 /* The GNU C library defines this for functions which it implements
9406 to always fail with ENOSYS. Some functions are actually named
9407 something starting with __ and the normal name is an alias. */
9408 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9416 if { (eval echo configure
:9417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9418 eval "ac_cv_func_vprintf=yes"
9420 echo "configure: failed program was:" >&5
9421 cat conftest.
$ac_ext >&5
9423 eval "ac_cv_func_vprintf=no"
9428 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9429 echo "$ac_t""yes" 1>&6
9430 cat >> confdefs.h
<<\EOF
9431 #define HAVE_VPRINTF 1
9435 echo "$ac_t""no" 1>&6
9438 if test "$ac_cv_func_vprintf" != yes; then
9439 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9440 echo "configure:9441: checking for _doprnt" >&5
9441 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9444 cat > conftest.
$ac_ext <<EOF
9445 #line 9446 "configure"
9446 #include "confdefs.h"
9447 /* System header to define __stub macros and hopefully few prototypes,
9448 which can conflict with char _doprnt(); below. */
9450 /* Override any gcc2 internal prototype to avoid an error. */
9451 /* We use char because int might match the return type of a gcc2
9452 builtin and then its argument prototype would still apply. */
9457 /* The GNU C library defines this for functions which it implements
9458 to always fail with ENOSYS. Some functions are actually named
9459 something starting with __ and the normal name is an alias. */
9460 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9468 if { (eval echo configure
:9469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9470 eval "ac_cv_func__doprnt=yes"
9472 echo "configure: failed program was:" >&5
9473 cat conftest.
$ac_ext >&5
9475 eval "ac_cv_func__doprnt=no"
9480 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9481 echo "$ac_t""yes" 1>&6
9482 cat >> confdefs.h
<<\EOF
9483 #define HAVE_DOPRNT 1
9487 echo "$ac_t""no" 1>&6
9493 for ac_func
in vsnprintf
9495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9496 echo "configure:9497: checking for $ac_func" >&5
9497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9498 echo $ac_n "(cached) $ac_c" 1>&6
9500 cat > conftest.
$ac_ext <<EOF
9501 #line 9502 "configure"
9502 #include "confdefs.h"
9503 /* System header to define __stub macros and hopefully few prototypes,
9504 which can conflict with char $ac_func(); below. */
9506 /* Override any gcc2 internal prototype to avoid an error. */
9507 /* We use char because int might match the return type of a gcc2
9508 builtin and then its argument prototype would still apply. */
9513 /* The GNU C library defines this for functions which it implements
9514 to always fail with ENOSYS. Some functions are actually named
9515 something starting with __ and the normal name is an alias. */
9516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9524 if { (eval echo configure
:9525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9526 eval "ac_cv_func_$ac_func=yes"
9528 echo "configure: failed program was:" >&5
9529 cat conftest.
$ac_ext >&5
9531 eval "ac_cv_func_$ac_func=no"
9536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9537 echo "$ac_t""yes" 1>&6
9538 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9539 cat >> confdefs.h
<<EOF
9540 #define $ac_tr_func 1
9542 cat >> confdefs.h
<<\EOF
9543 #define HAVE_VSNPRINTF 1
9547 echo "$ac_t""no" 1>&6
9548 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9557 ac_cpp
='$CXXCPP $CPPFLAGS'
9558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9560 cross_compiling
=$ac_cv_prog_cxx_cross
9563 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9564 echo "configure:9565: checking for vsscanf" >&5
9565 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9566 echo $ac_n "(cached) $ac_c" 1>&6
9569 if test "$cross_compiling" = yes; then
9570 wx_cv_func_vsscanf
=no
9573 cat > conftest.
$ac_ext <<EOF
9574 #line 9575 "configure"
9575 #include "confdefs.h"
9577 extern "C" void exit(int);
9583 int try_vsscanf(const char *format, ...)
9586 va_start(ap, format);
9588 vsscanf("17", format, ap);
9596 try_vsscanf("%d", &i);
9597 return i == 17 ? 0 : 1;
9601 if { (eval echo configure
:9602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9604 cat >> confdefs.h
<<\EOF
9605 #define HAVE_VSSCANF 1
9608 wx_cv_func_vsscanf
=yes
9611 echo "configure: failed program was:" >&5
9612 cat conftest.
$ac_ext >&5
9614 wx_cv_func_vsscanf
=no
9622 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9625 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9626 ac_cpp
='$CPP $CPPFLAGS'
9627 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9628 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9629 cross_compiling
=$ac_cv_prog_cc_cross
9632 for ac_func
in vfork
9634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9635 echo "configure:9636: checking for $ac_func" >&5
9636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9637 echo $ac_n "(cached) $ac_c" 1>&6
9639 cat > conftest.
$ac_ext <<EOF
9640 #line 9641 "configure"
9641 #include "confdefs.h"
9642 /* System header to define __stub macros and hopefully few prototypes,
9643 which can conflict with char $ac_func(); below. */
9645 /* Override any gcc2 internal prototype to avoid an error. */
9646 /* We use char because int might match the return type of a gcc2
9647 builtin and then its argument prototype would still apply. */
9652 /* The GNU C library defines this for functions which it implements
9653 to always fail with ENOSYS. Some functions are actually named
9654 something starting with __ and the normal name is an alias. */
9655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9663 if { (eval echo configure
:9664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9665 eval "ac_cv_func_$ac_func=yes"
9667 echo "configure: failed program was:" >&5
9668 cat conftest.
$ac_ext >&5
9670 eval "ac_cv_func_$ac_func=no"
9675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9676 echo "$ac_t""yes" 1>&6
9677 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9678 cat >> confdefs.h
<<EOF
9679 #define $ac_tr_func 1
9683 echo "$ac_t""no" 1>&6
9689 for ac_func
in nanosleep
9691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9692 echo "configure:9693: checking for $ac_func" >&5
9693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9694 echo $ac_n "(cached) $ac_c" 1>&6
9696 cat > conftest.
$ac_ext <<EOF
9697 #line 9698 "configure"
9698 #include "confdefs.h"
9699 /* System header to define __stub macros and hopefully few prototypes,
9700 which can conflict with char $ac_func(); below. */
9702 /* Override any gcc2 internal prototype to avoid an error. */
9703 /* We use char because int might match the return type of a gcc2
9704 builtin and then its argument prototype would still apply. */
9709 /* The GNU C library defines this for functions which it implements
9710 to always fail with ENOSYS. Some functions are actually named
9711 something starting with __ and the normal name is an alias. */
9712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9720 if { (eval echo configure
:9721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9722 eval "ac_cv_func_$ac_func=yes"
9724 echo "configure: failed program was:" >&5
9725 cat conftest.
$ac_ext >&5
9727 eval "ac_cv_func_$ac_func=no"
9732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9733 echo "$ac_t""yes" 1>&6
9734 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9735 cat >> confdefs.h
<<EOF
9736 #define $ac_tr_func 1
9738 cat >> confdefs.h
<<\EOF
9739 #define HAVE_NANOSLEEP 1
9743 echo "$ac_t""no" 1>&6
9744 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9745 echo "configure:9746: checking for nanosleep in -lposix4" >&5
9746 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9748 echo $ac_n "(cached) $ac_c" 1>&6
9750 ac_save_LIBS
="$LIBS"
9751 LIBS
="-lposix4 $LIBS"
9752 cat > conftest.
$ac_ext <<EOF
9753 #line 9754 "configure"
9754 #include "confdefs.h"
9755 /* Override any gcc2 internal prototype to avoid an error. */
9756 /* We use char because int might match the return type of a gcc2
9757 builtin and then its argument prototype would still apply. */
9764 if { (eval echo configure
:9765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9766 eval "ac_cv_lib_$ac_lib_var=yes"
9768 echo "configure: failed program was:" >&5
9769 cat conftest.
$ac_ext >&5
9771 eval "ac_cv_lib_$ac_lib_var=no"
9774 LIBS
="$ac_save_LIBS"
9777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9778 echo "$ac_t""yes" 1>&6
9780 cat >> confdefs.h
<<\EOF
9781 #define HAVE_NANOSLEEP 1
9784 POSIX4_LINK
="-lposix4"
9787 echo "$ac_t""no" 1>&6
9789 for ac_func
in usleep
9791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9792 echo "configure:9793: checking for $ac_func" >&5
9793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9794 echo $ac_n "(cached) $ac_c" 1>&6
9796 cat > conftest.
$ac_ext <<EOF
9797 #line 9798 "configure"
9798 #include "confdefs.h"
9799 /* System header to define __stub macros and hopefully few prototypes,
9800 which can conflict with char $ac_func(); below. */
9802 /* Override any gcc2 internal prototype to avoid an error. */
9803 /* We use char because int might match the return type of a gcc2
9804 builtin and then its argument prototype would still apply. */
9809 /* The GNU C library defines this for functions which it implements
9810 to always fail with ENOSYS. Some functions are actually named
9811 something starting with __ and the normal name is an alias. */
9812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9820 if { (eval echo configure
:9821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9822 eval "ac_cv_func_$ac_func=yes"
9824 echo "configure: failed program was:" >&5
9825 cat conftest.
$ac_ext >&5
9827 eval "ac_cv_func_$ac_func=no"
9832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9833 echo "$ac_t""yes" 1>&6
9834 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9835 cat >> confdefs.h
<<EOF
9836 #define $ac_tr_func 1
9838 cat >> confdefs.h
<<\EOF
9839 #define HAVE_USLEEP 1
9843 echo "$ac_t""no" 1>&6
9844 echo "configure: warning: wxSleep() function will not work" 1>&2
9856 for ac_func
in uname gethostname
9858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9859 echo "configure:9860: checking for $ac_func" >&5
9860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9861 echo $ac_n "(cached) $ac_c" 1>&6
9863 cat > conftest.
$ac_ext <<EOF
9864 #line 9865 "configure"
9865 #include "confdefs.h"
9866 /* System header to define __stub macros and hopefully few prototypes,
9867 which can conflict with char $ac_func(); below. */
9869 /* Override any gcc2 internal prototype to avoid an error. */
9870 /* We use char because int might match the return type of a gcc2
9871 builtin and then its argument prototype would still apply. */
9876 /* The GNU C library defines this for functions which it implements
9877 to always fail with ENOSYS. Some functions are actually named
9878 something starting with __ and the normal name is an alias. */
9879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9887 if { (eval echo configure
:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9889 eval "ac_cv_func_$ac_func=yes"
9891 echo "configure: failed program was:" >&5
9892 cat conftest.
$ac_ext >&5
9894 eval "ac_cv_func_$ac_func=no"
9899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9900 echo "$ac_t""yes" 1>&6
9901 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9902 cat >> confdefs.h
<<EOF
9903 #define $ac_tr_func 1
9907 echo "$ac_t""no" 1>&6
9912 for ac_func
in inet_addr
9914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9915 echo "configure:9916: checking for $ac_func" >&5
9916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9917 echo $ac_n "(cached) $ac_c" 1>&6
9919 cat > conftest.
$ac_ext <<EOF
9920 #line 9921 "configure"
9921 #include "confdefs.h"
9922 /* System header to define __stub macros and hopefully few prototypes,
9923 which can conflict with char $ac_func(); below. */
9925 /* Override any gcc2 internal prototype to avoid an error. */
9926 /* We use char because int might match the return type of a gcc2
9927 builtin and then its argument prototype would still apply. */
9932 /* The GNU C library defines this for functions which it implements
9933 to always fail with ENOSYS. Some functions are actually named
9934 something starting with __ and the normal name is an alias. */
9935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9943 if { (eval echo configure
:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9945 eval "ac_cv_func_$ac_func=yes"
9947 echo "configure: failed program was:" >&5
9948 cat conftest.
$ac_ext >&5
9950 eval "ac_cv_func_$ac_func=no"
9955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9956 echo "$ac_t""yes" 1>&6
9957 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9958 cat >> confdefs.h
<<EOF
9959 #define $ac_tr_func 1
9963 echo "$ac_t""no" 1>&6
9967 for ac_func
in inet_aton
9969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9970 echo "configure:9971: checking for $ac_func" >&5
9971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9972 echo $ac_n "(cached) $ac_c" 1>&6
9974 cat > conftest.
$ac_ext <<EOF
9975 #line 9976 "configure"
9976 #include "confdefs.h"
9977 /* System header to define __stub macros and hopefully few prototypes,
9978 which can conflict with char $ac_func(); below. */
9980 /* Override any gcc2 internal prototype to avoid an error. */
9981 /* We use char because int might match the return type of a gcc2
9982 builtin and then its argument prototype would still apply. */
9987 /* The GNU C library defines this for functions which it implements
9988 to always fail with ENOSYS. Some functions are actually named
9989 something starting with __ and the normal name is an alias. */
9990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9998 if { (eval echo configure
:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10000 eval "ac_cv_func_$ac_func=yes"
10002 echo "configure: failed program was:" >&5
10003 cat conftest.
$ac_ext >&5
10005 eval "ac_cv_func_$ac_func=no"
10010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10011 echo "$ac_t""yes" 1>&6
10012 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10013 cat >> confdefs.h
<<EOF
10014 #define $ac_tr_func 1
10018 echo "$ac_t""no" 1>&6
10022 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
10023 echo "configure:10024: checking for inet_aton in -lresolv" >&5
10024 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
10025 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10026 echo $ac_n "(cached) $ac_c" 1>&6
10028 ac_save_LIBS
="$LIBS"
10029 LIBS
="-lresolv $LIBS"
10030 cat > conftest.
$ac_ext <<EOF
10031 #line 10032 "configure"
10032 #include "confdefs.h"
10033 /* Override any gcc2 internal prototype to avoid an error. */
10034 /* We use char because int might match the return type of a gcc2
10035 builtin and then its argument prototype would still apply. */
10042 if { (eval echo configure
:10043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10044 eval "ac_cv_lib_$ac_lib_var=yes"
10046 echo "configure: failed program was:" >&5
10047 cat conftest.
$ac_ext >&5
10049 eval "ac_cv_lib_$ac_lib_var=no"
10052 LIBS
="$ac_save_LIBS"
10055 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10056 echo "$ac_t""yes" 1>&6
10057 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10058 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10059 cat >> confdefs.h
<<EOF
10060 #define $ac_tr_lib 1
10063 LIBS
="-lresolv $LIBS"
10066 echo "$ac_t""no" 1>&6
10071 cat > confcache
<<\EOF
10072 # This file is a shell script that caches the results of configure
10073 # tests run on this system so they can be shared between configure
10074 # scripts and configure runs. It is not useful on other systems.
10075 # If it contains results you don't want to keep, you may remove or edit it.
10077 # By default, configure uses ./config.cache as the cache file,
10078 # creating it if it does not exist already. You can give configure
10079 # the --cache-file=FILE option to use a different cache file; that is
10080 # what configure does when it calls configure scripts in
10081 # subdirectories, so they share the cache.
10082 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10083 # config.status only pays attention to the cache file if you give it the
10084 # --recheck option to rerun configure.
10087 # The following way of writing the cache mishandles newlines in values,
10088 # but we know of no workaround that is simple, portable, and efficient.
10089 # So, don't put newlines in cache variables' values.
10090 # Ultrix sh set writes to stderr and can't be redirected directly,
10091 # and sets the high bit in the cache file unless we assign to the vars.
10093 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10095 # `set' does not quote correctly, so add quotes (double-quote substitution
10096 # turns \\\\ into \\, and sed turns \\ into \).
10098 -e "s/'/'\\\\''/g" \
10099 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10102 # `set' quotes correctly as required by POSIX, so do not add quotes.
10103 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10106 if cmp -s $cache_file confcache
; then
10109 if test -w $cache_file; then
10110 echo "updating cache $cache_file"
10111 cat confcache
> $cache_file
10113 echo "not updating unwritable cache $cache_file"
10120 if test "$USE_UNIX" = 1; then
10126 if test "$wxUSE_THREADS" = "yes" ; then
10127 if test "$wxUSE_WINE" = 1 ; then
10128 echo "configure: warning: Threads are not supported under WINE" 1>&2
10133 if test "$wxUSE_THREADS" = "yes" ; then
10135 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10136 echo "configure:10137: checking for pthread_create in -lpthread" >&5
10137 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10139 echo $ac_n "(cached) $ac_c" 1>&6
10141 ac_save_LIBS
="$LIBS"
10142 LIBS
="-lpthread $LIBS"
10143 cat > conftest.
$ac_ext <<EOF
10144 #line 10145 "configure"
10145 #include "confdefs.h"
10146 /* Override any gcc2 internal prototype to avoid an error. */
10147 /* We use char because int might match the return type of a gcc2
10148 builtin and then its argument prototype would still apply. */
10149 char pthread_create();
10155 if { (eval echo configure
:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10157 eval "ac_cv_lib_$ac_lib_var=yes"
10159 echo "configure: failed program was:" >&5
10160 cat conftest.
$ac_ext >&5
10162 eval "ac_cv_lib_$ac_lib_var=no"
10165 LIBS
="$ac_save_LIBS"
10168 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10169 echo "$ac_t""yes" 1>&6
10171 THREADS_OBJ
="threadpsx.lo"
10172 THREADS_LINK
="pthread"
10175 echo "$ac_t""no" 1>&6
10177 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10178 echo "configure:10179: checking for pthread_create in -lc_r" >&5
10179 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10181 echo $ac_n "(cached) $ac_c" 1>&6
10183 ac_save_LIBS
="$LIBS"
10185 cat > conftest.
$ac_ext <<EOF
10186 #line 10187 "configure"
10187 #include "confdefs.h"
10188 /* Override any gcc2 internal prototype to avoid an error. */
10189 /* We use char because int might match the return type of a gcc2
10190 builtin and then its argument prototype would still apply. */
10191 char pthread_create();
10197 if { (eval echo configure
:10198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10199 eval "ac_cv_lib_$ac_lib_var=yes"
10201 echo "configure: failed program was:" >&5
10202 cat conftest.
$ac_ext >&5
10204 eval "ac_cv_lib_$ac_lib_var=no"
10207 LIBS
="$ac_save_LIBS"
10210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10211 echo "$ac_t""yes" 1>&6
10213 THREADS_OBJ
="threadpsx.lo"
10217 echo "$ac_t""no" 1>&6
10219 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10220 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10221 echo "configure:10222: checking for sys/prctl.h" >&5
10222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10223 echo $ac_n "(cached) $ac_c" 1>&6
10225 cat > conftest.
$ac_ext <<EOF
10226 #line 10227 "configure"
10227 #include "confdefs.h"
10228 #include <sys/prctl.h>
10230 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10231 { (eval echo configure
:10232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10232 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10233 if test -z "$ac_err"; then
10235 eval "ac_cv_header_$ac_safe=yes"
10238 echo "configure: failed program was:" >&5
10239 cat conftest.
$ac_ext >&5
10241 eval "ac_cv_header_$ac_safe=no"
10245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10246 echo "$ac_t""yes" 1>&6
10248 THREADS_OBJ
="threadsgi.lo"
10251 echo "$ac_t""no" 1>&6
10261 if test -z "$THREADS_OBJ" ; then
10263 echo "configure: warning: No thread support on this system" 1>&2
10267 if test "$wxUSE_THREADS" = "yes" ; then
10269 for ac_hdr
in sched.h
10271 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10272 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10273 echo "configure:10274: checking for $ac_hdr" >&5
10274 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10275 echo $ac_n "(cached) $ac_c" 1>&6
10277 cat > conftest.
$ac_ext <<EOF
10278 #line 10279 "configure"
10279 #include "confdefs.h"
10282 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10283 { (eval echo configure
:10284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10284 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10285 if test -z "$ac_err"; then
10287 eval "ac_cv_header_$ac_safe=yes"
10290 echo "configure: failed program was:" >&5
10291 cat conftest.
$ac_ext >&5
10293 eval "ac_cv_header_$ac_safe=no"
10297 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10298 echo "$ac_t""yes" 1>&6
10299 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10300 cat >> confdefs.h
<<EOF
10301 #define $ac_tr_hdr 1
10305 echo "$ac_t""no" 1>&6
10310 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10311 echo "configure:10312: checking for sched_yield in -l$THREADS_LINK" >&5
10312 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10313 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10314 echo $ac_n "(cached) $ac_c" 1>&6
10316 ac_save_LIBS
="$LIBS"
10317 LIBS
="-l$THREADS_LINK $LIBS"
10318 cat > conftest.
$ac_ext <<EOF
10319 #line 10320 "configure"
10320 #include "confdefs.h"
10321 /* Override any gcc2 internal prototype to avoid an error. */
10322 /* We use char because int might match the return type of a gcc2
10323 builtin and then its argument prototype would still apply. */
10324 char sched_yield();
10330 if { (eval echo configure
:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10332 eval "ac_cv_lib_$ac_lib_var=yes"
10334 echo "configure: failed program was:" >&5
10335 cat conftest.
$ac_ext >&5
10337 eval "ac_cv_lib_$ac_lib_var=no"
10340 LIBS
="$ac_save_LIBS"
10343 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10344 echo "$ac_t""yes" 1>&6
10345 cat >> confdefs.h
<<\EOF
10346 #define HAVE_SCHED_YIELD 1
10350 echo "$ac_t""no" 1>&6
10351 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10352 echo "configure:10353: checking for sched_yield in -l"posix4
"" >&5
10353 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10355 echo $ac_n "(cached) $ac_c" 1>&6
10357 ac_save_LIBS
="$LIBS"
10358 LIBS
="-l"posix4
" $LIBS"
10359 cat > conftest.
$ac_ext <<EOF
10360 #line 10361 "configure"
10361 #include "confdefs.h"
10362 /* Override any gcc2 internal prototype to avoid an error. */
10363 /* We use char because int might match the return type of a gcc2
10364 builtin and then its argument prototype would still apply. */
10365 char sched_yield();
10371 if { (eval echo configure
:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10373 eval "ac_cv_lib_$ac_lib_var=yes"
10375 echo "configure: failed program was:" >&5
10376 cat conftest.
$ac_ext >&5
10378 eval "ac_cv_lib_$ac_lib_var=no"
10381 LIBS
="$ac_save_LIBS"
10384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10385 echo "$ac_t""yes" 1>&6
10386 cat >> confdefs.h
<<\EOF
10387 #define HAVE_SCHED_YIELD 1
10389 POSIX4_LINK
="-lposix4"
10391 echo "$ac_t""no" 1>&6
10392 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10400 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10401 echo "configure:10402: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10402 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10404 echo $ac_n "(cached) $ac_c" 1>&6
10406 ac_save_LIBS
="$LIBS"
10407 LIBS
="-l$THREADS_LINK $LIBS"
10408 cat > conftest.
$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10411 /* Override any gcc2 internal prototype to avoid an error. */
10412 /* We use char because int might match the return type of a gcc2
10413 builtin and then its argument prototype would still apply. */
10414 char pthread_attr_getschedpolicy();
10417 pthread_attr_getschedpolicy()
10420 if { (eval echo configure
:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10422 eval "ac_cv_lib_$ac_lib_var=yes"
10424 echo "configure: failed program was:" >&5
10425 cat conftest.
$ac_ext >&5
10427 eval "ac_cv_lib_$ac_lib_var=no"
10430 LIBS
="$ac_save_LIBS"
10433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10434 echo "$ac_t""yes" 1>&6
10435 cat >> confdefs.h
<<\EOF
10436 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10440 echo "$ac_t""no" 1>&6
10441 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10442 echo "configure:10443: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10443 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10445 echo $ac_n "(cached) $ac_c" 1>&6
10447 ac_save_LIBS
="$LIBS"
10448 LIBS
="-l"posix4
" $LIBS"
10449 cat > conftest.
$ac_ext <<EOF
10450 #line 10451 "configure"
10451 #include "confdefs.h"
10452 /* Override any gcc2 internal prototype to avoid an error. */
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char pthread_attr_getschedpolicy();
10458 pthread_attr_getschedpolicy()
10461 if { (eval echo configure
:10462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10463 eval "ac_cv_lib_$ac_lib_var=yes"
10465 echo "configure: failed program was:" >&5
10466 cat conftest.
$ac_ext >&5
10468 eval "ac_cv_lib_$ac_lib_var=no"
10471 LIBS
="$ac_save_LIBS"
10474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10475 echo "$ac_t""yes" 1>&6
10476 cat >> confdefs.h
<<\EOF
10477 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10479 POSIX4_LINK
="-lposix4"
10481 echo "$ac_t""no" 1>&6
10482 echo "configure: warning: Setting thread priority will not work" 1>&2
10490 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10491 echo "configure:10492: checking for pthread_cancel in -l$THREADS_LINK" >&5
10492 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10494 echo $ac_n "(cached) $ac_c" 1>&6
10496 ac_save_LIBS
="$LIBS"
10497 LIBS
="-l$THREADS_LINK $LIBS"
10498 cat > conftest.
$ac_ext <<EOF
10499 #line 10500 "configure"
10500 #include "confdefs.h"
10501 /* Override any gcc2 internal prototype to avoid an error. */
10502 /* We use char because int might match the return type of a gcc2
10503 builtin and then its argument prototype would still apply. */
10504 char pthread_cancel();
10510 if { (eval echo configure
:10511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10512 eval "ac_cv_lib_$ac_lib_var=yes"
10514 echo "configure: failed program was:" >&5
10515 cat conftest.
$ac_ext >&5
10517 eval "ac_cv_lib_$ac_lib_var=no"
10520 LIBS
="$ac_save_LIBS"
10523 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10524 echo "$ac_t""yes" 1>&6
10525 cat >> confdefs.h
<<\EOF
10526 #define HAVE_PTHREAD_CANCEL 1
10530 echo "$ac_t""no" 1>&6
10531 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10535 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10536 echo "configure:10537: checking for pthread_cleanup_push/pop" >&5
10537 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10538 echo $ac_n "(cached) $ac_c" 1>&6
10541 cat > conftest.
$ac_ext <<EOF
10542 #line 10543 "configure"
10543 #include "confdefs.h"
10544 #include <pthread.h>
10547 pthread_cleanup_push(NULL, NULL);
10548 pthread_cleanup_pop(0);
10552 if { (eval echo configure
:10553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10555 wx_cv_func_pthread_cleanup_push
=yes
10556 cat >> confdefs.h
<<\EOF
10557 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10562 echo "configure: failed program was:" >&5
10563 cat conftest.
$ac_ext >&5
10566 wx_cv_func_pthread_cleanup_push
=no
10573 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10575 THREADS_LINK
="-l$THREADS_LINK"
10580 if test "$wxUSE_THREADS" = "yes"; then
10581 cat >> confdefs.h
<<\EOF
10582 #define wxUSE_THREADS 1
10586 CFLAGS
="${CFLAGS} -D_REENTRANT"
10587 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10592 if test "$WXGTK12" = 1 ; then
10593 cat >> confdefs.h
<<EOF
10594 #define __WXGTK12__ $WXGTK12
10599 if test "$WXWINE" = 1 ; then
10600 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10603 if test "$wxUSE_CYGWIN" = 1 ; then
10604 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10609 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10614 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10615 wxUSE_DEBUG_INFO
=yes
10619 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10620 cat >> confdefs.h
<<\EOF
10624 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10626 if test "$wxUSE_GTK" = 1 ; then
10627 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10631 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10632 cat >> confdefs.h
<<\EOF
10633 #define wxUSE_MEMORY_TRACING 1
10636 cat >> confdefs.h
<<\EOF
10637 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10643 if test "$wxUSE_DMALLOC" = "yes" ; then
10644 DMALLOC_LINK
="-ldmalloc"
10648 if test "$wxUSE_PROFILE" = "yes" ; then
10653 if test "$GCC" = yes ; then
10654 if test "$wxUSE_NO_RTTI" = "yes" ; then
10655 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10657 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10658 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10660 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10661 CFLAGS
="${CFLAGS} -fpermissive"
10662 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10664 if test "$wxUSE_NO_DEPS" = "no" ; then
10665 DEP_INFO_FLAGS
="-MMD"
10670 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10671 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10672 if test "$wxUSE_OPTIMISE" = "no" ; then
10675 if test "$GCC" = yes ; then
10678 i586
-*-*|i686
-*-* )
10679 OPTIMISE
="${OPTIMISE} "
10689 if test "$wxUSE_ZLIB" = "yes" ; then
10690 cat >> confdefs.h
<<\EOF
10691 #define wxUSE_ZLIB 1
10694 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10698 if test "$wxUSE_LIBPNG" = "yes" ; then
10699 cat >> confdefs.h
<<\EOF
10700 #define wxUSE_LIBPNG 1
10703 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10708 if test "$wxUSE_LIBJPEG" = "yes" ; then
10709 cat >> confdefs.h
<<\EOF
10710 #define wxUSE_LIBJPEG 1
10713 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10716 if test "$wxUSE_OPENGL" = "yes"; then
10717 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10718 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10719 echo "configure:10720: checking for GL/gl.h" >&5
10720 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10721 echo $ac_n "(cached) $ac_c" 1>&6
10723 cat > conftest.
$ac_ext <<EOF
10724 #line 10725 "configure"
10725 #include "confdefs.h"
10728 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10729 { (eval echo configure
:10730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10730 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10731 if test -z "$ac_err"; then
10733 eval "ac_cv_header_$ac_safe=yes"
10736 echo "configure: failed program was:" >&5
10737 cat conftest.
$ac_ext >&5
10739 eval "ac_cv_header_$ac_safe=no"
10743 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10744 echo "$ac_t""yes" 1>&6
10746 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10747 echo "configure:10748: checking for glInitNames in -lGL" >&5
10748 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10750 echo $ac_n "(cached) $ac_c" 1>&6
10752 ac_save_LIBS
="$LIBS"
10753 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10754 cat > conftest.
$ac_ext <<EOF
10755 #line 10756 "configure"
10756 #include "confdefs.h"
10757 /* Override any gcc2 internal prototype to avoid an error. */
10758 /* We use char because int might match the return type of a gcc2
10759 builtin and then its argument prototype would still apply. */
10760 char glInitNames();
10766 if { (eval echo configure
:10767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10768 eval "ac_cv_lib_$ac_lib_var=yes"
10770 echo "configure: failed program was:" >&5
10771 cat conftest.
$ac_ext >&5
10773 eval "ac_cv_lib_$ac_lib_var=no"
10776 LIBS
="$ac_save_LIBS"
10779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10780 echo "$ac_t""yes" 1>&6
10783 cat >> confdefs.h
<<\EOF
10784 #define wxUSE_OPENGL 1
10787 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10790 echo "$ac_t""no" 1>&6
10792 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10793 echo "configure:10794: checking for glInitNames in -lMesaGL" >&5
10794 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10796 echo $ac_n "(cached) $ac_c" 1>&6
10798 ac_save_LIBS
="$LIBS"
10799 LIBS
="-lMesaGL $LIBS"
10800 cat > conftest.
$ac_ext <<EOF
10801 #line 10802 "configure"
10802 #include "confdefs.h"
10803 /* Override any gcc2 internal prototype to avoid an error. */
10804 /* We use char because int might match the return type of a gcc2
10805 builtin and then its argument prototype would still apply. */
10806 char glInitNames();
10812 if { (eval echo configure
:10813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10814 eval "ac_cv_lib_$ac_lib_var=yes"
10816 echo "configure: failed program was:" >&5
10817 cat conftest.
$ac_ext >&5
10819 eval "ac_cv_lib_$ac_lib_var=no"
10822 LIBS
="$ac_save_LIBS"
10825 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10826 echo "$ac_t""yes" 1>&6
10828 OPENGL_LINK
="-lMesaGL"
10829 cat >> confdefs.h
<<\EOF
10830 #define wxUSE_OPENGL 1
10833 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10836 echo "$ac_t""no" 1>&6
10845 echo "$ac_t""no" 1>&6
10852 if test "$wxUSE_GUI" = "yes"; then
10853 cat >> confdefs.h
<<\EOF
10854 #define wxUSE_GUI 1
10859 cat >> confdefs.h
<<\EOF
10860 #define wxUSE_NOGUI 1
10866 if test "$wxUSE_UNIX" = "yes"; then
10867 cat >> confdefs.h
<<\EOF
10868 #define wxUSE_UNIX 1
10874 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10875 cat >> confdefs.h
<<\EOF
10876 #define wxUSE_APPLE_IEEE 1
10881 if test "$wxUSE_TIMEDATE" = "yes"; then
10882 cat >> confdefs.h
<<\EOF
10883 #define wxUSE_TIMEDATE 1
10886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10889 if test "$wxUSE_WAVE" = "yes"; then
10890 cat >> confdefs.h
<<\EOF
10891 #define wxUSE_WAVE 1
10896 if test "$wxUSE_FILE" = "yes"; then
10897 cat >> confdefs.h
<<\EOF
10898 #define wxUSE_FILE 1
10903 if test "$wxUSE_FS_INET" = "yes"; then
10904 cat >> confdefs.h
<<\EOF
10905 #define wxUSE_FS_INET 1
10910 if test "$wxUSE_FS_ZIP" = "yes"; then
10911 cat >> confdefs.h
<<\EOF
10912 #define wxUSE_FS_ZIP 1
10917 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10918 cat >> confdefs.h
<<\EOF
10919 #define wxUSE_ZIPSTREAM 1
10924 if test "$wxUSE_BUSYINFO" = "yes"; then
10925 cat >> confdefs.h
<<\EOF
10926 #define wxUSE_BUSYINFO 1
10931 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10932 cat >> confdefs.h
<<\EOF
10933 #define wxUSE_STD_IOSTREAM 1
10938 if test "$wxUSE_TEXTFILE" = "yes"; then
10939 if test "$wxUSE_FILE" != "yes"; then
10940 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10942 cat >> confdefs.h
<<\EOF
10943 #define wxUSE_TEXTFILE 1
10949 if test "$wxUSE_CONFIG" = "yes" ; then
10950 if test "$wxUSE_TEXTFILE" != "yes"; then
10951 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10953 cat >> confdefs.h
<<\EOF
10954 #define wxUSE_CONFIG 1
10957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10961 if test "$wxUSE_INTL" = "yes" ; then
10962 if test "$wxUSE_FILE" != "yes"; then
10963 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10965 cat >> confdefs.h
<<\EOF
10966 #define wxUSE_INTL 1
10969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10973 if test "$wxUSE_LOG" = "yes"; then
10974 cat >> confdefs.h
<<\EOF
10975 #define wxUSE_LOG 1
10980 if test "$wxUSE_LONGLONG" = "yes"; then
10981 cat >> confdefs.h
<<\EOF
10982 #define wxUSE_LONGLONG 1
10987 if test "$wxUSE_SOCKETS" = "yes" ; then
10988 if test "$wxUSE_THREADS" = "yes" ; then
10989 cat >> confdefs.h
<<\EOF
10990 #define wxUSE_SOCKETS 1
10993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10994 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10996 echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2
11001 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11002 cat >> confdefs.h
<<\EOF
11003 #define wxUSE_DIALUP_MANAGER 1
11008 if test "$wxUSE_STREAMS" = "yes" ; then
11009 cat >> confdefs.h
<<\EOF
11010 #define wxUSE_STREAMS 1
11015 if test "$wxUSE_SERIAL" = "yes" ; then
11016 cat >> confdefs.h
<<\EOF
11017 #define wxUSE_SERIAL 1
11023 if test "$wxUSE_SOCKETS" = "yes"; then
11026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11027 ac_cpp
='$CXXCPP $CPPFLAGS'
11028 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11029 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11030 cross_compiling
=$ac_cv_prog_cxx_cross
11032 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11033 echo "configure:11034: checking the type of the third argument of getsockname" >&5
11034 cat > conftest.
$ac_ext <<EOF
11035 #line 11036 "configure"
11036 #include "confdefs.h"
11037 #include <sys/socket.h>
11039 socklen_t len; getsockname(0, NULL, &len);
11042 if { (eval echo configure
:11043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11044 cat >> confdefs.h
<<\EOF
11045 #define SOCKLEN_T socklen_t
11047 echo "$ac_t""socklen_t" 1>&6
11049 echo "configure: failed program was:" >&5
11050 cat conftest.
$ac_ext >&5
11052 cat > conftest.
$ac_ext <<EOF
11053 #line 11054 "configure"
11054 #include "confdefs.h"
11055 #include <sys/socket.h>
11057 size_t len; getsockname(0, NULL, &len);
11060 if { (eval echo configure
:11061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11062 cat >> confdefs.h
<<\EOF
11063 #define SOCKLEN_T size_t
11065 echo "$ac_t""size_t" 1>&6
11067 echo "configure: failed program was:" >&5
11068 cat conftest.
$ac_ext >&5
11070 cat > conftest.
$ac_ext <<EOF
11071 #line 11072 "configure"
11072 #include "confdefs.h"
11073 #include <sys/socket.h>
11075 int len; getsockname(0, NULL, &len);
11078 if { (eval echo configure
:11079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11080 cat >> confdefs.h
<<\EOF
11081 #define SOCKLEN_T int
11083 echo "$ac_t""int" 1>&6
11085 echo "configure: failed program was:" >&5
11086 cat conftest.
$ac_ext >&5
11088 echo "$ac_t""unknown" 1>&6
11099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11100 ac_cpp
='$CPP $CPPFLAGS'
11101 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11102 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11103 cross_compiling
=$ac_cv_prog_cc_cross
11108 if test "$wxUSE_JOYSTICK" = 1; then
11109 for ac_hdr
in linux
/joystick.h
11111 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11112 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11113 echo "configure:11114: checking for $ac_hdr" >&5
11114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11115 echo $ac_n "(cached) $ac_c" 1>&6
11117 cat > conftest.
$ac_ext <<EOF
11118 #line 11119 "configure"
11119 #include "confdefs.h"
11122 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11123 { (eval echo configure
:11124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11124 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11125 if test -z "$ac_err"; then
11127 eval "ac_cv_header_$ac_safe=yes"
11130 echo "configure: failed program was:" >&5
11131 cat conftest.
$ac_ext >&5
11133 eval "ac_cv_header_$ac_safe=no"
11137 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11138 echo "$ac_t""yes" 1>&6
11139 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11140 cat >> confdefs.h
<<EOF
11141 #define $ac_tr_hdr 1
11145 echo "$ac_t""no" 1>&6
11149 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11150 cat >> confdefs.h
<<\EOF
11151 #define wxUSE_JOYSTICK 1
11154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11161 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11162 for ac_func
in dlopen
11164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11165 echo "configure:11166: checking for $ac_func" >&5
11166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11167 echo $ac_n "(cached) $ac_c" 1>&6
11169 cat > conftest.
$ac_ext <<EOF
11170 #line 11171 "configure"
11171 #include "confdefs.h"
11172 /* System header to define __stub macros and hopefully few prototypes,
11173 which can conflict with char $ac_func(); below. */
11174 #include <assert.h>
11175 /* Override any gcc2 internal prototype to avoid an error. */
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11182 /* The GNU C library defines this for functions which it implements
11183 to always fail with ENOSYS. Some functions are actually named
11184 something starting with __ and the normal name is an alias. */
11185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11193 if { (eval echo configure
:11194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11195 eval "ac_cv_func_$ac_func=yes"
11197 echo "configure: failed program was:" >&5
11198 cat conftest.
$ac_ext >&5
11200 eval "ac_cv_func_$ac_func=no"
11205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11206 echo "$ac_t""yes" 1>&6
11207 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11208 cat >> confdefs.h
<<EOF
11209 #define $ac_tr_func 1
11211 cat >> confdefs.h
<<\EOF
11212 #define HAVE_DLOPEN 1
11216 echo "$ac_t""no" 1>&6
11217 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11218 echo "configure:11219: checking for dlopen in -ldl" >&5
11219 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11220 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11221 echo $ac_n "(cached) $ac_c" 1>&6
11223 ac_save_LIBS
="$LIBS"
11225 cat > conftest.
$ac_ext <<EOF
11226 #line 11227 "configure"
11227 #include "confdefs.h"
11228 /* Override any gcc2 internal prototype to avoid an error. */
11229 /* We use char because int might match the return type of a gcc2
11230 builtin and then its argument prototype would still apply. */
11237 if { (eval echo configure
:11238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11239 eval "ac_cv_lib_$ac_lib_var=yes"
11241 echo "configure: failed program was:" >&5
11242 cat conftest.
$ac_ext >&5
11244 eval "ac_cv_lib_$ac_lib_var=no"
11247 LIBS
="$ac_save_LIBS"
11250 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11251 echo "$ac_t""yes" 1>&6
11252 cat >> confdefs.h
<<\EOF
11253 #define HAVE_DLOPEN 1
11257 echo "$ac_t""no" 1>&6
11263 for ac_func
in shl_load
11265 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11266 echo "configure:11267: checking for $ac_func" >&5
11267 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11268 echo $ac_n "(cached) $ac_c" 1>&6
11270 cat > conftest.
$ac_ext <<EOF
11271 #line 11272 "configure"
11272 #include "confdefs.h"
11273 /* System header to define __stub macros and hopefully few prototypes,
11274 which can conflict with char $ac_func(); below. */
11275 #include <assert.h>
11276 /* Override any gcc2 internal prototype to avoid an error. */
11277 /* We use char because int might match the return type of a gcc2
11278 builtin and then its argument prototype would still apply. */
11283 /* The GNU C library defines this for functions which it implements
11284 to always fail with ENOSYS. Some functions are actually named
11285 something starting with __ and the normal name is an alias. */
11286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11294 if { (eval echo configure
:11295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11296 eval "ac_cv_func_$ac_func=yes"
11298 echo "configure: failed program was:" >&5
11299 cat conftest.
$ac_ext >&5
11301 eval "ac_cv_func_$ac_func=no"
11306 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11307 echo "$ac_t""yes" 1>&6
11308 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11309 cat >> confdefs.h
<<EOF
11310 #define $ac_tr_func 1
11312 cat >> confdefs.h
<<\EOF
11313 #define HAVE_SHL_LOAD 1
11315 HAVE_DL_FUNCS
=1 HAVE_SHL_FUNCS
=1
11317 echo "$ac_t""no" 1>&6
11322 if test "$HAVE_DL_FUNCS" = 0; then
11323 if test "$USE_UNIX" = 1; then
11324 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11326 wxUSE_DYNLIB_CLASS
=no
11328 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11333 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11334 cat >> confdefs.h
<<\EOF
11335 #define wxUSE_DYNLIB_CLASS 1
11341 if test "$wxUSE_UNICODE" = "yes" ; then
11342 cat >> confdefs.h
<<\EOF
11343 #define wxUSE_UNICODE 1
11348 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11349 cat >> confdefs.h
<<\EOF
11350 #define wxUSE_WCSRTOMBS 1
11355 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11356 cat >> confdefs.h
<<\EOF
11357 #define wxUSE_EXPERIMENTAL_PRINTF 1
11364 if test "$wxUSE_ODBC" = "yes" ; then
11365 cat >> confdefs.h
<<\EOF
11366 #define wxUSE_ODBC 1
11369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11373 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11374 cat >> confdefs.h
<<\EOF
11375 #define wxUSE_POSTSCRIPT 1
11380 cat >> confdefs.h
<<\EOF
11381 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11385 cat >> confdefs.h
<<\EOF
11386 #define wxUSE_NORMALIZED_PS_FONTS 1
11391 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11392 cat >> confdefs.h
<<\EOF
11393 #define wxUSE_CONSTRAINTS 1
11396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11399 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11400 cat >> confdefs.h
<<\EOF
11401 #define wxUSE_MDI_ARCHITECTURE 1
11404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11407 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11408 cat >> confdefs.h
<<\EOF
11409 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11413 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11418 if test "$wxUSE_HELP" = "yes"; then
11419 cat >> confdefs.h
<<\EOF
11420 #define wxUSE_HELP 1
11423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11426 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11427 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11428 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11430 cat >> confdefs.h
<<\EOF
11431 #define wxUSE_PRINTING_ARCHITECTURE 1
11435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11438 if test "$wxUSE_PROLOGIO" = "yes" ; then
11439 cat >> confdefs.h
<<\EOF
11440 #define wxUSE_PROLOGIO 1
11445 if test "$wxUSE_RESOURCES" = "yes" ; then
11446 if test "$wxUSE_PROLOGIO" = "yes" ; then
11447 cat >> confdefs.h
<<\EOF
11448 #define wxUSE_RESOURCES 1
11451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11453 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11457 if test "$wxUSE_X_RESOURCES" = "yes"; then
11458 cat >> confdefs.h
<<\EOF
11459 #define wxUSE_X_RESOURCES 1
11465 if test "$wxUSE_IPC" = "yes"; then
11466 cat >> confdefs.h
<<\EOF
11467 #define wxUSE_IPC 1
11472 if test "$wxUSE_CLIPBOARD" = "yes"; then
11473 cat >> confdefs.h
<<\EOF
11474 #define wxUSE_CLIPBOARD 1
11479 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11480 if test "$wxUSE_GTK" = 1; then
11481 if test "$WXGTK12" != 1; then
11482 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11483 wxUSE_DRAG_AND_DROP
=no
11487 if test "$wxUSE_MOTIF" = 1; then
11488 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11489 wxUSE_DRAG_AND_DROP
=no
11492 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11493 cat >> confdefs.h
<<\EOF
11494 #define wxUSE_DRAG_AND_DROP 1
11497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11501 if test "$wxUSE_SPLINES" = "yes" ; then
11502 cat >> confdefs.h
<<\EOF
11503 #define wxUSE_SPLINES 1
11509 if test "$wxUSE_ACCEL" = "yes"; then
11510 cat >> confdefs.h
<<\EOF
11511 #define wxUSE_ACCEL 1
11516 if test "$wxUSE_CARET" = "yes"; then
11517 cat >> confdefs.h
<<\EOF
11518 #define wxUSE_CARET 1
11521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11524 if test "$wxUSE_COMBOBOX" = "yes"; then
11525 cat >> confdefs.h
<<\EOF
11526 #define wxUSE_COMBOBOX 1
11531 if test "$wxUSE_CHOICE" = "yes"; then
11532 cat >> confdefs.h
<<\EOF
11533 #define wxUSE_CHOICE 1
11538 if test "$wxUSE_BMPBUTTON" = "yes"; then
11539 cat >> confdefs.h
<<\EOF
11540 #define wxUSE_BMPBUTTON 1
11545 if test "$wxUSE_CHECKBOX" = "yes"; then
11546 cat >> confdefs.h
<<\EOF
11547 #define wxUSE_CHECKBOX 1
11552 if test "$wxUSE_CHECKLST" = "yes"; then
11553 cat >> confdefs.h
<<\EOF
11554 #define wxUSE_CHECKLISTBOX 1
11557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11560 if test "$wxUSE_GAUGE" = "yes"; then
11561 cat >> confdefs.h
<<\EOF
11562 #define wxUSE_GAUGE 1
11567 if test "$wxUSE_GRID" = "yes"; then
11568 cat >> confdefs.h
<<\EOF
11569 #define wxUSE_GRID 1
11572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11575 if test "$wxUSE_IMAGLIST" = "yes"; then
11576 cat >> confdefs.h
<<\EOF
11577 #define wxUSE_IMAGLIST 1
11582 if test "$wxUSE_LISTBOX" = "yes"; then
11583 cat >> confdefs.h
<<\EOF
11584 #define wxUSE_LISTBOX 1
11589 if test "$wxUSE_LISTCTRL" = "yes"; then
11590 if test "$wxUSE_IMAGLIST" = "yes"; then
11591 cat >> confdefs.h
<<\EOF
11592 #define wxUSE_LISTCTRL 1
11595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11597 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11601 if test "$wxUSE_NOTEBOOK" = "yes"; then
11602 cat >> confdefs.h
<<\EOF
11603 #define wxUSE_NOTEBOOK 1
11606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11609 if test "$wxUSE_RADIOBOX" = "yes"; then
11610 cat >> confdefs.h
<<\EOF
11611 #define wxUSE_RADIOBOX 1
11616 if test "$wxUSE_RADIOBTN" = "yes"; then
11617 cat >> confdefs.h
<<\EOF
11618 #define wxUSE_RADIOBTN 1
11623 if test "$wxUSE_SASH" = "yes"; then
11624 cat >> confdefs.h
<<\EOF
11625 #define wxUSE_SASH 1
11628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11631 if test "$wxUSE_SCROLLBAR" = "yes"; then
11632 cat >> confdefs.h
<<\EOF
11633 #define wxUSE_SCROLLBAR 1
11636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11639 if test "$wxUSE_SLIDER" = "yes"; then
11640 cat >> confdefs.h
<<\EOF
11641 #define wxUSE_SLIDER 1
11646 if test "$wxUSE_SPINBTN" = "yes"; then
11647 cat >> confdefs.h
<<\EOF
11648 #define wxUSE_SPINBTN 1
11653 if test "$wxUSE_SPLITTER" = "yes"; then
11654 cat >> confdefs.h
<<\EOF
11655 #define wxUSE_SPLITTER 1
11658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11661 if test "$wxUSE_STATBMP" = "yes"; then
11662 cat >> confdefs.h
<<\EOF
11663 #define wxUSE_STATBMP 1
11668 if test "$wxUSE_STATBOX" = "yes"; then
11669 cat >> confdefs.h
<<\EOF
11670 #define wxUSE_STATBOX 1
11675 if test "$wxUSE_STATLINE" = "yes"; then
11676 if test "$wxUSE_WINE" = 1 ; then
11677 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11679 cat >> confdefs.h
<<\EOF
11680 #define wxUSE_STATLINE 1
11686 if test "$wxUSE_STATUSBAR" = "yes"; then
11687 cat >> confdefs.h
<<\EOF
11688 #define wxUSE_STATUSBAR 1
11693 if test "$wxUSE_TABDIALOG" = "yes"; then
11694 cat >> confdefs.h
<<\EOF
11695 #define wxUSE_TAB_DIALOG 1
11698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11701 if test "$wxUSE_TOOLBAR" = "yes"; then
11702 cat >> confdefs.h
<<\EOF
11703 #define wxUSE_TOOLBAR 1
11706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11709 if test "$wxUSE_TOOLTIPS" = "yes"; then
11710 if test "$wxUSE_MOTIF" = 1; then
11711 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11713 if test "$wxUSE_WINE" = 1; then
11714 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11716 cat >> confdefs.h
<<\EOF
11717 #define wxUSE_TOOLTIPS 1
11724 if test "$wxUSE_TREECTRL" = "yes"; then
11725 if test "$wxUSE_IMAGLIST" = "yes"; then
11726 cat >> confdefs.h
<<\EOF
11727 #define wxUSE_TREECTRL 1
11730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11732 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11738 if test "$wxUSE_METAFILE" = "yes"; then
11739 cat >> confdefs.h
<<\EOF
11740 #define wxUSE_METAFILE 1
11745 if test "$wxUSE_DIRDLG" = "yes"; then
11746 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11747 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11749 if test "$wxUSE_TREECTRL" != "yes"; then
11750 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11752 cat >> confdefs.h
<<\EOF
11753 #define wxUSE_DIRDLG 1
11760 if test "$wxUSE_TEXTDLG" = "yes"; then
11761 cat >> confdefs.h
<<\EOF
11762 #define wxUSE_TEXTDLG 1
11767 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11769 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11771 cat >> confdefs.h
<<\EOF
11772 #define wxUSE_STARTUP_TIPS 1
11778 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11779 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11780 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11782 cat >> confdefs.h
<<\EOF
11783 #define wxUSE_PROGRESSDLG 1
11789 if test "$wxUSE_MINIFRAME" = "yes"; then
11790 cat >> confdefs.h
<<\EOF
11791 #define wxUSE_MINIFRAME 1
11794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11797 if test "$wxUSE_HTML" = "yes"; then
11798 cat >> confdefs.h
<<\EOF
11799 #define wxUSE_HTML 1
11802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11803 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11806 if test "$wxUSE_VALIDATORS" = "yes"; then
11807 cat >> confdefs.h
<<\EOF
11808 #define wxUSE_VALIDATORS 1
11811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11814 if test "$wxUSE_GIF" = "yes" ; then
11815 cat >> confdefs.h
<<\EOF
11816 #define wxUSE_GIF 1
11821 if test "$wxUSE_PCX" = "yes" ; then
11822 cat >> confdefs.h
<<\EOF
11823 #define wxUSE_PCX 1
11828 if test "$wxUSE_PNM" = "yes" ; then
11829 cat >> confdefs.h
<<\EOF
11830 #define wxUSE_PNM 1
11836 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11838 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $GUILIBS"
11840 LIBS
="\${top_builddir}/src/${TOOLKIT_DIR}/${WX_LIBRARY_NAME} $EXTRA_LIBS"
11842 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11844 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11846 if test "$GXX" = yes ; then
11847 CXXWARNINGS
="-Wall"
11849 EXTRA_CFLAGS
="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES"
11851 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
11852 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
11853 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
11855 if test "$wxUSE_GUI" = "yes"; then
11857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11858 forty fractal image wxpoem"
11861 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11911 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11912 echo "configure:11913: checking whether ${MAKE-make} sets \${MAKE}" >&5
11913 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11914 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11917 cat > conftestmake
<<\EOF
11919 @
echo 'ac_maketemp="${MAKE}"'
11921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11922 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11923 if test -n "$ac_maketemp"; then
11924 eval ac_cv_prog_make_
${ac_make}_set
=yes
11926 eval ac_cv_prog_make_
${ac_make}_set
=no
11930 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11931 echo "$ac_t""yes" 1>&6
11934 echo "$ac_t""no" 1>&6
11935 SET_MAKE
="MAKE=${MAKE-make}"
11941 if test "${TOOLKIT_DIR}" = "msw" ; then
11942 GL_TOOLKIT_DIR
="win"
11944 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
11949 cat > confcache
<<\EOF
11950 # This file is a shell script that caches the results of configure
11951 # tests run on this system so they can be shared between configure
11952 # scripts and configure runs. It is not useful on other systems.
11953 # If it contains results you don't want to keep, you may remove or edit it.
11955 # By default, configure uses ./config.cache as the cache file,
11956 # creating it if it does not exist already. You can give configure
11957 # the --cache-file=FILE option to use a different cache file; that is
11958 # what configure does when it calls configure scripts in
11959 # subdirectories, so they share the cache.
11960 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11961 # config.status only pays attention to the cache file if you give it the
11962 # --recheck option to rerun configure.
11965 # The following way of writing the cache mishandles newlines in values,
11966 # but we know of no workaround that is simple, portable, and efficient.
11967 # So, don't put newlines in cache variables' values.
11968 # Ultrix sh set writes to stderr and can't be redirected directly,
11969 # and sets the high bit in the cache file unless we assign to the vars.
11971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11973 # `set' does not quote correctly, so add quotes (double-quote substitution
11974 # turns \\\\ into \\, and sed turns \\ into \).
11976 -e "s/'/'\\\\''/g" \
11977 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11980 # `set' quotes correctly as required by POSIX, so do not add quotes.
11981 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11984 if cmp -s $cache_file confcache
; then
11987 if test -w $cache_file; then
11988 echo "updating cache $cache_file"
11989 cat confcache
> $cache_file
11991 echo "not updating unwritable cache $cache_file"
11996 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11998 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11999 # Let make expand exec_prefix.
12000 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12002 # Any assignment to VPATH causes Sun make to only execute
12003 # the first set of double-colon rules, so remove it if not needed.
12004 # If there is a colon in the path, we need to keep it.
12005 if test "x$srcdir" = x.
; then
12006 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12009 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12011 DEFS
=-DHAVE_CONFIG_H
12013 # Without the "./", some shells look in PATH for config.status.
12014 : ${CONFIG_STATUS=./config.status}
12016 echo creating
$CONFIG_STATUS
12017 rm -f $CONFIG_STATUS
12018 cat > $CONFIG_STATUS <<EOF
12020 # Generated automatically by configure.
12021 # Run this file to recreate the current configuration.
12022 # This directory was configured as follows,
12023 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12025 # $0 $ac_configure_args
12027 # Compiler output produced by configure, useful for debugging
12028 # configure, is in ./config.log if it exists.
12030 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12033 case "\$ac_option" in
12034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12035 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12036 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12037 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12038 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12040 -help | --help | --hel | --he | --h)
12041 echo "\$ac_cs_usage"; exit 0 ;;
12042 *) echo "\$ac_cs_usage"; exit 1 ;;
12046 ac_given_srcdir=$srcdir
12047 ac_given_INSTALL="$INSTALL"
12049 trap 'rm -fr `echo "
12056 samples/bombs/Makefile
12057 samples/caret/Makefile
12058 samples/checklst/Makefile
12059 samples/config/Makefile
12060 samples/controls/Makefile
12061 samples/dialogs/Makefile
12062 samples/docview/Makefile
12063 samples/docvwmdi/Makefile
12064 samples/dnd/Makefile
12065 samples/drawing/Makefile
12066 samples/dynamic/Makefile
12067 samples/image/Makefile
12068 samples/internat/Makefile
12069 samples/layout/Makefile
12070 samples/listctrl/Makefile
12071 samples/mdi/Makefile
12072 samples/minifram/Makefile
12073 samples/minimal/Makefile
12074 samples/notebook/Makefile
12075 samples/printing/Makefile
12076 samples/proplist/Makefile
12077 samples/sashtest/Makefile
12078 samples/scroll/Makefile
12079 samples/splitter/Makefile
12080 samples/text/Makefile
12081 samples/thread/Makefile
12082 samples/toolbar/Makefile
12083 samples/treectrl/Makefile
12084 samples/typetest/Makefile
12085 samples/validate/Makefile
12086 samples/wxpoem/Makefile
12087 samples/wxsocket/Makefile
12088 samples/wizard/Makefile
12089 samples/html/Makefile
12090 samples/html/about/Makefile
12091 samples/html/help/Makefile
12092 samples/html/printing/Makefile
12093 samples/html/test/Makefile
12094 samples/html/zip/Makefile
12095 samples/html/virtual/Makefile
12096 samples/html/widget/Makefile
12098 utils/wxMMedia2/Makefile
12099 utils/wxMMedia2/lib/Makefile
12100 utils/wxMMedia2/sample/Makefile
12101 utils/glcanvas/Makefile
12102 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12104 utils/ogl/src/Makefile
12105 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12107 cat >> $CONFIG_STATUS <<EOF
12109 # Protect against being on the right side of a sed subst in config.status.
12110 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12111 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12115 s%@CFLAGS@%$CFLAGS%g
12116 s%@CPPFLAGS@%$CPPFLAGS%g
12117 s%@CXXFLAGS@%$CXXFLAGS%g
12118 s%@FFLAGS@%$FFLAGS%g
12120 s%@LDFLAGS@%$LDFLAGS%g
12122 s%@exec_prefix@%$exec_prefix%g
12123 s%@prefix@%$prefix%g
12124 s%@program_transform_name@%$program_transform_name%g
12125 s%@bindir@%$bindir%g
12126 s%@sbindir@%$sbindir%g
12127 s%@libexecdir@%$libexecdir%g
12128 s%@datadir@%$datadir%g
12129 s%@sysconfdir@%$sysconfdir%g
12130 s%@sharedstatedir@%$sharedstatedir%g
12131 s%@localstatedir@%$localstatedir%g
12132 s%@libdir@%$libdir%g
12133 s%@includedir@%$includedir%g
12134 s%@oldincludedir@%$oldincludedir%g
12135 s%@infodir@%$infodir%g
12136 s%@mandir@%$mandir%g
12138 s%@host_alias@%$host_alias%g
12139 s%@host_cpu@%$host_cpu%g
12140 s%@host_vendor@%$host_vendor%g
12141 s%@host_os@%$host_os%g
12142 s%@target@%$target%g
12143 s%@target_alias@%$target_alias%g
12144 s%@target_cpu@%$target_cpu%g
12145 s%@target_vendor@%$target_vendor%g
12146 s%@target_os@%$target_os%g
12148 s%@build_alias@%$build_alias%g
12149 s%@build_cpu@%$build_cpu%g
12150 s%@build_vendor@%$build_vendor%g
12151 s%@build_os@%$build_os%g
12155 s%@CXXCPP@%$CXXCPP%g
12156 s%@RANLIB@%$RANLIB%g
12158 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12159 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12160 s%@INSTALL_DATA@%$INSTALL_DATA%g
12164 s%@LEXLIB@%$LEXLIB%g
12166 s%@GTK_CONFIG@%$GTK_CONFIG%g
12167 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12168 s%@GTK_LIBS@%$GTK_LIBS%g
12169 s%@X_CFLAGS@%$X_CFLAGS%g
12170 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12171 s%@X_LIBS@%$X_LIBS%g
12172 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12173 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12174 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12175 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12176 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12177 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12178 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12179 s%@WX_LIBRARY@%$WX_LIBRARY%g
12180 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12181 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12182 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12183 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12184 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12185 s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g
12186 s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g
12187 s%@SHARED_LD@%$SHARED_LD%g
12188 s%@PIC_FLAG@%$PIC_FLAG%g
12189 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12190 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12191 s%@TOOLKIT@%$TOOLKIT%g
12192 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12193 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12194 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12195 s%@GUIHEADERS@%$GUIHEADERS%g
12196 s%@GUIOBJS@%$GUIOBJS%g
12197 s%@COMMONOBJS@%$COMMONOBJS%g
12198 s%@GENERICOBJS@%$GENERICOBJS%g
12199 s%@GUIDEPS@%$GUIDEPS%g
12200 s%@COMMONDEPS@%$COMMONDEPS%g
12201 s%@GENERICDEPS@%$GENERICDEPS%g
12202 s%@UNIXOBJS@%$UNIXOBJS%g
12203 s%@GUIDIST@%$GUIDIST%g
12204 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12205 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12206 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12207 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12208 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12209 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12210 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12211 s%@LD_LIBS@%$LD_LIBS%g
12212 s%@SET_MAKE@%$SET_MAKE%g
12213 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12218 cat >> $CONFIG_STATUS <<\EOF
12220 # Split the substitutions into bite-sized pieces for seds with
12221 # small command number limits, like on Digital OSF/1 and HP-UX.
12222 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12223 ac_file
=1 # Number of current file.
12224 ac_beg
=1 # First line for current file.
12225 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12228 while $ac_more_lines; do
12229 if test $ac_beg -gt 1; then
12230 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12232 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12234 if test ! -s conftest.s
$ac_file; then
12235 ac_more_lines
=false
12236 rm -f conftest.s
$ac_file
12238 if test -z "$ac_sed_cmds"; then
12239 ac_sed_cmds
="sed -f conftest.s$ac_file"
12241 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12243 ac_file
=`expr $ac_file + 1`
12245 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12248 if test -z "$ac_sed_cmds"; then
12253 cat >> $CONFIG_STATUS <<EOF
12255 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12261 samples/bombs/Makefile
12262 samples/caret/Makefile
12263 samples/checklst/Makefile
12264 samples/config/Makefile
12265 samples/controls/Makefile
12266 samples/dialogs/Makefile
12267 samples/docview/Makefile
12268 samples/docvwmdi/Makefile
12269 samples/dnd/Makefile
12270 samples/drawing/Makefile
12271 samples/dynamic/Makefile
12272 samples/image/Makefile
12273 samples/internat/Makefile
12274 samples/layout/Makefile
12275 samples/listctrl/Makefile
12276 samples/mdi/Makefile
12277 samples/minifram/Makefile
12278 samples/minimal/Makefile
12279 samples/notebook/Makefile
12280 samples/printing/Makefile
12281 samples/proplist/Makefile
12282 samples/sashtest/Makefile
12283 samples/scroll/Makefile
12284 samples/splitter/Makefile
12285 samples/text/Makefile
12286 samples/thread/Makefile
12287 samples/toolbar/Makefile
12288 samples/treectrl/Makefile
12289 samples/typetest/Makefile
12290 samples/validate/Makefile
12291 samples/wxpoem/Makefile
12292 samples/wxsocket/Makefile
12293 samples/wizard/Makefile
12294 samples/html/Makefile
12295 samples/html/about/Makefile
12296 samples/html/help/Makefile
12297 samples/html/printing/Makefile
12298 samples/html/test/Makefile
12299 samples/html/zip/Makefile
12300 samples/html/virtual/Makefile
12301 samples/html/widget/Makefile
12303 utils/wxMMedia2/Makefile
12304 utils/wxMMedia2/lib/Makefile
12305 utils/wxMMedia2/sample/Makefile
12306 utils/glcanvas/Makefile
12307 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12309 utils/ogl/src/Makefile
12312 cat >> $CONFIG_STATUS <<\EOF
12313 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12314 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12316 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12317 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12318 *) ac_file_in
="${ac_file}.in" ;;
12321 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12323 # Remove last slash and all that follows it. Not all systems have dirname.
12324 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12325 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12326 # The file is in a subdirectory.
12327 test ! -d "$ac_dir" && mkdir "$ac_dir"
12328 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12329 # A "../" for each directory in $ac_dir_suffix.
12330 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12332 ac_dir_suffix
= ac_dots
=
12335 case "$ac_given_srcdir" in
12337 if test -z "$ac_dots"; then top_srcdir
=.
12338 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12339 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12340 *) # Relative path.
12341 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12342 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12345 case "$ac_given_INSTALL" in
12346 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12347 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12350 echo creating
"$ac_file"
12352 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12354 *Makefile
*) ac_comsub
="1i\\
12355 # $configure_input" ;;
12359 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12361 s%@configure_input@%$configure_input%g
12362 s%@srcdir@%$srcdir%g
12363 s%@top_srcdir@%$top_srcdir%g
12364 s%@INSTALL@%$INSTALL%g
12365 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12369 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12370 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12372 # ac_d sets the value in "#define NAME VALUE" lines.
12373 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12374 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12377 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12378 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12379 ac_uB
='\([ ]\)%\1#\2define\3'
12382 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12383 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12384 ac_eB
='$%\1#\2define\3'
12388 if test "${CONFIG_HEADERS+set}" != set; then
12390 cat >> $CONFIG_STATUS <<EOF
12391 CONFIG_HEADERS="setup.h:setup.h.in"
12393 cat >> $CONFIG_STATUS <<\EOF
12395 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12396 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12398 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12399 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12400 *) ac_file_in
="${ac_file}.in" ;;
12403 echo creating
$ac_file
12405 rm -f conftest.frag conftest.
in conftest.out
12406 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12407 cat $ac_file_inputs > conftest.
in
12411 # Transform confdefs.h into a sed script conftest.vals that substitutes
12412 # the proper values into config.h.in to produce config.h. And first:
12413 # Protect against being on the right side of a sed subst in config.status.
12414 # Protect against being in an unquoted here document in config.status.
12415 rm -f conftest.vals
12416 cat > conftest.hdr
<<\EOF
12419 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12423 sed -n -f conftest.hdr confdefs.h > conftest.vals
12426 # This sed command replaces #undef with comments. This is necessary, for
12427 # example, in the case of _POSIX_SOURCE, which is predefined and required
12428 # on some systems where configure will not decide to define it.
12429 cat >> conftest.vals <<\EOF
12430 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12433 # Break up conftest.vals because some shells have a limit on
12434 # the size of here documents, and old seds have small limits too.
12436 rm -f conftest.tail
12439 ac_lines=`grep -c . conftest.vals
`
12440 # grep -c gives empty output for an empty file on some AIX systems.
12441 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12442 # Write a limited-size here document to conftest.frag.
12443 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12444 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12446 sed -f conftest.frag conftest.in > conftest.out
12448 mv conftest.out conftest.in
12449 ' >> $CONFIG_STATUS
12450 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12451 rm -f conftest.vals
12452 mv conftest.tail conftest.vals
12454 rm -f conftest.vals
12456 cat >> $CONFIG_STATUS <<\EOF
12457 rm -f conftest.frag conftest.h
12458 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12459 cat conftest.in >> conftest.h
12461 if cmp -s $ac_file conftest.h 2>/dev/null; then
12462 echo "$ac_file is unchanged"
12465 # Remove last slash and all that follows it. Not all systems have dirname.
12466 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12467 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12468 # The file is in a subdirectory.
12469 test ! -d "$ac_dir" && mkdir "$ac_dir"
12472 mv conftest.h $ac_file
12477 cat >> $CONFIG_STATUS <<EOF
12479 LN_S="${ac_cv_prog_LN_S}"
12480 TOOLKIT_DIR="${TOOLKIT_DIR}"
12484 cat >> $CONFIG_STATUS <<\EOF
12487 if test ! -d include; then
12490 if test ! -d include/wx; then
12493 if test ! -d include/wx/${TOOLKIT_DIR}; then
12494 mkdir include/wx/${TOOLKIT_DIR}
12496 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12500 chmod +x $CONFIG_STATUS
12501 rm -fr confdefs* $ac_clean_files
12502 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1