3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.14
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-libgif use libgif (GIF file format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-gui use GUI classes"
107 --enable-intl use internationalization system"
109 --enable-config use wxConfig (and derived) classes"
111 --enable-sockets use socket/network classes"
113 --enable-ipc use interprocess communication (wxSocket etc.)"
115 --enable-apple_ieee use the Apple IEEE codec"
117 --enable-timedate use date/time classes"
119 --enable-wave use wxWave class"
121 --enable-fraction use wxFraction class"
123 --enable-dynlib use wxLibrary class for DLL loading"
125 --enable-longlong use wxLongLong class"
127 --enable-log use logging system"
129 --enable-streams use wxStream etc classes"
131 --enable-file use wxFile classes"
133 --enable-textfile use wxTextFile classes"
135 --enable-unicode compile wxString with Unicode support"
137 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
139 --enable-wxprintfv use wxWindows implementation of vprintf()"
141 --enable-joystick compile in joystick support (Linux only)"
143 --enable-std_iostreams use standard C++ stream classes"
145 --enable-fs_inet use virtual HTTP/FTP filesystems"
147 --enable-fs_zip use virtual ZIP filesystems"
149 --enable-zipstream use wxZipInputStream"
151 --enable-threads use threads"
153 --enable-serial use class serialization"
155 --enable-docview use document view architecture"
157 --enable-help use help (using external browser at present)"
159 --enable-constraints use layout-constraints system"
161 --enable-printarch use printing architecture"
163 --enable-mdi use multiple document interface architecture"
165 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
167 --enable-prologio use Prolog IO library"
169 --enable-resources use wxWindows resources"
171 --enable-xresources use X resources for save (default for gtk+)"
173 --enable-clipboard use wxClipboard classes"
175 --enable-dnd use Drag'n'Drop classes"
177 --enable-wxtree make wxTree library"
179 --enable-controls use all usual controls"
181 --enable-accel use accelerators"
183 --enable-caret use wxCaret class"
185 --enable-bmpbutton use wxBitmapButton class"
187 --enable-checkbox use wxCheckBox class"
189 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
191 --enable-choice use wxChoice class"
193 --enable-combobox use wxComboBox classes"
195 --enable-gauge use wxGauge class"
197 --enable-grid use wxGrid class"
199 --enable-imaglist use wxImageList class"
201 --enable-listbox use wxListBox class"
203 --enable-listctrl use wxListCtrl class"
205 --enable-notebook use wxNotebook class"
207 --enable-radiobox use wxRadioBox class"
209 --enable-radiobtn use wxRadioButton class"
211 --enable-sash use wxSashWindow class"
213 --enable-scrollbar use wxScrollBar class and scrollable windows"
215 --enable-slider use wxSlider class"
217 --enable-spinbtn use wxSpinButton class"
219 --enable-splitter use wxSplitterWindow class"
221 --enable-statbmp use wxStaticBitmap class"
223 --enable-statbox use wxStaticBox class"
225 --enable-statline use wxStaticLine class"
227 --enable-statusbar use wxStatusBar class"
229 --enable-tabdialog use wxTabControl class"
231 --enable-toolbar use wxToolBar class"
233 --enable-treectrl use wxTreeCtrl class"
235 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
237 --enable-dirdlg use wxDirDialog"
239 --enable-textdlg use wxTextDialog"
241 --enable-tipdlg use startup tips"
243 --enable-progressdlg use wxProgressDialog"
245 --enable-miniframe use wxMiniFrame class"
247 --enable-html use wxHTML sub-library"
249 --enable-tooltips use wxToolTip class"
251 --enable-splines use spline drawing code"
253 --enable-validators use wxValidator and derived classes"
255 --enable-busyinfo use wxBusyInfo"
257 --with-x use the X Window System"
259 # Initialize some variables set by options.
260 # The variables have the same names as the options, with
261 # dashes changed to underlines.
263 cache_file
=.
/config.cache
272 program_transform_name
=s
,x
,x
,
280 bindir
='${exec_prefix}/bin'
281 sbindir
='${exec_prefix}/sbin'
282 libexecdir
='${exec_prefix}/libexec'
283 datadir
='${prefix}/share'
284 sysconfdir
='${prefix}/etc'
285 sharedstatedir
='${prefix}/com'
286 localstatedir
='${prefix}/var'
287 libdir
='${exec_prefix}/lib'
288 includedir
='${prefix}/include'
289 oldincludedir
='/usr/include'
290 infodir
='${prefix}/info'
291 mandir
='${prefix}/man'
293 # Initialize some other variables.
296 SHELL
=${CONFIG_SHELL-/bin/sh}
297 # Maximum number of lines to put in a shell here document.
304 # If the previous option needs an argument, assign it.
305 if test -n "$ac_prev"; then
306 eval "$ac_prev=\$ac_option"
312 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
316 # Accept the important Cygnus configure options, so we can diagnose typos.
320 -bindir | --bindir | --bindi | --bind | --bin | --bi)
322 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
323 bindir
="$ac_optarg" ;;
325 -build | --build | --buil | --bui | --bu)
327 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
328 build
="$ac_optarg" ;;
330 -cache-file | --cache-file | --cache-fil | --cache-fi \
331 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
332 ac_prev
=cache_file
;;
333 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
334 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
335 cache_file
="$ac_optarg" ;;
337 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
339 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
341 datadir
="$ac_optarg" ;;
343 -disable-* | --disable-*)
344 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
345 # Reject names that are not valid shell variable names.
346 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
347 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
349 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
350 eval "enable_${ac_feature}=no" ;;
352 -enable-* | --enable-*)
353 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
354 # Reject names that are not valid shell variable names.
355 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
356 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
358 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
363 eval "enable_${ac_feature}='$ac_optarg'" ;;
365 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
366 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
367 | --exec | --exe | --ex)
368 ac_prev
=exec_prefix
;;
369 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
370 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
371 | --exec=* | --exe=* | --ex=*)
372 exec_prefix
="$ac_optarg" ;;
374 -gas | --gas | --ga | --g)
375 # Obsolete; use --with-gas.
378 -help | --help | --hel | --he)
379 # Omit some internal or obsolete options to make the list less imposing.
380 # This message is too long to be a string in the A/UX 3.1 sh.
382 Usage: configure [options] [host]
383 Options: [defaults in brackets after descriptions]
385 --cache-file=FILE cache test results in FILE
386 --help print this message
387 --no-create do not create output files
388 --quiet, --silent do not print \`checking...' messages
389 --version print the version of autoconf that created configure
390 Directory and file names:
391 --prefix=PREFIX install architecture-independent files in PREFIX
393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
395 --bindir=DIR user executables in DIR [EPREFIX/bin]
396 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
397 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
398 --datadir=DIR read-only architecture-independent data in DIR
400 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
401 --sharedstatedir=DIR modifiable architecture-independent data in DIR
403 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
404 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
405 --includedir=DIR C header files in DIR [PREFIX/include]
406 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
407 --infodir=DIR info documentation in DIR [PREFIX/info]
408 --mandir=DIR man documentation in DIR [PREFIX/man]
409 --srcdir=DIR find the sources in DIR [configure dir or ..]
410 --program-prefix=PREFIX prepend PREFIX to installed program names
411 --program-suffix=SUFFIX append SUFFIX to installed program names
412 --program-transform-name=PROGRAM
413 run sed PROGRAM on installed program names
417 --build=BUILD configure for building on BUILD [BUILD=HOST]
418 --host=HOST configure for HOST [guessed]
419 --target=TARGET configure for TARGET [TARGET=HOST]
420 Features and packages:
421 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
422 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
423 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
424 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
425 --x-includes=DIR X include files are in DIR
426 --x-libraries=DIR X library files are in DIR
428 if test -n "$ac_help"; then
429 echo "--enable and --with options recognized:$ac_help"
433 -host | --host | --hos | --ho)
435 -host=* | --host=* | --hos=* | --ho=*)
438 -includedir | --includedir | --includedi | --included | --include \
439 | --includ | --inclu | --incl | --inc)
440 ac_prev
=includedir
;;
441 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
442 | --includ=* | --inclu=* | --incl=* | --inc=*)
443 includedir
="$ac_optarg" ;;
445 -infodir | --infodir | --infodi | --infod | --info | --inf)
447 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
448 infodir
="$ac_optarg" ;;
450 -libdir | --libdir | --libdi | --libd)
452 -libdir=* | --libdir=* | --libdi=* | --libd=*)
453 libdir
="$ac_optarg" ;;
455 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
456 | --libexe | --libex | --libe)
457 ac_prev
=libexecdir
;;
458 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
459 | --libexe=* | --libex=* | --libe=*)
460 libexecdir
="$ac_optarg" ;;
462 -localstatedir | --localstatedir | --localstatedi | --localstated \
463 | --localstate | --localstat | --localsta | --localst \
464 | --locals | --local | --loca | --loc | --lo)
465 ac_prev
=localstatedir
;;
466 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
467 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
468 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
469 localstatedir
="$ac_optarg" ;;
471 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
473 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
474 mandir
="$ac_optarg" ;;
477 # Obsolete; use --without-fp.
480 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
485 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
488 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
489 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
490 | --oldin | --oldi | --old | --ol | --o)
491 ac_prev
=oldincludedir
;;
492 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
493 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
494 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
495 oldincludedir
="$ac_optarg" ;;
497 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
499 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
500 prefix
="$ac_optarg" ;;
502 -program-prefix | --program-prefix | --program-prefi | --program-pref \
503 | --program-pre | --program-pr | --program-p)
504 ac_prev
=program_prefix
;;
505 -program-prefix=* | --program-prefix=* | --program-prefi=* \
506 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
507 program_prefix
="$ac_optarg" ;;
509 -program-suffix | --program-suffix | --program-suffi | --program-suff \
510 | --program-suf | --program-su | --program-s)
511 ac_prev
=program_suffix
;;
512 -program-suffix=* | --program-suffix=* | --program-suffi=* \
513 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
514 program_suffix
="$ac_optarg" ;;
516 -program-transform-name | --program-transform-name \
517 | --program-transform-nam | --program-transform-na \
518 | --program-transform-n | --program-transform- \
519 | --program-transform | --program-transfor \
520 | --program-transfo | --program-transf \
521 | --program-trans | --program-tran \
522 | --progr-tra | --program-tr | --program-t)
523 ac_prev
=program_transform_name
;;
524 -program-transform-name=* | --program-transform-name=* \
525 | --program-transform-nam=* | --program-transform-na=* \
526 | --program-transform-n=* | --program-transform-=* \
527 | --program-transform=* | --program-transfor=* \
528 | --program-transfo=* | --program-transf=* \
529 | --program-trans=* | --program-tran=* \
530 | --progr-tra=* | --program-tr=* | --program-t=*)
531 program_transform_name
="$ac_optarg" ;;
533 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
534 | -silent | --silent | --silen | --sile | --sil)
537 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
539 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
541 sbindir
="$ac_optarg" ;;
543 -sharedstatedir | --sharedstatedir | --sharedstatedi \
544 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
545 | --sharedst | --shareds | --shared | --share | --shar \
547 ac_prev
=sharedstatedir
;;
548 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
549 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
550 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
552 sharedstatedir
="$ac_optarg" ;;
554 -site | --site | --sit)
556 -site=* | --site=* | --sit=*)
559 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
561 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
562 srcdir
="$ac_optarg" ;;
564 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
565 | --syscon | --sysco | --sysc | --sys | --sy)
566 ac_prev
=sysconfdir
;;
567 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
568 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
569 sysconfdir
="$ac_optarg" ;;
571 -target | --target | --targe | --targ | --tar | --ta | --t)
573 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
574 target
="$ac_optarg" ;;
576 -v | -verbose | --verbose | --verbos | --verbo | --verb)
579 -version | --version | --versio | --versi | --vers)
580 echo "configure generated by autoconf version 2.14"
584 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
585 # Reject names that are not valid shell variable names.
586 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
587 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
589 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 eval "with_${ac_package}='$ac_optarg'" ;;
596 -without-* | --without-*)
597 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
598 # Reject names that are not valid shell variable names.
599 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
600 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
602 ac_package
=`echo $ac_package| sed 's/-/_/g'`
603 eval "with_${ac_package}=no" ;;
606 # Obsolete; use --with-x.
609 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
610 | --x-incl | --x-inc | --x-in | --x-i)
611 ac_prev
=x_includes
;;
612 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
613 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
614 x_includes
="$ac_optarg" ;;
616 -x-libraries | --x-libraries | --x-librarie | --x-librari \
617 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
618 ac_prev
=x_libraries
;;
619 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
620 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
621 x_libraries
="$ac_optarg" ;;
623 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
627 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
628 echo "configure: warning: $ac_option: invalid host type" 1>&2
630 if test "x$nonopt" != xNONE
; then
631 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
639 if test -n "$ac_prev"; then
640 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
643 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
645 # File descriptor usage:
648 # 2 errors and warnings
649 # 3 some systems may open it to /dev/tty
650 # 4 used on the Kubota Titan
651 # 6 checking for... messages and results
652 # 5 compiler messages saved in config.log
653 if test "$silent" = yes; then
661 This file contains any messages produced by compilers while
662 running configure, to aid debugging if configure makes a mistake.
665 # Strip out --no-create and --no-recursion so they do not pile up.
666 # Also quote any args containing shell metacharacters.
671 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
672 | --no-cr | --no-c) ;;
673 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
674 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
675 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
676 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
677 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
682 # Only set these to C if already set. These must not be set unconditionally
683 # because not all systems understand e.g. LANG=C (notably SCO).
684 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
685 # Non-C LC_CTYPE values break the ctype check.
686 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
687 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
688 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
689 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
692 rm -rf conftest
* confdefs.h
693 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
696 # A filename unique to this package, relative to the directory that
697 # configure is in, which we can look for to find out if srcdir is correct.
698 ac_unique_file
=wx
-config.
in
700 # Find the source files, if location was not specified.
701 if test -z "$srcdir"; then
702 ac_srcdir_defaulted
=yes
703 # Try the directory containing this script, then its parent.
705 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
706 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
708 if test ! -r $srcdir/$ac_unique_file; then
712 ac_srcdir_defaulted
=no
714 if test ! -r $srcdir/$ac_unique_file; then
715 if test "$ac_srcdir_defaulted" = yes; then
716 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
718 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
721 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
723 # Prefer explicitly selected file to automatically selected ones.
724 if test -z "$CONFIG_SITE"; then
725 if test "x$prefix" != xNONE
; then
726 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
728 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
731 for ac_site_file
in $CONFIG_SITE; do
732 if test -r "$ac_site_file"; then
733 echo "loading site script $ac_site_file"
738 if test -r "$cache_file"; then
739 echo "loading cache $cache_file"
742 echo "creating cache $cache_file"
747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
748 ac_cpp
='$CPP $CPPFLAGS'
749 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
750 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
751 cross_compiling
=$ac_cv_prog_cc_cross
755 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
756 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
757 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
764 ac_n
= ac_c
='\c' ac_t
=
770 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
771 if test -f $ac_dir/install-sh; then
773 ac_install_sh
="$ac_aux_dir/install-sh -c"
775 elif test -f $ac_dir/install.sh
; then
777 ac_install_sh
="$ac_aux_dir/install.sh -c"
781 if test -z "$ac_aux_dir"; then
782 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
784 ac_config_guess
=$ac_aux_dir/config.guess
785 ac_config_sub
=$ac_aux_dir/config.sub
786 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
789 # Do some error checking and defaulting for the host and target type.
791 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
794 # 1. You are not allowed to specify --host, --target, and nonopt at the
796 # 2. Host defaults to nonopt.
797 # 3. If nonopt is not specified, then host defaults to the current host,
798 # as determined by config.guess.
799 # 4. Target and build default to nonopt.
800 # 5. If nonopt is not specified, then target and build default to host.
802 # The aliases save the names the user supplied, while $host etc.
803 # will get canonicalized.
804 case $host---$target---$nonopt in
805 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
806 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
810 # Make sure we can run config.sub.
811 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
812 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
815 echo $ac_n "checking host system type""... $ac_c" 1>&6
816 echo "configure:817: checking host system type" >&5
819 case "$host_alias" in
823 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
824 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
826 *) host_alias
=$nonopt ;;
830 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
831 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
832 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
833 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
834 echo "$ac_t""$host" 1>&6
836 echo $ac_n "checking target system type""... $ac_c" 1>&6
837 echo "configure:838: checking target system type" >&5
840 case "$target_alias" in
843 NONE
) target_alias
=$host_alias ;;
844 *) target_alias
=$nonopt ;;
848 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
849 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
850 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
851 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
852 echo "$ac_t""$target" 1>&6
854 echo $ac_n "checking build system type""... $ac_c" 1>&6
855 echo "configure:856: checking build system type" >&5
858 case "$build_alias" in
861 NONE
) build_alias
=$host_alias ;;
862 *) build_alias
=$nonopt ;;
866 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
867 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
868 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
869 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
870 echo "$ac_t""$build" 1>&6
872 test "$host_alias" != "$target_alias" &&
873 test "$program_prefix$program_suffix$program_transform_name" = \
875 program_prefix
=${target_alias}-
879 WX_MAJOR_VERSION_NUMBER
=2
880 WX_MINOR_VERSION_NUMBER
=1
886 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
888 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
889 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
890 WX_REVISION
=$WX_INTERFACE_AGE
891 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
914 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
917 DEFAULT_wxUSE_MOTIF
=0
921 DEFAULT_DEFAULT_wxUSE_GTK
=0
922 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
923 DEFAULT_DEFAULT_wxUSE_MSW
=0
924 DEFAULT_DEFAULT_wxUSE_WINE
=0
929 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
930 cat >> confdefs.h
<<\EOF
937 cat >> confdefs.h
<<\EOF
942 if test "x$TMP" = "xalpha"; then
944 cat >> confdefs.h
<<\EOF
949 DEFAULT_DEFAULT_wxUSE_GTK
=1
951 *-*-irix5* | *-*-irix6* )
954 cat >> confdefs.h
<<\EOF
958 cat >> confdefs.h
<<\EOF
962 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
968 cat >> confdefs.h
<<\EOF
972 cat >> confdefs.h
<<\EOF
973 #define __SOLARIS__ 1
976 cat >> confdefs.h
<<\EOF
980 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
986 cat >> confdefs.h
<<\EOF
990 cat >> confdefs.h
<<\EOF
994 cat >> confdefs.h
<<\EOF
998 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1000 *-*-freebsd* | *-*-netbsd*)
1003 cat >> confdefs.h
<<\EOF
1004 #define __FREEBSD__ 1
1007 cat >> confdefs.h
<<\EOF
1011 DEFAULT_DEFAULT_wxUSE_GTK
=1
1016 cat >> confdefs.h
<<\EOF
1020 cat >> confdefs.h
<<\EOF
1024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1029 cat >> confdefs.h
<<\EOF
1033 cat >> confdefs.h
<<\EOF
1037 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1042 cat >> confdefs.h
<<\EOF
1046 cat >> confdefs.h
<<\EOF
1050 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1056 cat >> confdefs.h
<<\EOF
1060 cat >> confdefs.h
<<\EOF
1064 cat >> confdefs.h
<<\EOF
1068 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1073 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1081 cat >> confdefs.h
<<\EOF
1082 #define __WINDOWS__ 1
1085 cat >> confdefs.h
<<\EOF
1086 #define __GNUWIN32__ 1
1089 cat >> confdefs.h
<<\EOF
1090 #define WINVER 0x0400
1093 DEFAULT_DEFAULT_wxUSE_MSW
=1
1097 cat >> confdefs.h
<<\EOF
1101 cat >> confdefs.h
<<\EOF
1105 cat >> confdefs.h
<<\EOF
1106 #define __WINDOWS__ 1
1109 cat >> confdefs.h
<<\EOF
1110 #define __GNUWIN32__ 1
1113 cat >> confdefs.h
<<\EOF
1114 #define WINVER 0x0400
1117 DEFAULT_DEFAULT_wxUSE_MSW
=1
1121 cat >> confdefs.h
<<\EOF
1128 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1131 if test "$USE_UNIX" = 1 ; then
1133 cat >> confdefs.h
<<\EOF
1137 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1138 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1141 if test "$USE_LINUX" = 1; then
1142 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1143 echo "configure:1144: checking for gettext in -lc" >&5
1144 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1148 ac_save_LIBS
="$LIBS"
1150 cat > conftest.
$ac_ext <<EOF
1151 #line 1152 "configure"
1152 #include "confdefs.h"
1153 /* Override any gcc2 internal prototype to avoid an error. */
1154 /* We use char because int might match the return type of a gcc2
1155 builtin and then its argument prototype would still apply. */
1162 if { (eval echo configure
:1163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1164 eval "ac_cv_lib_$ac_lib_var=yes"
1166 echo "configure: failed program was:" >&5
1167 cat conftest.
$ac_ext >&5
1169 eval "ac_cv_lib_$ac_lib_var=no"
1172 LIBS
="$ac_save_LIBS"
1175 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1176 echo "$ac_t""yes" 1>&6
1177 cat >> confdefs.h
<<\EOF
1178 #define wxHAVE_GLIBC2 1
1182 echo "$ac_t""no" 1>&6
1190 wx_arg_cache_file
="configarg.cache"
1191 echo "loading argument cache $wx_arg_cache_file"
1192 rm -f ${wx_arg_cache_file}.tmp
1193 touch ${wx_arg_cache_file}.tmp
1194 touch ${wx_arg_cache_file}
1198 if test $DEBUG_CONFIGURE = 1; then
1199 DEFAULT_wxUSE_THREADS
=yes
1201 DEFAULT_wxUSE_SHARED
=yes
1202 DEFAULT_wxUSE_OPTIMISE
=yes
1203 DEFAULT_wxUSE_PROFILE
=no
1204 DEFAULT_wxUSE_NO_RTTI
=no
1205 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1206 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1207 DEFAULT_wxUSE_DEBUG_INFO
=yes
1208 DEFAULT_wxUSE_DEBUG_GDB
=yes
1209 DEFAULT_wxUSE_MEM_TRACING
=no
1210 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1211 DEFAULT_wxUSE_DMALLOC
=no
1212 DEFAULT_wxUSE_APPLE_IEEE
=no
1214 DEFAULT_wxUSE_LOG
=yes
1216 DEFAULT_wxUSE_GUI
=yes
1218 DEFAULT_wxUSE_ZLIB
=no
1219 DEFAULT_wxUSE_LIBPNG
=no
1220 DEFAULT_wxUSE_LIBGIF
=no
1221 DEFAULT_wxUSE_LIBJPEG
=no
1222 DEFAULT_wxUSE_ODBC
=no
1224 DEFAULT_wxUSE_STD_IOSTREAM
=no
1225 DEFAULT_wxUSE_FILE
=no
1226 DEFAULT_wxUSE_TEXTFILE
=no
1227 DEFAULT_wxUSE_TIMEDATE
=no
1228 DEFAULT_wxUSE_WAVE
=no
1229 DEFAULT_wxUSE_INTL
=no
1230 DEFAULT_wxUSE_CONFIG
=no
1231 DEFAULT_wxUSE_STREAMS
=no
1232 DEFAULT_wxUSE_SOCKETS
=no
1233 DEFAULT_wxUSE_SERIAL
=no
1234 DEFAULT_wxUSE_JOYSTICK
=no
1235 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1236 DEFAULT_wxUSE_LONGLONG
=no
1238 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1239 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1240 DEFAULT_wxUSE_POSTSCRIPT
=no
1242 DEFAULT_wxUSE_X_RESOURCES
=no
1243 DEFAULT_wxUSE_CLIPBOARD
=no
1244 DEFAULT_wxUSE_TOOLTIPS
=no
1245 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1246 DEFAULT_wxUSE_SPLINES
=no
1248 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1249 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1250 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1252 DEFAULT_wxUSE_PROLOGIO
=no
1253 DEFAULT_wxUSE_RESOURCES
=no
1254 DEFAULT_wxUSE_CONSTRAINTS
=no
1255 DEFAULT_wxUSE_IPC
=no
1256 DEFAULT_wxUSE_HELP
=no
1257 DEFAULT_wxUSE_WXTREE
=no
1258 DEFAULT_wxUSE_METAFILE
=no
1260 DEFAULT_wxUSE_COMMONDLGS
=no
1261 DEFAULT_wxUSE_DIRDLG
=no
1262 DEFAULT_wxUSE_TEXTDLG
=no
1263 DEFAULT_wxUSE_STARTUP_TIPS
=no
1264 DEFAULT_wxUSE_PROGRESSDLG
=no
1265 DEFAULT_wxUSE_MINIFRAME
=no
1266 DEFAULT_wxUSE_HTML
=no
1267 DEFAULT_wxUSE_FS_INET
=no
1268 DEFAULT_wxUSE_FS_ZIP
=no
1269 DEFAULT_wxUSE_BUSYINFO
=no
1270 DEFAULT_wxUSE_ZIPSTREAM
=no
1271 DEFAULT_wxUSE_VALIDATORS
=yes
1273 DEFAULT_wxUSE_ACCEL
=no
1274 DEFAULT_wxUSE_CARET
=no
1275 DEFAULT_wxUSE_BMPBUTTON
=no
1276 DEFAULT_wxUSE_CHECKBOX
=no
1277 DEFAULT_wxUSE_CHECKLST
=no
1278 DEFAULT_wxUSE_CHOICE
=yes
1279 DEFAULT_wxUSE_COMBOBOX
=no
1280 DEFAULT_wxUSE_GAUGE
=no
1281 DEFAULT_wxUSE_GRID
=no
1282 DEFAULT_wxUSE_IMAGLIST
=no
1283 DEFAULT_wxUSE_LISTBOX
=no
1284 DEFAULT_wxUSE_LISTCTRL
=no
1285 DEFAULT_wxUSE_NOTEBOOK
=no
1286 DEFAULT_wxUSE_RADIOBOX
=no
1287 DEFAULT_wxUSE_RADIOBTN
=no
1288 DEFAULT_wxUSE_SASH
=no
1289 DEFAULT_wxUSE_SCROLLBAR
=no
1290 DEFAULT_wxUSE_SLIDER
=no
1291 DEFAULT_wxUSE_SPINBTN
=no
1292 DEFAULT_wxUSE_SPLITTER
=no
1293 DEFAULT_wxUSE_STATBMP
=no
1294 DEFAULT_wxUSE_STATBOX
=no
1295 DEFAULT_wxUSE_STATLINE
=no
1296 DEFAULT_wxUSE_STATUSBAR
=yes
1297 DEFAULT_wxUSE_TABDIALOG
=no
1298 DEFAULT_wxUSE_TOOLBAR
=no
1299 DEFAULT_wxUSE_TREECTRL
=no
1301 DEFAULT_wxUSE_UNICODE
=no
1302 DEFAULT_wxUSE_WCSRTOMBS
=no
1304 DEFAULT_wxUSE_THREADS
=yes
1306 DEFAULT_wxUSE_SHARED
=yes
1307 DEFAULT_wxUSE_OPTIMISE
=yes
1308 DEFAULT_wxUSE_PROFILE
=no
1309 DEFAULT_wxUSE_NO_RTTI
=no
1310 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1311 DEFAULT_wxUSE_DEBUG_FLAG
=no
1312 DEFAULT_wxUSE_DEBUG_INFO
=no
1313 DEFAULT_wxUSE_DEBUG_GDB
=no
1314 DEFAULT_wxUSE_MEM_TRACING
=no
1315 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1316 DEFAULT_wxUSE_DMALLOC
=no
1317 DEFAULT_wxUSE_APPLE_IEEE
=yes
1319 DEFAULT_wxUSE_LOG
=yes
1321 DEFAULT_wxUSE_GUI
=yes
1323 DEFAULT_wxUSE_ZLIB
=yes
1324 DEFAULT_wxUSE_LIBPNG
=yes
1325 DEFAULT_wxUSE_LIBGIF
=yes
1326 DEFAULT_wxUSE_LIBJPEG
=yes
1327 DEFAULT_wxUSE_ODBC
=no
1329 DEFAULT_wxUSE_STD_IOSTREAM
=no
1330 DEFAULT_wxUSE_FILE
=yes
1331 DEFAULT_wxUSE_TEXTFILE
=yes
1332 DEFAULT_wxUSE_TIMEDATE
=yes
1333 DEFAULT_wxUSE_WAVE
=no
1334 DEFAULT_wxUSE_INTL
=yes
1335 DEFAULT_wxUSE_CONFIG
=yes
1336 DEFAULT_wxUSE_STREAMS
=yes
1337 DEFAULT_wxUSE_SOCKETS
=yes
1338 DEFAULT_wxUSE_SERIAL
=yes
1339 DEFAULT_wxUSE_JOYSTICK
=yes
1340 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1341 DEFAULT_wxUSE_LONGLONG
=no
1343 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1344 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1345 DEFAULT_wxUSE_POSTSCRIPT
=yes
1347 DEFAULT_wxUSE_X_RESOURCES
=no
1348 DEFAULT_wxUSE_CLIPBOARD
=yes
1349 DEFAULT_wxUSE_TOOLTIPS
=yes
1350 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1351 DEFAULT_wxUSE_SPLINES
=yes
1353 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1354 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1355 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1357 DEFAULT_wxUSE_PROLOGIO
=yes
1358 DEFAULT_wxUSE_RESOURCES
=yes
1359 DEFAULT_wxUSE_CONSTRAINTS
=yes
1360 DEFAULT_wxUSE_IPC
=yes
1361 DEFAULT_wxUSE_HELP
=yes
1362 DEFAULT_wxUSE_WXTREE
=yes
1363 DEFAULT_wxUSE_METAFILE
=yes
1365 DEFAULT_wxUSE_COMMONDLGS
=yes
1366 DEFAULT_wxUSE_DIRDLG
=yes
1367 DEFAULT_wxUSE_TEXTDLG
=yes
1368 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1369 DEFAULT_wxUSE_PROGRESSDLG
=yes
1370 DEFAULT_wxUSE_MINIFRAME
=yes
1371 DEFAULT_wxUSE_HTML
=yes
1372 DEFAULT_wxUSE_FS_INET
=yes
1373 DEFAULT_wxUSE_FS_ZIP
=yes
1374 DEFAULT_wxUSE_BUSYINFO
=yes
1375 DEFAULT_wxUSE_ZIPSTREAM
=yes
1376 DEFAULT_wxUSE_VALIDATORS
=yes
1378 DEFAULT_wxUSE_ACCEL
=yes
1379 DEFAULT_wxUSE_CARET
=yes
1380 DEFAULT_wxUSE_BMPBUTTON
=yes
1381 DEFAULT_wxUSE_CHECKBOX
=yes
1382 DEFAULT_wxUSE_CHECKLST
=yes
1383 DEFAULT_wxUSE_CHOICE
=yes
1384 DEFAULT_wxUSE_COMBOBOX
=yes
1385 DEFAULT_wxUSE_GAUGE
=yes
1386 DEFAULT_wxUSE_GRID
=yes
1387 DEFAULT_wxUSE_IMAGLIST
=yes
1388 DEFAULT_wxUSE_LISTBOX
=yes
1389 DEFAULT_wxUSE_LISTCTRL
=yes
1390 DEFAULT_wxUSE_NOTEBOOK
=yes
1391 DEFAULT_wxUSE_RADIOBOX
=yes
1392 DEFAULT_wxUSE_RADIOBTN
=yes
1393 DEFAULT_wxUSE_SASH
=yes
1394 DEFAULT_wxUSE_SCROLLBAR
=yes
1395 DEFAULT_wxUSE_SLIDER
=yes
1396 DEFAULT_wxUSE_SPINBTN
=yes
1397 DEFAULT_wxUSE_SPLITTER
=yes
1398 DEFAULT_wxUSE_STATBMP
=yes
1399 DEFAULT_wxUSE_STATBOX
=yes
1400 DEFAULT_wxUSE_STATLINE
=yes
1401 DEFAULT_wxUSE_STATUSBAR
=yes
1402 DEFAULT_wxUSE_TABDIALOG
=no
1403 DEFAULT_wxUSE_TOOLBAR
=yes
1404 DEFAULT_wxUSE_TREECTRL
=yes
1406 DEFAULT_wxUSE_UNICODE
=no
1407 DEFAULT_wxUSE_WCSRTOMBS
=no
1412 for toolkit
in `echo $ALL_TOOLKITS`; do
1413 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1414 if test "x$LINE" != x
; then
1415 has_toolkit_in_cache
=1
1416 eval "DEFAULT_$LINE"
1417 eval "CACHE_$toolkit=1"
1421 # Check whether --with-gtk or --without-gtk was given.
1422 if test "${with_gtk+set}" = set; then
1424 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1427 # Check whether --with-motif or --without-motif was given.
1428 if test "${with_motif+set}" = set; then
1429 withval
="$with_motif"
1430 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1433 # Check whether --with-wine or --without-wine was given.
1434 if test "${with_wine+set}" = set; then
1435 withval
="$with_wine"
1436 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1439 # Check whether --with-cygwin or --without-cygwin was given.
1440 if test "${with_cygwin+set}" = set; then
1441 withval
="$with_cygwin"
1442 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1445 # Check whether --with-mingw or --without-mingw was given.
1446 if test "${with_mingw+set}" = set; then
1447 withval
="$with_mingw"
1448 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1452 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1453 if test "${with_gtk_prefix+set}" = set; then
1454 withval
="$with_gtk_prefix"
1455 gtk_config_prefix
="$withval"
1457 gtk_config_prefix
=""
1460 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1461 if test "${with_gtk_exec_prefix+set}" = set; then
1462 withval
="$with_gtk_exec_prefix"
1463 gtk_config_exec_prefix
="$withval"
1465 gtk_config_exec_prefix
=""
1470 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1471 echo "configure:1472: checking "for --with-dmalloc"" >&5
1473 # Check whether --with-dmalloc or --without-dmalloc was given.
1474 if test "${with_dmalloc+set}" = set; then
1475 withval
="$with_dmalloc"
1477 if test "$withval" = yes; then
1478 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1480 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1485 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1486 if test "x$LINE" != x
; then
1487 eval "DEFAULT_$LINE"
1492 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1497 eval "$ac_cv_use_dmalloc"
1498 if test "$no_cache" != 1; then
1499 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1502 if test "$wxUSE_DMALLOC" = yes; then
1503 echo "$ac_t""yes" 1>&6
1505 echo "$ac_t""no" 1>&6
1509 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1510 echo "configure:1511: checking "for --with-zlib"" >&5
1512 # Check whether --with-zlib or --without-zlib was given.
1513 if test "${with_zlib+set}" = set; then
1514 withval
="$with_zlib"
1516 if test "$withval" = yes; then
1517 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1519 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1524 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1525 if test "x$LINE" != x
; then
1526 eval "DEFAULT_$LINE"
1531 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1536 eval "$ac_cv_use_zlib"
1537 if test "$no_cache" != 1; then
1538 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1541 if test "$wxUSE_ZLIB" = yes; then
1542 echo "$ac_t""yes" 1>&6
1544 echo "$ac_t""no" 1>&6
1548 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1549 echo "configure:1550: checking "for --with-libpng"" >&5
1551 # Check whether --with-libpng or --without-libpng was given.
1552 if test "${with_libpng+set}" = set; then
1553 withval
="$with_libpng"
1555 if test "$withval" = yes; then
1556 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1558 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1563 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1564 if test "x$LINE" != x
; then
1565 eval "DEFAULT_$LINE"
1570 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1575 eval "$ac_cv_use_libpng"
1576 if test "$no_cache" != 1; then
1577 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1580 if test "$wxUSE_LIBPNG" = yes; then
1581 echo "$ac_t""yes" 1>&6
1583 echo "$ac_t""no" 1>&6
1587 echo $ac_n "checking "for --with-libgif"""... $ac_c" 1>&6
1588 echo "configure:1589: checking "for --with-libgif"" >&5
1590 # Check whether --with-libgif or --without-libgif was given.
1591 if test "${with_libgif+set}" = set; then
1592 withval
="$with_libgif"
1594 if test "$withval" = yes; then
1595 ac_cv_use_libgif
='wxUSE_LIBGIF=yes'
1597 ac_cv_use_libgif
='wxUSE_LIBGIF=no'
1602 LINE
=`grep "wxUSE_LIBGIF" ${wx_arg_cache_file}`
1603 if test "x$LINE" != x
; then
1604 eval "DEFAULT_$LINE"
1609 ac_cv_use_libgif
='wxUSE_LIBGIF='$DEFAULT_wxUSE_LIBGIF
1614 eval "$ac_cv_use_libgif"
1615 if test "$no_cache" != 1; then
1616 echo $ac_cv_use_libgif >> ${wx_arg_cache_file}.tmp
1619 if test "$wxUSE_LIBGIF" = yes; then
1620 echo "$ac_t""yes" 1>&6
1622 echo "$ac_t""no" 1>&6
1626 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1627 echo "configure:1628: checking "for --with-libjpeg"" >&5
1629 # Check whether --with-libjpeg or --without-libjpeg was given.
1630 if test "${with_libjpeg+set}" = set; then
1631 withval
="$with_libjpeg"
1633 if test "$withval" = yes; then
1634 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1636 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1641 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1642 if test "x$LINE" != x
; then
1643 eval "DEFAULT_$LINE"
1648 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1653 eval "$ac_cv_use_libjpeg"
1654 if test "$no_cache" != 1; then
1655 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1658 if test "$wxUSE_LIBJPEG" = yes; then
1659 echo "$ac_t""yes" 1>&6
1661 echo "$ac_t""no" 1>&6
1665 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1666 echo "configure:1667: checking "for --with-opengl"" >&5
1668 # Check whether --with-opengl or --without-opengl was given.
1669 if test "${with_opengl+set}" = set; then
1670 withval
="$with_opengl"
1672 if test "$withval" = yes; then
1673 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1675 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1680 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1681 if test "x$LINE" != x
; then
1682 eval "DEFAULT_$LINE"
1687 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1692 eval "$ac_cv_use_opengl"
1693 if test "$no_cache" != 1; then
1694 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1697 if test "$wxUSE_OPENGL" = yes; then
1698 echo "$ac_t""yes" 1>&6
1700 echo "$ac_t""no" 1>&6
1704 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1705 echo "configure:1706: checking "for --with-odbc"" >&5
1707 # Check whether --with-odbc or --without-odbc was given.
1708 if test "${with_odbc+set}" = set; then
1709 withval
="$with_odbc"
1711 if test "$withval" = yes; then
1712 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1714 ac_cv_use_odbc
='wxUSE_ODBC=no'
1719 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1720 if test "x$LINE" != x
; then
1721 eval "DEFAULT_$LINE"
1726 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1731 eval "$ac_cv_use_odbc"
1732 if test "$no_cache" != 1; then
1733 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1736 if test "$wxUSE_ODBC" = yes; then
1737 echo "$ac_t""yes" 1>&6
1739 echo "$ac_t""no" 1>&6
1746 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1747 echo "configure:1748: checking "for --enable-shared"" >&5
1749 # Check whether --enable-shared or --disable-shared was given.
1750 if test "${enable_shared+set}" = set; then
1751 enableval
="$enable_shared"
1753 if test "$enableval" = yes; then
1754 ac_cv_use_shared
='wxUSE_SHARED=yes'
1756 ac_cv_use_shared
='wxUSE_SHARED=no'
1761 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1762 if test "x$LINE" != x
; then
1763 eval "DEFAULT_$LINE"
1768 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1773 eval "$ac_cv_use_shared"
1774 if test "$no_cache" != 1; then
1775 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1778 if test "$wxUSE_SHARED" = yes; then
1779 echo "$ac_t""yes" 1>&6
1781 echo "$ac_t""no" 1>&6
1785 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1786 echo "configure:1787: checking "for --enable-optimise"" >&5
1788 # Check whether --enable-optimise or --disable-optimise was given.
1789 if test "${enable_optimise+set}" = set; then
1790 enableval
="$enable_optimise"
1792 if test "$enableval" = yes; then
1793 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1795 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1800 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1801 if test "x$LINE" != x
; then
1802 eval "DEFAULT_$LINE"
1807 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1812 eval "$ac_cv_use_optimise"
1813 if test "$no_cache" != 1; then
1814 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1817 if test "$wxUSE_OPTIMISE" = yes; then
1818 echo "$ac_t""yes" 1>&6
1820 echo "$ac_t""no" 1>&6
1824 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1825 echo "configure:1826: checking "for --enable-debug"" >&5
1827 # Check whether --enable-debug or --disable-debug was given.
1828 if test "${enable_debug+set}" = set; then
1829 enableval
="$enable_debug"
1831 if test "$enableval" = yes; then
1832 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1834 ac_cv_use_debug
='wxUSE_DEBUG=no'
1839 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1840 if test "x$LINE" != x
; then
1841 eval "DEFAULT_$LINE"
1846 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1851 eval "$ac_cv_use_debug"
1852 if test "$no_cache" != 1; then
1853 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1856 if test "$wxUSE_DEBUG" = yes; then
1857 echo "$ac_t""yes" 1>&6
1859 echo "$ac_t""no" 1>&6
1863 if test "$wxUSE_DEBUG" = "yes"; then
1864 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1865 DEFAULT_wxUSE_DEBUG_INFO
=yes
1866 elif test "$wxUSE_DEBUG" = "no"; then
1867 DEFAULT_wxUSE_DEBUG_FLAG
=no
1868 DEFAULT_wxUSE_DEBUG_INFO
=no
1872 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1873 echo "configure:1874: checking "for --enable-debug_flag"" >&5
1875 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1876 if test "${enable_debug_flag+set}" = set; then
1877 enableval
="$enable_debug_flag"
1879 if test "$enableval" = yes; then
1880 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1882 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1887 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1888 if test "x$LINE" != x
; then
1889 eval "DEFAULT_$LINE"
1894 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1899 eval "$ac_cv_use_debug_flag"
1900 if test "$no_cache" != 1; then
1901 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1904 if test "$wxUSE_DEBUG_FLAG" = yes; then
1905 echo "$ac_t""yes" 1>&6
1907 echo "$ac_t""no" 1>&6
1911 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1912 echo "configure:1913: checking "for --enable-debug_info"" >&5
1914 # Check whether --enable-debug_info or --disable-debug_info was given.
1915 if test "${enable_debug_info+set}" = set; then
1916 enableval
="$enable_debug_info"
1918 if test "$enableval" = yes; then
1919 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
1921 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
1926 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
1927 if test "x$LINE" != x
; then
1928 eval "DEFAULT_$LINE"
1933 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
1938 eval "$ac_cv_use_debug_info"
1939 if test "$no_cache" != 1; then
1940 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
1943 if test "$wxUSE_DEBUG_INFO" = yes; then
1944 echo "$ac_t""yes" 1>&6
1946 echo "$ac_t""no" 1>&6
1950 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
1951 echo "configure:1952: checking "for --enable-debug_gdb"" >&5
1953 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
1954 if test "${enable_debug_gdb+set}" = set; then
1955 enableval
="$enable_debug_gdb"
1957 if test "$enableval" = yes; then
1958 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
1960 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
1965 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
1966 if test "x$LINE" != x
; then
1967 eval "DEFAULT_$LINE"
1972 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
1977 eval "$ac_cv_use_debug_gdb"
1978 if test "$no_cache" != 1; then
1979 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
1982 if test "$wxUSE_DEBUG_GDB" = yes; then
1983 echo "$ac_t""yes" 1>&6
1985 echo "$ac_t""no" 1>&6
1989 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
1990 echo "configure:1991: checking "for --enable-debug_cntxt"" >&5
1992 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
1993 if test "${enable_debug_cntxt+set}" = set; then
1994 enableval
="$enable_debug_cntxt"
1996 if test "$enableval" = yes; then
1997 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
1999 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2004 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2005 if test "x$LINE" != x
; then
2006 eval "DEFAULT_$LINE"
2011 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2016 eval "$ac_cv_use_debug_cntxt"
2017 if test "$no_cache" != 1; then
2018 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2021 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2022 echo "$ac_t""yes" 1>&6
2024 echo "$ac_t""no" 1>&6
2028 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2029 echo "configure:2030: checking "for --enable-mem_tracing"" >&5
2031 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2032 if test "${enable_mem_tracing+set}" = set; then
2033 enableval
="$enable_mem_tracing"
2035 if test "$enableval" = yes; then
2036 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2038 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2043 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2044 if test "x$LINE" != x
; then
2045 eval "DEFAULT_$LINE"
2050 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2055 eval "$ac_cv_use_mem_tracing"
2056 if test "$no_cache" != 1; then
2057 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2060 if test "$wxUSE_MEM_TRACING" = yes; then
2061 echo "$ac_t""yes" 1>&6
2063 echo "$ac_t""no" 1>&6
2067 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2068 echo "configure:2069: checking "for --enable-profile"" >&5
2070 # Check whether --enable-profile or --disable-profile was given.
2071 if test "${enable_profile+set}" = set; then
2072 enableval
="$enable_profile"
2074 if test "$enableval" = yes; then
2075 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2077 ac_cv_use_profile
='wxUSE_PROFILE=no'
2082 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2083 if test "x$LINE" != x
; then
2084 eval "DEFAULT_$LINE"
2089 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2094 eval "$ac_cv_use_profile"
2095 if test "$no_cache" != 1; then
2096 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2099 if test "$wxUSE_PROFILE" = yes; then
2100 echo "$ac_t""yes" 1>&6
2102 echo "$ac_t""no" 1>&6
2106 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2107 echo "configure:2108: checking "for --enable-no_rtti"" >&5
2109 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2110 if test "${enable_no_rtti+set}" = set; then
2111 enableval
="$enable_no_rtti"
2113 if test "$enableval" = yes; then
2114 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2116 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2121 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2122 if test "x$LINE" != x
; then
2123 eval "DEFAULT_$LINE"
2128 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2133 eval "$ac_cv_use_no_rtti"
2134 if test "$no_cache" != 1; then
2135 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2138 if test "$wxUSE_NO_RTTI" = yes; then
2139 echo "$ac_t""yes" 1>&6
2141 echo "$ac_t""no" 1>&6
2145 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2146 echo "configure:2147: checking "for --enable-no_exceptions"" >&5
2148 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2149 if test "${enable_no_exceptions+set}" = set; then
2150 enableval
="$enable_no_exceptions"
2152 if test "$enableval" = yes; then
2153 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2155 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2160 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2161 if test "x$LINE" != x
; then
2162 eval "DEFAULT_$LINE"
2167 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2172 eval "$ac_cv_use_no_exceptions"
2173 if test "$no_cache" != 1; then
2174 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2177 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2178 echo "$ac_t""yes" 1>&6
2180 echo "$ac_t""no" 1>&6
2186 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
2187 echo "configure:2188: checking "for --enable-gui"" >&5
2189 # Check whether --enable-gui or --disable-gui was given.
2190 if test "${enable_gui+set}" = set; then
2191 enableval
="$enable_gui"
2193 if test "$enableval" = yes; then
2194 ac_cv_use_gui
='wxUSE_GUI=yes'
2196 ac_cv_use_gui
='wxUSE_GUI=no'
2201 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2202 if test "x$LINE" != x
; then
2203 eval "DEFAULT_$LINE"
2208 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2213 eval "$ac_cv_use_gui"
2214 if test "$no_cache" != 1; then
2215 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2218 if test "$wxUSE_GUI" = yes; then
2219 echo "$ac_t""yes" 1>&6
2221 echo "$ac_t""no" 1>&6
2227 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2228 echo "configure:2229: checking "for --enable-intl"" >&5
2230 # Check whether --enable-intl or --disable-intl was given.
2231 if test "${enable_intl+set}" = set; then
2232 enableval
="$enable_intl"
2234 if test "$enableval" = yes; then
2235 ac_cv_use_intl
='wxUSE_INTL=yes'
2237 ac_cv_use_intl
='wxUSE_INTL=no'
2242 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2243 if test "x$LINE" != x
; then
2244 eval "DEFAULT_$LINE"
2249 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2254 eval "$ac_cv_use_intl"
2255 if test "$no_cache" != 1; then
2256 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2259 if test "$wxUSE_INTL" = yes; then
2260 echo "$ac_t""yes" 1>&6
2262 echo "$ac_t""no" 1>&6
2266 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2267 echo "configure:2268: checking "for --enable-config"" >&5
2269 # Check whether --enable-config or --disable-config was given.
2270 if test "${enable_config+set}" = set; then
2271 enableval
="$enable_config"
2273 if test "$enableval" = yes; then
2274 ac_cv_use_config
='wxUSE_CONFIG=yes'
2276 ac_cv_use_config
='wxUSE_CONFIG=no'
2281 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2282 if test "x$LINE" != x
; then
2283 eval "DEFAULT_$LINE"
2288 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2293 eval "$ac_cv_use_config"
2294 if test "$no_cache" != 1; then
2295 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2298 if test "$wxUSE_CONFIG" = yes; then
2299 echo "$ac_t""yes" 1>&6
2301 echo "$ac_t""no" 1>&6
2305 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2306 echo "configure:2307: checking "for --enable-sockets"" >&5
2308 # Check whether --enable-sockets or --disable-sockets was given.
2309 if test "${enable_sockets+set}" = set; then
2310 enableval
="$enable_sockets"
2312 if test "$enableval" = yes; then
2313 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2315 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2320 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2321 if test "x$LINE" != x
; then
2322 eval "DEFAULT_$LINE"
2327 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2332 eval "$ac_cv_use_sockets"
2333 if test "$no_cache" != 1; then
2334 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2337 if test "$wxUSE_SOCKETS" = yes; then
2338 echo "$ac_t""yes" 1>&6
2340 echo "$ac_t""no" 1>&6
2344 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2345 echo "configure:2346: checking "for --enable-ipc"" >&5
2347 # Check whether --enable-ipc or --disable-ipc was given.
2348 if test "${enable_ipc+set}" = set; then
2349 enableval
="$enable_ipc"
2351 if test "$enableval" = yes; then
2352 ac_cv_use_ipc
='wxUSE_IPC=yes'
2354 ac_cv_use_ipc
='wxUSE_IPC=no'
2359 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2360 if test "x$LINE" != x
; then
2361 eval "DEFAULT_$LINE"
2366 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2371 eval "$ac_cv_use_ipc"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2376 if test "$wxUSE_IPC" = yes; then
2377 echo "$ac_t""yes" 1>&6
2379 echo "$ac_t""no" 1>&6
2383 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2384 echo "configure:2385: checking "for --enable-apple_ieee"" >&5
2386 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2387 if test "${enable_apple_ieee+set}" = set; then
2388 enableval
="$enable_apple_ieee"
2390 if test "$enableval" = yes; then
2391 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2393 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2398 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2399 if test "x$LINE" != x
; then
2400 eval "DEFAULT_$LINE"
2405 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2410 eval "$ac_cv_use_apple_ieee"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2415 if test "$wxUSE_APPLE_IEEE" = yes; then
2416 echo "$ac_t""yes" 1>&6
2418 echo "$ac_t""no" 1>&6
2422 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2423 echo "configure:2424: checking "for --enable-timedate"" >&5
2425 # Check whether --enable-timedate or --disable-timedate was given.
2426 if test "${enable_timedate+set}" = set; then
2427 enableval
="$enable_timedate"
2429 if test "$enableval" = yes; then
2430 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2432 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2437 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2438 if test "x$LINE" != x
; then
2439 eval "DEFAULT_$LINE"
2444 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2449 eval "$ac_cv_use_timedate"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2454 if test "$wxUSE_TIMEDATE" = yes; then
2455 echo "$ac_t""yes" 1>&6
2457 echo "$ac_t""no" 1>&6
2461 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2462 echo "configure:2463: checking "for --enable-wave"" >&5
2464 # Check whether --enable-wave or --disable-wave was given.
2465 if test "${enable_wave+set}" = set; then
2466 enableval
="$enable_wave"
2468 if test "$enableval" = yes; then
2469 ac_cv_use_wave
='wxUSE_WAVE=yes'
2471 ac_cv_use_wave
='wxUSE_WAVE=no'
2476 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2477 if test "x$LINE" != x
; then
2478 eval "DEFAULT_$LINE"
2483 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2488 eval "$ac_cv_use_wave"
2489 if test "$no_cache" != 1; then
2490 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2493 if test "$wxUSE_WAVE" = yes; then
2494 echo "$ac_t""yes" 1>&6
2496 echo "$ac_t""no" 1>&6
2500 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2501 echo "configure:2502: checking "for --enable-fraction"" >&5
2503 # Check whether --enable-fraction or --disable-fraction was given.
2504 if test "${enable_fraction+set}" = set; then
2505 enableval
="$enable_fraction"
2507 if test "$enableval" = yes; then
2508 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2510 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2515 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x
; then
2517 eval "DEFAULT_$LINE"
2522 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2527 eval "$ac_cv_use_fraction"
2528 if test "$no_cache" != 1; then
2529 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2532 if test "$wxUSE_FRACTION" = yes; then
2533 echo "$ac_t""yes" 1>&6
2535 echo "$ac_t""no" 1>&6
2539 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2540 echo "configure:2541: checking "for --enable-dynlib"" >&5
2542 # Check whether --enable-dynlib or --disable-dynlib was given.
2543 if test "${enable_dynlib+set}" = set; then
2544 enableval
="$enable_dynlib"
2546 if test "$enableval" = yes; then
2547 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2549 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2554 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x
; then
2556 eval "DEFAULT_$LINE"
2561 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2566 eval "$ac_cv_use_dynlib"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2571 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2572 echo "$ac_t""yes" 1>&6
2574 echo "$ac_t""no" 1>&6
2578 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2579 echo "configure:2580: checking "for --enable-longlong"" >&5
2581 # Check whether --enable-longlong or --disable-longlong was given.
2582 if test "${enable_longlong+set}" = set; then
2583 enableval
="$enable_longlong"
2585 if test "$enableval" = yes; then
2586 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2588 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2593 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2594 if test "x$LINE" != x
; then
2595 eval "DEFAULT_$LINE"
2600 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2605 eval "$ac_cv_use_longlong"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2610 if test "$wxUSE_LONGLONG" = yes; then
2611 echo "$ac_t""yes" 1>&6
2613 echo "$ac_t""no" 1>&6
2617 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2618 echo "configure:2619: checking "for --enable-log"" >&5
2620 # Check whether --enable-log or --disable-log was given.
2621 if test "${enable_log+set}" = set; then
2622 enableval
="$enable_log"
2624 if test "$enableval" = yes; then
2625 ac_cv_use_log
='wxUSE_LOG=yes'
2627 ac_cv_use_log
='wxUSE_LOG=no'
2632 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x
; then
2634 eval "DEFAULT_$LINE"
2639 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2644 eval "$ac_cv_use_log"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_LOG" = yes; then
2650 echo "$ac_t""yes" 1>&6
2652 echo "$ac_t""no" 1>&6
2656 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2657 echo "configure:2658: checking "for --enable-streams"" >&5
2659 # Check whether --enable-streams or --disable-streams was given.
2660 if test "${enable_streams+set}" = set; then
2661 enableval
="$enable_streams"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2666 ac_cv_use_streams
='wxUSE_STREAMS=no'
2671 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2683 eval "$ac_cv_use_streams"
2684 if test "$no_cache" != 1; then
2685 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2688 if test "$wxUSE_STREAMS" = yes; then
2689 echo "$ac_t""yes" 1>&6
2691 echo "$ac_t""no" 1>&6
2695 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2696 echo "configure:2697: checking "for --enable-file"" >&5
2698 # Check whether --enable-file or --disable-file was given.
2699 if test "${enable_file+set}" = set; then
2700 enableval
="$enable_file"
2702 if test "$enableval" = yes; then
2703 ac_cv_use_file
='wxUSE_FILE=yes'
2705 ac_cv_use_file
='wxUSE_FILE=no'
2710 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x
; then
2712 eval "DEFAULT_$LINE"
2717 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2722 eval "$ac_cv_use_file"
2723 if test "$no_cache" != 1; then
2724 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2727 if test "$wxUSE_FILE" = yes; then
2728 echo "$ac_t""yes" 1>&6
2730 echo "$ac_t""no" 1>&6
2734 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2735 echo "configure:2736: checking "for --enable-textfile"" >&5
2737 # Check whether --enable-textfile or --disable-textfile was given.
2738 if test "${enable_textfile+set}" = set; then
2739 enableval
="$enable_textfile"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2744 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2749 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x
; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2761 eval "$ac_cv_use_textfile"
2762 if test "$no_cache" != 1; then
2763 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2766 if test "$wxUSE_TEXTFILE" = yes; then
2767 echo "$ac_t""yes" 1>&6
2769 echo "$ac_t""no" 1>&6
2773 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2774 echo "configure:2775: checking "for --enable-unicode"" >&5
2776 # Check whether --enable-unicode or --disable-unicode was given.
2777 if test "${enable_unicode+set}" = set; then
2778 enableval
="$enable_unicode"
2780 if test "$enableval" = yes; then
2781 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2783 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2788 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2800 eval "$ac_cv_use_unicode"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_UNICODE" = yes; then
2806 echo "$ac_t""yes" 1>&6
2808 echo "$ac_t""no" 1>&6
2812 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2813 echo "configure:2814: checking "for --enable-wcsrtombs"" >&5
2815 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2816 if test "${enable_wcsrtombs+set}" = set; then
2817 enableval
="$enable_wcsrtombs"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2822 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2827 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2839 eval "$ac_cv_use_wcsrtombs"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
2844 if test "$wxUSE_WCSRTOMBS" = yes; then
2845 echo "$ac_t""yes" 1>&6
2847 echo "$ac_t""no" 1>&6
2851 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
2852 echo "configure:2853: checking "for --enable-wxprintfv"" >&5
2854 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
2855 if test "${enable_wxprintfv+set}" = set; then
2856 enableval
="$enable_wxprintfv"
2858 if test "$enableval" = yes; then
2859 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
2861 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
2866 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
2878 eval "$ac_cv_use_wxprintfv"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
2883 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
2884 echo "$ac_t""yes" 1>&6
2886 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
2891 echo "configure:2892: checking "for --enable-joystick"" >&5
2893 # Check whether --enable-joystick or --disable-joystick was given.
2894 if test "${enable_joystick+set}" = set; then
2895 enableval
="$enable_joystick"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
2900 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
2905 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
2917 eval "$ac_cv_use_joystick"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_JOYSTICK" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2929 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
2930 echo "configure:2931: checking "for --enable-std_iostreams"" >&5
2932 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
2933 if test "${enable_std_iostreams+set}" = set; then
2934 enableval
="$enable_std_iostreams"
2936 if test "$enableval" = yes; then
2937 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
2939 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
2944 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
2956 eval "$ac_cv_use_std_iostreams"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
2961 if test "$wxUSE_STD_IOSTREAM" = yes; then
2962 echo "$ac_t""yes" 1>&6
2964 echo "$ac_t""no" 1>&6
2968 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
2969 echo "configure:2970: checking "for --enable-fs_inet"" >&5
2971 # Check whether --enable-fs_inet or --disable-fs_inet was given.
2972 if test "${enable_fs_inet+set}" = set; then
2973 enableval
="$enable_fs_inet"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
2978 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
2983 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
2995 eval "$ac_cv_use_fs_inet"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_FS_INET" = yes; then
3001 echo "$ac_t""yes" 1>&6
3003 echo "$ac_t""no" 1>&6
3007 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3008 echo "configure:3009: checking "for --enable-fs_zip"" >&5
3010 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3011 if test "${enable_fs_zip+set}" = set; then
3012 enableval
="$enable_fs_zip"
3014 if test "$enableval" = yes; then
3015 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3017 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3022 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3023 if test "x$LINE" != x
; then
3024 eval "DEFAULT_$LINE"
3029 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3034 eval "$ac_cv_use_fs_zip"
3035 if test "$no_cache" != 1; then
3036 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3039 if test "$wxUSE_FS_ZIP" = yes; then
3040 echo "$ac_t""yes" 1>&6
3042 echo "$ac_t""no" 1>&6
3046 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3047 echo "configure:3048: checking "for --enable-zipstream"" >&5
3049 # Check whether --enable-zipstream or --disable-zipstream was given.
3050 if test "${enable_zipstream+set}" = set; then
3051 enableval
="$enable_zipstream"
3053 if test "$enableval" = yes; then
3054 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3056 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3061 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x
; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3073 eval "$ac_cv_use_zipstream"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_ZIPSTREAM" = yes; then
3079 echo "$ac_t""yes" 1>&6
3081 echo "$ac_t""no" 1>&6
3087 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3088 echo "configure:3089: checking "for --enable-threads"" >&5
3090 # Check whether --enable-threads or --disable-threads was given.
3091 if test "${enable_threads+set}" = set; then
3092 enableval
="$enable_threads"
3094 if test "$enableval" = yes; then
3095 ac_cv_use_threads
='wxUSE_THREADS=yes'
3097 ac_cv_use_threads
='wxUSE_THREADS=no'
3102 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3103 if test "x$LINE" != x
; then
3104 eval "DEFAULT_$LINE"
3109 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3114 eval "$ac_cv_use_threads"
3115 if test "$no_cache" != 1; then
3116 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3119 if test "$wxUSE_THREADS" = yes; then
3120 echo "$ac_t""yes" 1>&6
3122 echo "$ac_t""no" 1>&6
3126 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3127 echo "configure:3128: checking "for --enable-serial"" >&5
3129 # Check whether --enable-serial or --disable-serial was given.
3130 if test "${enable_serial+set}" = set; then
3131 enableval
="$enable_serial"
3133 if test "$enableval" = yes; then
3134 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3136 ac_cv_use_serial
='wxUSE_SERIAL=no'
3141 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x
; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3153 eval "$ac_cv_use_serial"
3154 if test "$no_cache" != 1; then
3155 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3158 if test "$wxUSE_SERIAL" = yes; then
3159 echo "$ac_t""yes" 1>&6
3161 echo "$ac_t""no" 1>&6
3167 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3168 echo "configure:3169: checking "for --enable-docview"" >&5
3170 # Check whether --enable-docview or --disable-docview was given.
3171 if test "${enable_docview+set}" = set; then
3172 enableval
="$enable_docview"
3174 if test "$enableval" = yes; then
3175 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3177 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3182 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x
; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3194 eval "$ac_cv_use_docview"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3200 echo "$ac_t""yes" 1>&6
3202 echo "$ac_t""no" 1>&6
3206 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3207 echo "configure:3208: checking "for --enable-help"" >&5
3209 # Check whether --enable-help or --disable-help was given.
3210 if test "${enable_help+set}" = set; then
3211 enableval
="$enable_help"
3213 if test "$enableval" = yes; then
3214 ac_cv_use_help
='wxUSE_HELP=yes'
3216 ac_cv_use_help
='wxUSE_HELP=no'
3221 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x
; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3233 eval "$ac_cv_use_help"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_HELP" = yes; then
3239 echo "$ac_t""yes" 1>&6
3241 echo "$ac_t""no" 1>&6
3245 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3246 echo "configure:3247: checking "for --enable-constraints"" >&5
3248 # Check whether --enable-constraints or --disable-constraints was given.
3249 if test "${enable_constraints+set}" = set; then
3250 enableval
="$enable_constraints"
3252 if test "$enableval" = yes; then
3253 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3255 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3260 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x
; then
3262 eval "DEFAULT_$LINE"
3267 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3272 eval "$ac_cv_use_constraints"
3273 if test "$no_cache" != 1; then
3274 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3277 if test "$wxUSE_CONSTRAINTS" = yes; then
3278 echo "$ac_t""yes" 1>&6
3280 echo "$ac_t""no" 1>&6
3284 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3285 echo "configure:3286: checking "for --enable-printarch"" >&5
3287 # Check whether --enable-printarch or --disable-printarch was given.
3288 if test "${enable_printarch+set}" = set; then
3289 enableval
="$enable_printarch"
3291 if test "$enableval" = yes; then
3292 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3294 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3299 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3311 eval "$ac_cv_use_printarch"
3312 if test "$no_cache" != 1; then
3313 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3316 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3317 echo "$ac_t""yes" 1>&6
3319 echo "$ac_t""no" 1>&6
3323 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3324 echo "configure:3325: checking "for --enable-mdi"" >&5
3326 # Check whether --enable-mdi or --disable-mdi was given.
3327 if test "${enable_mdi+set}" = set; then
3328 enableval
="$enable_mdi"
3330 if test "$enableval" = yes; then
3331 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3333 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3338 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x
; then
3340 eval "DEFAULT_$LINE"
3345 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3350 eval "$ac_cv_use_mdi"
3351 if test "$no_cache" != 1; then
3352 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3355 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3356 echo "$ac_t""yes" 1>&6
3358 echo "$ac_t""no" 1>&6
3363 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3364 echo "configure:3365: checking "for --enable-postscript"" >&5
3366 # Check whether --enable-postscript or --disable-postscript was given.
3367 if test "${enable_postscript+set}" = set; then
3368 enableval
="$enable_postscript"
3370 if test "$enableval" = yes; then
3371 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3373 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3378 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x
; then
3380 eval "DEFAULT_$LINE"
3385 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3390 eval "$ac_cv_use_postscript"
3391 if test "$no_cache" != 1; then
3392 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3395 if test "$wxUSE_POSTSCRIPT" = yes; then
3396 echo "$ac_t""yes" 1>&6
3398 echo "$ac_t""no" 1>&6
3404 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3405 echo "configure:3406: checking "for --enable-prologio"" >&5
3407 # Check whether --enable-prologio or --disable-prologio was given.
3408 if test "${enable_prologio+set}" = set; then
3409 enableval
="$enable_prologio"
3411 if test "$enableval" = yes; then
3412 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3414 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3419 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x
; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3431 eval "$ac_cv_use_prologio"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_PROLOGIO" = yes; then
3437 echo "$ac_t""yes" 1>&6
3439 echo "$ac_t""no" 1>&6
3443 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3444 echo "configure:3445: checking "for --enable-resources"" >&5
3446 # Check whether --enable-resources or --disable-resources was given.
3447 if test "${enable_resources+set}" = set; then
3448 enableval
="$enable_resources"
3450 if test "$enableval" = yes; then
3451 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3453 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3458 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3470 eval "$ac_cv_use_resources"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_RESOURCES" = yes; then
3476 echo "$ac_t""yes" 1>&6
3478 echo "$ac_t""no" 1>&6
3483 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3484 echo "configure:3485: checking "for --enable-xresources"" >&5
3486 # Check whether --enable-xresources or --disable-xresources was given.
3487 if test "${enable_xresources+set}" = set; then
3488 enableval
="$enable_xresources"
3490 if test "$enableval" = yes; then
3491 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3493 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3498 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x
; then
3500 eval "DEFAULT_$LINE"
3505 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3510 eval "$ac_cv_use_xresources"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_X_RESOURCES" = yes; then
3516 echo "$ac_t""yes" 1>&6
3518 echo "$ac_t""no" 1>&6
3524 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3525 echo "configure:3526: checking "for --enable-clipboard"" >&5
3527 # Check whether --enable-clipboard or --disable-clipboard was given.
3528 if test "${enable_clipboard+set}" = set; then
3529 enableval
="$enable_clipboard"
3531 if test "$enableval" = yes; then
3532 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3534 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3539 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3540 if test "x$LINE" != x
; then
3541 eval "DEFAULT_$LINE"
3546 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3551 eval "$ac_cv_use_clipboard"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3556 if test "$wxUSE_CLIPBOARD" = yes; then
3557 echo "$ac_t""yes" 1>&6
3559 echo "$ac_t""no" 1>&6
3563 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3564 echo "configure:3565: checking "for --enable-dnd"" >&5
3566 # Check whether --enable-dnd or --disable-dnd was given.
3567 if test "${enable_dnd+set}" = set; then
3568 enableval
="$enable_dnd"
3570 if test "$enableval" = yes; then
3571 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3573 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3578 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x
; then
3580 eval "DEFAULT_$LINE"
3585 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3590 eval "$ac_cv_use_dnd"
3591 if test "$no_cache" != 1; then
3592 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3595 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3596 echo "$ac_t""yes" 1>&6
3598 echo "$ac_t""no" 1>&6
3603 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3604 echo "configure:3605: checking "for --enable-wxtree"" >&5
3606 # Check whether --enable-wxtree or --disable-wxtree was given.
3607 if test "${enable_wxtree+set}" = set; then
3608 enableval
="$enable_wxtree"
3610 if test "$enableval" = yes; then
3611 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3613 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3618 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x
; then
3620 eval "DEFAULT_$LINE"
3625 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3630 eval "$ac_cv_use_wxtree"
3631 if test "$no_cache" != 1; then
3632 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3635 if test "$wxUSE_WXTREE" = yes; then
3636 echo "$ac_t""yes" 1>&6
3638 echo "$ac_t""no" 1>&6
3644 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3645 echo "configure:3646: checking "for --enable-controls"" >&5
3647 # Check whether --enable-controls or --disable-controls was given.
3648 if test "${enable_controls+set}" = set; then
3649 enableval
="$enable_controls"
3651 if test "$enableval" = yes; then
3652 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3654 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3659 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x
; then
3661 eval "DEFAULT_$LINE"
3666 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3671 eval "$ac_cv_use_controls"
3672 if test "$no_cache" != 1; then
3673 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3676 if test "$wxUSE_CONTROLS" = yes; then
3677 echo "$ac_t""yes" 1>&6
3679 echo "$ac_t""no" 1>&6
3683 if test "$wxUSE_CONTROLS" = "yes"; then
3684 DEFAULT_wxUSE_ACCEL
=yes
3685 DEFAULT_wxUSE_CARET
=yes
3686 DEFAULT_wxUSE_COMBOBOX
=yes
3687 DEFAULT_wxUSE_BMPBUTTON
=yes
3688 DEFAULT_wxUSE_CHECKBOX
=yes
3689 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3690 DEFAULT_wxUSE_CHOICE
=yes
3691 DEFAULT_wxUSE_GAUGE
=yes
3692 DEFAULT_wxUSE_GRID
=yes
3693 DEFAULT_wxUSE_IMAGLIST
=yes
3694 DEFAULT_wxUSE_LISTBOX
=yes
3695 DEFAULT_wxUSE_LISTCTRL
=yes
3696 DEFAULT_wxUSE_NOTEBOOK
=yes
3697 DEFAULT_wxUSE_RADIOBOX
=yes
3698 DEFAULT_wxUSE_RADIOBTN
=yes
3699 DEFAULT_wxUSE_SASH
=yes
3700 DEFAULT_wxUSE_SCROLLBAR
=yes
3701 DEFAULT_wxUSE_SLIDER
=yes
3702 DEFAULT_wxUSE_SPINBTN
=yes
3703 DEFAULT_wxUSE_SPLITTER
=yes
3704 DEFAULT_wxUSE_STATBMP
=yes
3705 DEFAULT_wxUSE_STATBOX
=yes
3706 DEFAULT_wxUSE_STATLINE
=yes
3707 DEFAULT_wxUSE_STATUSBAR
=yes
3708 DEFAULT_wxUSE_TAB_DIALOG
=yes
3709 DEFAULT_wxUSE_TOOLBAR
=yes
3710 DEFAULT_wxUSE_TOOLTIPS
=yes
3711 DEFAULT_wxUSE_TREECTRL
=yes
3712 elif test "$wxUSE_CONTROLS" = "no"; then
3713 DEFAULT_wxUSE_ACCEL
=no
3714 DEFAULT_wxUSE_CARET
=no
3715 DEFAULT_wxUSE_COMBOBOX
=no
3716 DEFAULT_wxUSE_BMPBUTTON
=no
3717 DEFAULT_wxUSE_CHECKBOX
=no
3718 DEFAULT_wxUSE_CHECKLISTBOX
=no
3719 DEFAULT_wxUSE_CHOICE
=no
3720 DEFAULT_wxUSE_GAUGE
=no
3721 DEFAULT_wxUSE_GRID
=no
3722 DEFAULT_wxUSE_IMAGLIST
=no
3723 DEFAULT_wxUSE_LISTBOX
=no
3724 DEFAULT_wxUSE_LISTCTRL
=no
3725 DEFAULT_wxUSE_NOTEBOOK
=no
3726 DEFAULT_wxUSE_RADIOBOX
=no
3727 DEFAULT_wxUSE_RADIOBTN
=no
3728 DEFAULT_wxUSE_SASH
=no
3729 DEFAULT_wxUSE_SCROLLBAR
=no
3730 DEFAULT_wxUSE_SLIDER
=no
3731 DEFAULT_wxUSE_SPINBTN
=no
3732 DEFAULT_wxUSE_SPLITTER
=no
3733 DEFAULT_wxUSE_STATBMP
=no
3734 DEFAULT_wxUSE_STATBOX
=no
3735 DEFAULT_wxUSE_STATLINE
=no
3736 DEFAULT_wxUSE_STATUSBAR
=no
3737 DEFAULT_wxUSE_TAB_DIALOG
=no
3738 DEFAULT_wxUSE_TOOLBAR
=no
3739 DEFAULT_wxUSE_TOOLTIPS
=no
3740 DEFAULT_wxUSE_TREECTRL
=no
3744 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3745 echo "configure:3746: checking "for --enable-accel"" >&5
3747 # Check whether --enable-accel or --disable-accel was given.
3748 if test "${enable_accel+set}" = set; then
3749 enableval
="$enable_accel"
3751 if test "$enableval" = yes; then
3752 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3754 ac_cv_use_accel
='wxUSE_ACCEL=no'
3759 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x
; then
3761 eval "DEFAULT_$LINE"
3766 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3771 eval "$ac_cv_use_accel"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_ACCEL" = yes; then
3777 echo "$ac_t""yes" 1>&6
3779 echo "$ac_t""no" 1>&6
3783 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3784 echo "configure:3785: checking "for --enable-caret"" >&5
3786 # Check whether --enable-caret or --disable-caret was given.
3787 if test "${enable_caret+set}" = set; then
3788 enableval
="$enable_caret"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_caret
='wxUSE_CARET=yes'
3793 ac_cv_use_caret
='wxUSE_CARET=no'
3798 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x
; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3810 eval "$ac_cv_use_caret"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3815 if test "$wxUSE_CARET" = yes; then
3816 echo "$ac_t""yes" 1>&6
3818 echo "$ac_t""no" 1>&6
3822 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3823 echo "configure:3824: checking "for --enable-bmpbutton"" >&5
3825 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3826 if test "${enable_bmpbutton+set}" = set; then
3827 enableval
="$enable_bmpbutton"
3829 if test "$enableval" = yes; then
3830 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3832 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3837 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x
; then
3839 eval "DEFAULT_$LINE"
3844 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
3849 eval "$ac_cv_use_bmpbutton"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_BMPBUTTON" = yes; then
3855 echo "$ac_t""yes" 1>&6
3857 echo "$ac_t""no" 1>&6
3861 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
3862 echo "configure:3863: checking "for --enable-checkbox"" >&5
3864 # Check whether --enable-checkbox or --disable-checkbox was given.
3865 if test "${enable_checkbox+set}" = set; then
3866 enableval
="$enable_checkbox"
3868 if test "$enableval" = yes; then
3869 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
3871 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
3876 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x
; then
3878 eval "DEFAULT_$LINE"
3883 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
3888 eval "$ac_cv_use_checkbox"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_CHECKBOX" = yes; then
3894 echo "$ac_t""yes" 1>&6
3896 echo "$ac_t""no" 1>&6
3900 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
3901 echo "configure:3902: checking "for --enable-checklst"" >&5
3903 # Check whether --enable-checklst or --disable-checklst was given.
3904 if test "${enable_checklst+set}" = set; then
3905 enableval
="$enable_checklst"
3907 if test "$enableval" = yes; then
3908 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
3910 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
3915 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x
; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
3927 eval "$ac_cv_use_checklst"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_CHECKLST" = yes; then
3933 echo "$ac_t""yes" 1>&6
3935 echo "$ac_t""no" 1>&6
3939 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
3940 echo "configure:3941: checking "for --enable-choice"" >&5
3942 # Check whether --enable-choice or --disable-choice was given.
3943 if test "${enable_choice+set}" = set; then
3944 enableval
="$enable_choice"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_choice
='wxUSE_CHOICE=yes'
3949 ac_cv_use_choice
='wxUSE_CHOICE=no'
3954 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
3966 eval "$ac_cv_use_choice"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_CHOICE" = yes; then
3972 echo "$ac_t""yes" 1>&6
3974 echo "$ac_t""no" 1>&6
3978 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
3979 echo "configure:3980: checking "for --enable-combobox"" >&5
3981 # Check whether --enable-combobox or --disable-combobox was given.
3982 if test "${enable_combobox+set}" = set; then
3983 enableval
="$enable_combobox"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
3988 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
3993 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x
; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4005 eval "$ac_cv_use_combobox"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_COMBOBOX" = yes; then
4011 echo "$ac_t""yes" 1>&6
4013 echo "$ac_t""no" 1>&6
4017 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4018 echo "configure:4019: checking "for --enable-gauge"" >&5
4020 # Check whether --enable-gauge or --disable-gauge was given.
4021 if test "${enable_gauge+set}" = set; then
4022 enableval
="$enable_gauge"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4027 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4032 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x
; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4044 eval "$ac_cv_use_gauge"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_GAUGE" = yes; then
4050 echo "$ac_t""yes" 1>&6
4052 echo "$ac_t""no" 1>&6
4056 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4057 echo "configure:4058: checking "for --enable-grid"" >&5
4059 # Check whether --enable-grid or --disable-grid was given.
4060 if test "${enable_grid+set}" = set; then
4061 enableval
="$enable_grid"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_grid
='wxUSE_GRID=yes'
4066 ac_cv_use_grid
='wxUSE_GRID=no'
4071 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4083 eval "$ac_cv_use_grid"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4088 if test "$wxUSE_GRID" = yes; then
4089 echo "$ac_t""yes" 1>&6
4091 echo "$ac_t""no" 1>&6
4095 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4096 echo "configure:4097: checking "for --enable-imaglist"" >&5
4098 # Check whether --enable-imaglist or --disable-imaglist was given.
4099 if test "${enable_imaglist+set}" = set; then
4100 enableval
="$enable_imaglist"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4105 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4110 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x
; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4122 eval "$ac_cv_use_imaglist"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_IMAGLIST" = yes; then
4128 echo "$ac_t""yes" 1>&6
4130 echo "$ac_t""no" 1>&6
4134 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4135 echo "configure:4136: checking "for --enable-listbox"" >&5
4137 # Check whether --enable-listbox or --disable-listbox was given.
4138 if test "${enable_listbox+set}" = set; then
4139 enableval
="$enable_listbox"
4141 if test "$enableval" = yes; then
4142 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4144 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4149 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4150 if test "x$LINE" != x
; then
4151 eval "DEFAULT_$LINE"
4156 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4161 eval "$ac_cv_use_listbox"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_LISTBOX" = yes; then
4167 echo "$ac_t""yes" 1>&6
4169 echo "$ac_t""no" 1>&6
4173 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4174 echo "configure:4175: checking "for --enable-listctrl"" >&5
4176 # Check whether --enable-listctrl or --disable-listctrl was given.
4177 if test "${enable_listctrl+set}" = set; then
4178 enableval
="$enable_listctrl"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4183 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4188 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4200 eval "$ac_cv_use_listctrl"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_LISTCTRL" = yes; then
4206 echo "$ac_t""yes" 1>&6
4208 echo "$ac_t""no" 1>&6
4212 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4213 echo "configure:4214: checking "for --enable-notebook"" >&5
4215 # Check whether --enable-notebook or --disable-notebook was given.
4216 if test "${enable_notebook+set}" = set; then
4217 enableval
="$enable_notebook"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4222 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4227 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4239 eval "$ac_cv_use_notebook"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_NOTEBOOK" = yes; then
4245 echo "$ac_t""yes" 1>&6
4247 echo "$ac_t""no" 1>&6
4251 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4252 echo "configure:4253: checking "for --enable-radiobox"" >&5
4254 # Check whether --enable-radiobox or --disable-radiobox was given.
4255 if test "${enable_radiobox+set}" = set; then
4256 enableval
="$enable_radiobox"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4261 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4266 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4278 eval "$ac_cv_use_radiobox"
4279 if test "$no_cache" != 1; then
4280 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_RADIOBOX" = yes; then
4284 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4290 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4291 echo "configure:4292: checking "for --enable-radiobtn"" >&5
4293 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4294 if test "${enable_radiobtn+set}" = set; then
4295 enableval
="$enable_radiobtn"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4300 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4305 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4317 eval "$ac_cv_use_radiobtn"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_RADIOBTN" = yes; then
4323 echo "$ac_t""yes" 1>&6
4325 echo "$ac_t""no" 1>&6
4329 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4330 echo "configure:4331: checking "for --enable-sash"" >&5
4332 # Check whether --enable-sash or --disable-sash was given.
4333 if test "${enable_sash+set}" = set; then
4334 enableval
="$enable_sash"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_sash
='wxUSE_SASH=yes'
4339 ac_cv_use_sash
='wxUSE_SASH=no'
4344 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4356 eval "$ac_cv_use_sash"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_SASH" = yes; then
4362 echo "$ac_t""yes" 1>&6
4364 echo "$ac_t""no" 1>&6
4368 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4369 echo "configure:4370: checking "for --enable-scrollbar"" >&5
4371 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4372 if test "${enable_scrollbar+set}" = set; then
4373 enableval
="$enable_scrollbar"
4375 if test "$enableval" = yes; then
4376 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4378 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4383 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x
; then
4385 eval "DEFAULT_$LINE"
4390 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4395 eval "$ac_cv_use_scrollbar"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4400 if test "$wxUSE_SCROLLBAR" = yes; then
4401 echo "$ac_t""yes" 1>&6
4403 echo "$ac_t""no" 1>&6
4407 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4408 echo "configure:4409: checking "for --enable-slider"" >&5
4410 # Check whether --enable-slider or --disable-slider was given.
4411 if test "${enable_slider+set}" = set; then
4412 enableval
="$enable_slider"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4417 ac_cv_use_slider
='wxUSE_SLIDER=no'
4422 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4434 eval "$ac_cv_use_slider"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_SLIDER" = yes; then
4440 echo "$ac_t""yes" 1>&6
4442 echo "$ac_t""no" 1>&6
4446 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4447 echo "configure:4448: checking "for --enable-spinbtn"" >&5
4449 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4450 if test "${enable_spinbtn+set}" = set; then
4451 enableval
="$enable_spinbtn"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4456 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4461 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4473 eval "$ac_cv_use_spinbtn"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_SPINBTN" = yes; then
4479 echo "$ac_t""yes" 1>&6
4481 echo "$ac_t""no" 1>&6
4485 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4486 echo "configure:4487: checking "for --enable-splitter"" >&5
4488 # Check whether --enable-splitter or --disable-splitter was given.
4489 if test "${enable_splitter+set}" = set; then
4490 enableval
="$enable_splitter"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4495 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4500 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x
; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4512 eval "$ac_cv_use_splitter"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4517 if test "$wxUSE_SPLITTER" = yes; then
4518 echo "$ac_t""yes" 1>&6
4520 echo "$ac_t""no" 1>&6
4524 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4525 echo "configure:4526: checking "for --enable-statbmp"" >&5
4527 # Check whether --enable-statbmp or --disable-statbmp was given.
4528 if test "${enable_statbmp+set}" = set; then
4529 enableval
="$enable_statbmp"
4531 if test "$enableval" = yes; then
4532 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4534 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4539 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x
; then
4541 eval "DEFAULT_$LINE"
4546 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4551 eval "$ac_cv_use_statbmp"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4556 if test "$wxUSE_STATBMP" = yes; then
4557 echo "$ac_t""yes" 1>&6
4559 echo "$ac_t""no" 1>&6
4563 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4564 echo "configure:4565: checking "for --enable-statbox"" >&5
4566 # Check whether --enable-statbox or --disable-statbox was given.
4567 if test "${enable_statbox+set}" = set; then
4568 enableval
="$enable_statbox"
4570 if test "$enableval" = yes; then
4571 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4573 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4578 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x
; then
4580 eval "DEFAULT_$LINE"
4585 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4590 eval "$ac_cv_use_statbox"
4591 if test "$no_cache" != 1; then
4592 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4595 if test "$wxUSE_STATBOX" = yes; then
4596 echo "$ac_t""yes" 1>&6
4598 echo "$ac_t""no" 1>&6
4602 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4603 echo "configure:4604: checking "for --enable-statline"" >&5
4605 # Check whether --enable-statline or --disable-statline was given.
4606 if test "${enable_statline+set}" = set; then
4607 enableval
="$enable_statline"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4612 ac_cv_use_statline
='wxUSE_STATLINE=no'
4617 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x
; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4629 eval "$ac_cv_use_statline"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_STATLINE" = yes; then
4635 echo "$ac_t""yes" 1>&6
4637 echo "$ac_t""no" 1>&6
4641 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4642 echo "configure:4643: checking "for --enable-statusbar"" >&5
4644 # Check whether --enable-statusbar or --disable-statusbar was given.
4645 if test "${enable_statusbar+set}" = set; then
4646 enableval
="$enable_statusbar"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4651 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4656 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4668 eval "$ac_cv_use_statusbar"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4673 if test "$wxUSE_STATUSBAR" = yes; then
4674 echo "$ac_t""yes" 1>&6
4676 echo "$ac_t""no" 1>&6
4680 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4681 echo "configure:4682: checking "for --enable-tabdialog"" >&5
4683 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4684 if test "${enable_tabdialog+set}" = set; then
4685 enableval
="$enable_tabdialog"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4690 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4695 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4707 eval "$ac_cv_use_tabdialog"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_TABDIALOG" = yes; then
4713 echo "$ac_t""yes" 1>&6
4715 echo "$ac_t""no" 1>&6
4719 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4720 echo "configure:4721: checking "for --enable-toolbar"" >&5
4722 # Check whether --enable-toolbar or --disable-toolbar was given.
4723 if test "${enable_toolbar+set}" = set; then
4724 enableval
="$enable_toolbar"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4729 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4734 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4746 eval "$ac_cv_use_toolbar"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_TOOLBAR" = yes; then
4752 echo "$ac_t""yes" 1>&6
4754 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4759 echo "configure:4760: checking "for --enable-treectrl"" >&5
4761 # Check whether --enable-treectrl or --disable-treectrl was given.
4762 if test "${enable_treectrl+set}" = set; then
4763 enableval
="$enable_treectrl"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4768 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4773 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4785 eval "$ac_cv_use_treectrl"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_TREECTRL" = yes; then
4791 echo "$ac_t""yes" 1>&6
4793 echo "$ac_t""no" 1>&6
4799 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4800 echo "configure:4801: checking "for --enable-commondlg"" >&5
4802 # Check whether --enable-commondlg or --disable-commondlg was given.
4803 if test "${enable_commondlg+set}" = set; then
4804 enableval
="$enable_commondlg"
4806 if test "$enableval" = yes; then
4807 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
4809 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
4814 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x
; then
4816 eval "DEFAULT_$LINE"
4821 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
4826 eval "$ac_cv_use_commondlg"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_COMMONDLGS" = yes; then
4832 echo "$ac_t""yes" 1>&6
4834 echo "$ac_t""no" 1>&6
4838 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
4839 echo "configure:4840: checking "for --enable-dirdlg"" >&5
4841 # Check whether --enable-dirdlg or --disable-dirdlg was given.
4842 if test "${enable_dirdlg+set}" = set; then
4843 enableval
="$enable_dirdlg"
4845 if test "$enableval" = yes; then
4846 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
4848 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
4853 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x
; then
4855 eval "DEFAULT_$LINE"
4860 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
4865 eval "$ac_cv_use_dirdlg"
4866 if test "$no_cache" != 1; then
4867 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
4870 if test "$wxUSE_DIRDLG" = yes; then
4871 echo "$ac_t""yes" 1>&6
4873 echo "$ac_t""no" 1>&6
4877 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
4878 echo "configure:4879: checking "for --enable-textdlg"" >&5
4880 # Check whether --enable-textdlg or --disable-textdlg was given.
4881 if test "${enable_textdlg+set}" = set; then
4882 enableval
="$enable_textdlg"
4884 if test "$enableval" = yes; then
4885 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
4887 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
4892 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
4893 if test "x$LINE" != x
; then
4894 eval "DEFAULT_$LINE"
4899 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
4904 eval "$ac_cv_use_textdlg"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
4909 if test "$wxUSE_TEXTDLG" = yes; then
4910 echo "$ac_t""yes" 1>&6
4912 echo "$ac_t""no" 1>&6
4916 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
4917 echo "configure:4918: checking "for --enable-tipdlg"" >&5
4919 # Check whether --enable-tipdlg or --disable-tipdlg was given.
4920 if test "${enable_tipdlg+set}" = set; then
4921 enableval
="$enable_tipdlg"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
4926 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
4931 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x
; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
4943 eval "$ac_cv_use_tipdlg"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
4948 if test "$wxUSE_STARTUP_TIPS" = yes; then
4949 echo "$ac_t""yes" 1>&6
4951 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
4956 echo "configure:4957: checking "for --enable-progressdlg"" >&5
4958 # Check whether --enable-progressdlg or --disable-progressdlg was given.
4959 if test "${enable_progressdlg+set}" = set; then
4960 enableval
="$enable_progressdlg"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
4965 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
4970 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x
; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
4982 eval "$ac_cv_use_progressdlg"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_PROGRESSDLG" = yes; then
4988 echo "$ac_t""yes" 1>&6
4990 echo "$ac_t""no" 1>&6
4994 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
4995 echo "configure:4996: checking "for --enable-miniframe"" >&5
4997 # Check whether --enable-miniframe or --disable-miniframe was given.
4998 if test "${enable_miniframe+set}" = set; then
4999 enableval
="$enable_miniframe"
5001 if test "$enableval" = yes; then
5002 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5004 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5009 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5010 if test "x$LINE" != x
; then
5011 eval "DEFAULT_$LINE"
5016 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5021 eval "$ac_cv_use_miniframe"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_MINIFRAME" = yes; then
5027 echo "$ac_t""yes" 1>&6
5029 echo "$ac_t""no" 1>&6
5033 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5034 echo "configure:5035: checking "for --enable-html"" >&5
5036 # Check whether --enable-html or --disable-html was given.
5037 if test "${enable_html+set}" = set; then
5038 enableval
="$enable_html"
5040 if test "$enableval" = yes; then
5041 ac_cv_use_html
='wxUSE_HTML=yes'
5043 ac_cv_use_html
='wxUSE_HTML=no'
5048 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x
; then
5050 eval "DEFAULT_$LINE"
5055 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5060 eval "$ac_cv_use_html"
5061 if test "$no_cache" != 1; then
5062 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5065 if test "$wxUSE_HTML" = yes; then
5066 echo "$ac_t""yes" 1>&6
5068 echo "$ac_t""no" 1>&6
5072 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5073 echo "configure:5074: checking "for --enable-tooltips"" >&5
5075 # Check whether --enable-tooltips or --disable-tooltips was given.
5076 if test "${enable_tooltips+set}" = set; then
5077 enableval
="$enable_tooltips"
5079 if test "$enableval" = yes; then
5080 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5082 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5087 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x
; then
5089 eval "DEFAULT_$LINE"
5094 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5099 eval "$ac_cv_use_tooltips"
5100 if test "$no_cache" != 1; then
5101 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5104 if test "$wxUSE_TOOLTIPS" = yes; then
5105 echo "$ac_t""yes" 1>&6
5107 echo "$ac_t""no" 1>&6
5111 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5112 echo "configure:5113: checking "for --enable-splines"" >&5
5114 # Check whether --enable-splines or --disable-splines was given.
5115 if test "${enable_splines+set}" = set; then
5116 enableval
="$enable_splines"
5118 if test "$enableval" = yes; then
5119 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5121 ac_cv_use_splines
='wxUSE_SPLINES=no'
5126 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x
; then
5128 eval "DEFAULT_$LINE"
5133 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5138 eval "$ac_cv_use_splines"
5139 if test "$no_cache" != 1; then
5140 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5143 if test "$wxUSE_SPLINES" = yes; then
5144 echo "$ac_t""yes" 1>&6
5146 echo "$ac_t""no" 1>&6
5150 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5151 echo "configure:5152: checking "for --enable-validators"" >&5
5153 # Check whether --enable-validators or --disable-validators was given.
5154 if test "${enable_validators+set}" = set; then
5155 enableval
="$enable_validators"
5157 if test "$enableval" = yes; then
5158 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5160 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5165 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x
; then
5167 eval "DEFAULT_$LINE"
5172 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5177 eval "$ac_cv_use_validators"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5182 if test "$wxUSE_VALIDATORS" = yes; then
5183 echo "$ac_t""yes" 1>&6
5185 echo "$ac_t""no" 1>&6
5189 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5190 echo "configure:5191: checking "for --enable-busyinfo"" >&5
5192 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5193 if test "${enable_busyinfo+set}" = set; then
5194 enableval
="$enable_busyinfo"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5199 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5204 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5216 eval "$ac_cv_use_busyinfo"
5217 if test "$no_cache" != 1; then
5218 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5221 if test "$wxUSE_BUSYINFO" = yes; then
5222 echo "$ac_t""yes" 1>&6
5224 echo "$ac_t""no" 1>&6
5229 echo "saving argument cache $wx_arg_cache_file"
5230 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5234 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5235 echo "configure:5236: checking for toolkit" >&5
5237 if test "$TOOLKIT_GIVEN" = 1; then
5238 for toolkit
in `echo $ALL_TOOLKITS`; do
5240 eval "value=\$${var}"
5241 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5244 for toolkit
in `echo $ALL_TOOLKITS`; do
5245 if test "$has_toolkit_in_cache" != 1; then
5246 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5248 var
=DEFAULT_wxUSE_
$toolkit
5250 eval "wxUSE_$toolkit=\$${var}"
5254 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5256 case "$NUM_TOOLKITS" in
5260 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5263 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5266 for toolkit
in `echo $ALL_TOOLKITS`; do
5268 eval "value=\$${var}"
5269 if test "x$value" != x
; then
5270 cache_var
=CACHE_
$toolkit
5271 eval "cache=\$${cache_var}"
5272 if test "$cache" = 1; then
5273 echo "$var=$value" >> ${wx_arg_cache_file}
5275 if test "$value" = 1; then
5276 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5282 cat > confcache
<<\EOF
5283 # This file is a shell script that caches the results of configure
5284 # tests run on this system so they can be shared between configure
5285 # scripts and configure runs. It is not useful on other systems.
5286 # If it contains results you don't want to keep, you may remove or edit it.
5288 # By default, configure uses ./config.cache as the cache file,
5289 # creating it if it does not exist already. You can give configure
5290 # the --cache-file=FILE option to use a different cache file; that is
5291 # what configure does when it calls configure scripts in
5292 # subdirectories, so they share the cache.
5293 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5294 # config.status only pays attention to the cache file if you give it the
5295 # --recheck option to rerun configure.
5298 # The following way of writing the cache mishandles newlines in values,
5299 # but we know of no workaround that is simple, portable, and efficient.
5300 # So, don't put newlines in cache variables' values.
5301 # Ultrix sh set writes to stderr and can't be redirected directly,
5302 # and sets the high bit in the cache file unless we assign to the vars.
5304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5306 # `set' does not quote correctly, so add quotes (double-quote substitution
5307 # turns \\\\ into \\, and sed turns \\ into \).
5309 -e "s/'/'\\\\''/g" \
5310 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5313 # `set' quotes correctly as required by POSIX, so do not add quotes.
5314 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5317 if cmp -s $cache_file confcache
; then
5320 if test -w $cache_file; then
5321 echo "updating cache $cache_file"
5322 cat confcache
> $cache_file
5324 echo "not updating unwritable cache $cache_file"
5330 if eval "test $host != $build"; then
5331 if eval "test $host_alias != NONE"; then
5335 RANLIB
=$host_alias-ranlib
5336 DLLTOOL
=$host_alias-dlltool
5339 STRIP
=$host_alias-strip
5343 # Extract the first word of "gcc", so it can be a program name with args.
5344 set dummy gcc
; ac_word
=$2
5345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5346 echo "configure:5347: checking for $ac_word" >&5
5347 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5348 echo $ac_n "(cached) $ac_c" 1>&6
5350 if test -n "$CC"; then
5351 ac_cv_prog_CC
="$CC" # Let the user override the test.
5353 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5355 for ac_dir
in $ac_dummy; do
5356 test -z "$ac_dir" && ac_dir
=.
5357 if test -f $ac_dir/$ac_word; then
5366 if test -n "$CC"; then
5367 echo "$ac_t""$CC" 1>&6
5369 echo "$ac_t""no" 1>&6
5372 if test -z "$CC"; then
5373 # Extract the first word of "cc", so it can be a program name with args.
5374 set dummy cc
; ac_word
=$2
5375 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5376 echo "configure:5377: checking for $ac_word" >&5
5377 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5378 echo $ac_n "(cached) $ac_c" 1>&6
5380 if test -n "$CC"; then
5381 ac_cv_prog_CC
="$CC" # Let the user override the test.
5383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5386 for ac_dir
in $ac_dummy; do
5387 test -z "$ac_dir" && ac_dir
=.
5388 if test -f $ac_dir/$ac_word; then
5389 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5390 ac_prog_rejected
=yes
5398 if test $ac_prog_rejected = yes; then
5399 # We found a bogon in the path, so make sure we never use it.
5400 set dummy
$ac_cv_prog_CC
5402 if test $# -gt 0; then
5403 # We chose a different compiler from the bogus one.
5404 # However, it has the same basename, so the bogon will be chosen
5405 # first if we set CC to just the basename; use the full file name.
5407 set dummy
"$ac_dir/$ac_word" "$@"
5415 if test -n "$CC"; then
5416 echo "$ac_t""$CC" 1>&6
5418 echo "$ac_t""no" 1>&6
5421 if test -z "$CC"; then
5422 case "`uname -s`" in
5424 # Extract the first word of "cl", so it can be a program name with args.
5425 set dummy cl
; ac_word
=$2
5426 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5427 echo "configure:5428: checking for $ac_word" >&5
5428 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5429 echo $ac_n "(cached) $ac_c" 1>&6
5431 if test -n "$CC"; then
5432 ac_cv_prog_CC
="$CC" # Let the user override the test.
5434 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5436 for ac_dir
in $ac_dummy; do
5437 test -z "$ac_dir" && ac_dir
=.
5438 if test -f $ac_dir/$ac_word; then
5447 if test -n "$CC"; then
5448 echo "$ac_t""$CC" 1>&6
5450 echo "$ac_t""no" 1>&6
5455 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5458 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5459 echo "configure:5460: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5462 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5463 ac_cpp
='$CPP $CPPFLAGS'
5464 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5465 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5466 cross_compiling
=$ac_cv_prog_cc_cross
5468 cat > conftest.
$ac_ext << EOF
5470 #line 5471 "configure"
5471 #include "confdefs.h"
5475 if { (eval echo configure
:5476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5476 ac_cv_prog_cc_works
=yes
5477 # If we can't run a trivial program, we are probably using a cross compiler.
5478 if (.
/conftest
; exit) 2>/dev
/null
; then
5479 ac_cv_prog_cc_cross
=no
5481 ac_cv_prog_cc_cross
=yes
5484 echo "configure: failed program was:" >&5
5485 cat conftest.
$ac_ext >&5
5486 ac_cv_prog_cc_works
=no
5490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5491 ac_cpp
='$CPP $CPPFLAGS'
5492 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5493 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5494 cross_compiling
=$ac_cv_prog_cc_cross
5496 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5497 if test $ac_cv_prog_cc_works = no
; then
5498 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5500 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5501 echo "configure:5502: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5502 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5503 cross_compiling
=$ac_cv_prog_cc_cross
5505 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5506 echo "configure:5507: checking whether we are using GNU C" >&5
5507 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5508 echo $ac_n "(cached) $ac_c" 1>&6
5510 cat > conftest.c
<<EOF
5515 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5522 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5524 if test $ac_cv_prog_gcc = yes; then
5530 ac_test_CFLAGS
="${CFLAGS+set}"
5531 ac_save_CFLAGS
="$CFLAGS"
5533 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5534 echo "configure:5535: checking whether ${CC-cc} accepts -g" >&5
5535 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5536 echo $ac_n "(cached) $ac_c" 1>&6
5538 echo 'void f(){}' > conftest.c
5539 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5548 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5549 if test "$ac_test_CFLAGS" = set; then
5550 CFLAGS
="$ac_save_CFLAGS"
5551 elif test $ac_cv_prog_cc_g = yes; then
5552 if test "$GCC" = yes; then
5558 if test "$GCC" = yes; then
5566 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5568 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5569 echo "configure:5570: checking how to run the C preprocessor" >&5
5570 # On Suns, sometimes $CPP names a directory.
5571 if test -n "$CPP" && test -d "$CPP"; then
5574 if test -z "$CPP"; then
5575 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5576 echo $ac_n "(cached) $ac_c" 1>&6
5578 # This must be in double quotes, not single quotes, because CPP may get
5579 # substituted into the Makefile and "${CC-cc}" will confuse make.
5581 # On the NeXT, cc -E runs the code through the compiler's parser,
5582 # not just through cpp.
5583 cat > conftest.
$ac_ext <<EOF
5584 #line 5585 "configure"
5585 #include "confdefs.h"
5589 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5590 { (eval echo configure
:5591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5591 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5592 if test -z "$ac_err"; then
5596 echo "configure: failed program was:" >&5
5597 cat conftest.
$ac_ext >&5
5599 CPP
="${CC-cc} -E -traditional-cpp"
5600 cat > conftest.
$ac_ext <<EOF
5601 #line 5602 "configure"
5602 #include "confdefs.h"
5606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5607 { (eval echo configure
:5608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5609 if test -z "$ac_err"; then
5613 echo "configure: failed program was:" >&5
5614 cat conftest.
$ac_ext >&5
5616 CPP
="${CC-cc} -nologo -E"
5617 cat > conftest.
$ac_ext <<EOF
5618 #line 5619 "configure"
5619 #include "confdefs.h"
5623 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5624 { (eval echo configure
:5625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5625 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5626 if test -z "$ac_err"; then
5630 echo "configure: failed program was:" >&5
5631 cat conftest.
$ac_ext >&5
5640 ac_cv_prog_CPP
="$CPP"
5642 CPP
="$ac_cv_prog_CPP"
5644 ac_cv_prog_CPP
="$CPP"
5646 echo "$ac_t""$CPP" 1>&6
5649 if test $ac_cv_prog_gcc = yes; then
5650 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5651 echo "configure:5652: checking whether ${CC-cc} needs -traditional" >&5
5652 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5653 echo $ac_n "(cached) $ac_c" 1>&6
5655 ac_pattern
="Autoconf.*'x'"
5656 cat > conftest.
$ac_ext <<EOF
5657 #line 5658 "configure"
5658 #include "confdefs.h"
5662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5663 egrep "$ac_pattern" >/dev
/null
2>&1; then
5665 ac_cv_prog_gcc_traditional
=yes
5668 ac_cv_prog_gcc_traditional
=no
5673 if test $ac_cv_prog_gcc_traditional = no
; then
5674 cat > conftest.
$ac_ext <<EOF
5675 #line 5676 "configure"
5676 #include "confdefs.h"
5680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5681 egrep "$ac_pattern" >/dev
/null
2>&1; then
5683 ac_cv_prog_gcc_traditional
=yes
5690 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5691 if test $ac_cv_prog_gcc_traditional = yes; then
5692 CC
="$CC -traditional"
5699 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5700 ac_cpp
='$CXXCPP $CPPFLAGS'
5701 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5702 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5703 cross_compiling
=$ac_cv_prog_cxx_cross
5706 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
5708 # Extract the first word of "$ac_prog", so it can be a program name with args.
5709 set dummy
$ac_prog; ac_word
=$2
5710 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5711 echo "configure:5712: checking for $ac_word" >&5
5712 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
5713 echo $ac_n "(cached) $ac_c" 1>&6
5715 if test -n "$CXX"; then
5716 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5718 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5720 for ac_dir
in $ac_dummy; do
5721 test -z "$ac_dir" && ac_dir
=.
5722 if test -f $ac_dir/$ac_word; then
5723 ac_cv_prog_CXX
="$ac_prog"
5730 CXX
="$ac_cv_prog_CXX"
5731 if test -n "$CXX"; then
5732 echo "$ac_t""$CXX" 1>&6
5734 echo "$ac_t""no" 1>&6
5737 test -n "$CXX" && break
5739 test -n "$CXX" || CXX
="gcc"
5742 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5743 echo "configure:5744: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
5746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5747 ac_cpp
='$CXXCPP $CPPFLAGS'
5748 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5749 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5750 cross_compiling
=$ac_cv_prog_cxx_cross
5752 cat > conftest.
$ac_ext << EOF
5754 #line 5755 "configure"
5755 #include "confdefs.h"
5757 int main(){return(0);}
5759 if { (eval echo configure
:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5760 ac_cv_prog_cxx_works
=yes
5761 # If we can't run a trivial program, we are probably using a cross compiler.
5762 if (.
/conftest
; exit) 2>/dev
/null
; then
5763 ac_cv_prog_cxx_cross
=no
5765 ac_cv_prog_cxx_cross
=yes
5768 echo "configure: failed program was:" >&5
5769 cat conftest.
$ac_ext >&5
5770 ac_cv_prog_cxx_works
=no
5774 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5775 ac_cpp
='$CXXCPP $CPPFLAGS'
5776 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5777 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5778 cross_compiling
=$ac_cv_prog_cxx_cross
5780 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
5781 if test $ac_cv_prog_cxx_works = no
; then
5782 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
5784 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5785 echo "configure:5786: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
5786 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
5787 cross_compiling
=$ac_cv_prog_cxx_cross
5789 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
5790 echo "configure:5791: checking whether we are using GNU C++" >&5
5791 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
5792 echo $ac_n "(cached) $ac_c" 1>&6
5794 cat > conftest.C
<<EOF
5799 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:5800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5806 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
5808 if test $ac_cv_prog_gxx = yes; then
5814 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5815 ac_save_CXXFLAGS
="$CXXFLAGS"
5817 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
5818 echo "configure:5819: checking whether ${CXX-g++} accepts -g" >&5
5819 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
5820 echo $ac_n "(cached) $ac_c" 1>&6
5822 echo 'void f(){}' > conftest.cc
5823 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
5824 ac_cv_prog_cxx_g
=yes
5832 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
5833 if test "$ac_test_CXXFLAGS" = set; then
5834 CXXFLAGS
="$ac_save_CXXFLAGS"
5835 elif test $ac_cv_prog_cxx_g = yes; then
5836 if test "$GXX" = yes; then
5842 if test "$GXX" = yes; then
5850 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
5851 echo "configure:5852: checking how to run the C++ preprocessor" >&5
5852 if test -z "$CXXCPP"; then
5853 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
5854 echo $ac_n "(cached) $ac_c" 1>&6
5857 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5858 ac_cpp
='$CXXCPP $CPPFLAGS'
5859 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5860 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5861 cross_compiling
=$ac_cv_prog_cxx_cross
5862 CXXCPP
="${CXX-g++} -E"
5863 cat > conftest.
$ac_ext <<EOF
5864 #line 5865 "configure"
5865 #include "confdefs.h"
5868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5869 { (eval echo configure
:5870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5871 if test -z "$ac_err"; then
5875 echo "configure: failed program was:" >&5
5876 cat conftest.
$ac_ext >&5
5881 ac_cv_prog_CXXCPP
="$CXXCPP"
5883 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5884 ac_cpp
='$CXXCPP $CPPFLAGS'
5885 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5886 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5887 cross_compiling
=$ac_cv_prog_cxx_cross
5890 CXXCPP
="$ac_cv_prog_CXXCPP"
5891 echo "$ac_t""$CXXCPP" 1>&6
5894 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
5897 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5898 ac_cpp
='$CPP $CPPFLAGS'
5899 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5900 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5901 cross_compiling
=$ac_cv_prog_cc_cross
5904 # Extract the first word of "ranlib", so it can be a program name with args.
5905 set dummy ranlib
; ac_word
=$2
5906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5907 echo "configure:5908: checking for $ac_word" >&5
5908 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
5909 echo $ac_n "(cached) $ac_c" 1>&6
5911 if test -n "$RANLIB"; then
5912 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5914 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5916 for ac_dir
in $ac_dummy; do
5917 test -z "$ac_dir" && ac_dir
=.
5918 if test -f $ac_dir/$ac_word; then
5919 ac_cv_prog_RANLIB
="ranlib"
5924 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
5927 RANLIB
="$ac_cv_prog_RANLIB"
5928 if test -n "$RANLIB"; then
5929 echo "$ac_t""$RANLIB" 1>&6
5931 echo "$ac_t""no" 1>&6
5935 # Extract the first word of "ar", so it can be a program name with args.
5936 set dummy
ar; 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_AR'+set}'`\" = set"; then
5940 echo $ac_n "(cached) $ac_c" 1>&6
5942 if test -n "$AR"; then
5943 ac_cv_prog_AR
="$AR" # 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
5955 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
5959 if test -n "$AR"; then
5960 echo "$ac_t""$AR" 1>&6
5962 echo "$ac_t""no" 1>&6
5966 # Find a good install program. We prefer a C program (faster),
5967 # so one script is as good as another. But avoid the broken or
5968 # incompatible versions:
5969 # SysV /etc/install, /usr/sbin/install
5970 # SunOS /usr/etc/install
5971 # IRIX /sbin/install
5973 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5974 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5975 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5976 # ./install, which can be erroneously created by make from ./install.sh.
5977 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
5978 echo "configure:5979: checking for a BSD compatible install" >&5
5979 if test -z "$INSTALL"; then
5980 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
5981 echo $ac_n "(cached) $ac_c" 1>&6
5983 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
5984 for ac_dir
in $PATH; do
5985 # Account for people who put trailing slashes in PATH elements.
5987 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
5989 # OSF1 and SCO ODT 3.0 have their own names for install.
5990 # Don't use installbsd from OSF since it installs stuff as root
5992 for ac_prog
in ginstall scoinst
install; do
5993 if test -f $ac_dir/$ac_prog; then
5994 if test $ac_prog = install &&
5995 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
5996 # AIX install. It has an incompatible calling convention.
5999 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6010 if test "${ac_cv_path_install+set}" = set; then
6011 INSTALL
="$ac_cv_path_install"
6013 # As a last resort, use the slow shell script. We don't cache a
6014 # path for INSTALL within a source directory, because that will
6015 # break other packages using the cache if that directory is
6016 # removed, or if the path is relative.
6017 INSTALL
="$ac_install_sh"
6020 echo "$ac_t""$INSTALL" 1>&6
6022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6023 # It thinks the first close brace ends the variable substitution.
6024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6028 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6031 # Extract the first word of "strip", so it can be a program name with args.
6032 set dummy strip
; ac_word
=$2
6033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6034 echo "configure:6035: checking for $ac_word" >&5
6035 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6036 echo $ac_n "(cached) $ac_c" 1>&6
6038 if test -n "$STRIP"; then
6039 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6041 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6043 for ac_dir
in $ac_dummy; do
6044 test -z "$ac_dir" && ac_dir
=.
6045 if test -f $ac_dir/$ac_word; then
6046 ac_cv_prog_STRIP
="strip"
6051 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6054 STRIP
="$ac_cv_prog_STRIP"
6055 if test -n "$STRIP"; then
6056 echo "$ac_t""$STRIP" 1>&6
6058 echo "$ac_t""no" 1>&6
6062 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6063 echo "configure:6064: checking "make for VPATH support
"" >&5
6064 cat - << EOF > confMake
6070 if test ! -d sub
; then
6073 echo dummy
> sub
/file
6074 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6076 rm -f sub
/file check final_file confMake
6078 if test "$RESULT" = 0; then
6079 echo "$ac_t""yes" 1>&6
6081 echo "$ac_t""no" 1>&6
6082 { echo "configure: error: You need a make-utility that is able to use the variable
6084 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6087 for ac_prog
in 'bison -y' byacc
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy
$ac_prog; ac_word
=$2
6091 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6092 echo "configure:6093: checking for $ac_word" >&5
6093 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6094 echo $ac_n "(cached) $ac_c" 1>&6
6096 if test -n "$YACC"; then
6097 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6099 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6101 for ac_dir
in $ac_dummy; do
6102 test -z "$ac_dir" && ac_dir
=.
6103 if test -f $ac_dir/$ac_word; then
6104 ac_cv_prog_YACC
="$ac_prog"
6111 YACC
="$ac_cv_prog_YACC"
6112 if test -n "$YACC"; then
6113 echo "$ac_t""$YACC" 1>&6
6115 echo "$ac_t""no" 1>&6
6118 test -n "$YACC" && break
6120 test -n "$YACC" || YACC
="yacc"
6123 # Extract the first word of "flex", so it can be a program name with args.
6124 set dummy flex
; ac_word
=$2
6125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6126 echo "configure:6127: checking for $ac_word" >&5
6127 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6128 echo $ac_n "(cached) $ac_c" 1>&6
6130 if test -n "$LEX"; then
6131 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6133 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6135 for ac_dir
in $ac_dummy; do
6136 test -z "$ac_dir" && ac_dir
=.
6137 if test -f $ac_dir/$ac_word; then
6138 ac_cv_prog_LEX
="flex"
6143 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6146 LEX
="$ac_cv_prog_LEX"
6147 if test -n "$LEX"; then
6148 echo "$ac_t""$LEX" 1>&6
6150 echo "$ac_t""no" 1>&6
6153 if test -z "$LEXLIB"
6159 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6160 echo "configure:6161: checking for yywrap in -l$ac_lib" >&5
6161 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6163 echo $ac_n "(cached) $ac_c" 1>&6
6165 ac_save_LIBS
="$LIBS"
6166 LIBS
="-l$ac_lib $LIBS"
6167 cat > conftest.
$ac_ext <<EOF
6168 #line 6169 "configure"
6169 #include "confdefs.h"
6170 /* Override any gcc2 internal prototype to avoid an error. */
6171 /* We use char because int might match the return type of a gcc2
6172 builtin and then its argument prototype would still apply. */
6179 if { (eval echo configure
:6180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6181 eval "ac_cv_lib_$ac_lib_var=yes"
6183 echo "configure: failed program was:" >&5
6184 cat conftest.
$ac_ext >&5
6186 eval "ac_cv_lib_$ac_lib_var=no"
6189 LIBS
="$ac_save_LIBS"
6192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6193 echo "$ac_t""yes" 1>&6
6196 echo "$ac_t""no" 1>&6
6202 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6203 echo "configure:6204: checking whether ln -s works" >&5
6204 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6205 echo $ac_n "(cached) $ac_c" 1>&6
6208 if ln -s X conftestdata
2>/dev
/null
6211 ac_cv_prog_LN_S
="ln -s"
6216 LN_S
="$ac_cv_prog_LN_S"
6217 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6218 echo "$ac_t""yes" 1>&6
6220 echo "$ac_t""no" 1>&6
6226 /usr/Motif-1.2/include \
6227 /usr/Motif-2.1/include \
6229 /usr/include/Motif1.2 \
6230 /opt/xpm/include/X11 \
6232 /usr/Motif1.2/include \
6236 /usr/X11R6/include \
6237 /usr/X11R5/include \
6238 /usr/X11R4/include \
6244 /usr/include/X11R6 \
6245 /usr/include/X11R5 \
6246 /usr/include/X11R4 \
6248 /usr/local/X11R6/include \
6249 /usr/local/X11R5/include \
6250 /usr/local/X11R4/include \
6252 /usr/local/include/X11R6 \
6253 /usr/local/include/X11R5 \
6254 /usr/local/include/X11R4 \
6258 /usr/local/X11/include \
6259 /usr/local/include/X11 \
6263 /usr/XFree86/include/X11 \
6266 /usr/local/include \
6269 /usr/local/include/gtk \
6271 /usr/local/include/glib \
6274 /usr/local/include/qt \
6276 /usr/include/windows \
6278 /usr/local/include/wine \
6280 /usr/unsupported/include \
6281 /usr/athena/include \
6282 /usr/local/x11r5/include \
6283 /usr/lpp/Xamples/include \
6285 /usr/openwin/include \
6286 /usr/openwin/share/include \
6289 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6292 cat > confcache
<<\EOF
6293 # This file is a shell script that caches the results of configure
6294 # tests run on this system so they can be shared between configure
6295 # scripts and configure runs. It is not useful on other systems.
6296 # If it contains results you don't want to keep, you may remove or edit it.
6298 # By default, configure uses ./config.cache as the cache file,
6299 # creating it if it does not exist already. You can give configure
6300 # the --cache-file=FILE option to use a different cache file; that is
6301 # what configure does when it calls configure scripts in
6302 # subdirectories, so they share the cache.
6303 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6304 # config.status only pays attention to the cache file if you give it the
6305 # --recheck option to rerun configure.
6308 # The following way of writing the cache mishandles newlines in values,
6309 # but we know of no workaround that is simple, portable, and efficient.
6310 # So, don't put newlines in cache variables' values.
6311 # Ultrix sh set writes to stderr and can't be redirected directly,
6312 # and sets the high bit in the cache file unless we assign to the vars.
6314 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6316 # `set' does not quote correctly, so add quotes (double-quote substitution
6317 # turns \\\\ into \\, and sed turns \\ into \).
6319 -e "s/'/'\\\\''/g" \
6320 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6323 # `set' quotes correctly as required by POSIX, so do not add quotes.
6324 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6327 if cmp -s $cache_file confcache
; then
6330 if test -w $cache_file; then
6331 echo "updating cache $cache_file"
6332 cat confcache
> $cache_file
6334 echo "not updating unwritable cache $cache_file"
6355 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6356 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6357 echo "configure:6358: checking for Windows headers" >&5
6360 for ac_dir
in $SEARCH_INCLUDE;
6362 if test -f "$ac_dir/windows.h"; then
6363 ac_find_includes
=$ac_dir
6368 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6370 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -loldnames -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6372 if test "$ac_find_includes" != "" ; then
6373 echo "$ac_t""found $ac_find_includes" 1>&6
6374 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6376 echo "$ac_t""no" 1>&6
6377 if test "$cross_compiling" != "yes" ; then
6378 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6385 GUIHEADERS
=MSW_HEADERS
6386 COMMONOBJS
=MSW_COMMONOBJS
6387 GENERICOBJS
=MSW_GENERICOBJS
6392 if test "$wxUSE_GTK" = 1; then
6394 if test x
$gtk_config_exec_prefix != x
; then
6395 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6396 if test x
${GTK_CONFIG+set} != xset
; then
6397 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6400 if test x
$gtk_config_prefix != x
; then
6401 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6402 if test x
${GTK_CONFIG+set} != xset
; then
6403 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6407 # Extract the first word of "gtk-config", so it can be a program name with args.
6408 set dummy gtk
-config; ac_word
=$2
6409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6410 echo "configure:6411: checking for $ac_word" >&5
6411 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6412 echo $ac_n "(cached) $ac_c" 1>&6
6414 case "$GTK_CONFIG" in
6416 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6419 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6422 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6424 for ac_dir
in $ac_dummy; do
6425 test -z "$ac_dir" && ac_dir
=.
6426 if test -f $ac_dir/$ac_word; then
6427 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6432 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6436 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6437 if test -n "$GTK_CONFIG"; then
6438 echo "$ac_t""$GTK_CONFIG" 1>&6
6440 echo "$ac_t""no" 1>&6
6443 min_gtk_version
=1.2.0
6444 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6445 echo "configure:6446: checking for GTK - version >= $min_gtk_version" >&5
6447 if test "$GTK_CONFIG" != "no" ; then
6448 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6449 GTK_LIBS
=`$GTK_CONFIG --libs`
6450 ac_save_CFLAGS
="$CFLAGS"
6451 ac_save_LIBS
="$LIBS"
6452 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6453 LIBS
="$LIBS $GTK_LIBS"
6454 if test "$cross_compiling" = yes; then
6455 echo $ac_n "cross compiling; assumed OK... $ac_c"
6457 cat > conftest.
$ac_ext <<EOF
6458 #line 6459 "configure"
6459 #include "confdefs.h"
6461 #include <gtk/gtk.h>
6467 int major, minor, micro;
6469 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6470 printf("%s, bad version string\n", "$min_gtk_version");
6474 if (gtk_minor_version == 1) return FALSE;
6476 return !((gtk_major_version > major) ||
6477 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6478 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6482 if { (eval echo configure
:6483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6486 echo "configure: failed program was:" >&5
6487 cat conftest.
$ac_ext >&5
6494 CFLAGS
="$ac_save_CFLAGS"
6495 LIBS
="$ac_save_LIBS"
6499 if test "x$no_gtk" = x
; then
6500 echo "$ac_t""yes" 1>&6
6503 echo "$ac_t""no" 1>&6
6511 if test "$WXGTK12" != 1; then
6513 if test x
$gtk_config_exec_prefix != x
; then
6514 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6515 if test x
${GTK_CONFIG+set} != xset
; then
6516 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6519 if test x
$gtk_config_prefix != x
; then
6520 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6521 if test x
${GTK_CONFIG+set} != xset
; then
6522 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6526 # Extract the first word of "gtk-config", so it can be a program name with args.
6527 set dummy gtk
-config; ac_word
=$2
6528 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6529 echo "configure:6530: checking for $ac_word" >&5
6530 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6531 echo $ac_n "(cached) $ac_c" 1>&6
6533 case "$GTK_CONFIG" in
6535 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6538 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6541 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6543 for ac_dir
in $ac_dummy; do
6544 test -z "$ac_dir" && ac_dir
=.
6545 if test -f $ac_dir/$ac_word; then
6546 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6551 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6555 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6556 if test -n "$GTK_CONFIG"; then
6557 echo "$ac_t""$GTK_CONFIG" 1>&6
6559 echo "$ac_t""no" 1>&6
6562 min_gtk_version
=1.0.0
6563 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6564 echo "configure:6565: checking for GTK - version >= $min_gtk_version" >&5
6566 if test "$GTK_CONFIG" != "no" ; then
6567 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6568 GTK_LIBS
=`$GTK_CONFIG --libs`
6569 ac_save_CFLAGS
="$CFLAGS"
6570 ac_save_LIBS
="$LIBS"
6571 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6572 LIBS
="$LIBS $GTK_LIBS"
6573 if test "$cross_compiling" = yes; then
6574 echo $ac_n "cross compiling; assumed OK... $ac_c"
6576 cat > conftest.
$ac_ext <<EOF
6577 #line 6578 "configure"
6578 #include "confdefs.h"
6580 #include <gtk/gtk.h>
6586 int major, minor, micro;
6588 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6589 printf("%s, bad version string\n", "$min_gtk_version");
6593 if (gtk_minor_version == 1) return FALSE;
6595 return !((gtk_major_version > major) ||
6596 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6597 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6601 if { (eval echo configure
:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6605 echo "configure: failed program was:" >&5
6606 cat conftest.
$ac_ext >&5
6613 CFLAGS
="$ac_save_CFLAGS"
6614 LIBS
="$ac_save_LIBS"
6618 if test "x$no_gtk" = x
; then
6619 echo "$ac_t""yes" 1>&6
6622 echo "$ac_t""no" 1>&6
6625 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6632 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6633 GUI_TK_LIBRARY
="$GTK_LIBS -ldl"
6637 GUIHEADERS
=GTK_HEADERS
6638 COMMONOBJS
=GTK_COMMONOBJS
6639 GENERICOBJS
=GTK_GENERICOBJS
6644 if test "$wxUSE_WINE" = 1; then
6645 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6646 echo "configure:6647: checking for WINE includes" >&5
6649 for ac_dir
in $SEARCH_INCLUDE;
6651 if test -f "$ac_dir/windows.h"; then
6652 ac_find_includes
=$ac_dir
6657 if test "$ac_find_includes" != "" ; then
6658 echo "$ac_t""found $ac_find_includes" 1>&6
6659 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6661 echo "$ac_t""no" 1>&6
6662 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6666 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6667 echo "configure:6668: checking for Xpm library" >&5
6670 for ac_dir
in $SEARCH_LIB;
6672 for ac_extension
in a so sl
; do
6673 if test -f "$ac_dir/libXpm.$ac_extension"; then
6674 ac_find_libraries
=$ac_dir
6680 if test "$ac_find_libraries" != "" ; then
6681 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6683 cat >> confdefs.h
<<\EOF
6684 #define wxHAVE_LIB_XPM 1
6687 echo "$ac_t""found at $ac_find_libraries" 1>&6
6689 echo "$ac_t""no" 1>&6
6690 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6694 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6695 echo "configure:6696: checking for Mesa library" >&5
6698 for ac_dir
in $SEARCH_LIB;
6700 for ac_extension
in a so sl
; do
6701 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6702 ac_find_libraries
=$ac_dir
6708 if test "$ac_find_libraries" != "" ; then
6709 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6710 MESA_LINK
="-lMesaGL"
6711 echo "$ac_t""found at $ac_find_libraries" 1>&6
6713 { echo "configure: error: no" 1>&2; exit 1; }
6716 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -ldl -lm"
6717 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6722 GUIHEADERS
=MSW_HEADERS
6723 COMMONOBJS
=MSW_COMMONOBJS
6724 GENERICOBJS
=MSW_GENERICOBJS
6729 if test "$wxUSE_MOTIF" = 1; then
6730 # If we find X, set shell vars x_includes and x_libraries to the
6731 # paths, otherwise set no_x=yes.
6732 # Uses ac_ vars as temps to allow command line to override cache and checks.
6733 # --without-x overrides everything else, but does not touch the cache.
6734 echo $ac_n "checking for X""... $ac_c" 1>&6
6735 echo "configure:6736: checking for X" >&5
6737 # Check whether --with-x or --without-x was given.
6738 if test "${with_x+set}" = set; then
6743 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6744 if test "x$with_x" = xno
; then
6745 # The user explicitly disabled X.
6748 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6749 # Both variables are already set.
6752 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6753 echo $ac_n "(cached) $ac_c" 1>&6
6755 # One or both of the vars are not set, and there is no cached value.
6756 ac_x_includes
=NO ac_x_libraries
=NO
6758 if mkdir conftestdir
; then
6760 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6761 cat > Imakefile
<<'EOF'
6763 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6765 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6767 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6768 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6769 for ac_extension
in a so sl
; do
6770 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6771 test -f $ac_im_libdir/libX11.
$ac_extension; then
6772 ac_im_usrlibdir
=$ac_im_libdir; break
6775 # Screen out bogus values from the imake configuration. They are
6776 # bogus both because they are the default anyway, and because
6777 # using them would break gcc on systems where it needs fixed includes.
6778 case "$ac_im_incroot" in
6780 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
6782 case "$ac_im_usrlibdir" in
6784 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
6791 if test "$ac_x_includes" = NO
; then
6792 # Guess where to find include files, by looking for this one X11 .h file.
6793 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
6795 # First, try using that file with no special directory specified.
6796 cat > conftest.
$ac_ext <<EOF
6797 #line 6798 "configure"
6798 #include "confdefs.h"
6799 #include <$x_direct_test_include>
6801 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6802 { (eval echo configure
:6803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6803 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6804 if test -z "$ac_err"; then
6806 # We can compile using X headers with no special include directory.
6810 echo "configure: failed program was:" >&5
6811 cat conftest.
$ac_ext >&5
6813 # Look for the header file in a standard set of common directories.
6814 # Check X11 before X11Rn because it is often a symlink to the current release.
6817 /usr
/X
11R
6/include \
6818 /usr
/X
11R
5/include \
6819 /usr
/X
11R
4/include \
6822 /usr
/include
/X11R6 \
6823 /usr
/include
/X11R5 \
6824 /usr
/include
/X11R4 \
6826 /usr
/local
/X
11/include \
6827 /usr
/local
/X
11R
6/include \
6828 /usr
/local
/X
11R
5/include \
6829 /usr
/local
/X
11R
4/include \
6831 /usr
/local
/include
/X11 \
6832 /usr
/local
/include
/X11R6 \
6833 /usr
/local
/include
/X11R5 \
6834 /usr
/local
/include
/X11R4 \
6838 /usr
/XFree
86/include
/X11 \
6841 /usr
/local
/include \
6842 /usr
/unsupported
/include \
6843 /usr
/athena
/include \
6844 /usr
/local
/x
11r
5/include \
6845 /usr
/lpp
/Xamples
/include \
6847 /usr
/openwin
/include \
6848 /usr
/openwin
/share
/include \
6851 if test -r "$ac_dir/$x_direct_test_include"; then
6852 ac_x_includes
=$ac_dir
6858 fi # $ac_x_includes = NO
6860 if test "$ac_x_libraries" = NO
; then
6861 # Check for the libraries.
6863 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
6864 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
6866 # See if we find them without any special options.
6867 # Don't add to $LIBS permanently.
6868 ac_save_LIBS
="$LIBS"
6869 LIBS
="-l$x_direct_test_library $LIBS"
6870 cat > conftest.
$ac_ext <<EOF
6871 #line 6872 "configure"
6872 #include "confdefs.h"
6875 ${x_direct_test_function}()
6878 if { (eval echo configure
:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6880 LIBS
="$ac_save_LIBS"
6881 # We can link X programs with no special library path.
6884 echo "configure: failed program was:" >&5
6885 cat conftest.
$ac_ext >&5
6887 LIBS
="$ac_save_LIBS"
6888 # First see if replacing the include by lib works.
6889 # Check X11 before X11Rn because it is often a symlink to the current release.
6890 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
6901 /usr
/local
/X
11/lib \
6902 /usr
/local
/X
11R
6/lib \
6903 /usr
/local
/X
11R
5/lib \
6904 /usr
/local
/X
11R
4/lib \
6906 /usr
/local
/lib
/X11 \
6907 /usr
/local
/lib
/X11R6 \
6908 /usr
/local
/lib
/X11R5 \
6909 /usr
/local
/lib
/X11R4 \
6913 /usr
/XFree
86/lib
/X11 \
6917 /usr
/unsupported
/lib \
6919 /usr
/local
/x
11r
5/lib \
6920 /usr
/lpp
/Xamples
/lib \
6924 /usr
/openwin
/share
/lib \
6927 for ac_extension
in a so sl
; do
6928 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
6929 ac_x_libraries
=$ac_dir
6936 fi # $ac_x_libraries = NO
6938 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
6939 # Didn't find X anywhere. Cache the known absence of X.
6940 ac_cv_have_x
="have_x=no"
6942 # Record where we found X for the cache.
6943 ac_cv_have_x
="have_x=yes \
6944 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6948 eval "$ac_cv_have_x"
6951 if test "$have_x" != yes; then
6952 echo "$ac_t""$have_x" 1>&6
6955 # If each of the values was on the command line, it overrides each guess.
6956 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6957 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6958 # Update the cache value to reflect the command line values.
6959 ac_cv_have_x
="have_x=yes \
6960 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6961 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
6964 if test "$no_x" = yes; then
6965 # Not all programs may use this symbol, but it does not hurt to define it.
6966 cat >> confdefs.h
<<\EOF
6967 #define X_DISPLAY_MISSING 1
6970 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6972 if test -n "$x_includes"; then
6973 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6976 # It would also be nice to do this for all -L options, not just this one.
6977 if test -n "$x_libraries"; then
6978 X_LIBS
="$X_LIBS -L$x_libraries"
6979 # For Solaris; some versions of Sun CC require a space after -R and
6980 # others require no space. Words are not sufficient . . . .
6981 case "`(uname -sr) 2>/dev/null`" in
6983 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6984 echo "configure:6985: checking whether -R must be followed by a space" >&5
6985 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
6986 cat > conftest.
$ac_ext <<EOF
6987 #line 6988 "configure"
6988 #include "confdefs.h"
6994 if { (eval echo configure
:6995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6998 echo "configure: failed program was:" >&5
6999 cat conftest.
$ac_ext >&5
7004 if test $ac_R_nospace = yes; then
7005 echo "$ac_t""no" 1>&6
7006 X_LIBS
="$X_LIBS -R$x_libraries"
7008 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7009 cat > conftest.
$ac_ext <<EOF
7010 #line 7011 "configure"
7011 #include "confdefs.h"
7017 if { (eval echo configure
:7018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7021 echo "configure: failed program was:" >&5
7022 cat conftest.
$ac_ext >&5
7027 if test $ac_R_space = yes; then
7028 echo "$ac_t""yes" 1>&6
7029 X_LIBS
="$X_LIBS -R $x_libraries"
7031 echo "$ac_t""neither works" 1>&6
7034 LIBS
="$ac_xsave_LIBS"
7038 # Check for system-dependent libraries X programs must link with.
7039 # Do this before checking for the system-independent R6 libraries
7040 # (-lICE), since we may need -lsocket or whatever for X linking.
7042 if test "$ISC" = yes; then
7043 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7045 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7046 # libraries were built with DECnet support. And karl@cs.umb.edu says
7047 # the Alpha needs dnet_stub (dnet does not exist).
7048 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7049 echo "configure:7050: checking for dnet_ntoa in -ldnet" >&5
7050 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7052 echo $ac_n "(cached) $ac_c" 1>&6
7054 ac_save_LIBS
="$LIBS"
7056 cat > conftest.
$ac_ext <<EOF
7057 #line 7058 "configure"
7058 #include "confdefs.h"
7059 /* Override any gcc2 internal prototype to avoid an error. */
7060 /* We use char because int might match the return type of a gcc2
7061 builtin and then its argument prototype would still apply. */
7068 if { (eval echo configure
:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7070 eval "ac_cv_lib_$ac_lib_var=yes"
7072 echo "configure: failed program was:" >&5
7073 cat conftest.
$ac_ext >&5
7075 eval "ac_cv_lib_$ac_lib_var=no"
7078 LIBS
="$ac_save_LIBS"
7081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7082 echo "$ac_t""yes" 1>&6
7083 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7085 echo "$ac_t""no" 1>&6
7088 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7089 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7090 echo "configure:7091: checking for dnet_ntoa in -ldnet_stub" >&5
7091 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7093 echo $ac_n "(cached) $ac_c" 1>&6
7095 ac_save_LIBS
="$LIBS"
7096 LIBS
="-ldnet_stub $LIBS"
7097 cat > conftest.
$ac_ext <<EOF
7098 #line 7099 "configure"
7099 #include "confdefs.h"
7100 /* Override any gcc2 internal prototype to avoid an error. */
7101 /* We use char because int might match the return type of a gcc2
7102 builtin and then its argument prototype would still apply. */
7109 if { (eval echo configure
:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7111 eval "ac_cv_lib_$ac_lib_var=yes"
7113 echo "configure: failed program was:" >&5
7114 cat conftest.
$ac_ext >&5
7116 eval "ac_cv_lib_$ac_lib_var=no"
7119 LIBS
="$ac_save_LIBS"
7122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7123 echo "$ac_t""yes" 1>&6
7124 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7126 echo "$ac_t""no" 1>&6
7131 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7132 # to get the SysV transport functions.
7133 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7135 # The nsl library prevents programs from opening the X display
7136 # on Irix 5.2, according to dickey@clark.net.
7137 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7138 echo "configure:7139: checking for gethostbyname" >&5
7139 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7140 echo $ac_n "(cached) $ac_c" 1>&6
7142 cat > conftest.
$ac_ext <<EOF
7143 #line 7144 "configure"
7144 #include "confdefs.h"
7145 /* System header to define __stub macros and hopefully few prototypes,
7146 which can conflict with char gethostbyname(); below. */
7148 /* Override any gcc2 internal prototype to avoid an error. */
7149 /* We use char because int might match the return type of a gcc2
7150 builtin and then its argument prototype would still apply. */
7151 char gethostbyname();
7156 /* The GNU C library defines this for functions which it implements
7157 to always fail with ENOSYS. Some functions are actually named
7158 something starting with __ and the normal name is an alias. */
7159 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7167 if { (eval echo configure
:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7169 eval "ac_cv_func_gethostbyname=yes"
7171 echo "configure: failed program was:" >&5
7172 cat conftest.
$ac_ext >&5
7174 eval "ac_cv_func_gethostbyname=no"
7179 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7180 echo "$ac_t""yes" 1>&6
7183 echo "$ac_t""no" 1>&6
7186 if test $ac_cv_func_gethostbyname = no
; then
7187 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7188 echo "configure:7189: checking for gethostbyname in -lnsl" >&5
7189 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7191 echo $ac_n "(cached) $ac_c" 1>&6
7193 ac_save_LIBS
="$LIBS"
7195 cat > conftest.
$ac_ext <<EOF
7196 #line 7197 "configure"
7197 #include "confdefs.h"
7198 /* Override any gcc2 internal prototype to avoid an error. */
7199 /* We use char because int might match the return type of a gcc2
7200 builtin and then its argument prototype would still apply. */
7201 char gethostbyname();
7207 if { (eval echo configure
:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7209 eval "ac_cv_lib_$ac_lib_var=yes"
7211 echo "configure: failed program was:" >&5
7212 cat conftest.
$ac_ext >&5
7214 eval "ac_cv_lib_$ac_lib_var=no"
7217 LIBS
="$ac_save_LIBS"
7220 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7221 echo "$ac_t""yes" 1>&6
7222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7224 echo "$ac_t""no" 1>&6
7229 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7230 # socket/setsockopt and other routines are undefined under SCO ODT
7231 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7232 # on later versions), says simon@lia.di.epfl.ch: it contains
7233 # gethostby* variants that don't use the nameserver (or something).
7234 # -lsocket must be given before -lnsl if both are needed.
7235 # We assume that if connect needs -lnsl, so does gethostbyname.
7236 echo $ac_n "checking for connect""... $ac_c" 1>&6
7237 echo "configure:7238: checking for connect" >&5
7238 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7239 echo $ac_n "(cached) $ac_c" 1>&6
7241 cat > conftest.
$ac_ext <<EOF
7242 #line 7243 "configure"
7243 #include "confdefs.h"
7244 /* System header to define __stub macros and hopefully few prototypes,
7245 which can conflict with char connect(); below. */
7247 /* Override any gcc2 internal prototype to avoid an error. */
7248 /* We use char because int might match the return type of a gcc2
7249 builtin and then its argument prototype would still apply. */
7255 /* The GNU C library defines this for functions which it implements
7256 to always fail with ENOSYS. Some functions are actually named
7257 something starting with __ and the normal name is an alias. */
7258 #if defined (__stub_connect) || defined (__stub___connect)
7266 if { (eval echo configure
:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7268 eval "ac_cv_func_connect=yes"
7270 echo "configure: failed program was:" >&5
7271 cat conftest.
$ac_ext >&5
7273 eval "ac_cv_func_connect=no"
7278 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7279 echo "$ac_t""yes" 1>&6
7282 echo "$ac_t""no" 1>&6
7285 if test $ac_cv_func_connect = no
; then
7286 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7287 echo "configure:7288: checking for connect in -lsocket" >&5
7288 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7290 echo $ac_n "(cached) $ac_c" 1>&6
7292 ac_save_LIBS
="$LIBS"
7293 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7294 cat > conftest.
$ac_ext <<EOF
7295 #line 7296 "configure"
7296 #include "confdefs.h"
7297 /* Override any gcc2 internal prototype to avoid an error. */
7298 /* We use char because int might match the return type of a gcc2
7299 builtin and then its argument prototype would still apply. */
7306 if { (eval echo configure
:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7308 eval "ac_cv_lib_$ac_lib_var=yes"
7310 echo "configure: failed program was:" >&5
7311 cat conftest.
$ac_ext >&5
7313 eval "ac_cv_lib_$ac_lib_var=no"
7316 LIBS
="$ac_save_LIBS"
7319 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7320 echo "$ac_t""yes" 1>&6
7321 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7323 echo "$ac_t""no" 1>&6
7328 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7329 echo $ac_n "checking for remove""... $ac_c" 1>&6
7330 echo "configure:7331: checking for remove" >&5
7331 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7332 echo $ac_n "(cached) $ac_c" 1>&6
7334 cat > conftest.
$ac_ext <<EOF
7335 #line 7336 "configure"
7336 #include "confdefs.h"
7337 /* System header to define __stub macros and hopefully few prototypes,
7338 which can conflict with char remove(); below. */
7340 /* Override any gcc2 internal prototype to avoid an error. */
7341 /* We use char because int might match the return type of a gcc2
7342 builtin and then its argument prototype would still apply. */
7348 /* The GNU C library defines this for functions which it implements
7349 to always fail with ENOSYS. Some functions are actually named
7350 something starting with __ and the normal name is an alias. */
7351 #if defined (__stub_remove) || defined (__stub___remove)
7359 if { (eval echo configure
:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7361 eval "ac_cv_func_remove=yes"
7363 echo "configure: failed program was:" >&5
7364 cat conftest.
$ac_ext >&5
7366 eval "ac_cv_func_remove=no"
7371 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7372 echo "$ac_t""yes" 1>&6
7375 echo "$ac_t""no" 1>&6
7378 if test $ac_cv_func_remove = no
; then
7379 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7380 echo "configure:7381: checking for remove in -lposix" >&5
7381 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7382 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7383 echo $ac_n "(cached) $ac_c" 1>&6
7385 ac_save_LIBS
="$LIBS"
7386 LIBS
="-lposix $LIBS"
7387 cat > conftest.
$ac_ext <<EOF
7388 #line 7389 "configure"
7389 #include "confdefs.h"
7390 /* Override any gcc2 internal prototype to avoid an error. */
7391 /* We use char because int might match the return type of a gcc2
7392 builtin and then its argument prototype would still apply. */
7399 if { (eval echo configure
:7400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7401 eval "ac_cv_lib_$ac_lib_var=yes"
7403 echo "configure: failed program was:" >&5
7404 cat conftest.
$ac_ext >&5
7406 eval "ac_cv_lib_$ac_lib_var=no"
7409 LIBS
="$ac_save_LIBS"
7412 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7413 echo "$ac_t""yes" 1>&6
7414 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7416 echo "$ac_t""no" 1>&6
7421 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7422 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7423 echo "configure:7424: checking for shmat" >&5
7424 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7425 echo $ac_n "(cached) $ac_c" 1>&6
7427 cat > conftest.
$ac_ext <<EOF
7428 #line 7429 "configure"
7429 #include "confdefs.h"
7430 /* System header to define __stub macros and hopefully few prototypes,
7431 which can conflict with char shmat(); below. */
7433 /* Override any gcc2 internal prototype to avoid an error. */
7434 /* We use char because int might match the return type of a gcc2
7435 builtin and then its argument prototype would still apply. */
7441 /* The GNU C library defines this for functions which it implements
7442 to always fail with ENOSYS. Some functions are actually named
7443 something starting with __ and the normal name is an alias. */
7444 #if defined (__stub_shmat) || defined (__stub___shmat)
7452 if { (eval echo configure
:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7454 eval "ac_cv_func_shmat=yes"
7456 echo "configure: failed program was:" >&5
7457 cat conftest.
$ac_ext >&5
7459 eval "ac_cv_func_shmat=no"
7464 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7465 echo "$ac_t""yes" 1>&6
7468 echo "$ac_t""no" 1>&6
7471 if test $ac_cv_func_shmat = no
; then
7472 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7473 echo "configure:7474: checking for shmat in -lipc" >&5
7474 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7476 echo $ac_n "(cached) $ac_c" 1>&6
7478 ac_save_LIBS
="$LIBS"
7480 cat > conftest.
$ac_ext <<EOF
7481 #line 7482 "configure"
7482 #include "confdefs.h"
7483 /* Override any gcc2 internal prototype to avoid an error. */
7484 /* We use char because int might match the return type of a gcc2
7485 builtin and then its argument prototype would still apply. */
7492 if { (eval echo configure
:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7494 eval "ac_cv_lib_$ac_lib_var=yes"
7496 echo "configure: failed program was:" >&5
7497 cat conftest.
$ac_ext >&5
7499 eval "ac_cv_lib_$ac_lib_var=no"
7502 LIBS
="$ac_save_LIBS"
7505 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7506 echo "$ac_t""yes" 1>&6
7507 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7509 echo "$ac_t""no" 1>&6
7515 # Check for libraries that X11R6 Xt/Xaw programs need.
7516 ac_save_LDFLAGS
="$LDFLAGS"
7517 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7518 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7519 # check for ICE first), but we must link in the order -lSM -lICE or
7520 # we get undefined symbols. So assume we have SM if we have ICE.
7521 # These have to be linked with before -lX11, unlike the other
7522 # libraries we check for below, so use a different variable.
7523 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7524 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7525 echo "configure:7526: checking for IceConnectionNumber in -lICE" >&5
7526 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7528 echo $ac_n "(cached) $ac_c" 1>&6
7530 ac_save_LIBS
="$LIBS"
7531 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7532 cat > conftest.
$ac_ext <<EOF
7533 #line 7534 "configure"
7534 #include "confdefs.h"
7535 /* Override any gcc2 internal prototype to avoid an error. */
7536 /* We use char because int might match the return type of a gcc2
7537 builtin and then its argument prototype would still apply. */
7538 char IceConnectionNumber();
7541 IceConnectionNumber()
7544 if { (eval echo configure
:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7546 eval "ac_cv_lib_$ac_lib_var=yes"
7548 echo "configure: failed program was:" >&5
7549 cat conftest.
$ac_ext >&5
7551 eval "ac_cv_lib_$ac_lib_var=no"
7554 LIBS
="$ac_save_LIBS"
7557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7558 echo "$ac_t""yes" 1>&6
7559 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7561 echo "$ac_t""no" 1>&6
7564 LDFLAGS
="$ac_save_LDFLAGS"
7569 if test "$no_x" = "yes"; then
7570 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7573 TOOLKIT_INCLUDE
="$X_CFLAGS"
7574 GUI_TK_LIBRARY
="$X_LIBS"
7576 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7577 echo "configure:7578: checking for Motif/Lesstif includes" >&5
7580 for ac_dir
in $SEARCH_INCLUDE;
7582 if test -f "$ac_dir/Xm/Xm.h"; then
7583 ac_find_includes
=$ac_dir
7588 if test "$ac_find_includes" != "" ; then
7589 echo "$ac_t""found $ac_find_includes" 1>&6
7591 echo "$ac_t""no" 1>&6
7592 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7595 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7596 echo "configure:7597: checking for Motif/Lesstif library" >&5
7599 for ac_dir
in $SEARCH_LIB;
7601 for ac_extension
in a so sl
; do
7602 if test -f "$ac_dir/libXm.$ac_extension"; then
7603 ac_find_libraries
=$ac_dir
7609 if test "$ac_find_libraries" != "" ; then
7611 ac_path_to_include
=$ac_find_includes
7612 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7614 if test $result = 0; then
7615 ac_path_to_include
=""
7617 ac_path_to_include
="-I$ac_find_includes"
7621 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7623 if test $result = 0; then
7626 ac_path_to_link
="-L$ac_find_libraries"
7630 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7631 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7632 echo "$ac_t""found at $ac_find_libraries" 1>&6
7634 echo "$ac_t""no" 1>&6
7635 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7638 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7639 echo "configure:7640: checking for Xt library" >&5
7642 for ac_dir
in $SEARCH_LIB;
7644 for ac_extension
in a so sl
; do
7645 if test -f "$ac_dir/libXt.$ac_extension"; then
7646 ac_find_libraries
=$ac_dir
7652 if test "$ac_find_libraries" != "" ; then
7654 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7656 if test $result = 0; then
7659 ac_path_to_link
="-L$ac_find_libraries"
7662 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7663 echo "$ac_t""found at $ac_find_libraries" 1>&6
7665 echo "$ac_t""no" 1>&6
7666 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7670 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7671 echo "configure:7672: checking for Xpm library" >&5
7674 for ac_dir
in $SEARCH_LIB;
7676 for ac_extension
in a so sl
; do
7677 if test -f "$ac_dir/libXpm.$ac_extension"; then
7678 ac_find_libraries
=$ac_dir
7684 if test "$ac_find_libraries" != "" ; then
7686 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7688 if test $result = 0; then
7691 ac_path_to_link
="-L$ac_find_libraries"
7694 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7696 cat >> confdefs.h
<<\EOF
7697 #define wxHAVE_LIB_XPM 1
7700 echo "$ac_t""found at $ac_find_libraries" 1>&6
7702 echo "$ac_t""no" 1>&6
7703 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7706 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -ldl -lm"
7707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7710 GUIOBJS
=MOTIF_GUIOBJS
7711 GUIHEADERS
=MOTIF_HEADERS
7712 COMMONOBJS
=MOTIF_COMMONOBJS
7713 GENERICOBJS
=MOTIF_GENERICOBJS
7718 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7720 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7722 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7724 WX_LIBRARY_NAME
="libwx_${TOOLKIT_DIR}.la"
7726 WX_LIBRARY_NAME_STATIC
="libwx_${TOOLKIT_DIR}.a"
7728 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7730 WX_LIBRARY_LINK1
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
7731 WX_LIBRARY_LINK2
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
7732 WX_LIBRARY_LINK3
="libwx_${TOOLKIT_DIR}.so"
7738 if test "$wxUSE_SHARED" = "yes"; then
7739 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7743 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7744 SHARED_LD
="${CXX} -b -o"
7748 SHARED_LD
="${CC} -shared -o"
7750 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7751 WX_CREATE_LINKS
="CREATE_LINKS"
7753 *-*-irix5* | *-*-irix6* )
7754 if test "$GCC" = yes ; then
7755 SHARED_LD
="${CC} -shared -o"
7758 SHARED_LD
="${CXX} -shared -o"
7760 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7761 WX_CREATE_LINKS
="CREATE_LINKS"
7764 if test "$GCC" = yes ; then
7765 SHARED_LD
="${CC} -shared -o"
7768 SHARED_LD
="${CXX} -G -o"
7771 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7772 WX_CREATE_LINKS
="CREATE_LINKS"
7775 SHARED_LD
="${CC} -shared -o"
7777 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7778 WX_CREATE_LINKS
="CREATE_LINKS"
7780 *-*-freebsd* | *-*-netbsd*)
7781 SHARED_LD
="${CC} -shared -o"
7783 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7784 WX_CREATE_LINKS
="CREATE_LINKS"
7787 SHARED_LD
="${CXX} -shared -o"
7789 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7790 WX_CREATE_LINKS
="CREATE_LINKS"
7793 SHARED_LD
="${CXX} -shared -o"
7795 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7796 WX_CREATE_LINKS
="CREATE_LINKS"
7799 SHARED_LD
="${CC} -shared -o"
7801 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7802 WX_CREATE_LINKS
="CREATE_LINKS"
7805 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
7808 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7811 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7816 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
7820 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7824 for ac_hdr
in strings.h
7826 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7828 echo "configure:7829: checking for $ac_hdr" >&5
7829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7830 echo $ac_n "(cached) $ac_c" 1>&6
7832 cat > conftest.
$ac_ext <<EOF
7833 #line 7834 "configure"
7834 #include "confdefs.h"
7837 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7838 { (eval echo configure
:7839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7839 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7840 if test -z "$ac_err"; then
7842 eval "ac_cv_header_$ac_safe=yes"
7845 echo "configure: failed program was:" >&5
7846 cat conftest.
$ac_ext >&5
7848 eval "ac_cv_header_$ac_safe=no"
7852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7853 echo "$ac_t""yes" 1>&6
7854 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7855 cat >> confdefs.h
<<EOF
7856 #define $ac_tr_hdr 1
7860 echo "$ac_t""no" 1>&6
7864 for ac_hdr
in unistd.h
7866 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7868 echo "configure:7869: checking for $ac_hdr" >&5
7869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7870 echo $ac_n "(cached) $ac_c" 1>&6
7872 cat > conftest.
$ac_ext <<EOF
7873 #line 7874 "configure"
7874 #include "confdefs.h"
7877 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7878 { (eval echo configure
:7879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7879 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7880 if test -z "$ac_err"; then
7882 eval "ac_cv_header_$ac_safe=yes"
7885 echo "configure: failed program was:" >&5
7886 cat conftest.
$ac_ext >&5
7888 eval "ac_cv_header_$ac_safe=no"
7892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7893 echo "$ac_t""yes" 1>&6
7894 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7895 cat >> confdefs.h
<<EOF
7896 #define $ac_tr_hdr 1
7900 echo "$ac_t""no" 1>&6
7904 for ac_hdr
in wchar.h
7906 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7908 echo "configure:7909: checking for $ac_hdr" >&5
7909 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7910 echo $ac_n "(cached) $ac_c" 1>&6
7912 cat > conftest.
$ac_ext <<EOF
7913 #line 7914 "configure"
7914 #include "confdefs.h"
7917 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7918 { (eval echo configure
:7919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7919 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7920 if test -z "$ac_err"; then
7922 eval "ac_cv_header_$ac_safe=yes"
7925 echo "configure: failed program was:" >&5
7926 cat conftest.
$ac_ext >&5
7928 eval "ac_cv_header_$ac_safe=no"
7932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7933 echo "$ac_t""yes" 1>&6
7934 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7935 cat >> confdefs.h
<<EOF
7936 #define $ac_tr_hdr 1
7940 echo "$ac_t""no" 1>&6
7944 for ac_hdr
in wcstr.h
7946 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7947 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7948 echo "configure:7949: checking for $ac_hdr" >&5
7949 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7950 echo $ac_n "(cached) $ac_c" 1>&6
7952 cat > conftest.
$ac_ext <<EOF
7953 #line 7954 "configure"
7954 #include "confdefs.h"
7957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7958 { (eval echo configure
:7959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7960 if test -z "$ac_err"; then
7962 eval "ac_cv_header_$ac_safe=yes"
7965 echo "configure: failed program was:" >&5
7966 cat conftest.
$ac_ext >&5
7968 eval "ac_cv_header_$ac_safe=no"
7972 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7973 echo "$ac_t""yes" 1>&6
7974 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7975 cat >> confdefs.h
<<EOF
7976 #define $ac_tr_hdr 1
7980 echo "$ac_t""no" 1>&6
7984 for ac_hdr
in fnmatch.h
7986 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7987 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7988 echo "configure:7989: checking for $ac_hdr" >&5
7989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7990 echo $ac_n "(cached) $ac_c" 1>&6
7992 cat > conftest.
$ac_ext <<EOF
7993 #line 7994 "configure"
7994 #include "confdefs.h"
7997 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7998 { (eval echo configure
:7999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7999 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8000 if test -z "$ac_err"; then
8002 eval "ac_cv_header_$ac_safe=yes"
8005 echo "configure: failed program was:" >&5
8006 cat conftest.
$ac_ext >&5
8008 eval "ac_cv_header_$ac_safe=no"
8012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8013 echo "$ac_t""yes" 1>&6
8014 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8015 cat >> confdefs.h
<<EOF
8016 #define $ac_tr_hdr 1
8020 echo "$ac_t""no" 1>&6
8024 for ac_hdr
in X
11/XKBlib.h
8026 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8028 echo "configure:8029: checking for $ac_hdr" >&5
8029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8030 echo $ac_n "(cached) $ac_c" 1>&6
8032 cat > conftest.
$ac_ext <<EOF
8033 #line 8034 "configure"
8034 #include "confdefs.h"
8037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8038 { (eval echo configure
:8039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8040 if test -z "$ac_err"; then
8042 eval "ac_cv_header_$ac_safe=yes"
8045 echo "configure: failed program was:" >&5
8046 cat conftest.
$ac_ext >&5
8048 eval "ac_cv_header_$ac_safe=no"
8052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8053 echo "$ac_t""yes" 1>&6
8054 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8055 cat >> confdefs.h
<<EOF
8056 #define $ac_tr_hdr 1
8060 echo "$ac_t""no" 1>&6
8066 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8067 echo "configure:8068: checking for ANSI C header files" >&5
8068 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8069 echo $ac_n "(cached) $ac_c" 1>&6
8071 cat > conftest.
$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8080 { (eval echo configure
:8081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8082 if test -z "$ac_err"; then
8084 ac_cv_header_stdc
=yes
8087 echo "configure: failed program was:" >&5
8088 cat conftest.
$ac_ext >&5
8090 ac_cv_header_stdc
=no
8094 if test $ac_cv_header_stdc = yes; then
8095 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8096 cat > conftest.
$ac_ext <<EOF
8097 #line 8098 "configure"
8098 #include "confdefs.h"
8101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8102 egrep "memchr" >/dev
/null
2>&1; then
8106 ac_cv_header_stdc
=no
8112 if test $ac_cv_header_stdc = yes; then
8113 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8114 cat > conftest.
$ac_ext <<EOF
8115 #line 8116 "configure"
8116 #include "confdefs.h"
8119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8120 egrep "free" >/dev
/null
2>&1; then
8124 ac_cv_header_stdc
=no
8130 if test $ac_cv_header_stdc = yes; then
8131 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8132 if test "$cross_compiling" = yes; then
8135 cat > conftest.
$ac_ext <<EOF
8136 #line 8137 "configure"
8137 #include "confdefs.h"
8139 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8140 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8141 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8142 int main () { int i; for (i = 0; i < 256; i++)
8143 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8147 if { (eval echo configure
:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8151 echo "configure: failed program was:" >&5
8152 cat conftest.
$ac_ext >&5
8154 ac_cv_header_stdc
=no
8162 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8163 if test $ac_cv_header_stdc = yes; then
8164 cat >> confdefs.h
<<\EOF
8165 #define STDC_HEADERS 1
8170 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8171 echo "configure:8172: checking for mode_t" >&5
8172 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8173 echo $ac_n "(cached) $ac_c" 1>&6
8175 cat > conftest.
$ac_ext <<EOF
8176 #line 8177 "configure"
8177 #include "confdefs.h"
8178 #include <sys/types.h>
8184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8185 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8187 ac_cv_type_mode_t
=yes
8190 ac_cv_type_mode_t
=no
8195 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8196 if test $ac_cv_type_mode_t = no
; then
8197 cat >> confdefs.h
<<\EOF
8203 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8204 echo "configure:8205: checking for off_t" >&5
8205 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8206 echo $ac_n "(cached) $ac_c" 1>&6
8208 cat > conftest.
$ac_ext <<EOF
8209 #line 8210 "configure"
8210 #include "confdefs.h"
8211 #include <sys/types.h>
8217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8218 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8220 ac_cv_type_off_t
=yes
8228 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8229 if test $ac_cv_type_off_t = no
; then
8230 cat >> confdefs.h
<<\EOF
8236 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8237 echo "configure:8238: checking for pid_t" >&5
8238 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8239 echo $ac_n "(cached) $ac_c" 1>&6
8241 cat > conftest.
$ac_ext <<EOF
8242 #line 8243 "configure"
8243 #include "confdefs.h"
8244 #include <sys/types.h>
8250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8251 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8253 ac_cv_type_pid_t
=yes
8261 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8262 if test $ac_cv_type_pid_t = no
; then
8263 cat >> confdefs.h
<<\EOF
8269 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8270 echo "configure:8271: checking for size_t" >&5
8271 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8272 echo $ac_n "(cached) $ac_c" 1>&6
8274 cat > conftest.
$ac_ext <<EOF
8275 #line 8276 "configure"
8276 #include "confdefs.h"
8277 #include <sys/types.h>
8283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8284 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8286 ac_cv_type_size_t
=yes
8289 ac_cv_type_size_t
=no
8294 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8295 if test $ac_cv_type_size_t = no
; then
8296 cat >> confdefs.h
<<\EOF
8297 #define size_t unsigned
8302 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8303 echo "configure:8304: checking for uid_t in sys/types.h" >&5
8304 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8305 echo $ac_n "(cached) $ac_c" 1>&6
8307 cat > conftest.
$ac_ext <<EOF
8308 #line 8309 "configure"
8309 #include "confdefs.h"
8310 #include <sys/types.h>
8312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8313 egrep "uid_t" >/dev
/null
2>&1; then
8315 ac_cv_type_uid_t
=yes
8324 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8325 if test $ac_cv_type_uid_t = no
; then
8326 cat >> confdefs.h
<<\EOF
8330 cat >> confdefs.h
<<\EOF
8339 echo $ac_n "checking for working const""... $ac_c" 1>&6
8340 echo "configure:8341: checking for working const" >&5
8341 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8342 echo $ac_n "(cached) $ac_c" 1>&6
8344 cat > conftest.
$ac_ext <<EOF
8345 #line 8346 "configure"
8346 #include "confdefs.h"
8350 /* Ultrix mips cc rejects this. */
8351 typedef int charset[2]; const charset x;
8352 /* SunOS 4.1.1 cc rejects this. */
8353 char const *const *ccp;
8355 /* NEC SVR4.0.2 mips cc rejects this. */
8356 struct point {int x, y;};
8357 static struct point const zero = {0,0};
8358 /* AIX XL C 1.02.0.0 rejects this.
8359 It does not let you subtract one const X* pointer from another in an arm
8360 of an if-expression whose if-part is not a constant expression */
8361 const char *g = "string";
8362 ccp = &g + (g ? g-g : 0);
8363 /* HPUX 7.0 cc rejects these. */
8366 ccp = (char const *const *) p;
8367 { /* SCO 3.2v4 cc rejects this. */
8369 char const *s = 0 ? (char *) 0 : (char const *) 0;
8373 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8375 const int *foo = &x[0];
8378 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8379 typedef const int *iptr;
8383 { /* AIX XL C 1.02.0.0 rejects this saying
8384 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8385 struct s { int j; const int *ap[3]; };
8386 struct s *b; b->j = 5;
8388 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8394 if { (eval echo configure
:8395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8398 echo "configure: failed program was:" >&5
8399 cat conftest.
$ac_ext >&5
8406 echo "$ac_t""$ac_cv_c_const" 1>&6
8407 if test $ac_cv_c_const = no
; then
8408 cat >> confdefs.h
<<\EOF
8414 echo $ac_n "checking for inline""... $ac_c" 1>&6
8415 echo "configure:8416: checking for inline" >&5
8416 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8417 echo $ac_n "(cached) $ac_c" 1>&6
8420 for ac_kw
in inline __inline__ __inline
; do
8421 cat > conftest.
$ac_ext <<EOF
8422 #line 8423 "configure"
8423 #include "confdefs.h"
8429 if { (eval echo configure
:8430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8431 ac_cv_c_inline
=$ac_kw; break
8433 echo "configure: failed program was:" >&5
8434 cat conftest.
$ac_ext >&5
8441 echo "$ac_t""$ac_cv_c_inline" 1>&6
8442 case "$ac_cv_c_inline" in
8444 no
) cat >> confdefs.h
<<\EOF
8448 *) cat >> confdefs.h
<<EOF
8449 #define inline $ac_cv_c_inline
8455 echo $ac_n "checking size of char""... $ac_c" 1>&6
8456 echo "configure:8457: checking size of char" >&5
8457 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8458 echo $ac_n "(cached) $ac_c" 1>&6
8460 if test "$cross_compiling" = yes; then
8463 cat > conftest.
$ac_ext <<EOF
8464 #line 8465 "configure"
8465 #include "confdefs.h"
8469 FILE *f=fopen("conftestval", "w");
8471 fprintf(f, "%d\n", sizeof(char));
8475 if { (eval echo configure
:8476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8477 ac_cv_sizeof_char
=`cat conftestval`
8479 echo "configure: failed program was:" >&5
8480 cat conftest.
$ac_ext >&5
8488 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8489 cat >> confdefs.h
<<EOF
8490 #define SIZEOF_CHAR $ac_cv_sizeof_char
8494 echo $ac_n "checking size of short""... $ac_c" 1>&6
8495 echo "configure:8496: checking size of short" >&5
8496 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8497 echo $ac_n "(cached) $ac_c" 1>&6
8499 if test "$cross_compiling" = yes; then
8500 ac_cv_sizeof_short
=2
8502 cat > conftest.
$ac_ext <<EOF
8503 #line 8504 "configure"
8504 #include "confdefs.h"
8508 FILE *f=fopen("conftestval", "w");
8510 fprintf(f, "%d\n", sizeof(short));
8514 if { (eval echo configure
:8515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8516 ac_cv_sizeof_short
=`cat conftestval`
8518 echo "configure: failed program was:" >&5
8519 cat conftest.
$ac_ext >&5
8521 ac_cv_sizeof_short
=0
8527 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8528 cat >> confdefs.h
<<EOF
8529 #define SIZEOF_SHORT $ac_cv_sizeof_short
8533 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8534 echo "configure:8535: checking size of int *" >&5
8535 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8538 if test "$cross_compiling" = yes; then
8539 ac_cv_sizeof_int_p
=4
8541 cat > conftest.
$ac_ext <<EOF
8542 #line 8543 "configure"
8543 #include "confdefs.h"
8547 FILE *f=fopen("conftestval", "w");
8549 fprintf(f, "%d\n", sizeof(int *));
8553 if { (eval echo configure
:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8555 ac_cv_sizeof_int_p
=`cat conftestval`
8557 echo "configure: failed program was:" >&5
8558 cat conftest.
$ac_ext >&5
8560 ac_cv_sizeof_int_p
=0
8566 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8567 cat >> confdefs.h
<<EOF
8568 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8572 echo $ac_n "checking size of int""... $ac_c" 1>&6
8573 echo "configure:8574: checking size of int" >&5
8574 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8575 echo $ac_n "(cached) $ac_c" 1>&6
8577 if test "$cross_compiling" = yes; then
8580 cat > conftest.
$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8586 FILE *f=fopen("conftestval", "w");
8588 fprintf(f, "%d\n", sizeof(int));
8592 if { (eval echo configure
:8593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8594 ac_cv_sizeof_int
=`cat conftestval`
8596 echo "configure: failed program was:" >&5
8597 cat conftest.
$ac_ext >&5
8605 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8606 cat >> confdefs.h
<<EOF
8607 #define SIZEOF_INT $ac_cv_sizeof_int
8611 echo $ac_n "checking size of long""... $ac_c" 1>&6
8612 echo "configure:8613: checking size of long" >&5
8613 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8614 echo $ac_n "(cached) $ac_c" 1>&6
8616 if test "$cross_compiling" = yes; then
8619 cat > conftest.
$ac_ext <<EOF
8620 #line 8621 "configure"
8621 #include "confdefs.h"
8625 FILE *f=fopen("conftestval", "w");
8627 fprintf(f, "%d\n", sizeof(long));
8631 if { (eval echo configure
:8632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8633 ac_cv_sizeof_long
=`cat conftestval`
8635 echo "configure: failed program was:" >&5
8636 cat conftest.
$ac_ext >&5
8644 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8645 cat >> confdefs.h
<<EOF
8646 #define SIZEOF_LONG $ac_cv_sizeof_long
8650 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8651 echo "configure:8652: checking size of long long" >&5
8652 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8653 echo $ac_n "(cached) $ac_c" 1>&6
8655 if test "$cross_compiling" = yes; then
8656 ac_cv_sizeof_long_long
=0
8658 cat > conftest.
$ac_ext <<EOF
8659 #line 8660 "configure"
8660 #include "confdefs.h"
8664 FILE *f=fopen("conftestval", "w");
8666 fprintf(f, "%d\n", sizeof(long long));
8670 if { (eval echo configure
:8671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8672 ac_cv_sizeof_long_long
=`cat conftestval`
8674 echo "configure: failed program was:" >&5
8675 cat conftest.
$ac_ext >&5
8677 ac_cv_sizeof_long_long
=0
8683 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8684 cat >> confdefs.h
<<EOF
8685 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8690 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8691 echo "configure:8692: checking whether byte ordering is bigendian" >&5
8692 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8693 echo $ac_n "(cached) $ac_c" 1>&6
8695 ac_cv_c_bigendian
=unknown
8696 # See if sys/param.h defines the BYTE_ORDER macro.
8697 cat > conftest.
$ac_ext <<EOF
8698 #line 8699 "configure"
8699 #include "confdefs.h"
8700 #include <sys/types.h>
8701 #include <sys/param.h>
8704 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8709 if { (eval echo configure
:8710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8711 # It does; now see whether it defined to BIG_ENDIAN or not.
8712 cat > conftest.
$ac_ext <<EOF
8713 #line 8714 "configure"
8714 #include "confdefs.h"
8715 #include <sys/types.h>
8716 #include <sys/param.h>
8719 #if BYTE_ORDER != BIG_ENDIAN
8724 if { (eval echo configure
:8725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8726 ac_cv_c_bigendian
=yes
8728 echo "configure: failed program was:" >&5
8729 cat conftest.
$ac_ext >&5
8731 ac_cv_c_bigendian
=no
8735 echo "configure: failed program was:" >&5
8736 cat conftest.
$ac_ext >&5
8739 if test $ac_cv_c_bigendian = unknown
; then
8740 if test "$cross_compiling" = yes; then
8741 ac_cv_c_bigendian
=unknown
8743 cat > conftest.
$ac_ext <<EOF
8744 #line 8745 "configure"
8745 #include "confdefs.h"
8747 /* Are we little or big endian? From Harbison&Steele. */
8751 char c[sizeof (long)];
8754 exit (u.c[sizeof (long) - 1] == 1);
8757 if { (eval echo configure
:8758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8759 ac_cv_c_bigendian
=no
8761 echo "configure: failed program was:" >&5
8762 cat conftest.
$ac_ext >&5
8764 ac_cv_c_bigendian
=yes
8772 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
8773 if test $ac_cv_c_bigendian = unknown
; then
8774 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
8776 if test $ac_cv_c_bigendian = yes; then
8777 cat >> confdefs.h
<<\EOF
8778 #define WORDS_BIGENDIAN 1
8785 if test "$cross_compiling" = "yes"; then
8786 cat >> confdefs.h
<<\EOF
8787 #define wxUSE_IOSTREAMH 1
8793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8794 ac_cpp
='$CXXCPP $CPPFLAGS'
8795 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8796 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8797 cross_compiling
=$ac_cv_prog_cxx_cross
8800 for ac_hdr
in iostream
8802 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8803 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8804 echo "configure:8805: checking for $ac_hdr" >&5
8805 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8808 cat > conftest.
$ac_ext <<EOF
8809 #line 8810 "configure"
8810 #include "confdefs.h"
8813 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8814 { (eval echo configure
:8815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8815 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8816 if test -z "$ac_err"; then
8818 eval "ac_cv_header_$ac_safe=yes"
8821 echo "configure: failed program was:" >&5
8822 cat conftest.
$ac_ext >&5
8824 eval "ac_cv_header_$ac_safe=no"
8828 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8829 echo "$ac_t""yes" 1>&6
8830 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8831 cat >> confdefs.h
<<EOF
8832 #define $ac_tr_hdr 1
8836 echo "$ac_t""no" 1>&6
8841 if test "x$HAVE_IOSTREAM" = x
; then
8842 cat >> confdefs.h
<<\EOF
8843 #define wxUSE_IOSTREAMH 1
8851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8852 ac_cpp
='$CPP $CPPFLAGS'
8853 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8854 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8855 cross_compiling
=$ac_cv_prog_cc_cross
8861 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
8862 echo "configure:8863: checking if C++ compiler supports bool" >&5
8863 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
8864 echo $ac_n "(cached) $ac_c" 1>&6
8869 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8870 ac_cpp
='$CXXCPP $CPPFLAGS'
8871 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8872 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8873 cross_compiling
=$ac_cv_prog_cxx_cross
8876 cat > conftest.
$ac_ext <<EOF
8877 #line 8878 "configure"
8878 #include "confdefs.h"
8889 if { (eval echo configure
:8890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8892 cat >> confdefs.h
<<\EOF
8899 echo "configure: failed program was:" >&5
8900 cat conftest.
$ac_ext >&5
8910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8911 ac_cpp
='$CPP $CPPFLAGS'
8912 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8913 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8914 cross_compiling
=$ac_cv_prog_cc_cross
8919 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
8921 if test "$wx_cv_cpp_bool" = "yes"; then
8922 cat >> confdefs.h
<<\EOF
8930 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
8931 echo "configure:8932: checking if size_t and int are different types" >&5
8932 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
8933 echo $ac_n "(cached) $ac_c" 1>&6
8938 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8939 ac_cpp
='$CXXCPP $CPPFLAGS'
8940 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8941 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8942 cross_compiling
=$ac_cv_prog_cxx_cross
8945 if test "$cross_compiling" = yes; then
8946 wx_cv_cpp_sizet_not_int
=no
8949 cat > conftest.
$ac_ext <<EOF
8950 #line 8951 "configure"
8951 #include "confdefs.h"
8953 extern "C" void exit(int);
8961 S(char *s) { m_s = s; }
8963 char operator[](size_t n) const { return m_s[n]; }
8964 char operator[](int n) const { return m_s[n]; }
8976 return s[n1] == s[n2];
8980 if { (eval echo configure
:8981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8982 cat >> confdefs.h
<<\EOF
8983 #define wxUSE_SIZE_T_STRING_OPERATOR 1
8985 wx_cv_cpp_sizet_not_int
=yes
8987 echo "configure: failed program was:" >&5
8988 cat conftest.
$ac_ext >&5
8990 wx_cv_cpp_sizet_not_int
=no
8997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8998 ac_cpp
='$CPP $CPPFLAGS'
8999 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9000 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9001 cross_compiling
=$ac_cv_prog_cc_cross
9006 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9010 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9011 echo "configure:9012: checking if you need GNU extensions" >&5
9012 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9013 echo $ac_n "(cached) $ac_c" 1>&6
9016 cat > conftest.
$ac_ext <<EOF
9017 #line 9018 "configure"
9018 #include "confdefs.h"
9019 #include <features.h>
9023 #ifndef __GNU_LIBRARY__
9024 Compile error wanted
9030 if { (eval echo configure
:9031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9032 wx_cv_gnu_extensions
=yes
9034 echo "configure: failed program was:" >&5
9035 cat conftest.
$ac_ext >&5
9037 wx_cv_gnu_extensions
=no
9044 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9045 if test "$wx_cv_gnu_extensions" = "yes"; then
9046 cat >> confdefs.h
<<EOF
9047 #define _GNU_SOURCE 1
9054 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9055 echo "configure:9056: checking for wcslen in -lc" >&5
9056 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9058 echo $ac_n "(cached) $ac_c" 1>&6
9060 ac_save_LIBS
="$LIBS"
9062 cat > conftest.
$ac_ext <<EOF
9063 #line 9064 "configure"
9064 #include "confdefs.h"
9065 /* Override any gcc2 internal prototype to avoid an error. */
9066 /* We use char because int might match the return type of a gcc2
9067 builtin and then its argument prototype would still apply. */
9074 if { (eval echo configure
:9075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9076 eval "ac_cv_lib_$ac_lib_var=yes"
9078 echo "configure: failed program was:" >&5
9079 cat conftest.
$ac_ext >&5
9081 eval "ac_cv_lib_$ac_lib_var=no"
9084 LIBS
="$ac_save_LIBS"
9087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9088 echo "$ac_t""yes" 1>&6
9090 cat >> confdefs.h
<<\EOF
9091 #define HAVE_WCSLEN 1
9097 echo "$ac_t""no" 1>&6
9099 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9100 echo "configure:9101: checking for wcslen in -lw" >&5
9101 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9103 echo $ac_n "(cached) $ac_c" 1>&6
9105 ac_save_LIBS
="$LIBS"
9107 cat > conftest.
$ac_ext <<EOF
9108 #line 9109 "configure"
9109 #include "confdefs.h"
9110 /* Override any gcc2 internal prototype to avoid an error. */
9111 /* We use char because int might match the return type of a gcc2
9112 builtin and then its argument prototype would still apply. */
9119 if { (eval echo configure
:9120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9121 eval "ac_cv_lib_$ac_lib_var=yes"
9123 echo "configure: failed program was:" >&5
9124 cat conftest.
$ac_ext >&5
9126 eval "ac_cv_lib_$ac_lib_var=no"
9129 LIBS
="$ac_save_LIBS"
9132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9133 echo "$ac_t""yes" 1>&6
9135 cat >> confdefs.h
<<\EOF
9136 #define HAVE_WCSLEN 1
9142 echo "$ac_t""no" 1>&6
9149 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9150 echo "configure:9151: checking for vprintf" >&5
9151 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9152 echo $ac_n "(cached) $ac_c" 1>&6
9154 cat > conftest.
$ac_ext <<EOF
9155 #line 9156 "configure"
9156 #include "confdefs.h"
9157 /* System header to define __stub macros and hopefully few prototypes,
9158 which can conflict with char vprintf(); below. */
9160 /* Override any gcc2 internal prototype to avoid an error. */
9161 /* We use char because int might match the return type of a gcc2
9162 builtin and then its argument prototype would still apply. */
9168 /* The GNU C library defines this for functions which it implements
9169 to always fail with ENOSYS. Some functions are actually named
9170 something starting with __ and the normal name is an alias. */
9171 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9179 if { (eval echo configure
:9180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9181 eval "ac_cv_func_vprintf=yes"
9183 echo "configure: failed program was:" >&5
9184 cat conftest.
$ac_ext >&5
9186 eval "ac_cv_func_vprintf=no"
9191 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9192 echo "$ac_t""yes" 1>&6
9193 cat >> confdefs.h
<<\EOF
9194 #define HAVE_VPRINTF 1
9198 echo "$ac_t""no" 1>&6
9201 if test "$ac_cv_func_vprintf" != yes; then
9202 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9203 echo "configure:9204: checking for _doprnt" >&5
9204 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9205 echo $ac_n "(cached) $ac_c" 1>&6
9207 cat > conftest.
$ac_ext <<EOF
9208 #line 9209 "configure"
9209 #include "confdefs.h"
9210 /* System header to define __stub macros and hopefully few prototypes,
9211 which can conflict with char _doprnt(); below. */
9213 /* Override any gcc2 internal prototype to avoid an error. */
9214 /* We use char because int might match the return type of a gcc2
9215 builtin and then its argument prototype would still apply. */
9221 /* The GNU C library defines this for functions which it implements
9222 to always fail with ENOSYS. Some functions are actually named
9223 something starting with __ and the normal name is an alias. */
9224 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9232 if { (eval echo configure
:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9234 eval "ac_cv_func__doprnt=yes"
9236 echo "configure: failed program was:" >&5
9237 cat conftest.
$ac_ext >&5
9239 eval "ac_cv_func__doprnt=no"
9244 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9245 echo "$ac_t""yes" 1>&6
9246 cat >> confdefs.h
<<\EOF
9247 #define HAVE_DOPRNT 1
9251 echo "$ac_t""no" 1>&6
9257 for ac_func
in vsnprintf
9259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9260 echo "configure:9261: checking for $ac_func" >&5
9261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9262 echo $ac_n "(cached) $ac_c" 1>&6
9264 cat > conftest.
$ac_ext <<EOF
9265 #line 9266 "configure"
9266 #include "confdefs.h"
9267 /* System header to define __stub macros and hopefully few prototypes,
9268 which can conflict with char $ac_func(); below. */
9270 /* Override any gcc2 internal prototype to avoid an error. */
9271 /* We use char because int might match the return type of a gcc2
9272 builtin and then its argument prototype would still apply. */
9278 /* The GNU C library defines this for functions which it implements
9279 to always fail with ENOSYS. Some functions are actually named
9280 something starting with __ and the normal name is an alias. */
9281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9289 if { (eval echo configure
:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9291 eval "ac_cv_func_$ac_func=yes"
9293 echo "configure: failed program was:" >&5
9294 cat conftest.
$ac_ext >&5
9296 eval "ac_cv_func_$ac_func=no"
9301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9302 echo "$ac_t""yes" 1>&6
9303 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9304 cat >> confdefs.h
<<EOF
9305 #define $ac_tr_func 1
9307 cat >> confdefs.h
<<\EOF
9308 #define HAVE_VSNPRINTF 1
9312 echo "$ac_t""no" 1>&6
9313 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9322 ac_cpp
='$CXXCPP $CPPFLAGS'
9323 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9324 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9325 cross_compiling
=$ac_cv_prog_cxx_cross
9328 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9329 echo "configure:9330: checking for vsscanf" >&5
9330 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9331 echo $ac_n "(cached) $ac_c" 1>&6
9334 if test "$cross_compiling" = yes; then
9335 wx_cv_func_vsscanf
=no
9338 cat > conftest.
$ac_ext <<EOF
9339 #line 9340 "configure"
9340 #include "confdefs.h"
9342 extern "C" void exit(int);
9348 int try_vsscanf(const char *format, ...)
9351 va_start(ap, format);
9353 vsscanf("17", format, ap);
9361 try_vsscanf("%d", &i);
9362 return i == 17 ? 0 : 1;
9366 if { (eval echo configure
:9367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9369 cat >> confdefs.h
<<\EOF
9370 #define HAVE_VSSCANF 1
9373 wx_cv_func_vsscanf
=yes
9376 echo "configure: failed program was:" >&5
9377 cat conftest.
$ac_ext >&5
9379 wx_cv_func_vsscanf
=no
9387 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9391 ac_cpp
='$CPP $CPPFLAGS'
9392 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9393 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9394 cross_compiling
=$ac_cv_prog_cc_cross
9397 for ac_func
in vfork
9399 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9400 echo "configure:9401: checking for $ac_func" >&5
9401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9402 echo $ac_n "(cached) $ac_c" 1>&6
9404 cat > conftest.
$ac_ext <<EOF
9405 #line 9406 "configure"
9406 #include "confdefs.h"
9407 /* System header to define __stub macros and hopefully few prototypes,
9408 which can conflict with char $ac_func(); below. */
9410 /* Override any gcc2 internal prototype to avoid an error. */
9411 /* We use char because int might match the return type of a gcc2
9412 builtin and then its argument prototype would still apply. */
9418 /* The GNU C library defines this for functions which it implements
9419 to always fail with ENOSYS. Some functions are actually named
9420 something starting with __ and the normal name is an alias. */
9421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9429 if { (eval echo configure
:9430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9431 eval "ac_cv_func_$ac_func=yes"
9433 echo "configure: failed program was:" >&5
9434 cat conftest.
$ac_ext >&5
9436 eval "ac_cv_func_$ac_func=no"
9441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9442 echo "$ac_t""yes" 1>&6
9443 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9444 cat >> confdefs.h
<<EOF
9445 #define $ac_tr_func 1
9449 echo "$ac_t""no" 1>&6
9455 for ac_func
in nanosleep
9457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9458 echo "configure:9459: checking for $ac_func" >&5
9459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9460 echo $ac_n "(cached) $ac_c" 1>&6
9462 cat > conftest.
$ac_ext <<EOF
9463 #line 9464 "configure"
9464 #include "confdefs.h"
9465 /* System header to define __stub macros and hopefully few prototypes,
9466 which can conflict with char $ac_func(); below. */
9468 /* Override any gcc2 internal prototype to avoid an error. */
9469 /* We use char because int might match the return type of a gcc2
9470 builtin and then its argument prototype would still apply. */
9476 /* The GNU C library defines this for functions which it implements
9477 to always fail with ENOSYS. Some functions are actually named
9478 something starting with __ and the normal name is an alias. */
9479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9487 if { (eval echo configure
:9488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9489 eval "ac_cv_func_$ac_func=yes"
9491 echo "configure: failed program was:" >&5
9492 cat conftest.
$ac_ext >&5
9494 eval "ac_cv_func_$ac_func=no"
9499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9500 echo "$ac_t""yes" 1>&6
9501 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9502 cat >> confdefs.h
<<EOF
9503 #define $ac_tr_func 1
9505 cat >> confdefs.h
<<\EOF
9506 #define HAVE_NANOSLEEP 1
9510 echo "$ac_t""no" 1>&6
9511 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9512 echo "configure:9513: checking for nanosleep in -lposix4" >&5
9513 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9515 echo $ac_n "(cached) $ac_c" 1>&6
9517 ac_save_LIBS
="$LIBS"
9518 LIBS
="-lposix4 $LIBS"
9519 cat > conftest.
$ac_ext <<EOF
9520 #line 9521 "configure"
9521 #include "confdefs.h"
9522 /* Override any gcc2 internal prototype to avoid an error. */
9523 /* We use char because int might match the return type of a gcc2
9524 builtin and then its argument prototype would still apply. */
9531 if { (eval echo configure
:9532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9533 eval "ac_cv_lib_$ac_lib_var=yes"
9535 echo "configure: failed program was:" >&5
9536 cat conftest.
$ac_ext >&5
9538 eval "ac_cv_lib_$ac_lib_var=no"
9541 LIBS
="$ac_save_LIBS"
9544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9545 echo "$ac_t""yes" 1>&6
9547 cat >> confdefs.h
<<\EOF
9548 #define HAVE_NANOSLEEP 1
9551 POSIX4_LINK
="-lposix4"
9554 echo "$ac_t""no" 1>&6
9556 for ac_func
in usleep
9558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9559 echo "configure:9560: checking for $ac_func" >&5
9560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9561 echo $ac_n "(cached) $ac_c" 1>&6
9563 cat > conftest.
$ac_ext <<EOF
9564 #line 9565 "configure"
9565 #include "confdefs.h"
9566 /* System header to define __stub macros and hopefully few prototypes,
9567 which can conflict with char $ac_func(); below. */
9569 /* Override any gcc2 internal prototype to avoid an error. */
9570 /* We use char because int might match the return type of a gcc2
9571 builtin and then its argument prototype would still apply. */
9577 /* The GNU C library defines this for functions which it implements
9578 to always fail with ENOSYS. Some functions are actually named
9579 something starting with __ and the normal name is an alias. */
9580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9588 if { (eval echo configure
:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9590 eval "ac_cv_func_$ac_func=yes"
9592 echo "configure: failed program was:" >&5
9593 cat conftest.
$ac_ext >&5
9595 eval "ac_cv_func_$ac_func=no"
9600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9601 echo "$ac_t""yes" 1>&6
9602 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9603 cat >> confdefs.h
<<EOF
9604 #define $ac_tr_func 1
9606 cat >> confdefs.h
<<\EOF
9607 #define HAVE_USLEEP 1
9611 echo "$ac_t""no" 1>&6
9612 echo "configure: warning: wxSleep() function will not work" 1>&2
9624 for ac_func
in uname gethostname
9626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9627 echo "configure:9628: checking for $ac_func" >&5
9628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9629 echo $ac_n "(cached) $ac_c" 1>&6
9631 cat > conftest.
$ac_ext <<EOF
9632 #line 9633 "configure"
9633 #include "confdefs.h"
9634 /* System header to define __stub macros and hopefully few prototypes,
9635 which can conflict with char $ac_func(); below. */
9637 /* Override any gcc2 internal prototype to avoid an error. */
9638 /* We use char because int might match the return type of a gcc2
9639 builtin and then its argument prototype would still apply. */
9645 /* The GNU C library defines this for functions which it implements
9646 to always fail with ENOSYS. Some functions are actually named
9647 something starting with __ and the normal name is an alias. */
9648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9656 if { (eval echo configure
:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9658 eval "ac_cv_func_$ac_func=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_func_$ac_func=no"
9668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9671 cat >> confdefs.h
<<EOF
9672 #define $ac_tr_func 1
9676 echo "$ac_t""no" 1>&6
9681 for ac_func
in inet_addr
9683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9684 echo "configure:9685: checking for $ac_func" >&5
9685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9686 echo $ac_n "(cached) $ac_c" 1>&6
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* System header to define __stub macros and hopefully few prototypes,
9692 which can conflict with char $ac_func(); below. */
9694 /* Override any gcc2 internal prototype to avoid an error. */
9695 /* We use char because int might match the return type of a gcc2
9696 builtin and then its argument prototype would still apply. */
9702 /* The GNU C library defines this for functions which it implements
9703 to always fail with ENOSYS. Some functions are actually named
9704 something starting with __ and the normal name is an alias. */
9705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9713 if { (eval echo configure
:9714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9715 eval "ac_cv_func_$ac_func=yes"
9717 echo "configure: failed program was:" >&5
9718 cat conftest.
$ac_ext >&5
9720 eval "ac_cv_func_$ac_func=no"
9725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9726 echo "$ac_t""yes" 1>&6
9727 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9728 cat >> confdefs.h
<<EOF
9729 #define $ac_tr_func 1
9733 echo "$ac_t""no" 1>&6
9737 for ac_func
in inet_aton
9739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9740 echo "configure:9741: checking for $ac_func" >&5
9741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9742 echo $ac_n "(cached) $ac_c" 1>&6
9744 cat > conftest.
$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9747 /* System header to define __stub macros and hopefully few prototypes,
9748 which can conflict with char $ac_func(); below. */
9750 /* Override any gcc2 internal prototype to avoid an error. */
9751 /* We use char because int might match the return type of a gcc2
9752 builtin and then its argument prototype would still apply. */
9758 /* The GNU C library defines this for functions which it implements
9759 to always fail with ENOSYS. Some functions are actually named
9760 something starting with __ and the normal name is an alias. */
9761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9769 if { (eval echo configure
:9770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9771 eval "ac_cv_func_$ac_func=yes"
9773 echo "configure: failed program was:" >&5
9774 cat conftest.
$ac_ext >&5
9776 eval "ac_cv_func_$ac_func=no"
9781 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9782 echo "$ac_t""yes" 1>&6
9783 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9784 cat >> confdefs.h
<<EOF
9785 #define $ac_tr_func 1
9789 echo "$ac_t""no" 1>&6
9793 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
9794 echo "configure:9795: checking for inet_aton in -lresolv" >&5
9795 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
9796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9797 echo $ac_n "(cached) $ac_c" 1>&6
9799 ac_save_LIBS
="$LIBS"
9800 LIBS
="-lresolv $LIBS"
9801 cat > conftest.
$ac_ext <<EOF
9802 #line 9803 "configure"
9803 #include "confdefs.h"
9804 /* Override any gcc2 internal prototype to avoid an error. */
9805 /* We use char because int might match the return type of a gcc2
9806 builtin and then its argument prototype would still apply. */
9813 if { (eval echo configure
:9814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9815 eval "ac_cv_lib_$ac_lib_var=yes"
9817 echo "configure: failed program was:" >&5
9818 cat conftest.
$ac_ext >&5
9820 eval "ac_cv_lib_$ac_lib_var=no"
9823 LIBS
="$ac_save_LIBS"
9826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9827 echo "$ac_t""yes" 1>&6
9828 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9829 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9830 cat >> confdefs.h
<<EOF
9831 #define $ac_tr_lib 1
9834 LIBS
="-lresolv $LIBS"
9837 echo "$ac_t""no" 1>&6
9842 cat > confcache
<<\EOF
9843 # This file is a shell script that caches the results of configure
9844 # tests run on this system so they can be shared between configure
9845 # scripts and configure runs. It is not useful on other systems.
9846 # If it contains results you don't want to keep, you may remove or edit it.
9848 # By default, configure uses ./config.cache as the cache file,
9849 # creating it if it does not exist already. You can give configure
9850 # the --cache-file=FILE option to use a different cache file; that is
9851 # what configure does when it calls configure scripts in
9852 # subdirectories, so they share the cache.
9853 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9854 # config.status only pays attention to the cache file if you give it the
9855 # --recheck option to rerun configure.
9858 # The following way of writing the cache mishandles newlines in values,
9859 # but we know of no workaround that is simple, portable, and efficient.
9860 # So, don't put newlines in cache variables' values.
9861 # Ultrix sh set writes to stderr and can't be redirected directly,
9862 # and sets the high bit in the cache file unless we assign to the vars.
9864 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9866 # `set' does not quote correctly, so add quotes (double-quote substitution
9867 # turns \\\\ into \\, and sed turns \\ into \).
9869 -e "s/'/'\\\\''/g" \
9870 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9873 # `set' quotes correctly as required by POSIX, so do not add quotes.
9874 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9877 if cmp -s $cache_file confcache
; then
9880 if test -w $cache_file; then
9881 echo "updating cache $cache_file"
9882 cat confcache
> $cache_file
9884 echo "not updating unwritable cache $cache_file"
9891 if test "$USE_UNIX" = 1; then
9897 if test "$wxUSE_THREADS" = "yes" ; then
9898 if test "$wxUSE_WINE" = 1 ; then
9899 echo "configure: warning: Threads are not supported under WINE" 1>&2
9904 if test "$wxUSE_THREADS" = "yes" ; then
9906 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
9907 echo "configure:9908: checking for pthread_create in -lpthread" >&5
9908 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
9909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9910 echo $ac_n "(cached) $ac_c" 1>&6
9912 ac_save_LIBS
="$LIBS"
9913 LIBS
="-lpthread $LIBS"
9914 cat > conftest.
$ac_ext <<EOF
9915 #line 9916 "configure"
9916 #include "confdefs.h"
9917 /* Override any gcc2 internal prototype to avoid an error. */
9918 /* We use char because int might match the return type of a gcc2
9919 builtin and then its argument prototype would still apply. */
9920 char pthread_create();
9926 if { (eval echo configure
:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9928 eval "ac_cv_lib_$ac_lib_var=yes"
9930 echo "configure: failed program was:" >&5
9931 cat conftest.
$ac_ext >&5
9933 eval "ac_cv_lib_$ac_lib_var=no"
9936 LIBS
="$ac_save_LIBS"
9939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9940 echo "$ac_t""yes" 1>&6
9942 THREADS_OBJ
="threadpsx.lo"
9943 THREADS_LINK
="pthread"
9946 echo "$ac_t""no" 1>&6
9948 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
9949 echo "configure:9950: checking for pthread_create in -lc_r" >&5
9950 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
9951 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9952 echo $ac_n "(cached) $ac_c" 1>&6
9954 ac_save_LIBS
="$LIBS"
9956 cat > conftest.
$ac_ext <<EOF
9957 #line 9958 "configure"
9958 #include "confdefs.h"
9959 /* Override any gcc2 internal prototype to avoid an error. */
9960 /* We use char because int might match the return type of a gcc2
9961 builtin and then its argument prototype would still apply. */
9962 char pthread_create();
9968 if { (eval echo configure
:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9970 eval "ac_cv_lib_$ac_lib_var=yes"
9972 echo "configure: failed program was:" >&5
9973 cat conftest.
$ac_ext >&5
9975 eval "ac_cv_lib_$ac_lib_var=no"
9978 LIBS
="$ac_save_LIBS"
9981 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9982 echo "$ac_t""yes" 1>&6
9984 THREADS_OBJ
="threadpsx.lo"
9988 echo "$ac_t""no" 1>&6
9990 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
9991 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
9992 echo "configure:9993: checking for sys/prctl.h" >&5
9993 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9994 echo $ac_n "(cached) $ac_c" 1>&6
9996 cat > conftest.
$ac_ext <<EOF
9997 #line 9998 "configure"
9998 #include "confdefs.h"
9999 #include <sys/prctl.h>
10001 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10002 { (eval echo configure
:10003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10003 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10004 if test -z "$ac_err"; then
10006 eval "ac_cv_header_$ac_safe=yes"
10009 echo "configure: failed program was:" >&5
10010 cat conftest.
$ac_ext >&5
10012 eval "ac_cv_header_$ac_safe=no"
10016 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10017 echo "$ac_t""yes" 1>&6
10019 THREADS_OBJ
="threadsgi.lo"
10022 echo "$ac_t""no" 1>&6
10032 if test -z "$THREADS_OBJ" ; then
10034 echo "configure: warning: No thread support on this system" 1>&2
10038 if test "$wxUSE_THREADS" = "yes" ; then
10040 for ac_hdr
in sched.h
10042 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10043 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10044 echo "configure:10045: checking for $ac_hdr" >&5
10045 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10046 echo $ac_n "(cached) $ac_c" 1>&6
10048 cat > conftest.
$ac_ext <<EOF
10049 #line 10050 "configure"
10050 #include "confdefs.h"
10053 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10054 { (eval echo configure
:10055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10055 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10056 if test -z "$ac_err"; then
10058 eval "ac_cv_header_$ac_safe=yes"
10061 echo "configure: failed program was:" >&5
10062 cat conftest.
$ac_ext >&5
10064 eval "ac_cv_header_$ac_safe=no"
10068 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10069 echo "$ac_t""yes" 1>&6
10070 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10071 cat >> confdefs.h
<<EOF
10072 #define $ac_tr_hdr 1
10076 echo "$ac_t""no" 1>&6
10081 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10082 echo "configure:10083: checking for sched_yield in -l$THREADS_LINK" >&5
10083 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10084 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10085 echo $ac_n "(cached) $ac_c" 1>&6
10087 ac_save_LIBS
="$LIBS"
10088 LIBS
="-l$THREADS_LINK $LIBS"
10089 cat > conftest.
$ac_ext <<EOF
10090 #line 10091 "configure"
10091 #include "confdefs.h"
10092 /* Override any gcc2 internal prototype to avoid an error. */
10093 /* We use char because int might match the return type of a gcc2
10094 builtin and then its argument prototype would still apply. */
10095 char sched_yield();
10101 if { (eval echo configure
:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10103 eval "ac_cv_lib_$ac_lib_var=yes"
10105 echo "configure: failed program was:" >&5
10106 cat conftest.
$ac_ext >&5
10108 eval "ac_cv_lib_$ac_lib_var=no"
10111 LIBS
="$ac_save_LIBS"
10114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10115 echo "$ac_t""yes" 1>&6
10116 cat >> confdefs.h
<<\EOF
10117 #define HAVE_SCHED_YIELD 1
10121 echo "$ac_t""no" 1>&6
10122 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10123 echo "configure:10124: checking for sched_yield in -l"posix4
"" >&5
10124 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10125 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10126 echo $ac_n "(cached) $ac_c" 1>&6
10128 ac_save_LIBS
="$LIBS"
10129 LIBS
="-l"posix4
" $LIBS"
10130 cat > conftest.
$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10133 /* Override any gcc2 internal prototype to avoid an error. */
10134 /* We use char because int might match the return type of a gcc2
10135 builtin and then its argument prototype would still apply. */
10136 char sched_yield();
10142 if { (eval echo configure
:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10144 eval "ac_cv_lib_$ac_lib_var=yes"
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10149 eval "ac_cv_lib_$ac_lib_var=no"
10152 LIBS
="$ac_save_LIBS"
10155 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10156 echo "$ac_t""yes" 1>&6
10157 cat >> confdefs.h
<<\EOF
10158 #define HAVE_SCHED_YIELD 1
10160 POSIX4_LINK
="-lposix4"
10162 echo "$ac_t""no" 1>&6
10163 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10171 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10172 echo "configure:10173: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10173 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10174 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10175 echo $ac_n "(cached) $ac_c" 1>&6
10177 ac_save_LIBS
="$LIBS"
10178 LIBS
="-l$THREADS_LINK $LIBS"
10179 cat > conftest.
$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10182 /* Override any gcc2 internal prototype to avoid an error. */
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10185 char pthread_attr_getschedpolicy();
10188 pthread_attr_getschedpolicy()
10191 if { (eval echo configure
:10192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10193 eval "ac_cv_lib_$ac_lib_var=yes"
10195 echo "configure: failed program was:" >&5
10196 cat conftest.
$ac_ext >&5
10198 eval "ac_cv_lib_$ac_lib_var=no"
10201 LIBS
="$ac_save_LIBS"
10204 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10205 echo "$ac_t""yes" 1>&6
10206 cat >> confdefs.h
<<\EOF
10207 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10211 echo "$ac_t""no" 1>&6
10212 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10213 echo "configure:10214: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10214 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10215 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10216 echo $ac_n "(cached) $ac_c" 1>&6
10218 ac_save_LIBS
="$LIBS"
10219 LIBS
="-l"posix4
" $LIBS"
10220 cat > conftest.
$ac_ext <<EOF
10221 #line 10222 "configure"
10222 #include "confdefs.h"
10223 /* Override any gcc2 internal prototype to avoid an error. */
10224 /* We use char because int might match the return type of a gcc2
10225 builtin and then its argument prototype would still apply. */
10226 char pthread_attr_getschedpolicy();
10229 pthread_attr_getschedpolicy()
10232 if { (eval echo configure
:10233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10234 eval "ac_cv_lib_$ac_lib_var=yes"
10236 echo "configure: failed program was:" >&5
10237 cat conftest.
$ac_ext >&5
10239 eval "ac_cv_lib_$ac_lib_var=no"
10242 LIBS
="$ac_save_LIBS"
10245 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10246 echo "$ac_t""yes" 1>&6
10247 cat >> confdefs.h
<<\EOF
10248 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10250 POSIX4_LINK
="-lposix4"
10252 echo "$ac_t""no" 1>&6
10253 echo "configure: warning: Setting thread priority will not work" 1>&2
10261 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10262 echo "configure:10263: checking for pthread_cancel in -l$THREADS_LINK" >&5
10263 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10265 echo $ac_n "(cached) $ac_c" 1>&6
10267 ac_save_LIBS
="$LIBS"
10268 LIBS
="-l$THREADS_LINK $LIBS"
10269 cat > conftest.
$ac_ext <<EOF
10270 #line 10271 "configure"
10271 #include "confdefs.h"
10272 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10275 char pthread_cancel();
10281 if { (eval echo configure
:10282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10283 eval "ac_cv_lib_$ac_lib_var=yes"
10285 echo "configure: failed program was:" >&5
10286 cat conftest.
$ac_ext >&5
10288 eval "ac_cv_lib_$ac_lib_var=no"
10291 LIBS
="$ac_save_LIBS"
10294 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10295 echo "$ac_t""yes" 1>&6
10296 cat >> confdefs.h
<<\EOF
10297 #define HAVE_PTHREAD_CANCEL 1
10301 echo "$ac_t""no" 1>&6
10302 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10306 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10307 echo "configure:10308: checking for pthread_cleanup_push/pop" >&5
10308 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10312 cat > conftest.
$ac_ext <<EOF
10313 #line 10314 "configure"
10314 #include "confdefs.h"
10315 #include <pthread.h>
10318 pthread_cleanup_push(NULL, NULL);
10319 pthread_cleanup_pop(0);
10323 if { (eval echo configure
:10324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10326 wx_cv_func_pthread_cleanup_push
=yes
10327 cat >> confdefs.h
<<\EOF
10328 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10333 echo "configure: failed program was:" >&5
10334 cat conftest.
$ac_ext >&5
10337 wx_cv_func_pthread_cleanup_push
=no
10344 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10346 THREADS_LINK
="-l$THREADS_LINK"
10351 if test "$wxUSE_THREADS" = "yes"; then
10352 cat >> confdefs.h
<<\EOF
10353 #define wxUSE_THREADS 1
10357 CFLAGS
="${CFLAGS} -D_REENTRANT"
10358 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10363 if test "$WXGTK12" = 1 ; then
10364 cat >> confdefs.h
<<EOF
10365 #define __WXGTK12__ $WXGTK12
10370 if test "$WXWINE" = 1 ; then
10371 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10374 if test "$wxUSE_CYGWIN" = 1 ; then
10375 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10379 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10380 wxUSE_DEBUG_INFO
=yes
10384 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10389 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10390 cat >> confdefs.h
<<\EOF
10394 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10396 if test "$wxUSE_GTK" = 1 ; then
10397 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10401 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10402 cat >> confdefs.h
<<\EOF
10403 #define wxUSE_MEMORY_TRACING 1
10406 cat >> confdefs.h
<<\EOF
10407 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10413 if test "$wxUSE_DMALLOC" = "yes" ; then
10414 DMALLOC_LINK
="-ldmalloc"
10418 if test "$wxUSE_PROFILE" = "yes" ; then
10422 if test "$GCC" = yes ; then
10423 if test "$wxUSE_NO_RTTI" = "yes" ; then
10424 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10426 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10427 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10432 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10433 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10434 if test "$wxUSE_OPTIMISE" = "no" ; then
10437 if test "$GCC" = yes ; then
10440 i586
-*-*|i686
-*-* )
10441 OPTIMISE
="${OPTIMISE} "
10451 if test "$wxUSE_ZLIB" = "yes" ; then
10452 cat >> confdefs.h
<<\EOF
10453 #define wxUSE_ZLIB 1
10456 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10460 if test "$wxUSE_LIBPNG" = "yes" ; then
10461 cat >> confdefs.h
<<\EOF
10462 #define wxUSE_LIBPNG 1
10465 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10469 if test "$wxUSE_LIBGIF" = "yes" ; then
10470 cat >> confdefs.h
<<\EOF
10471 #define wxUSE_LIBGIF 1
10477 if test "$wxUSE_LIBJPEG" = "yes" ; then
10478 cat >> confdefs.h
<<\EOF
10479 #define wxUSE_LIBJPEG 1
10482 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10485 if test "$wxUSE_OPENGL" = "yes"; then
10486 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10487 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10488 echo "configure:10489: checking for GL/gl.h" >&5
10489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10492 cat > conftest.
$ac_ext <<EOF
10493 #line 10494 "configure"
10494 #include "confdefs.h"
10497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10498 { (eval echo configure
:10499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10500 if test -z "$ac_err"; then
10502 eval "ac_cv_header_$ac_safe=yes"
10505 echo "configure: failed program was:" >&5
10506 cat conftest.
$ac_ext >&5
10508 eval "ac_cv_header_$ac_safe=no"
10512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10513 echo "$ac_t""yes" 1>&6
10515 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10516 echo "configure:10517: checking for glInitNames in -lGL" >&5
10517 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10518 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10519 echo $ac_n "(cached) $ac_c" 1>&6
10521 ac_save_LIBS
="$LIBS"
10522 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10523 cat > conftest.
$ac_ext <<EOF
10524 #line 10525 "configure"
10525 #include "confdefs.h"
10526 /* Override any gcc2 internal prototype to avoid an error. */
10527 /* We use char because int might match the return type of a gcc2
10528 builtin and then its argument prototype would still apply. */
10529 char glInitNames();
10535 if { (eval echo configure
:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10537 eval "ac_cv_lib_$ac_lib_var=yes"
10539 echo "configure: failed program was:" >&5
10540 cat conftest.
$ac_ext >&5
10542 eval "ac_cv_lib_$ac_lib_var=no"
10545 LIBS
="$ac_save_LIBS"
10548 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10549 echo "$ac_t""yes" 1>&6
10552 cat >> confdefs.h
<<\EOF
10553 #define wxUSE_OPENGL 1
10556 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10559 echo "$ac_t""no" 1>&6
10561 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10562 echo "configure:10563: checking for glInitNames in -lMesaGL" >&5
10563 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10564 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10565 echo $ac_n "(cached) $ac_c" 1>&6
10567 ac_save_LIBS
="$LIBS"
10568 LIBS
="-lMesaGL $LIBS"
10569 cat > conftest.
$ac_ext <<EOF
10570 #line 10571 "configure"
10571 #include "confdefs.h"
10572 /* Override any gcc2 internal prototype to avoid an error. */
10573 /* We use char because int might match the return type of a gcc2
10574 builtin and then its argument prototype would still apply. */
10575 char glInitNames();
10581 if { (eval echo configure
:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10583 eval "ac_cv_lib_$ac_lib_var=yes"
10585 echo "configure: failed program was:" >&5
10586 cat conftest.
$ac_ext >&5
10588 eval "ac_cv_lib_$ac_lib_var=no"
10591 LIBS
="$ac_save_LIBS"
10594 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10595 echo "$ac_t""yes" 1>&6
10597 OPENGL_LINK
="-lMesaGL"
10598 cat >> confdefs.h
<<\EOF
10599 #define wxUSE_OPENGL 1
10602 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10605 echo "$ac_t""no" 1>&6
10614 echo "$ac_t""no" 1>&6
10621 if test "$wxUSE_GUI" = "yes"; then
10622 cat >> confdefs.h
<<\EOF
10623 #define wxUSE_GUI 1
10628 cat >> confdefs.h
<<\EOF
10629 #define wxUSE_NOGUI 1
10635 if test "$wxUSE_UNIX" = "yes"; then
10636 cat >> confdefs.h
<<\EOF
10637 #define wxUSE_UNIX 1
10643 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10644 cat >> confdefs.h
<<\EOF
10645 #define wxUSE_APPLE_IEEE 1
10650 if test "$wxUSE_TIMEDATE" = "yes"; then
10651 cat >> confdefs.h
<<\EOF
10652 #define wxUSE_TIMEDATE 1
10655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10658 if test "$wxUSE_WAVE" = "yes"; then
10659 cat >> confdefs.h
<<\EOF
10660 #define wxUSE_WAVE 1
10665 if test "$wxUSE_FILE" = "yes"; then
10666 cat >> confdefs.h
<<\EOF
10667 #define wxUSE_FILE 1
10672 if test "$wxUSE_FS_INET" = "yes"; then
10673 cat >> confdefs.h
<<\EOF
10674 #define wxUSE_FS_INET 1
10679 if test "$wxUSE_FS_ZIP" = "yes"; then
10680 cat >> confdefs.h
<<\EOF
10681 #define wxUSE_FS_ZIP 1
10686 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10687 cat >> confdefs.h
<<\EOF
10688 #define wxUSE_ZIPSTREAM 1
10693 if test "$wxUSE_BUSYINFO" = "yes"; then
10694 cat >> confdefs.h
<<\EOF
10695 #define wxUSE_BUSYINFO 1
10700 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10701 cat >> confdefs.h
<<\EOF
10702 #define wxUSE_STD_IOSTREAM 1
10707 if test "$wxUSE_TEXTFILE" = "yes"; then
10708 if test "$wxUSE_FILE" != "yes"; then
10709 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10711 cat >> confdefs.h
<<\EOF
10712 #define wxUSE_TEXTFILE 1
10718 if test "$wxUSE_CONFIG" = "yes" ; then
10719 if test "$wxUSE_TEXTFILE" != "yes"; then
10720 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10722 cat >> confdefs.h
<<\EOF
10723 #define wxUSE_CONFIG 1
10726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10730 if test "$wxUSE_INTL" = "yes" ; then
10731 if test "$wxUSE_FILE" != "yes"; then
10732 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10734 cat >> confdefs.h
<<\EOF
10735 #define wxUSE_INTL 1
10738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10742 if test "$wxUSE_LOG" = "yes"; then
10743 cat >> confdefs.h
<<\EOF
10744 #define wxUSE_LOG 1
10749 if test "$wxUSE_LONGLONG" = "yes"; then
10750 cat >> confdefs.h
<<\EOF
10751 #define wxUSE_LONGLONG 1
10756 if test "$wxUSE_SOCKETS" = "yes" ; then
10757 if test "$wxUSE_THREADS" = "yes" ; then
10758 cat >> confdefs.h
<<\EOF
10759 #define wxUSE_SOCKETS 1
10762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10763 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10765 echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2
10770 if test "$wxUSE_STREAMS" = "yes" ; then
10771 cat >> confdefs.h
<<\EOF
10772 #define wxUSE_STREAMS 1
10777 if test "$wxUSE_SERIAL" = "yes" ; then
10778 cat >> confdefs.h
<<\EOF
10779 #define wxUSE_SERIAL 1
10785 if test "$wxUSE_SOCKETS" = "yes"; then
10788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10789 ac_cpp
='$CXXCPP $CPPFLAGS'
10790 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10791 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10792 cross_compiling
=$ac_cv_prog_cxx_cross
10794 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
10795 echo "configure:10796: checking the type of the third argument of getsockname" >&5
10796 cat > conftest.
$ac_ext <<EOF
10797 #line 10798 "configure"
10798 #include "confdefs.h"
10799 #include <sys/socket.h>
10801 socklen_t len; getsockname(0, NULL, &len);
10804 if { (eval echo configure
:10805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10806 cat >> confdefs.h
<<\EOF
10807 #define SOCKLEN_T socklen_t
10809 echo "$ac_t""socklen_t" 1>&6
10811 echo "configure: failed program was:" >&5
10812 cat conftest.
$ac_ext >&5
10814 cat > conftest.
$ac_ext <<EOF
10815 #line 10816 "configure"
10816 #include "confdefs.h"
10817 #include <sys/socket.h>
10819 size_t len; getsockname(0, NULL, &len);
10822 if { (eval echo configure
:10823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10824 cat >> confdefs.h
<<\EOF
10825 #define SOCKLEN_T size_t
10827 echo "$ac_t""size_t" 1>&6
10829 echo "configure: failed program was:" >&5
10830 cat conftest.
$ac_ext >&5
10832 cat > conftest.
$ac_ext <<EOF
10833 #line 10834 "configure"
10834 #include "confdefs.h"
10835 #include <sys/socket.h>
10837 int len; getsockname(0, NULL, &len);
10840 if { (eval echo configure
:10841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10842 cat >> confdefs.h
<<\EOF
10843 #define SOCKLEN_T int
10845 echo "$ac_t""int" 1>&6
10847 echo "configure: failed program was:" >&5
10848 cat conftest.
$ac_ext >&5
10850 echo "$ac_t""unknown" 1>&6
10861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10862 ac_cpp
='$CPP $CPPFLAGS'
10863 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10864 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10865 cross_compiling
=$ac_cv_prog_cc_cross
10870 if test "$wxUSE_JOYSTICK" = 1; then
10871 for ac_hdr
in linux
/joystick.h
10873 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10875 echo "configure:10876: checking for $ac_hdr" >&5
10876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10877 echo $ac_n "(cached) $ac_c" 1>&6
10879 cat > conftest.
$ac_ext <<EOF
10880 #line 10881 "configure"
10881 #include "confdefs.h"
10884 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10885 { (eval echo configure
:10886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10886 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10887 if test -z "$ac_err"; then
10889 eval "ac_cv_header_$ac_safe=yes"
10892 echo "configure: failed program was:" >&5
10893 cat conftest.
$ac_ext >&5
10895 eval "ac_cv_header_$ac_safe=no"
10899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10900 echo "$ac_t""yes" 1>&6
10901 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10902 cat >> confdefs.h
<<EOF
10903 #define $ac_tr_hdr 1
10907 echo "$ac_t""no" 1>&6
10911 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
10912 cat >> confdefs.h
<<\EOF
10913 #define wxUSE_JOYSTICK 1
10916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
10923 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
10924 for ac_func
in dlopen
10926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10927 echo "configure:10928: checking for $ac_func" >&5
10928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10929 echo $ac_n "(cached) $ac_c" 1>&6
10931 cat > conftest.
$ac_ext <<EOF
10932 #line 10933 "configure"
10933 #include "confdefs.h"
10934 /* System header to define __stub macros and hopefully few prototypes,
10935 which can conflict with char $ac_func(); below. */
10936 #include <assert.h>
10937 /* Override any gcc2 internal prototype to avoid an error. */
10938 /* We use char because int might match the return type of a gcc2
10939 builtin and then its argument prototype would still apply. */
10945 /* The GNU C library defines this for functions which it implements
10946 to always fail with ENOSYS. Some functions are actually named
10947 something starting with __ and the normal name is an alias. */
10948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10956 if { (eval echo configure
:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10958 eval "ac_cv_func_$ac_func=yes"
10960 echo "configure: failed program was:" >&5
10961 cat conftest.
$ac_ext >&5
10963 eval "ac_cv_func_$ac_func=no"
10968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10969 echo "$ac_t""yes" 1>&6
10970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10971 cat >> confdefs.h
<<EOF
10972 #define $ac_tr_func 1
10974 cat >> confdefs.h
<<\EOF
10975 #define HAVE_DLOPEN 1
10979 echo "$ac_t""no" 1>&6
10980 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
10981 echo "configure:10982: checking for dlopen in -ldl" >&5
10982 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
10983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10984 echo $ac_n "(cached) $ac_c" 1>&6
10986 ac_save_LIBS
="$LIBS"
10988 cat > conftest.
$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 /* Override any gcc2 internal prototype to avoid an error. */
10992 /* We use char because int might match the return type of a gcc2
10993 builtin and then its argument prototype would still apply. */
11000 if { (eval echo configure
:11001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11002 eval "ac_cv_lib_$ac_lib_var=yes"
11004 echo "configure: failed program was:" >&5
11005 cat conftest.
$ac_ext >&5
11007 eval "ac_cv_lib_$ac_lib_var=no"
11010 LIBS
="$ac_save_LIBS"
11013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11014 echo "$ac_t""yes" 1>&6
11015 cat >> confdefs.h
<<\EOF
11016 #define HAVE_DLOPEN 1
11020 echo "$ac_t""no" 1>&6
11026 for ac_func
in shl_load
11028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11029 echo "configure:11030: checking for $ac_func" >&5
11030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11031 echo $ac_n "(cached) $ac_c" 1>&6
11033 cat > conftest.
$ac_ext <<EOF
11034 #line 11035 "configure"
11035 #include "confdefs.h"
11036 /* System header to define __stub macros and hopefully few prototypes,
11037 which can conflict with char $ac_func(); below. */
11038 #include <assert.h>
11039 /* Override any gcc2 internal prototype to avoid an error. */
11040 /* We use char because int might match the return type of a gcc2
11041 builtin and then its argument prototype would still apply. */
11047 /* The GNU C library defines this for functions which it implements
11048 to always fail with ENOSYS. Some functions are actually named
11049 something starting with __ and the normal name is an alias. */
11050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11058 if { (eval echo configure
:11059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11060 eval "ac_cv_func_$ac_func=yes"
11062 echo "configure: failed program was:" >&5
11063 cat conftest.
$ac_ext >&5
11065 eval "ac_cv_func_$ac_func=no"
11070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11071 echo "$ac_t""yes" 1>&6
11072 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11073 cat >> confdefs.h
<<EOF
11074 #define $ac_tr_func 1
11076 cat >> confdefs.h
<<\EOF
11077 #define HAVE_SHL_LOAD 1
11079 HAVE_DL_FUNCS
=1 HAVE_SHL_FUNCS
=1
11081 echo "$ac_t""no" 1>&6
11086 if test "$HAVE_DL_FUNCS" = 0; then
11087 if test "$USE_UNIX" = 1; then
11088 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11090 wxUSE_DYNLIB_CLASS
=no
11092 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11097 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11098 cat >> confdefs.h
<<\EOF
11099 #define wxUSE_DYNLIB_CLASS 1
11105 if test "$wxUSE_UNICODE" = "yes" ; then
11106 cat >> confdefs.h
<<\EOF
11107 #define wxUSE_UNICODE 1
11112 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11113 cat >> confdefs.h
<<\EOF
11114 #define wxUSE_WCSRTOMBS 1
11119 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11120 cat >> confdefs.h
<<\EOF
11121 #define wxUSE_EXPERIMENTAL_PRINTF 1
11128 if test "$wxUSE_ODBC" = "yes" ; then
11129 cat >> confdefs.h
<<\EOF
11130 #define wxUSE_ODBC 1
11133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11137 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11138 cat >> confdefs.h
<<\EOF
11139 #define wxUSE_POSTSCRIPT 1
11144 cat >> confdefs.h
<<\EOF
11145 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11149 cat >> confdefs.h
<<\EOF
11150 #define wxUSE_NORMALIZED_PS_FONTS 1
11155 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11156 cat >> confdefs.h
<<\EOF
11157 #define wxUSE_CONSTRAINTS 1
11160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11163 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11164 cat >> confdefs.h
<<\EOF
11165 #define wxUSE_MDI_ARCHITECTURE 1
11168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11171 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11172 cat >> confdefs.h
<<\EOF
11173 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11177 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11182 if test "$wxUSE_HELP" = "yes"; then
11183 cat >> confdefs.h
<<\EOF
11184 #define wxUSE_HELP 1
11187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11190 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11191 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11192 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11194 cat >> confdefs.h
<<\EOF
11195 #define wxUSE_PRINTING_ARCHITECTURE 1
11199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11202 if test "$wxUSE_PROLOGIO" = "yes" ; then
11203 cat >> confdefs.h
<<\EOF
11204 #define wxUSE_PROLOGIO 1
11209 if test "$wxUSE_RESOURCES" = "yes" ; then
11210 if test "$wxUSE_PROLOGIO" = "yes" ; then
11211 cat >> confdefs.h
<<\EOF
11212 #define wxUSE_RESOURCES 1
11215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11217 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11221 if test "$wxUSE_X_RESOURCES" = "yes"; then
11222 cat >> confdefs.h
<<\EOF
11223 #define wxUSE_X_RESOURCES 1
11229 if test "$wxUSE_IPC" = "yes"; then
11230 cat >> confdefs.h
<<\EOF
11231 #define wxUSE_IPC 1
11236 if test "$wxUSE_CLIPBOARD" = "yes"; then
11237 cat >> confdefs.h
<<\EOF
11238 #define wxUSE_CLIPBOARD 1
11243 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11244 if test "$wxUSE_GTK" = 1; then
11245 if test "$WXGTK12" != 1; then
11246 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11247 wxUSE_DRAG_AND_DROP
=no
11251 if test "$wxUSE_MOTIF" = 1; then
11252 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11253 wxUSE_DRAG_AND_DROP
=no
11256 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11257 cat >> confdefs.h
<<\EOF
11258 #define wxUSE_DRAG_AND_DROP 1
11261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11265 if test "$wxUSE_SPLINES" = "yes" ; then
11266 cat >> confdefs.h
<<\EOF
11267 #define wxUSE_SPLINES 1
11273 if test "$wxUSE_ACCEL" = "yes"; then
11274 cat >> confdefs.h
<<\EOF
11275 #define wxUSE_ACCEL 1
11280 if test "$wxUSE_CARET" = "yes"; then
11281 cat >> confdefs.h
<<\EOF
11282 #define wxUSE_CARET 1
11285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11288 if test "$wxUSE_COMBOBOX" = "yes"; then
11289 cat >> confdefs.h
<<\EOF
11290 #define wxUSE_COMBOBOX 1
11295 if test "$wxUSE_CHOICE" = "yes"; then
11296 cat >> confdefs.h
<<\EOF
11297 #define wxUSE_CHOICE 1
11302 if test "$wxUSE_BMPBUTTON" = "yes"; then
11303 cat >> confdefs.h
<<\EOF
11304 #define wxUSE_BMPBUTTON 1
11309 if test "$wxUSE_CHECKBOX" = "yes"; then
11310 cat >> confdefs.h
<<\EOF
11311 #define wxUSE_CHECKBOX 1
11316 if test "$wxUSE_CHECKLST" = "yes"; then
11317 cat >> confdefs.h
<<\EOF
11318 #define wxUSE_CHECKLISTBOX 1
11321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11324 if test "$wxUSE_GAUGE" = "yes"; then
11325 cat >> confdefs.h
<<\EOF
11326 #define wxUSE_GAUGE 1
11331 if test "$wxUSE_GRID" = "yes"; then
11332 cat >> confdefs.h
<<\EOF
11333 #define wxUSE_GRID 1
11336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11339 if test "$wxUSE_IMAGLIST" = "yes"; then
11340 cat >> confdefs.h
<<\EOF
11341 #define wxUSE_IMAGLIST 1
11346 if test "$wxUSE_LISTBOX" = "yes"; then
11347 cat >> confdefs.h
<<\EOF
11348 #define wxUSE_LISTBOX 1
11353 if test "$wxUSE_LISTCTRL" = "yes"; then
11354 if test "$wxUSE_IMAGLIST" = "yes"; then
11355 cat >> confdefs.h
<<\EOF
11356 #define wxUSE_LISTCTRL 1
11359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11361 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11365 if test "$wxUSE_NOTEBOOK" = "yes"; then
11366 cat >> confdefs.h
<<\EOF
11367 #define wxUSE_NOTEBOOK 1
11370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11373 if test "$wxUSE_RADIOBOX" = "yes"; then
11374 cat >> confdefs.h
<<\EOF
11375 #define wxUSE_RADIOBOX 1
11380 if test "$wxUSE_RADIOBTN" = "yes"; then
11381 cat >> confdefs.h
<<\EOF
11382 #define wxUSE_RADIOBTN 1
11387 if test "$wxUSE_SASH" = "yes"; then
11388 cat >> confdefs.h
<<\EOF
11389 #define wxUSE_SASH 1
11392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11395 if test "$wxUSE_SCROLLBAR" = "yes"; then
11396 cat >> confdefs.h
<<\EOF
11397 #define wxUSE_SCROLLBAR 1
11400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11403 if test "$wxUSE_SLIDER" = "yes"; then
11404 cat >> confdefs.h
<<\EOF
11405 #define wxUSE_SLIDER 1
11410 if test "$wxUSE_SPINBTN" = "yes"; then
11411 cat >> confdefs.h
<<\EOF
11412 #define wxUSE_SPINBTN 1
11417 if test "$wxUSE_SPLITTER" = "yes"; then
11418 cat >> confdefs.h
<<\EOF
11419 #define wxUSE_SPLITTER 1
11422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11425 if test "$wxUSE_STATBMP" = "yes"; then
11426 cat >> confdefs.h
<<\EOF
11427 #define wxUSE_STATBMP 1
11432 if test "$wxUSE_STATBOX" = "yes"; then
11433 cat >> confdefs.h
<<\EOF
11434 #define wxUSE_STATBOX 1
11439 if test "$wxUSE_STATLINE" = "yes"; then
11440 if test "$wxUSE_WINE" = 1 ; then
11441 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11443 if test "$wxUSE_MOTIF" = 1 ; then
11444 echo "configure: warning: wxStaticLine is not supported under Motif" 1>&2
11446 cat >> confdefs.h
<<\EOF
11447 #define wxUSE_STATLINE 1
11454 if test "$wxUSE_STATUSBAR" = "yes"; then
11455 cat >> confdefs.h
<<\EOF
11456 #define wxUSE_STATUSBAR 1
11461 if test "$wxUSE_TABDIALOG" = "yes"; then
11462 cat >> confdefs.h
<<\EOF
11463 #define wxUSE_TAB_DIALOG 1
11466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11469 if test "$wxUSE_TOOLBAR" = "yes"; then
11470 cat >> confdefs.h
<<\EOF
11471 #define wxUSE_TOOLBAR 1
11474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11477 if test "$wxUSE_TOOLTIPS" = "yes"; then
11478 if test "$wxUSE_MOTIF" = 1; then
11479 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11481 if test "$wxUSE_WINE" = 1; then
11482 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11484 cat >> confdefs.h
<<\EOF
11485 #define wxUSE_TOOLTIPS 1
11492 if test "$wxUSE_TREECTRL" = "yes"; then
11493 if test "$wxUSE_IMAGLIST" = "yes"; then
11494 cat >> confdefs.h
<<\EOF
11495 #define wxUSE_TREECTRL 1
11498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11500 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11506 if test "$wxUSE_METAFILE" = "yes"; then
11507 cat >> confdefs.h
<<\EOF
11508 #define wxUSE_METAFILE 1
11513 if test "$wxUSE_DIRDLG" = "yes"; then
11514 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11515 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11517 if test "$wxUSE_TREECTRL" != "yes"; then
11518 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11520 cat >> confdefs.h
<<\EOF
11521 #define wxUSE_DIRDLG 1
11528 if test "$wxUSE_TEXTDLG" = "yes"; then
11529 cat >> confdefs.h
<<\EOF
11530 #define wxUSE_TEXTDLG 1
11535 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11536 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11537 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11539 cat >> confdefs.h
<<\EOF
11540 #define wxUSE_STARTUP_TIPS 1
11546 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11548 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11550 cat >> confdefs.h
<<\EOF
11551 #define wxUSE_PROGRESSDLG 1
11557 if test "$wxUSE_MINIFRAME" = "yes"; then
11558 cat >> confdefs.h
<<\EOF
11559 #define wxUSE_MINIFRAME 1
11562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11565 if test "$wxUSE_HTML" = "yes"; then
11566 cat >> confdefs.h
<<\EOF
11567 #define wxUSE_HTML 1
11570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11571 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11574 if test "$wxUSE_VALIDATORS" = "yes"; then
11575 cat >> confdefs.h
<<\EOF
11576 #define wxUSE_VALIDATORS 1
11579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11583 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11585 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $GUILIBS"
11587 LIBS
="\${top_builddir}/src/${TOOLKIT_DIR}/${WX_LIBRARY_NAME} $EXTRA_LIBS"
11589 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11591 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11593 if test "$GXX" = yes ; then
11594 CXXWARNINGS
="-Wall"
11596 EXTRA_CFLAGS
="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES"
11598 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
11599 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
11600 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
11602 if test "$wxUSE_GUI" = "yes"; then
11604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11605 forty fractal image wxpoem"
11608 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11653 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11654 echo "configure:11655: checking whether ${MAKE-make} sets \${MAKE}" >&5
11655 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11656 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11657 echo $ac_n "(cached) $ac_c" 1>&6
11659 cat > conftestmake
<<\EOF
11661 @
echo 'ac_maketemp="${MAKE}"'
11663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11664 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11665 if test -n "$ac_maketemp"; then
11666 eval ac_cv_prog_make_
${ac_make}_set
=yes
11668 eval ac_cv_prog_make_
${ac_make}_set
=no
11672 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11673 echo "$ac_t""yes" 1>&6
11676 echo "$ac_t""no" 1>&6
11677 SET_MAKE
="MAKE=${MAKE-make}"
11685 cat > confcache
<<\EOF
11686 # This file is a shell script that caches the results of configure
11687 # tests run on this system so they can be shared between configure
11688 # scripts and configure runs. It is not useful on other systems.
11689 # If it contains results you don't want to keep, you may remove or edit it.
11691 # By default, configure uses ./config.cache as the cache file,
11692 # creating it if it does not exist already. You can give configure
11693 # the --cache-file=FILE option to use a different cache file; that is
11694 # what configure does when it calls configure scripts in
11695 # subdirectories, so they share the cache.
11696 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11697 # config.status only pays attention to the cache file if you give it the
11698 # --recheck option to rerun configure.
11701 # The following way of writing the cache mishandles newlines in values,
11702 # but we know of no workaround that is simple, portable, and efficient.
11703 # So, don't put newlines in cache variables' values.
11704 # Ultrix sh set writes to stderr and can't be redirected directly,
11705 # and sets the high bit in the cache file unless we assign to the vars.
11707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11709 # `set' does not quote correctly, so add quotes (double-quote substitution
11710 # turns \\\\ into \\, and sed turns \\ into \).
11712 -e "s/'/'\\\\''/g" \
11713 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11716 # `set' quotes correctly as required by POSIX, so do not add quotes.
11717 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11720 if cmp -s $cache_file confcache
; then
11723 if test -w $cache_file; then
11724 echo "updating cache $cache_file"
11725 cat confcache
> $cache_file
11727 echo "not updating unwritable cache $cache_file"
11732 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11734 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11735 # Let make expand exec_prefix.
11736 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11738 # Any assignment to VPATH causes Sun make to only execute
11739 # the first set of double-colon rules, so remove it if not needed.
11740 # If there is a colon in the path, we need to keep it.
11741 if test "x$srcdir" = x.
; then
11742 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
11745 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11747 DEFS
=-DHAVE_CONFIG_H
11749 # Without the "./", some shells look in PATH for config.status.
11750 : ${CONFIG_STATUS=./config.status}
11752 echo creating
$CONFIG_STATUS
11753 rm -f $CONFIG_STATUS
11754 cat > $CONFIG_STATUS <<EOF
11756 # Generated automatically by configure.
11757 # Run this file to recreate the current configuration.
11758 # This directory was configured as follows,
11759 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11761 # $0 $ac_configure_args
11763 # Compiler output produced by configure, useful for debugging
11764 # configure, is in ./config.log if it exists.
11766 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11769 case "\$ac_option" in
11770 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11771 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11772 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11773 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11774 echo "$CONFIG_STATUS generated by autoconf version 2.14"
11776 -help | --help | --hel | --he | --h)
11777 echo "\$ac_cs_usage"; exit 0 ;;
11778 *) echo "\$ac_cs_usage"; exit 1 ;;
11782 ac_given_srcdir=$srcdir
11783 ac_given_INSTALL="$INSTALL"
11785 trap 'rm -fr `echo "
11792 samples/bombs/Makefile
11793 samples/caret/Makefile
11794 samples/checklst/Makefile
11795 samples/config/Makefile
11796 samples/controls/Makefile
11797 samples/dialogs/Makefile
11798 samples/docview/Makefile
11799 samples/docvwmdi/Makefile
11800 samples/dnd/Makefile
11801 samples/drawing/Makefile
11802 samples/dynamic/Makefile
11803 samples/image/Makefile
11804 samples/layout/Makefile
11805 samples/listctrl/Makefile
11806 samples/mdi/Makefile
11807 samples/minifram/Makefile
11808 samples/minimal/Makefile
11809 samples/notebook/Makefile
11810 samples/printing/Makefile
11811 samples/proplist/Makefile
11812 samples/sashtest/Makefile
11813 samples/scroll/Makefile
11814 samples/splitter/Makefile
11815 samples/text/Makefile
11816 samples/thread/Makefile
11817 samples/toolbar/Makefile
11818 samples/treectrl/Makefile
11819 samples/typetest/Makefile
11820 samples/validate/Makefile
11821 samples/wxpoem/Makefile
11822 samples/wxsocket/Makefile
11823 samples/wizard/Makefile
11824 samples/html/Makefile
11825 samples/html/about/Makefile
11826 samples/html/help/Makefile
11827 samples/html/printing/Makefile
11828 samples/html/test/Makefile
11829 samples/html/zip/Makefile
11830 samples/html/virtual/Makefile
11831 samples/html/widget/Makefile
11833 utils/wxMMedia2/Makefile
11834 utils/wxMMedia2/lib/Makefile
11835 utils/wxMMedia2/sample/Makefile
11836 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11838 cat >> $CONFIG_STATUS <<EOF
11840 # Protect against being on the right side of a sed subst in config.status.
11841 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11842 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11846 s%@CFLAGS@%$CFLAGS%g
11847 s%@CPPFLAGS@%$CPPFLAGS%g
11848 s%@CXXFLAGS@%$CXXFLAGS%g
11849 s%@FFLAGS@%$FFLAGS%g
11851 s%@LDFLAGS@%$LDFLAGS%g
11853 s%@exec_prefix@%$exec_prefix%g
11854 s%@prefix@%$prefix%g
11855 s%@program_transform_name@%$program_transform_name%g
11856 s%@bindir@%$bindir%g
11857 s%@sbindir@%$sbindir%g
11858 s%@libexecdir@%$libexecdir%g
11859 s%@datadir@%$datadir%g
11860 s%@sysconfdir@%$sysconfdir%g
11861 s%@sharedstatedir@%$sharedstatedir%g
11862 s%@localstatedir@%$localstatedir%g
11863 s%@libdir@%$libdir%g
11864 s%@includedir@%$includedir%g
11865 s%@oldincludedir@%$oldincludedir%g
11866 s%@infodir@%$infodir%g
11867 s%@mandir@%$mandir%g
11869 s%@host_alias@%$host_alias%g
11870 s%@host_cpu@%$host_cpu%g
11871 s%@host_vendor@%$host_vendor%g
11872 s%@host_os@%$host_os%g
11873 s%@target@%$target%g
11874 s%@target_alias@%$target_alias%g
11875 s%@target_cpu@%$target_cpu%g
11876 s%@target_vendor@%$target_vendor%g
11877 s%@target_os@%$target_os%g
11879 s%@build_alias@%$build_alias%g
11880 s%@build_cpu@%$build_cpu%g
11881 s%@build_vendor@%$build_vendor%g
11882 s%@build_os@%$build_os%g
11886 s%@CXXCPP@%$CXXCPP%g
11887 s%@RANLIB@%$RANLIB%g
11889 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11890 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
11891 s%@INSTALL_DATA@%$INSTALL_DATA%g
11895 s%@LEXLIB@%$LEXLIB%g
11897 s%@GTK_CONFIG@%$GTK_CONFIG%g
11898 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
11899 s%@GTK_LIBS@%$GTK_LIBS%g
11900 s%@X_CFLAGS@%$X_CFLAGS%g
11901 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
11902 s%@X_LIBS@%$X_LIBS%g
11903 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
11904 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
11905 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
11906 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
11907 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
11908 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
11909 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
11910 s%@WX_LIBRARY@%$WX_LIBRARY%g
11911 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
11912 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
11913 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
11914 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
11915 s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g
11916 s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g
11917 s%@SHARED_LD@%$SHARED_LD%g
11918 s%@PIC_FLAG@%$PIC_FLAG%g
11919 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
11920 s%@TOOLKIT@%$TOOLKIT%g
11921 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
11922 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
11923 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
11924 s%@GUIOBJS@%$GUIOBJS%g
11925 s%@GUIHEADERS@%$GUIHEADERS%g
11926 s%@COMMONOBJS@%$COMMONOBJS%g
11927 s%@GENERICOBJS@%$GENERICOBJS%g
11928 s%@UNIXOBJS@%$UNIXOBJS%g
11929 s%@GUIDIST@%$GUIDIST%g
11930 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
11931 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
11932 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
11933 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
11934 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
11935 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
11936 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
11937 s%@LD_LIBS@%$LD_LIBS%g
11938 s%@SET_MAKE@%$SET_MAKE%g
11943 cat >> $CONFIG_STATUS <<\EOF
11945 # Split the substitutions into bite-sized pieces for seds with
11946 # small command number limits, like on Digital OSF/1 and HP-UX.
11947 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
11948 ac_file
=1 # Number of current file.
11949 ac_beg
=1 # First line for current file.
11950 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
11953 while $ac_more_lines; do
11954 if test $ac_beg -gt 1; then
11955 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
11957 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
11959 if test ! -s conftest.s
$ac_file; then
11960 ac_more_lines
=false
11961 rm -f conftest.s
$ac_file
11963 if test -z "$ac_sed_cmds"; then
11964 ac_sed_cmds
="sed -f conftest.s$ac_file"
11966 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
11968 ac_file
=`expr $ac_file + 1`
11970 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
11973 if test -z "$ac_sed_cmds"; then
11978 cat >> $CONFIG_STATUS <<EOF
11980 CONFIG_FILES=\${CONFIG_FILES-"wx-config
11986 samples/bombs/Makefile
11987 samples/caret/Makefile
11988 samples/checklst/Makefile
11989 samples/config/Makefile
11990 samples/controls/Makefile
11991 samples/dialogs/Makefile
11992 samples/docview/Makefile
11993 samples/docvwmdi/Makefile
11994 samples/dnd/Makefile
11995 samples/drawing/Makefile
11996 samples/dynamic/Makefile
11997 samples/image/Makefile
11998 samples/layout/Makefile
11999 samples/listctrl/Makefile
12000 samples/mdi/Makefile
12001 samples/minifram/Makefile
12002 samples/minimal/Makefile
12003 samples/notebook/Makefile
12004 samples/printing/Makefile
12005 samples/proplist/Makefile
12006 samples/sashtest/Makefile
12007 samples/scroll/Makefile
12008 samples/splitter/Makefile
12009 samples/text/Makefile
12010 samples/thread/Makefile
12011 samples/toolbar/Makefile
12012 samples/treectrl/Makefile
12013 samples/typetest/Makefile
12014 samples/validate/Makefile
12015 samples/wxpoem/Makefile
12016 samples/wxsocket/Makefile
12017 samples/wizard/Makefile
12018 samples/html/Makefile
12019 samples/html/about/Makefile
12020 samples/html/help/Makefile
12021 samples/html/printing/Makefile
12022 samples/html/test/Makefile
12023 samples/html/zip/Makefile
12024 samples/html/virtual/Makefile
12025 samples/html/widget/Makefile
12027 utils/wxMMedia2/Makefile
12028 utils/wxMMedia2/lib/Makefile
12029 utils/wxMMedia2/sample/Makefile
12032 cat >> $CONFIG_STATUS <<\EOF
12033 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12036 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12037 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12038 *) ac_file_in
="${ac_file}.in" ;;
12041 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12043 # Remove last slash and all that follows it. Not all systems have dirname.
12044 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12045 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12046 # The file is in a subdirectory.
12047 test ! -d "$ac_dir" && mkdir "$ac_dir"
12048 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12049 # A "../" for each directory in $ac_dir_suffix.
12050 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12052 ac_dir_suffix
= ac_dots
=
12055 case "$ac_given_srcdir" in
12057 if test -z "$ac_dots"; then top_srcdir
=.
12058 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12059 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12060 *) # Relative path.
12061 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12062 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12065 case "$ac_given_INSTALL" in
12066 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12067 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12070 echo creating
"$ac_file"
12072 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12074 *Makefile
*) ac_comsub
="1i\\
12075 # $configure_input" ;;
12079 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12081 s%@configure_input@%$configure_input%g
12082 s%@srcdir@%$srcdir%g
12083 s%@top_srcdir@%$top_srcdir%g
12084 s%@INSTALL@%$INSTALL%g
12085 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12089 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12090 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12092 # ac_d sets the value in "#define NAME VALUE" lines.
12093 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12094 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12097 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12098 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12099 ac_uB
='\([ ]\)%\1#\2define\3'
12102 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12103 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12104 ac_eB
='$%\1#\2define\3'
12108 if test "${CONFIG_HEADERS+set}" != set; then
12110 cat >> $CONFIG_STATUS <<EOF
12111 CONFIG_HEADERS="setup.h:setup.h.in"
12113 cat >> $CONFIG_STATUS <<\EOF
12115 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12116 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12118 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12119 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12120 *) ac_file_in
="${ac_file}.in" ;;
12123 echo creating
$ac_file
12125 rm -f conftest.frag conftest.
in conftest.out
12126 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12127 cat $ac_file_inputs > conftest.
in
12131 # Transform confdefs.h into a sed script conftest.vals that substitutes
12132 # the proper values into config.h.in to produce config.h. And first:
12133 # Protect against being on the right side of a sed subst in config.status.
12134 # Protect against being in an unquoted here document in config.status.
12135 rm -f conftest.vals
12136 cat > conftest.hdr
<<\EOF
12139 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12143 sed -n -f conftest.hdr confdefs.h > conftest.vals
12146 # This sed command replaces #undef with comments. This is necessary, for
12147 # example, in the case of _POSIX_SOURCE, which is predefined and required
12148 # on some systems where configure will not decide to define it.
12149 cat >> conftest.vals <<\EOF
12150 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12153 # Break up conftest.vals because some shells have a limit on
12154 # the size of here documents, and old seds have small limits too.
12156 rm -f conftest.tail
12159 ac_lines=`grep -c . conftest.vals
`
12160 # grep -c gives empty output for an empty file on some AIX systems.
12161 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12162 # Write a limited-size here document to conftest.frag.
12163 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12164 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12166 sed -f conftest.frag conftest.in > conftest.out
12168 mv conftest.out conftest.in
12169 ' >> $CONFIG_STATUS
12170 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12171 rm -f conftest.vals
12172 mv conftest.tail conftest.vals
12174 rm -f conftest.vals
12176 cat >> $CONFIG_STATUS <<\EOF
12177 rm -f conftest.frag conftest.h
12178 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12179 cat conftest.in >> conftest.h
12181 if cmp -s $ac_file conftest.h 2>/dev/null; then
12182 echo "$ac_file is unchanged"
12185 # Remove last slash and all that follows it. Not all systems have dirname.
12186 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12187 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12188 # The file is in a subdirectory.
12189 test ! -d "$ac_dir" && mkdir "$ac_dir"
12192 mv conftest.h $ac_file
12197 cat >> $CONFIG_STATUS <<EOF
12199 LN_S="${ac_cv_prog_LN_S}"
12200 TOOLKIT_DIR="${TOOLKIT_DIR}"
12204 cat >> $CONFIG_STATUS <<\EOF
12207 if test ! -d include; then
12210 if test ! -d include/wx; then
12213 if test ! -d include/wx/${TOOLKIT_DIR}; then
12214 mkdir include/wx/${TOOLKIT_DIR}
12216 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12220 chmod +x $CONFIG_STATUS
12221 rm -fr confdefs* $ac_clean_files
12222 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1