3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.12
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
57 --with-motif use Motif/Lesstif"
61 --with-cygwin use Cygwin for MS-Windows"
63 --with-mingw use GCC Minimal MS-Windows"
65 --with-gtk-prefix=PFX Prefix where GTK is installed"
67 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
69 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
71 --with-zlib use zlib for LZW compression"
73 --with-libpng use libpng (PNG image format)"
75 --with-libjpeg use libjpeg (JPEG file format)"
77 --with-opengl use OpenGL (or Mesa)"
79 --with-odbc use the IODBC and wxODBC classes"
81 --enable-shared create shared library code"
83 --enable-optimise create optimised code"
85 --enable-debug same as debug_flag and debug_info"
87 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
89 --enable-debug_info create code with debugging information"
91 --enable-debug_gdb create code with extra GDB debugging information"
93 --enable-debug_cntxt use wxDebugContext"
95 --enable-mem_tracing create code with memory tracing"
97 --enable-profile create code with profiling information"
99 --enable-no_rtti create code without RTTI information"
101 --enable-no_exceptions create code without exceptions information"
103 --enable-permissive compile code disregarding strict ANSI"
105 --enable-no_deps create code without dependency information"
107 --enable-gui use GUI classes"
109 --enable-intl use internationalization system"
111 --enable-config use wxConfig (and derived) classes"
113 --enable-sockets use socket/network classes"
115 --enable-dialupman use dialup network classes"
117 --enable-ipc use interprocess communication (wxSocket etc.)"
119 --enable-apple_ieee use the Apple IEEE codec"
121 --enable-timedate use date/time classes"
123 --enable-wave use wxWave class"
125 --enable-fraction use wxFraction class"
127 --enable-dynlib use wxLibrary class for DLL loading"
129 --enable-longlong use wxLongLong class"
131 --enable-log use logging system"
133 --enable-streams use wxStream etc classes"
135 --enable-file use wxFile classes"
137 --enable-textfile use wxTextFile classes"
139 --enable-unicode compile wxString with Unicode support"
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
145 --enable-joystick compile in joystick support (Linux only)"
147 --enable-std_iostreams use standard C++ stream classes"
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
151 --enable-fs_zip use virtual ZIP filesystems"
153 --enable-zipstream use wxZipInputStream"
155 --enable-threads use threads"
157 --enable-serial use class serialization"
159 --enable-docview use document view architecture"
161 --enable-help use help (using external browser at present)"
163 --enable-constraints use layout-constraints system"
165 --enable-printarch use printing architecture"
167 --enable-mdi use multiple document interface architecture"
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
171 --enable-prologio use Prolog IO library"
173 --enable-resources use wxWindows resources"
175 --enable-xresources use X resources for save (default for gtk+)"
177 --enable-clipboard use wxClipboard classes"
179 --enable-dnd use Drag'n'Drop classes"
181 --enable-wxtree make wxTree library"
183 --enable-controls use all usual controls"
185 --enable-accel use accelerators"
187 --enable-caret use wxCaret class"
189 --enable-bmpbutton use wxBitmapButton class"
191 --enable-checkbox use wxCheckBox class"
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
195 --enable-choice use wxChoice class"
197 --enable-combobox use wxComboBox classes"
199 --enable-gauge use wxGauge class"
201 --enable-grid use wxGrid class"
203 --enable-imaglist use wxImageList class"
205 --enable-listbox use wxListBox class"
207 --enable-listctrl use wxListCtrl class"
209 --enable-notebook use wxNotebook class"
211 --enable-radiobox use wxRadioBox class"
213 --enable-radiobtn use wxRadioButton class"
215 --enable-sash use wxSashWindow class"
217 --enable-scrollbar use wxScrollBar class and scrollable windows"
219 --enable-slider use wxSlider class"
221 --enable-spinbtn use wxSpinButton class"
223 --enable-splitter use wxSplitterWindow class"
225 --enable-statbmp use wxStaticBitmap class"
227 --enable-statbox use wxStaticBox class"
229 --enable-statline use wxStaticLine class"
231 --enable-statusbar use wxStatusBar class"
233 --enable-tabdialog use wxTabControl class"
235 --enable-toolbar use wxToolBar class"
237 --enable-treectrl use wxTreeCtrl class"
239 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
241 --enable-dirdlg use wxDirDialog"
243 --enable-textdlg use wxTextDialog"
245 --enable-tipdlg use startup tips"
247 --enable-progressdlg use wxProgressDialog"
249 --enable-miniframe use wxMiniFrame class"
251 --enable-html use wxHTML sub-library"
253 --enable-tooltips use wxToolTip class"
255 --enable-splines use spline drawing code"
257 --enable-validators use wxValidator and derived classes"
259 --enable-busyinfo use wxBusyInfo"
261 --enable-gif use gif images (GIF file format)"
263 --enable-pcx use pcx images (PCX file format)"
265 --enable-pnm use pnm images (PNM file format)"
267 --with-x use the X Window System"
269 # Initialize some variables set by options.
270 # The variables have the same names as the options, with
271 # dashes changed to underlines.
273 cache_file
=.
/config.cache
282 program_transform_name
=s
,x
,x
,
290 bindir
='${exec_prefix}/bin'
291 sbindir
='${exec_prefix}/sbin'
292 libexecdir
='${exec_prefix}/libexec'
293 datadir
='${prefix}/share'
294 sysconfdir
='${prefix}/etc'
295 sharedstatedir
='${prefix}/com'
296 localstatedir
='${prefix}/var'
297 libdir
='${exec_prefix}/lib'
298 includedir
='${prefix}/include'
299 oldincludedir
='/usr/include'
300 infodir
='${prefix}/info'
301 mandir
='${prefix}/man'
303 # Initialize some other variables.
306 # Maximum number of lines to put in a shell here document.
313 # If the previous option needs an argument, assign it.
314 if test -n "$ac_prev"; then
315 eval "$ac_prev=\$ac_option"
321 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
325 # Accept the important Cygnus configure options, so we can diagnose typos.
329 -bindir | --bindir | --bindi | --bind | --bin | --bi)
331 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
332 bindir
="$ac_optarg" ;;
334 -build | --build | --buil | --bui | --bu)
336 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
337 build
="$ac_optarg" ;;
339 -cache-file | --cache-file | --cache-fil | --cache-fi \
340 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
341 ac_prev
=cache_file
;;
342 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
343 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
344 cache_file
="$ac_optarg" ;;
346 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
348 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
350 datadir
="$ac_optarg" ;;
352 -disable-* | --disable-*)
353 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
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'`
359 eval "enable_${ac_feature}=no" ;;
361 -enable-* | --enable-*)
362 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
365 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
367 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
372 eval "enable_${ac_feature}='$ac_optarg'" ;;
374 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
375 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
376 | --exec | --exe | --ex)
377 ac_prev
=exec_prefix
;;
378 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
379 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
380 | --exec=* | --exe=* | --ex=*)
381 exec_prefix
="$ac_optarg" ;;
383 -gas | --gas | --ga | --g)
384 # Obsolete; use --with-gas.
387 -help | --help | --hel | --he)
388 # Omit some internal or obsolete options to make the list less imposing.
389 # This message is too long to be a string in the A/UX 3.1 sh.
391 Usage: configure [options] [host]
392 Options: [defaults in brackets after descriptions]
394 --cache-file=FILE cache test results in FILE
395 --help print this message
396 --no-create do not create output files
397 --quiet, --silent do not print \`checking...' messages
398 --version print the version of autoconf that created configure
399 Directory and file names:
400 --prefix=PREFIX install architecture-independent files in PREFIX
402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
404 --bindir=DIR user executables in DIR [EPREFIX/bin]
405 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
406 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
407 --datadir=DIR read-only architecture-independent data in DIR
409 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
410 --sharedstatedir=DIR modifiable architecture-independent data in DIR
412 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
413 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
414 --includedir=DIR C header files in DIR [PREFIX/include]
415 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
416 --infodir=DIR info documentation in DIR [PREFIX/info]
417 --mandir=DIR man documentation in DIR [PREFIX/man]
418 --srcdir=DIR find the sources in DIR [configure dir or ..]
419 --program-prefix=PREFIX prepend PREFIX to installed program names
420 --program-suffix=SUFFIX append SUFFIX to installed program names
421 --program-transform-name=PROGRAM
422 run sed PROGRAM on installed program names
426 --build=BUILD configure for building on BUILD [BUILD=HOST]
427 --host=HOST configure for HOST [guessed]
428 --target=TARGET configure for TARGET [TARGET=HOST]
429 Features and packages:
430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
434 --x-includes=DIR X include files are in DIR
435 --x-libraries=DIR X library files are in DIR
437 if test -n "$ac_help"; then
438 echo "--enable and --with options recognized:$ac_help"
442 -host | --host | --hos | --ho)
444 -host=* | --host=* | --hos=* | --ho=*)
447 -includedir | --includedir | --includedi | --included | --include \
448 | --includ | --inclu | --incl | --inc)
449 ac_prev
=includedir
;;
450 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
451 | --includ=* | --inclu=* | --incl=* | --inc=*)
452 includedir
="$ac_optarg" ;;
454 -infodir | --infodir | --infodi | --infod | --info | --inf)
456 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
457 infodir
="$ac_optarg" ;;
459 -libdir | --libdir | --libdi | --libd)
461 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 libdir
="$ac_optarg" ;;
464 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
465 | --libexe | --libex | --libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
468 | --libexe=* | --libex=* | --libe=*)
469 libexecdir
="$ac_optarg" ;;
471 -localstatedir | --localstatedir | --localstatedi | --localstated \
472 | --localstate | --localstat | --localsta | --localst \
473 | --locals | --local | --loca | --loc | --lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
476 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
477 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
478 localstatedir
="$ac_optarg" ;;
480 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
482 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 mandir
="$ac_optarg" ;;
486 # Obsolete; use --without-fp.
489 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
493 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
497 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
498 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
499 | --oldin | --oldi | --old | --ol | --o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
502 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
503 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
504 oldincludedir
="$ac_optarg" ;;
506 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
508 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 prefix
="$ac_optarg" ;;
511 -program-prefix | --program-prefix | --program-prefi | --program-pref \
512 | --program-pre | --program-pr | --program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* | --program-prefix=* | --program-prefi=* \
515 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
516 program_prefix
="$ac_optarg" ;;
518 -program-suffix | --program-suffix | --program-suffi | --program-suff \
519 | --program-suf | --program-su | --program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* | --program-suffix=* | --program-suffi=* \
522 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
523 program_suffix
="$ac_optarg" ;;
525 -program-transform-name | --program-transform-name \
526 | --program-transform-nam | --program-transform-na \
527 | --program-transform-n | --program-transform- \
528 | --program-transform | --program-transfor \
529 | --program-transfo | --program-transf \
530 | --program-trans | --program-tran \
531 | --progr-tra | --program-tr | --program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* | --program-transform-name=* \
534 | --program-transform-nam=* | --program-transform-na=* \
535 | --program-transform-n=* | --program-transform-=* \
536 | --program-transform=* | --program-transfor=* \
537 | --program-transfo=* | --program-transf=* \
538 | --program-trans=* | --program-tran=* \
539 | --progr-tra=* | --program-tr=* | --program-t=*)
540 program_transform_name
="$ac_optarg" ;;
542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
543 | -silent | --silent | --silen | --sile | --sil)
546 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
548 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
550 sbindir
="$ac_optarg" ;;
552 -sharedstatedir | --sharedstatedir | --sharedstatedi \
553 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
554 | --sharedst | --shareds | --shared | --share | --shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
558 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
559 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
561 sharedstatedir
="$ac_optarg" ;;
563 -site | --site | --sit)
565 -site=* | --site=* | --sit=*)
568 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
570 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 srcdir
="$ac_optarg" ;;
573 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
574 | --syscon | --sysco | --sysc | --sys | --sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
577 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
578 sysconfdir
="$ac_optarg" ;;
580 -target | --target | --targe | --targ | --tar | --ta | --t)
582 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
583 target
="$ac_optarg" ;;
585 -v | -verbose | --verbose | --verbos | --verbo | --verb)
588 -version | --version | --versio | --versi | --vers)
589 echo "configure generated by autoconf version 2.12"
593 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
594 # Reject names that are not valid shell variable names.
595 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
596 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
603 eval "with_${ac_package}='$ac_optarg'" ;;
605 -without-* | --without-*)
606 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
607 # Reject names that are not valid shell variable names.
608 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
609 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
611 ac_package
=`echo $ac_package| sed 's/-/_/g'`
612 eval "with_${ac_package}=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
619 | --x-incl | --x-inc | --x-in | --x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
622 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
623 x_includes
="$ac_optarg" ;;
625 -x-libraries | --x-libraries | --x-librarie | --x-librari \
626 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
629 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
630 x_libraries
="$ac_optarg" ;;
632 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
636 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
637 echo "configure: warning: $ac_option: invalid host type" 1>&2
639 if test "x$nonopt" != xNONE
; then
640 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
648 if test -n "$ac_prev"; then
649 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
652 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
654 # File descriptor usage:
657 # 2 errors and warnings
658 # 3 some systems may open it to /dev/tty
659 # 4 used on the Kubota Titan
660 # 6 checking for... messages and results
661 # 5 compiler messages saved in config.log
662 if test "$silent" = yes; then
670 This file contains any messages produced by compilers while
671 running configure, to aid debugging if configure makes a mistake.
674 # Strip out --no-create and --no-recursion so they do not pile up.
675 # Also quote any args containing shell metacharacters.
680 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
681 | --no-cr | --no-c) ;;
682 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
683 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
684 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
685 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
686 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
691 # Only set these to C if already set. These must not be set unconditionally
692 # because not all systems understand e.g. LANG=C (notably SCO).
693 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
694 # Non-C LC_CTYPE values break the ctype check.
695 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
696 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
697 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
698 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
700 # confdefs.h avoids OS command line length limits that DEFS can exceed.
701 rm -rf conftest
* confdefs.h
702 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
705 # A filename unique to this package, relative to the directory that
706 # configure is in, which we can look for to find out if srcdir is correct.
707 ac_unique_file
=wx
-config.
in
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
714 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
715 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
717 if test ! -r $srcdir/$ac_unique_file; then
721 ac_srcdir_defaulted
=no
723 if test ! -r $srcdir/$ac_unique_file; then
724 if test "$ac_srcdir_defaulted" = yes; then
725 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
727 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
730 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
732 # Prefer explicitly selected file to automatically selected ones.
733 if test -z "$CONFIG_SITE"; then
734 if test "x$prefix" != xNONE
; then
735 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
737 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
740 for ac_site_file
in $CONFIG_SITE; do
741 if test -r "$ac_site_file"; then
742 echo "loading site script $ac_site_file"
747 if test -r "$cache_file"; then
748 echo "loading cache $cache_file"
751 echo "creating cache $cache_file"
756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
757 ac_cpp
='$CPP $CPPFLAGS'
758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
759 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
760 cross_compiling
=$ac_cv_prog_cc_cross
762 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
763 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
764 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
771 ac_n
= ac_c
='\c' ac_t
=
777 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
778 if test -f $ac_dir/install-sh; then
780 ac_install_sh
="$ac_aux_dir/install-sh -c"
782 elif test -f $ac_dir/install.sh
; then
784 ac_install_sh
="$ac_aux_dir/install.sh -c"
788 if test -z "$ac_aux_dir"; then
789 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
791 ac_config_guess
=$ac_aux_dir/config.guess
792 ac_config_sub
=$ac_aux_dir/config.sub
793 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
796 # Do some error checking and defaulting for the host and target type.
798 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
801 # 1. You are not allowed to specify --host, --target, and nonopt at the
803 # 2. Host defaults to nonopt.
804 # 3. If nonopt is not specified, then host defaults to the current host,
805 # as determined by config.guess.
806 # 4. Target and build default to nonopt.
807 # 5. If nonopt is not specified, then target and build default to host.
809 # The aliases save the names the user supplied, while $host etc.
810 # will get canonicalized.
811 case $host---$target---$nonopt in
812 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
813 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
817 # Make sure we can run config.sub.
818 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
819 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
822 echo $ac_n "checking host system type""... $ac_c" 1>&6
823 echo "configure:824: checking host system type" >&5
826 case "$host_alias" in
830 if host_alias
=`$ac_config_guess`; then :
831 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
833 *) host_alias
=$nonopt ;;
837 host=`$ac_config_sub $host_alias`
838 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
839 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
840 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
841 echo "$ac_t""$host" 1>&6
843 echo $ac_n "checking target system type""... $ac_c" 1>&6
844 echo "configure:845: checking target system type" >&5
847 case "$target_alias" in
850 NONE
) target_alias
=$host_alias ;;
851 *) target_alias
=$nonopt ;;
855 target
=`$ac_config_sub $target_alias`
856 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
857 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
858 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
859 echo "$ac_t""$target" 1>&6
861 echo $ac_n "checking build system type""... $ac_c" 1>&6
862 echo "configure:863: checking build system type" >&5
865 case "$build_alias" in
868 NONE
) build_alias
=$host_alias ;;
869 *) build_alias
=$nonopt ;;
873 build
=`$ac_config_sub $build_alias`
874 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
875 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
876 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
877 echo "$ac_t""$build" 1>&6
879 test "$host_alias" != "$target_alias" &&
880 test "$program_prefix$program_suffix$program_transform_name" = \
882 program_prefix
=${target_alias}-
886 WX_MAJOR_VERSION_NUMBER
=2
887 WX_MINOR_VERSION_NUMBER
=1
893 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
895 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
896 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
897 WX_REVISION
=$WX_INTERFACE_AGE
898 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
921 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
924 DEFAULT_wxUSE_MOTIF
=0
928 DEFAULT_DEFAULT_wxUSE_GTK
=0
929 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
930 DEFAULT_DEFAULT_wxUSE_MSW
=0
931 DEFAULT_DEFAULT_wxUSE_WINE
=0
936 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
937 cat >> confdefs.h
<<\EOF
944 cat >> confdefs.h
<<\EOF
949 if test "x$TMP" = "xalpha"; then
951 cat >> confdefs.h
<<\EOF
956 DEFAULT_DEFAULT_wxUSE_GTK
=1
958 *-*-irix5* | *-*-irix6* )
961 cat >> confdefs.h
<<\EOF
965 cat >> confdefs.h
<<\EOF
969 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
975 cat >> confdefs.h
<<\EOF
979 cat >> confdefs.h
<<\EOF
980 #define __SOLARIS__ 1
983 cat >> confdefs.h
<<\EOF
987 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
993 cat >> confdefs.h
<<\EOF
997 cat >> confdefs.h
<<\EOF
1001 cat >> confdefs.h
<<\EOF
1005 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1007 *-*-freebsd* | *-*-netbsd*)
1010 cat >> confdefs.h
<<\EOF
1011 #define __FREEBSD__ 1
1014 cat >> confdefs.h
<<\EOF
1018 DEFAULT_DEFAULT_wxUSE_GTK
=1
1023 cat >> confdefs.h
<<\EOF
1027 cat >> confdefs.h
<<\EOF
1031 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1036 cat >> confdefs.h
<<\EOF
1040 cat >> confdefs.h
<<\EOF
1044 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1049 cat >> confdefs.h
<<\EOF
1053 cat >> confdefs.h
<<\EOF
1057 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1063 cat >> confdefs.h
<<\EOF
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1089 #define __WINDOWS__ 1
1092 cat >> confdefs.h
<<\EOF
1093 #define __GNUWIN32__ 1
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1101 #define WINVER 0x0400
1104 DEFAULT_DEFAULT_wxUSE_MSW
=1
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1117 #define __WINDOWS__ 1
1120 cat >> confdefs.h
<<\EOF
1121 #define __GNUWIN32__ 1
1124 cat >> confdefs.h
<<\EOF
1128 cat >> confdefs.h
<<\EOF
1129 #define WINVER 0x0400
1132 DEFAULT_DEFAULT_wxUSE_MSW
=1
1136 cat >> confdefs.h
<<\EOF
1143 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1146 if test "$USE_UNIX" = 1 ; then
1148 cat >> confdefs.h
<<\EOF
1152 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1153 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1156 if test "$USE_LINUX" = 1; then
1157 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1158 echo "configure:1159: checking for gettext in -lc" >&5
1159 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1161 echo $ac_n "(cached) $ac_c" 1>&6
1163 ac_save_LIBS
="$LIBS"
1165 cat > conftest.
$ac_ext <<EOF
1166 #line 1167 "configure"
1167 #include "confdefs.h"
1168 /* Override any gcc2 internal prototype to avoid an error. */
1169 /* We use char because int might match the return type of a gcc2
1170 builtin and then its argument prototype would still apply. */
1177 if { (eval echo configure
:1178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1179 eval "ac_cv_lib_$ac_lib_var=yes"
1181 echo "configure: failed program was:" >&5
1182 cat conftest.
$ac_ext >&5
1184 eval "ac_cv_lib_$ac_lib_var=no"
1187 LIBS
="$ac_save_LIBS"
1190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1191 echo "$ac_t""yes" 1>&6
1192 cat >> confdefs.h
<<\EOF
1193 #define wxHAVE_GLIBC2 1
1197 echo "$ac_t""no" 1>&6
1205 wx_arg_cache_file
="configarg.cache"
1206 echo "loading argument cache $wx_arg_cache_file"
1207 rm -f ${wx_arg_cache_file}.tmp
1208 touch ${wx_arg_cache_file}.tmp
1209 touch ${wx_arg_cache_file}
1213 if test $DEBUG_CONFIGURE = 1; then
1214 DEFAULT_wxUSE_THREADS
=yes
1216 DEFAULT_wxUSE_SHARED
=yes
1217 DEFAULT_wxUSE_OPTIMISE
=yes
1218 DEFAULT_wxUSE_PROFILE
=no
1219 DEFAULT_wxUSE_NO_DEPS
=no
1220 DEFAULT_wxUSE_NO_RTTI
=no
1221 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1222 DEFAULT_wxUSE_PERMISSIVE
=no
1223 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1224 DEFAULT_wxUSE_DEBUG_INFO
=yes
1225 DEFAULT_wxUSE_DEBUG_GDB
=yes
1226 DEFAULT_wxUSE_MEM_TRACING
=no
1227 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1228 DEFAULT_wxUSE_DMALLOC
=no
1229 DEFAULT_wxUSE_APPLE_IEEE
=no
1231 DEFAULT_wxUSE_LOG
=yes
1233 DEFAULT_wxUSE_GUI
=yes
1235 DEFAULT_wxUSE_ZLIB
=no
1236 DEFAULT_wxUSE_LIBPNG
=no
1237 DEFAULT_wxUSE_LIBJPEG
=no
1238 DEFAULT_wxUSE_ODBC
=no
1240 DEFAULT_wxUSE_STD_IOSTREAM
=no
1241 DEFAULT_wxUSE_FILE
=no
1242 DEFAULT_wxUSE_TEXTFILE
=no
1243 DEFAULT_wxUSE_TIMEDATE
=no
1244 DEFAULT_wxUSE_WAVE
=no
1245 DEFAULT_wxUSE_INTL
=no
1246 DEFAULT_wxUSE_CONFIG
=no
1247 DEFAULT_wxUSE_STREAMS
=no
1248 DEFAULT_wxUSE_SOCKETS
=no
1249 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1250 DEFAULT_wxUSE_SERIAL
=no
1251 DEFAULT_wxUSE_JOYSTICK
=no
1252 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1253 DEFAULT_wxUSE_LONGLONG
=no
1255 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1256 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1257 DEFAULT_wxUSE_POSTSCRIPT
=no
1259 DEFAULT_wxUSE_X_RESOURCES
=no
1260 DEFAULT_wxUSE_CLIPBOARD
=no
1261 DEFAULT_wxUSE_TOOLTIPS
=no
1262 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1263 DEFAULT_wxUSE_SPLINES
=no
1265 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1266 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1267 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1269 DEFAULT_wxUSE_PROLOGIO
=no
1270 DEFAULT_wxUSE_RESOURCES
=no
1271 DEFAULT_wxUSE_CONSTRAINTS
=no
1272 DEFAULT_wxUSE_IPC
=no
1273 DEFAULT_wxUSE_HELP
=no
1274 DEFAULT_wxUSE_WXTREE
=no
1275 DEFAULT_wxUSE_METAFILE
=no
1277 DEFAULT_wxUSE_COMMONDLGS
=no
1278 DEFAULT_wxUSE_DIRDLG
=no
1279 DEFAULT_wxUSE_TEXTDLG
=no
1280 DEFAULT_wxUSE_STARTUP_TIPS
=no
1281 DEFAULT_wxUSE_PROGRESSDLG
=no
1282 DEFAULT_wxUSE_MINIFRAME
=no
1283 DEFAULT_wxUSE_HTML
=no
1284 DEFAULT_wxUSE_FS_INET
=no
1285 DEFAULT_wxUSE_FS_ZIP
=no
1286 DEFAULT_wxUSE_BUSYINFO
=no
1287 DEFAULT_wxUSE_ZIPSTREAM
=no
1288 DEFAULT_wxUSE_VALIDATORS
=yes
1290 DEFAULT_wxUSE_ACCEL
=no
1291 DEFAULT_wxUSE_CARET
=no
1292 DEFAULT_wxUSE_BMPBUTTON
=no
1293 DEFAULT_wxUSE_CHECKBOX
=no
1294 DEFAULT_wxUSE_CHECKLST
=no
1295 DEFAULT_wxUSE_CHOICE
=yes
1296 DEFAULT_wxUSE_COMBOBOX
=no
1297 DEFAULT_wxUSE_GAUGE
=no
1298 DEFAULT_wxUSE_GRID
=no
1299 DEFAULT_wxUSE_IMAGLIST
=no
1300 DEFAULT_wxUSE_LISTBOX
=no
1301 DEFAULT_wxUSE_LISTCTRL
=no
1302 DEFAULT_wxUSE_NOTEBOOK
=no
1303 DEFAULT_wxUSE_RADIOBOX
=no
1304 DEFAULT_wxUSE_RADIOBTN
=no
1305 DEFAULT_wxUSE_SASH
=no
1306 DEFAULT_wxUSE_SCROLLBAR
=no
1307 DEFAULT_wxUSE_SLIDER
=no
1308 DEFAULT_wxUSE_SPINBTN
=no
1309 DEFAULT_wxUSE_SPLITTER
=no
1310 DEFAULT_wxUSE_STATBMP
=no
1311 DEFAULT_wxUSE_STATBOX
=no
1312 DEFAULT_wxUSE_STATLINE
=no
1313 DEFAULT_wxUSE_STATUSBAR
=yes
1314 DEFAULT_wxUSE_TABDIALOG
=no
1315 DEFAULT_wxUSE_TOOLBAR
=no
1316 DEFAULT_wxUSE_TREECTRL
=no
1318 DEFAULT_wxUSE_UNICODE
=no
1319 DEFAULT_wxUSE_WCSRTOMBS
=no
1321 DEFAULT_wxUSE_GIF
=no
1322 DEFAULT_wxUSE_PCX
=no
1323 DEFAULT_wxUSE_PNM
=no
1325 DEFAULT_wxUSE_THREADS
=yes
1327 DEFAULT_wxUSE_SHARED
=yes
1328 DEFAULT_wxUSE_OPTIMISE
=yes
1329 DEFAULT_wxUSE_PROFILE
=no
1330 DEFAULT_wxUSE_NO_DEPS
=no
1331 DEFAULT_wxUSE_NO_RTTI
=no
1332 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1333 DEFAULT_wxUSE_PERMISSIVE
=no
1334 DEFAULT_wxUSE_DEBUG_FLAG
=no
1335 DEFAULT_wxUSE_DEBUG_INFO
=no
1336 DEFAULT_wxUSE_DEBUG_GDB
=no
1337 DEFAULT_wxUSE_MEM_TRACING
=no
1338 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1339 DEFAULT_wxUSE_DMALLOC
=no
1340 DEFAULT_wxUSE_APPLE_IEEE
=yes
1342 DEFAULT_wxUSE_LOG
=yes
1344 DEFAULT_wxUSE_GUI
=yes
1346 DEFAULT_wxUSE_ZLIB
=yes
1347 DEFAULT_wxUSE_LIBPNG
=yes
1348 DEFAULT_wxUSE_LIBJPEG
=yes
1349 DEFAULT_wxUSE_ODBC
=no
1351 DEFAULT_wxUSE_STD_IOSTREAM
=no
1352 DEFAULT_wxUSE_FILE
=yes
1353 DEFAULT_wxUSE_TEXTFILE
=yes
1354 DEFAULT_wxUSE_TIMEDATE
=yes
1355 DEFAULT_wxUSE_WAVE
=no
1356 DEFAULT_wxUSE_INTL
=yes
1357 DEFAULT_wxUSE_CONFIG
=yes
1358 DEFAULT_wxUSE_STREAMS
=yes
1359 DEFAULT_wxUSE_SOCKETS
=yes
1360 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1361 DEFAULT_wxUSE_SERIAL
=yes
1362 DEFAULT_wxUSE_JOYSTICK
=yes
1363 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1364 DEFAULT_wxUSE_LONGLONG
=no
1366 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1367 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1368 DEFAULT_wxUSE_POSTSCRIPT
=yes
1370 DEFAULT_wxUSE_X_RESOURCES
=no
1371 DEFAULT_wxUSE_CLIPBOARD
=yes
1372 DEFAULT_wxUSE_TOOLTIPS
=yes
1373 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1374 DEFAULT_wxUSE_SPLINES
=yes
1376 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1377 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1378 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1380 DEFAULT_wxUSE_PROLOGIO
=yes
1381 DEFAULT_wxUSE_RESOURCES
=yes
1382 DEFAULT_wxUSE_CONSTRAINTS
=yes
1383 DEFAULT_wxUSE_IPC
=yes
1384 DEFAULT_wxUSE_HELP
=yes
1385 DEFAULT_wxUSE_WXTREE
=yes
1386 DEFAULT_wxUSE_METAFILE
=yes
1388 DEFAULT_wxUSE_COMMONDLGS
=yes
1389 DEFAULT_wxUSE_DIRDLG
=yes
1390 DEFAULT_wxUSE_TEXTDLG
=yes
1391 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1392 DEFAULT_wxUSE_PROGRESSDLG
=yes
1393 DEFAULT_wxUSE_MINIFRAME
=yes
1394 DEFAULT_wxUSE_HTML
=yes
1395 DEFAULT_wxUSE_FS_INET
=yes
1396 DEFAULT_wxUSE_FS_ZIP
=yes
1397 DEFAULT_wxUSE_BUSYINFO
=yes
1398 DEFAULT_wxUSE_ZIPSTREAM
=yes
1399 DEFAULT_wxUSE_VALIDATORS
=yes
1401 DEFAULT_wxUSE_ACCEL
=yes
1402 DEFAULT_wxUSE_CARET
=yes
1403 DEFAULT_wxUSE_BMPBUTTON
=yes
1404 DEFAULT_wxUSE_CHECKBOX
=yes
1405 DEFAULT_wxUSE_CHECKLST
=yes
1406 DEFAULT_wxUSE_CHOICE
=yes
1407 DEFAULT_wxUSE_COMBOBOX
=yes
1408 DEFAULT_wxUSE_GAUGE
=yes
1409 DEFAULT_wxUSE_GRID
=yes
1410 DEFAULT_wxUSE_IMAGLIST
=yes
1411 DEFAULT_wxUSE_LISTBOX
=yes
1412 DEFAULT_wxUSE_LISTCTRL
=yes
1413 DEFAULT_wxUSE_NOTEBOOK
=yes
1414 DEFAULT_wxUSE_RADIOBOX
=yes
1415 DEFAULT_wxUSE_RADIOBTN
=yes
1416 DEFAULT_wxUSE_SASH
=yes
1417 DEFAULT_wxUSE_SCROLLBAR
=yes
1418 DEFAULT_wxUSE_SLIDER
=yes
1419 DEFAULT_wxUSE_SPINBTN
=yes
1420 DEFAULT_wxUSE_SPLITTER
=yes
1421 DEFAULT_wxUSE_STATBMP
=yes
1422 DEFAULT_wxUSE_STATBOX
=yes
1423 DEFAULT_wxUSE_STATLINE
=yes
1424 DEFAULT_wxUSE_STATUSBAR
=yes
1425 DEFAULT_wxUSE_TABDIALOG
=no
1426 DEFAULT_wxUSE_TOOLBAR
=yes
1427 DEFAULT_wxUSE_TREECTRL
=yes
1429 DEFAULT_wxUSE_UNICODE
=no
1430 DEFAULT_wxUSE_WCSRTOMBS
=no
1432 DEFAULT_wxUSE_GIF
=yes
1433 DEFAULT_wxUSE_PCX
=yes
1434 DEFAULT_wxUSE_PNM
=yes
1439 for toolkit
in `echo $ALL_TOOLKITS`; do
1440 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1441 if test "x$LINE" != x
; then
1442 has_toolkit_in_cache
=1
1443 eval "DEFAULT_$LINE"
1444 eval "CACHE_$toolkit=1"
1448 # Check whether --with-gtk or --without-gtk was given.
1449 if test "${with_gtk+set}" = set; then
1451 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1454 # Check whether --with-motif or --without-motif was given.
1455 if test "${with_motif+set}" = set; then
1456 withval
="$with_motif"
1457 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1460 # Check whether --with-wine or --without-wine was given.
1461 if test "${with_wine+set}" = set; then
1462 withval
="$with_wine"
1463 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1466 # Check whether --with-cygwin or --without-cygwin was given.
1467 if test "${with_cygwin+set}" = set; then
1468 withval
="$with_cygwin"
1469 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1472 # Check whether --with-mingw or --without-mingw was given.
1473 if test "${with_mingw+set}" = set; then
1474 withval
="$with_mingw"
1475 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1479 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1480 if test "${with_gtk_prefix+set}" = set; then
1481 withval
="$with_gtk_prefix"
1482 gtk_config_prefix
="$withval"
1484 gtk_config_prefix
=""
1487 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1488 if test "${with_gtk_exec_prefix+set}" = set; then
1489 withval
="$with_gtk_exec_prefix"
1490 gtk_config_exec_prefix
="$withval"
1492 gtk_config_exec_prefix
=""
1497 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1498 echo "configure:1499: checking "for --with-dmalloc"" >&5
1500 # Check whether --with-dmalloc or --without-dmalloc was given.
1501 if test "${with_dmalloc+set}" = set; then
1502 withval
="$with_dmalloc"
1504 if test "$withval" = yes; then
1505 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1507 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1512 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1513 if test "x$LINE" != x
; then
1514 eval "DEFAULT_$LINE"
1519 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1524 eval "$ac_cv_use_dmalloc"
1525 if test "$no_cache" != 1; then
1526 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1529 if test "$wxUSE_DMALLOC" = yes; then
1530 echo "$ac_t""yes" 1>&6
1532 echo "$ac_t""no" 1>&6
1536 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1537 echo "configure:1538: checking "for --with-zlib"" >&5
1539 # Check whether --with-zlib or --without-zlib was given.
1540 if test "${with_zlib+set}" = set; then
1541 withval
="$with_zlib"
1543 if test "$withval" = yes; then
1544 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1546 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1551 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1552 if test "x$LINE" != x
; then
1553 eval "DEFAULT_$LINE"
1558 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1563 eval "$ac_cv_use_zlib"
1564 if test "$no_cache" != 1; then
1565 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1568 if test "$wxUSE_ZLIB" = yes; then
1569 echo "$ac_t""yes" 1>&6
1571 echo "$ac_t""no" 1>&6
1575 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1576 echo "configure:1577: checking "for --with-libpng"" >&5
1578 # Check whether --with-libpng or --without-libpng was given.
1579 if test "${with_libpng+set}" = set; then
1580 withval
="$with_libpng"
1582 if test "$withval" = yes; then
1583 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1585 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1590 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1591 if test "x$LINE" != x
; then
1592 eval "DEFAULT_$LINE"
1597 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1602 eval "$ac_cv_use_libpng"
1603 if test "$no_cache" != 1; then
1604 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1607 if test "$wxUSE_LIBPNG" = yes; then
1608 echo "$ac_t""yes" 1>&6
1610 echo "$ac_t""no" 1>&6
1614 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1615 echo "configure:1616: checking "for --with-libjpeg"" >&5
1617 # Check whether --with-libjpeg or --without-libjpeg was given.
1618 if test "${with_libjpeg+set}" = set; then
1619 withval
="$with_libjpeg"
1621 if test "$withval" = yes; then
1622 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1624 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1629 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1630 if test "x$LINE" != x
; then
1631 eval "DEFAULT_$LINE"
1636 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1641 eval "$ac_cv_use_libjpeg"
1642 if test "$no_cache" != 1; then
1643 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1646 if test "$wxUSE_LIBJPEG" = yes; then
1647 echo "$ac_t""yes" 1>&6
1649 echo "$ac_t""no" 1>&6
1653 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1654 echo "configure:1655: checking "for --with-opengl"" >&5
1656 # Check whether --with-opengl or --without-opengl was given.
1657 if test "${with_opengl+set}" = set; then
1658 withval
="$with_opengl"
1660 if test "$withval" = yes; then
1661 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1663 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1668 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1669 if test "x$LINE" != x
; then
1670 eval "DEFAULT_$LINE"
1675 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1680 eval "$ac_cv_use_opengl"
1681 if test "$no_cache" != 1; then
1682 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1685 if test "$wxUSE_OPENGL" = yes; then
1686 echo "$ac_t""yes" 1>&6
1688 echo "$ac_t""no" 1>&6
1692 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1693 echo "configure:1694: checking "for --with-odbc"" >&5
1695 # Check whether --with-odbc or --without-odbc was given.
1696 if test "${with_odbc+set}" = set; then
1697 withval
="$with_odbc"
1699 if test "$withval" = yes; then
1700 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1702 ac_cv_use_odbc
='wxUSE_ODBC=no'
1707 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1708 if test "x$LINE" != x
; then
1709 eval "DEFAULT_$LINE"
1714 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1719 eval "$ac_cv_use_odbc"
1720 if test "$no_cache" != 1; then
1721 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1724 if test "$wxUSE_ODBC" = yes; then
1725 echo "$ac_t""yes" 1>&6
1727 echo "$ac_t""no" 1>&6
1734 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1735 echo "configure:1736: checking "for --enable-shared"" >&5
1737 # Check whether --enable-shared or --disable-shared was given.
1738 if test "${enable_shared+set}" = set; then
1739 enableval
="$enable_shared"
1741 if test "$enableval" = yes; then
1742 ac_cv_use_shared
='wxUSE_SHARED=yes'
1744 ac_cv_use_shared
='wxUSE_SHARED=no'
1749 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1750 if test "x$LINE" != x
; then
1751 eval "DEFAULT_$LINE"
1756 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1761 eval "$ac_cv_use_shared"
1762 if test "$no_cache" != 1; then
1763 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1766 if test "$wxUSE_SHARED" = yes; then
1767 echo "$ac_t""yes" 1>&6
1769 echo "$ac_t""no" 1>&6
1773 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1774 echo "configure:1775: checking "for --enable-optimise"" >&5
1776 # Check whether --enable-optimise or --disable-optimise was given.
1777 if test "${enable_optimise+set}" = set; then
1778 enableval
="$enable_optimise"
1780 if test "$enableval" = yes; then
1781 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1783 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1788 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1789 if test "x$LINE" != x
; then
1790 eval "DEFAULT_$LINE"
1795 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1800 eval "$ac_cv_use_optimise"
1801 if test "$no_cache" != 1; then
1802 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1805 if test "$wxUSE_OPTIMISE" = yes; then
1806 echo "$ac_t""yes" 1>&6
1808 echo "$ac_t""no" 1>&6
1812 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1813 echo "configure:1814: checking "for --enable-debug"" >&5
1815 # Check whether --enable-debug or --disable-debug was given.
1816 if test "${enable_debug+set}" = set; then
1817 enableval
="$enable_debug"
1819 if test "$enableval" = yes; then
1820 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1822 ac_cv_use_debug
='wxUSE_DEBUG=no'
1827 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1839 eval "$ac_cv_use_debug"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_DEBUG" = yes; then
1845 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1851 if test "$wxUSE_DEBUG" = "yes"; then
1852 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1853 DEFAULT_wxUSE_DEBUG_INFO
=yes
1854 elif test "$wxUSE_DEBUG" = "no"; then
1855 DEFAULT_wxUSE_DEBUG_FLAG
=no
1856 DEFAULT_wxUSE_DEBUG_INFO
=no
1860 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1861 echo "configure:1862: checking "for --enable-debug_flag"" >&5
1863 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1864 if test "${enable_debug_flag+set}" = set; then
1865 enableval
="$enable_debug_flag"
1867 if test "$enableval" = yes; then
1868 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1870 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1875 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1876 if test "x$LINE" != x
; then
1877 eval "DEFAULT_$LINE"
1882 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1887 eval "$ac_cv_use_debug_flag"
1888 if test "$no_cache" != 1; then
1889 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1892 if test "$wxUSE_DEBUG_FLAG" = yes; then
1893 echo "$ac_t""yes" 1>&6
1895 echo "$ac_t""no" 1>&6
1899 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1900 echo "configure:1901: checking "for --enable-debug_info"" >&5
1902 # Check whether --enable-debug_info or --disable-debug_info was given.
1903 if test "${enable_debug_info+set}" = set; then
1904 enableval
="$enable_debug_info"
1906 if test "$enableval" = yes; then
1907 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
1909 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
1914 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
1915 if test "x$LINE" != x
; then
1916 eval "DEFAULT_$LINE"
1921 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
1926 eval "$ac_cv_use_debug_info"
1927 if test "$no_cache" != 1; then
1928 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
1931 if test "$wxUSE_DEBUG_INFO" = yes; then
1932 echo "$ac_t""yes" 1>&6
1934 echo "$ac_t""no" 1>&6
1938 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
1939 echo "configure:1940: checking "for --enable-debug_gdb"" >&5
1941 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
1942 if test "${enable_debug_gdb+set}" = set; then
1943 enableval
="$enable_debug_gdb"
1945 if test "$enableval" = yes; then
1946 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
1948 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
1953 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
1954 if test "x$LINE" != x
; then
1955 eval "DEFAULT_$LINE"
1960 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
1965 eval "$ac_cv_use_debug_gdb"
1966 if test "$no_cache" != 1; then
1967 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
1970 if test "$wxUSE_DEBUG_GDB" = yes; then
1971 echo "$ac_t""yes" 1>&6
1973 echo "$ac_t""no" 1>&6
1977 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
1978 echo "configure:1979: checking "for --enable-debug_cntxt"" >&5
1980 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
1981 if test "${enable_debug_cntxt+set}" = set; then
1982 enableval
="$enable_debug_cntxt"
1984 if test "$enableval" = yes; then
1985 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
1987 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
1992 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
1993 if test "x$LINE" != x
; then
1994 eval "DEFAULT_$LINE"
1999 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2004 eval "$ac_cv_use_debug_cntxt"
2005 if test "$no_cache" != 1; then
2006 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2009 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2010 echo "$ac_t""yes" 1>&6
2012 echo "$ac_t""no" 1>&6
2016 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2017 echo "configure:2018: checking "for --enable-mem_tracing"" >&5
2019 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2020 if test "${enable_mem_tracing+set}" = set; then
2021 enableval
="$enable_mem_tracing"
2023 if test "$enableval" = yes; then
2024 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2026 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2031 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2032 if test "x$LINE" != x
; then
2033 eval "DEFAULT_$LINE"
2038 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2043 eval "$ac_cv_use_mem_tracing"
2044 if test "$no_cache" != 1; then
2045 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2048 if test "$wxUSE_MEM_TRACING" = yes; then
2049 echo "$ac_t""yes" 1>&6
2051 echo "$ac_t""no" 1>&6
2055 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2056 echo "configure:2057: checking "for --enable-profile"" >&5
2058 # Check whether --enable-profile or --disable-profile was given.
2059 if test "${enable_profile+set}" = set; then
2060 enableval
="$enable_profile"
2062 if test "$enableval" = yes; then
2063 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2065 ac_cv_use_profile
='wxUSE_PROFILE=no'
2070 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2071 if test "x$LINE" != x
; then
2072 eval "DEFAULT_$LINE"
2077 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2082 eval "$ac_cv_use_profile"
2083 if test "$no_cache" != 1; then
2084 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2087 if test "$wxUSE_PROFILE" = yes; then
2088 echo "$ac_t""yes" 1>&6
2090 echo "$ac_t""no" 1>&6
2094 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2095 echo "configure:2096: checking "for --enable-no_rtti"" >&5
2097 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2098 if test "${enable_no_rtti+set}" = set; then
2099 enableval
="$enable_no_rtti"
2101 if test "$enableval" = yes; then
2102 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2104 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2109 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2110 if test "x$LINE" != x
; then
2111 eval "DEFAULT_$LINE"
2116 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2121 eval "$ac_cv_use_no_rtti"
2122 if test "$no_cache" != 1; then
2123 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2126 if test "$wxUSE_NO_RTTI" = yes; then
2127 echo "$ac_t""yes" 1>&6
2129 echo "$ac_t""no" 1>&6
2133 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2134 echo "configure:2135: checking "for --enable-no_exceptions"" >&5
2136 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2137 if test "${enable_no_exceptions+set}" = set; then
2138 enableval
="$enable_no_exceptions"
2140 if test "$enableval" = yes; then
2141 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2143 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2148 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2149 if test "x$LINE" != x
; then
2150 eval "DEFAULT_$LINE"
2155 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2160 eval "$ac_cv_use_no_exceptions"
2161 if test "$no_cache" != 1; then
2162 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2165 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2166 echo "$ac_t""yes" 1>&6
2168 echo "$ac_t""no" 1>&6
2172 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2173 echo "configure:2174: checking "for --enable-permissive"" >&5
2175 # Check whether --enable-permissive or --disable-permissive was given.
2176 if test "${enable_permissive+set}" = set; then
2177 enableval
="$enable_permissive"
2179 if test "$enableval" = yes; then
2180 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2182 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2187 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2188 if test "x$LINE" != x
; then
2189 eval "DEFAULT_$LINE"
2194 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2199 eval "$ac_cv_use_permissive"
2200 if test "$no_cache" != 1; then
2201 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2204 if test "$wxUSE_PERMISSIVE" = yes; then
2205 echo "$ac_t""yes" 1>&6
2207 echo "$ac_t""no" 1>&6
2211 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2212 echo "configure:2213: checking "for --enable-no_deps"" >&5
2214 # Check whether --enable-no_deps or --disable-no_deps was given.
2215 if test "${enable_no_deps+set}" = set; then
2216 enableval
="$enable_no_deps"
2218 if test "$enableval" = yes; then
2219 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2221 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2226 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2227 if test "x$LINE" != x
; then
2228 eval "DEFAULT_$LINE"
2233 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2238 eval "$ac_cv_use_no_deps"
2239 if test "$no_cache" != 1; then
2240 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2243 if test "$wxUSE_NO_DEPS" = yes; then
2244 echo "$ac_t""yes" 1>&6
2246 echo "$ac_t""no" 1>&6
2252 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
2253 echo "configure:2254: checking "for --enable-gui"" >&5
2255 # Check whether --enable-gui or --disable-gui was given.
2256 if test "${enable_gui+set}" = set; then
2257 enableval
="$enable_gui"
2259 if test "$enableval" = yes; then
2260 ac_cv_use_gui
='wxUSE_GUI=yes'
2262 ac_cv_use_gui
='wxUSE_GUI=no'
2267 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2268 if test "x$LINE" != x
; then
2269 eval "DEFAULT_$LINE"
2274 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2279 eval "$ac_cv_use_gui"
2280 if test "$no_cache" != 1; then
2281 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2284 if test "$wxUSE_GUI" = yes; then
2285 echo "$ac_t""yes" 1>&6
2287 echo "$ac_t""no" 1>&6
2293 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2294 echo "configure:2295: checking "for --enable-intl"" >&5
2296 # Check whether --enable-intl or --disable-intl was given.
2297 if test "${enable_intl+set}" = set; then
2298 enableval
="$enable_intl"
2300 if test "$enableval" = yes; then
2301 ac_cv_use_intl
='wxUSE_INTL=yes'
2303 ac_cv_use_intl
='wxUSE_INTL=no'
2308 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2320 eval "$ac_cv_use_intl"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_INTL" = yes; then
2326 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2333 echo "configure:2334: checking "for --enable-config"" >&5
2335 # Check whether --enable-config or --disable-config was given.
2336 if test "${enable_config+set}" = set; then
2337 enableval
="$enable_config"
2339 if test "$enableval" = yes; then
2340 ac_cv_use_config
='wxUSE_CONFIG=yes'
2342 ac_cv_use_config
='wxUSE_CONFIG=no'
2347 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x
; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2359 eval "$ac_cv_use_config"
2360 if test "$no_cache" != 1; then
2361 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2364 if test "$wxUSE_CONFIG" = yes; then
2365 echo "$ac_t""yes" 1>&6
2367 echo "$ac_t""no" 1>&6
2371 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2372 echo "configure:2373: checking "for --enable-sockets"" >&5
2374 # Check whether --enable-sockets or --disable-sockets was given.
2375 if test "${enable_sockets+set}" = set; then
2376 enableval
="$enable_sockets"
2378 if test "$enableval" = yes; then
2379 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2381 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2386 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2387 if test "x$LINE" != x
; then
2388 eval "DEFAULT_$LINE"
2393 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2398 eval "$ac_cv_use_sockets"
2399 if test "$no_cache" != 1; then
2400 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2403 if test "$wxUSE_SOCKETS" = yes; then
2404 echo "$ac_t""yes" 1>&6
2406 echo "$ac_t""no" 1>&6
2410 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2411 echo "configure:2412: checking "for --enable-dialupman"" >&5
2413 # Check whether --enable-dialupman or --disable-dialupman was given.
2414 if test "${enable_dialupman+set}" = set; then
2415 enableval
="$enable_dialupman"
2417 if test "$enableval" = yes; then
2418 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2420 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2425 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2426 if test "x$LINE" != x
; then
2427 eval "DEFAULT_$LINE"
2432 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2437 eval "$ac_cv_use_dialupman"
2438 if test "$no_cache" != 1; then
2439 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2442 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2443 echo "$ac_t""yes" 1>&6
2445 echo "$ac_t""no" 1>&6
2449 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2450 echo "configure:2451: checking "for --enable-ipc"" >&5
2452 # Check whether --enable-ipc or --disable-ipc was given.
2453 if test "${enable_ipc+set}" = set; then
2454 enableval
="$enable_ipc"
2456 if test "$enableval" = yes; then
2457 ac_cv_use_ipc
='wxUSE_IPC=yes'
2459 ac_cv_use_ipc
='wxUSE_IPC=no'
2464 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x
; then
2466 eval "DEFAULT_$LINE"
2471 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2476 eval "$ac_cv_use_ipc"
2477 if test "$no_cache" != 1; then
2478 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2481 if test "$wxUSE_IPC" = yes; then
2482 echo "$ac_t""yes" 1>&6
2484 echo "$ac_t""no" 1>&6
2488 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2489 echo "configure:2490: checking "for --enable-apple_ieee"" >&5
2491 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2492 if test "${enable_apple_ieee+set}" = set; then
2493 enableval
="$enable_apple_ieee"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2498 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2503 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2515 eval "$ac_cv_use_apple_ieee"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2520 if test "$wxUSE_APPLE_IEEE" = yes; then
2521 echo "$ac_t""yes" 1>&6
2523 echo "$ac_t""no" 1>&6
2527 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2528 echo "configure:2529: checking "for --enable-timedate"" >&5
2530 # Check whether --enable-timedate or --disable-timedate was given.
2531 if test "${enable_timedate+set}" = set; then
2532 enableval
="$enable_timedate"
2534 if test "$enableval" = yes; then
2535 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2537 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2542 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2543 if test "x$LINE" != x
; then
2544 eval "DEFAULT_$LINE"
2549 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2554 eval "$ac_cv_use_timedate"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_TIMEDATE" = yes; then
2560 echo "$ac_t""yes" 1>&6
2562 echo "$ac_t""no" 1>&6
2566 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2567 echo "configure:2568: checking "for --enable-wave"" >&5
2569 # Check whether --enable-wave or --disable-wave was given.
2570 if test "${enable_wave+set}" = set; then
2571 enableval
="$enable_wave"
2573 if test "$enableval" = yes; then
2574 ac_cv_use_wave
='wxUSE_WAVE=yes'
2576 ac_cv_use_wave
='wxUSE_WAVE=no'
2581 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2582 if test "x$LINE" != x
; then
2583 eval "DEFAULT_$LINE"
2588 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2593 eval "$ac_cv_use_wave"
2594 if test "$no_cache" != 1; then
2595 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2598 if test "$wxUSE_WAVE" = yes; then
2599 echo "$ac_t""yes" 1>&6
2601 echo "$ac_t""no" 1>&6
2605 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2606 echo "configure:2607: checking "for --enable-fraction"" >&5
2608 # Check whether --enable-fraction or --disable-fraction was given.
2609 if test "${enable_fraction+set}" = set; then
2610 enableval
="$enable_fraction"
2612 if test "$enableval" = yes; then
2613 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2615 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2620 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2621 if test "x$LINE" != x
; then
2622 eval "DEFAULT_$LINE"
2627 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2632 eval "$ac_cv_use_fraction"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_FRACTION" = yes; then
2638 echo "$ac_t""yes" 1>&6
2640 echo "$ac_t""no" 1>&6
2644 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2645 echo "configure:2646: checking "for --enable-dynlib"" >&5
2647 # Check whether --enable-dynlib or --disable-dynlib was given.
2648 if test "${enable_dynlib+set}" = set; then
2649 enableval
="$enable_dynlib"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2654 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2659 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2671 eval "$ac_cv_use_dynlib"
2672 if test "$no_cache" != 1; then
2673 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2676 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2677 echo "$ac_t""yes" 1>&6
2679 echo "$ac_t""no" 1>&6
2683 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2684 echo "configure:2685: checking "for --enable-longlong"" >&5
2686 # Check whether --enable-longlong or --disable-longlong was given.
2687 if test "${enable_longlong+set}" = set; then
2688 enableval
="$enable_longlong"
2690 if test "$enableval" = yes; then
2691 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2693 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2698 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2699 if test "x$LINE" != x
; then
2700 eval "DEFAULT_$LINE"
2705 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2710 eval "$ac_cv_use_longlong"
2711 if test "$no_cache" != 1; then
2712 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2715 if test "$wxUSE_LONGLONG" = yes; then
2716 echo "$ac_t""yes" 1>&6
2718 echo "$ac_t""no" 1>&6
2722 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2723 echo "configure:2724: checking "for --enable-log"" >&5
2725 # Check whether --enable-log or --disable-log was given.
2726 if test "${enable_log+set}" = set; then
2727 enableval
="$enable_log"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_log
='wxUSE_LOG=yes'
2732 ac_cv_use_log
='wxUSE_LOG=no'
2737 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2749 eval "$ac_cv_use_log"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_LOG" = yes; then
2755 echo "$ac_t""yes" 1>&6
2757 echo "$ac_t""no" 1>&6
2761 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2762 echo "configure:2763: checking "for --enable-streams"" >&5
2764 # Check whether --enable-streams or --disable-streams was given.
2765 if test "${enable_streams+set}" = set; then
2766 enableval
="$enable_streams"
2768 if test "$enableval" = yes; then
2769 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2771 ac_cv_use_streams
='wxUSE_STREAMS=no'
2776 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x
; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2788 eval "$ac_cv_use_streams"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_STREAMS" = yes; then
2794 echo "$ac_t""yes" 1>&6
2796 echo "$ac_t""no" 1>&6
2800 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2801 echo "configure:2802: checking "for --enable-file"" >&5
2803 # Check whether --enable-file or --disable-file was given.
2804 if test "${enable_file+set}" = set; then
2805 enableval
="$enable_file"
2807 if test "$enableval" = yes; then
2808 ac_cv_use_file
='wxUSE_FILE=yes'
2810 ac_cv_use_file
='wxUSE_FILE=no'
2815 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2816 if test "x$LINE" != x
; then
2817 eval "DEFAULT_$LINE"
2822 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2827 eval "$ac_cv_use_file"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_FILE" = yes; then
2833 echo "$ac_t""yes" 1>&6
2835 echo "$ac_t""no" 1>&6
2839 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2840 echo "configure:2841: checking "for --enable-textfile"" >&5
2842 # Check whether --enable-textfile or --disable-textfile was given.
2843 if test "${enable_textfile+set}" = set; then
2844 enableval
="$enable_textfile"
2846 if test "$enableval" = yes; then
2847 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2849 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2854 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2855 if test "x$LINE" != x
; then
2856 eval "DEFAULT_$LINE"
2861 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2866 eval "$ac_cv_use_textfile"
2867 if test "$no_cache" != 1; then
2868 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2871 if test "$wxUSE_TEXTFILE" = yes; then
2872 echo "$ac_t""yes" 1>&6
2874 echo "$ac_t""no" 1>&6
2878 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2879 echo "configure:2880: checking "for --enable-unicode"" >&5
2881 # Check whether --enable-unicode or --disable-unicode was given.
2882 if test "${enable_unicode+set}" = set; then
2883 enableval
="$enable_unicode"
2885 if test "$enableval" = yes; then
2886 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2888 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2893 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2894 if test "x$LINE" != x
; then
2895 eval "DEFAULT_$LINE"
2900 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2905 eval "$ac_cv_use_unicode"
2906 if test "$no_cache" != 1; then
2907 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2910 if test "$wxUSE_UNICODE" = yes; then
2911 echo "$ac_t""yes" 1>&6
2913 echo "$ac_t""no" 1>&6
2917 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2918 echo "configure:2919: checking "for --enable-wcsrtombs"" >&5
2920 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2921 if test "${enable_wcsrtombs+set}" = set; then
2922 enableval
="$enable_wcsrtombs"
2924 if test "$enableval" = yes; then
2925 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2927 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2932 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2933 if test "x$LINE" != x
; then
2934 eval "DEFAULT_$LINE"
2939 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2944 eval "$ac_cv_use_wcsrtombs"
2945 if test "$no_cache" != 1; then
2946 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
2949 if test "$wxUSE_WCSRTOMBS" = yes; then
2950 echo "$ac_t""yes" 1>&6
2952 echo "$ac_t""no" 1>&6
2956 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
2957 echo "configure:2958: checking "for --enable-wxprintfv"" >&5
2959 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
2960 if test "${enable_wxprintfv+set}" = set; then
2961 enableval
="$enable_wxprintfv"
2963 if test "$enableval" = yes; then
2964 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
2966 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
2971 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
2972 if test "x$LINE" != x
; then
2973 eval "DEFAULT_$LINE"
2978 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
2983 eval "$ac_cv_use_wxprintfv"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
2988 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
2989 echo "$ac_t""yes" 1>&6
2991 echo "$ac_t""no" 1>&6
2995 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
2996 echo "configure:2997: checking "for --enable-joystick"" >&5
2998 # Check whether --enable-joystick or --disable-joystick was given.
2999 if test "${enable_joystick+set}" = set; then
3000 enableval
="$enable_joystick"
3002 if test "$enableval" = yes; then
3003 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3005 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3010 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3022 eval "$ac_cv_use_joystick"
3023 if test "$no_cache" != 1; then
3024 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3027 if test "$wxUSE_JOYSTICK" = yes; then
3028 echo "$ac_t""yes" 1>&6
3030 echo "$ac_t""no" 1>&6
3034 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3035 echo "configure:3036: checking "for --enable-std_iostreams"" >&5
3037 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3038 if test "${enable_std_iostreams+set}" = set; then
3039 enableval
="$enable_std_iostreams"
3041 if test "$enableval" = yes; then
3042 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3044 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3049 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3050 if test "x$LINE" != x
; then
3051 eval "DEFAULT_$LINE"
3056 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3061 eval "$ac_cv_use_std_iostreams"
3062 if test "$no_cache" != 1; then
3063 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3066 if test "$wxUSE_STD_IOSTREAM" = yes; then
3067 echo "$ac_t""yes" 1>&6
3069 echo "$ac_t""no" 1>&6
3073 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3074 echo "configure:3075: checking "for --enable-fs_inet"" >&5
3076 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3077 if test "${enable_fs_inet+set}" = set; then
3078 enableval
="$enable_fs_inet"
3080 if test "$enableval" = yes; then
3081 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3083 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3088 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3089 if test "x$LINE" != x
; then
3090 eval "DEFAULT_$LINE"
3095 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3100 eval "$ac_cv_use_fs_inet"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3105 if test "$wxUSE_FS_INET" = yes; then
3106 echo "$ac_t""yes" 1>&6
3108 echo "$ac_t""no" 1>&6
3112 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3113 echo "configure:3114: checking "for --enable-fs_zip"" >&5
3115 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3116 if test "${enable_fs_zip+set}" = set; then
3117 enableval
="$enable_fs_zip"
3119 if test "$enableval" = yes; then
3120 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3122 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3127 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3139 eval "$ac_cv_use_fs_zip"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_FS_ZIP" = yes; then
3145 echo "$ac_t""yes" 1>&6
3147 echo "$ac_t""no" 1>&6
3151 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3152 echo "configure:3153: checking "for --enable-zipstream"" >&5
3154 # Check whether --enable-zipstream or --disable-zipstream was given.
3155 if test "${enable_zipstream+set}" = set; then
3156 enableval
="$enable_zipstream"
3158 if test "$enableval" = yes; then
3159 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3161 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3166 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x
; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3178 eval "$ac_cv_use_zipstream"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3183 if test "$wxUSE_ZIPSTREAM" = yes; then
3184 echo "$ac_t""yes" 1>&6
3186 echo "$ac_t""no" 1>&6
3192 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3193 echo "configure:3194: checking "for --enable-threads"" >&5
3195 # Check whether --enable-threads or --disable-threads was given.
3196 if test "${enable_threads+set}" = set; then
3197 enableval
="$enable_threads"
3199 if test "$enableval" = yes; then
3200 ac_cv_use_threads
='wxUSE_THREADS=yes'
3202 ac_cv_use_threads
='wxUSE_THREADS=no'
3207 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3208 if test "x$LINE" != x
; then
3209 eval "DEFAULT_$LINE"
3214 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3219 eval "$ac_cv_use_threads"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3224 if test "$wxUSE_THREADS" = yes; then
3225 echo "$ac_t""yes" 1>&6
3227 echo "$ac_t""no" 1>&6
3231 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3232 echo "configure:3233: checking "for --enable-serial"" >&5
3234 # Check whether --enable-serial or --disable-serial was given.
3235 if test "${enable_serial+set}" = set; then
3236 enableval
="$enable_serial"
3238 if test "$enableval" = yes; then
3239 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3241 ac_cv_use_serial
='wxUSE_SERIAL=no'
3246 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3258 eval "$ac_cv_use_serial"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3263 if test "$wxUSE_SERIAL" = yes; then
3264 echo "$ac_t""yes" 1>&6
3266 echo "$ac_t""no" 1>&6
3272 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3273 echo "configure:3274: checking "for --enable-docview"" >&5
3275 # Check whether --enable-docview or --disable-docview was given.
3276 if test "${enable_docview+set}" = set; then
3277 enableval
="$enable_docview"
3279 if test "$enableval" = yes; then
3280 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3282 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3287 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3299 eval "$ac_cv_use_docview"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3305 echo "$ac_t""yes" 1>&6
3307 echo "$ac_t""no" 1>&6
3311 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3312 echo "configure:3313: checking "for --enable-help"" >&5
3314 # Check whether --enable-help or --disable-help was given.
3315 if test "${enable_help+set}" = set; then
3316 enableval
="$enable_help"
3318 if test "$enableval" = yes; then
3319 ac_cv_use_help
='wxUSE_HELP=yes'
3321 ac_cv_use_help
='wxUSE_HELP=no'
3326 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x
; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3338 eval "$ac_cv_use_help"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_HELP" = yes; then
3344 echo "$ac_t""yes" 1>&6
3346 echo "$ac_t""no" 1>&6
3350 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3351 echo "configure:3352: checking "for --enable-constraints"" >&5
3353 # Check whether --enable-constraints or --disable-constraints was given.
3354 if test "${enable_constraints+set}" = set; then
3355 enableval
="$enable_constraints"
3357 if test "$enableval" = yes; then
3358 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3360 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3365 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3377 eval "$ac_cv_use_constraints"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_CONSTRAINTS" = yes; then
3383 echo "$ac_t""yes" 1>&6
3385 echo "$ac_t""no" 1>&6
3389 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3390 echo "configure:3391: checking "for --enable-printarch"" >&5
3392 # Check whether --enable-printarch or --disable-printarch was given.
3393 if test "${enable_printarch+set}" = set; then
3394 enableval
="$enable_printarch"
3396 if test "$enableval" = yes; then
3397 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3399 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3404 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x
; then
3406 eval "DEFAULT_$LINE"
3411 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3416 eval "$ac_cv_use_printarch"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3422 echo "$ac_t""yes" 1>&6
3424 echo "$ac_t""no" 1>&6
3428 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3429 echo "configure:3430: checking "for --enable-mdi"" >&5
3431 # Check whether --enable-mdi or --disable-mdi was given.
3432 if test "${enable_mdi+set}" = set; then
3433 enableval
="$enable_mdi"
3435 if test "$enableval" = yes; then
3436 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3438 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3443 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x
; then
3445 eval "DEFAULT_$LINE"
3450 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3455 eval "$ac_cv_use_mdi"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3461 echo "$ac_t""yes" 1>&6
3463 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3469 echo "configure:3470: checking "for --enable-postscript"" >&5
3471 # Check whether --enable-postscript or --disable-postscript was given.
3472 if test "${enable_postscript+set}" = set; then
3473 enableval
="$enable_postscript"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3478 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3483 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3495 eval "$ac_cv_use_postscript"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_POSTSCRIPT" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3509 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3510 echo "configure:3511: checking "for --enable-prologio"" >&5
3512 # Check whether --enable-prologio or --disable-prologio was given.
3513 if test "${enable_prologio+set}" = set; then
3514 enableval
="$enable_prologio"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3519 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3524 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3536 eval "$ac_cv_use_prologio"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_PROLOGIO" = yes; then
3542 echo "$ac_t""yes" 1>&6
3544 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3549 echo "configure:3550: checking "for --enable-resources"" >&5
3551 # Check whether --enable-resources or --disable-resources was given.
3552 if test "${enable_resources+set}" = set; then
3553 enableval
="$enable_resources"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3558 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3563 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3575 eval "$ac_cv_use_resources"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_RESOURCES" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3589 echo "configure:3590: checking "for --enable-xresources"" >&5
3591 # Check whether --enable-xresources or --disable-xresources was given.
3592 if test "${enable_xresources+set}" = set; then
3593 enableval
="$enable_xresources"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3598 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3603 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3615 eval "$ac_cv_use_xresources"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_X_RESOURCES" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3629 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3630 echo "configure:3631: checking "for --enable-clipboard"" >&5
3632 # Check whether --enable-clipboard or --disable-clipboard was given.
3633 if test "${enable_clipboard+set}" = set; then
3634 enableval
="$enable_clipboard"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3639 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3644 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3656 eval "$ac_cv_use_clipboard"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3661 if test "$wxUSE_CLIPBOARD" = yes; then
3662 echo "$ac_t""yes" 1>&6
3664 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3669 echo "configure:3670: checking "for --enable-dnd"" >&5
3671 # Check whether --enable-dnd or --disable-dnd was given.
3672 if test "${enable_dnd+set}" = set; then
3673 enableval
="$enable_dnd"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3678 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3683 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3695 eval "$ac_cv_use_dnd"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-wxtree"" >&5
3711 # Check whether --enable-wxtree or --disable-wxtree was given.
3712 if test "${enable_wxtree+set}" = set; then
3713 enableval
="$enable_wxtree"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3718 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3723 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3735 eval "$ac_cv_use_wxtree"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_WXTREE" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3749 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3750 echo "configure:3751: checking "for --enable-controls"" >&5
3752 # Check whether --enable-controls or --disable-controls was given.
3753 if test "${enable_controls+set}" = set; then
3754 enableval
="$enable_controls"
3756 if test "$enableval" = yes; then
3757 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3759 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3764 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x
; then
3766 eval "DEFAULT_$LINE"
3771 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3776 eval "$ac_cv_use_controls"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3781 if test "$wxUSE_CONTROLS" = yes; then
3782 echo "$ac_t""yes" 1>&6
3784 echo "$ac_t""no" 1>&6
3788 if test "$wxUSE_CONTROLS" = "yes"; then
3789 DEFAULT_wxUSE_ACCEL
=yes
3790 DEFAULT_wxUSE_CARET
=yes
3791 DEFAULT_wxUSE_COMBOBOX
=yes
3792 DEFAULT_wxUSE_BMPBUTTON
=yes
3793 DEFAULT_wxUSE_CHECKBOX
=yes
3794 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3795 DEFAULT_wxUSE_CHOICE
=yes
3796 DEFAULT_wxUSE_GAUGE
=yes
3797 DEFAULT_wxUSE_GRID
=yes
3798 DEFAULT_wxUSE_IMAGLIST
=yes
3799 DEFAULT_wxUSE_LISTBOX
=yes
3800 DEFAULT_wxUSE_LISTCTRL
=yes
3801 DEFAULT_wxUSE_NOTEBOOK
=yes
3802 DEFAULT_wxUSE_RADIOBOX
=yes
3803 DEFAULT_wxUSE_RADIOBTN
=yes
3804 DEFAULT_wxUSE_SASH
=yes
3805 DEFAULT_wxUSE_SCROLLBAR
=yes
3806 DEFAULT_wxUSE_SLIDER
=yes
3807 DEFAULT_wxUSE_SPINBTN
=yes
3808 DEFAULT_wxUSE_SPLITTER
=yes
3809 DEFAULT_wxUSE_STATBMP
=yes
3810 DEFAULT_wxUSE_STATBOX
=yes
3811 DEFAULT_wxUSE_STATLINE
=yes
3812 DEFAULT_wxUSE_STATUSBAR
=yes
3813 DEFAULT_wxUSE_TAB_DIALOG
=yes
3814 DEFAULT_wxUSE_TOOLBAR
=yes
3815 DEFAULT_wxUSE_TOOLTIPS
=yes
3816 DEFAULT_wxUSE_TREECTRL
=yes
3817 elif test "$wxUSE_CONTROLS" = "no"; then
3818 DEFAULT_wxUSE_ACCEL
=no
3819 DEFAULT_wxUSE_CARET
=no
3820 DEFAULT_wxUSE_COMBOBOX
=no
3821 DEFAULT_wxUSE_BMPBUTTON
=no
3822 DEFAULT_wxUSE_CHECKBOX
=no
3823 DEFAULT_wxUSE_CHECKLISTBOX
=no
3824 DEFAULT_wxUSE_CHOICE
=no
3825 DEFAULT_wxUSE_GAUGE
=no
3826 DEFAULT_wxUSE_GRID
=no
3827 DEFAULT_wxUSE_IMAGLIST
=no
3828 DEFAULT_wxUSE_LISTBOX
=no
3829 DEFAULT_wxUSE_LISTCTRL
=no
3830 DEFAULT_wxUSE_NOTEBOOK
=no
3831 DEFAULT_wxUSE_RADIOBOX
=no
3832 DEFAULT_wxUSE_RADIOBTN
=no
3833 DEFAULT_wxUSE_SASH
=no
3834 DEFAULT_wxUSE_SCROLLBAR
=no
3835 DEFAULT_wxUSE_SLIDER
=no
3836 DEFAULT_wxUSE_SPINBTN
=no
3837 DEFAULT_wxUSE_SPLITTER
=no
3838 DEFAULT_wxUSE_STATBMP
=no
3839 DEFAULT_wxUSE_STATBOX
=no
3840 DEFAULT_wxUSE_STATLINE
=no
3841 DEFAULT_wxUSE_STATUSBAR
=no
3842 DEFAULT_wxUSE_TAB_DIALOG
=no
3843 DEFAULT_wxUSE_TOOLBAR
=no
3844 DEFAULT_wxUSE_TOOLTIPS
=no
3845 DEFAULT_wxUSE_TREECTRL
=no
3849 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3850 echo "configure:3851: checking "for --enable-accel"" >&5
3852 # Check whether --enable-accel or --disable-accel was given.
3853 if test "${enable_accel+set}" = set; then
3854 enableval
="$enable_accel"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3859 ac_cv_use_accel
='wxUSE_ACCEL=no'
3864 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x
; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3876 eval "$ac_cv_use_accel"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_ACCEL" = yes; then
3882 echo "$ac_t""yes" 1>&6
3884 echo "$ac_t""no" 1>&6
3888 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3889 echo "configure:3890: checking "for --enable-caret"" >&5
3891 # Check whether --enable-caret or --disable-caret was given.
3892 if test "${enable_caret+set}" = set; then
3893 enableval
="$enable_caret"
3895 if test "$enableval" = yes; then
3896 ac_cv_use_caret
='wxUSE_CARET=yes'
3898 ac_cv_use_caret
='wxUSE_CARET=no'
3903 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x
; then
3905 eval "DEFAULT_$LINE"
3910 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3915 eval "$ac_cv_use_caret"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3920 if test "$wxUSE_CARET" = yes; then
3921 echo "$ac_t""yes" 1>&6
3923 echo "$ac_t""no" 1>&6
3927 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3928 echo "configure:3929: checking "for --enable-bmpbutton"" >&5
3930 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3931 if test "${enable_bmpbutton+set}" = set; then
3932 enableval
="$enable_bmpbutton"
3934 if test "$enableval" = yes; then
3935 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3937 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3942 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x
; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
3954 eval "$ac_cv_use_bmpbutton"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_BMPBUTTON" = yes; then
3960 echo "$ac_t""yes" 1>&6
3962 echo "$ac_t""no" 1>&6
3966 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
3967 echo "configure:3968: checking "for --enable-checkbox"" >&5
3969 # Check whether --enable-checkbox or --disable-checkbox was given.
3970 if test "${enable_checkbox+set}" = set; then
3971 enableval
="$enable_checkbox"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
3976 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
3981 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x
; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
3993 eval "$ac_cv_use_checkbox"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
3998 if test "$wxUSE_CHECKBOX" = yes; then
3999 echo "$ac_t""yes" 1>&6
4001 echo "$ac_t""no" 1>&6
4005 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4006 echo "configure:4007: checking "for --enable-checklst"" >&5
4008 # Check whether --enable-checklst or --disable-checklst was given.
4009 if test "${enable_checklst+set}" = set; then
4010 enableval
="$enable_checklst"
4012 if test "$enableval" = yes; then
4013 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4015 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4020 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x
; then
4022 eval "DEFAULT_$LINE"
4027 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4032 eval "$ac_cv_use_checklst"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_CHECKLST" = yes; then
4038 echo "$ac_t""yes" 1>&6
4040 echo "$ac_t""no" 1>&6
4044 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4045 echo "configure:4046: checking "for --enable-choice"" >&5
4047 # Check whether --enable-choice or --disable-choice was given.
4048 if test "${enable_choice+set}" = set; then
4049 enableval
="$enable_choice"
4051 if test "$enableval" = yes; then
4052 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4054 ac_cv_use_choice
='wxUSE_CHOICE=no'
4059 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x
; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4071 eval "$ac_cv_use_choice"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4076 if test "$wxUSE_CHOICE" = yes; then
4077 echo "$ac_t""yes" 1>&6
4079 echo "$ac_t""no" 1>&6
4083 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4084 echo "configure:4085: checking "for --enable-combobox"" >&5
4086 # Check whether --enable-combobox or --disable-combobox was given.
4087 if test "${enable_combobox+set}" = set; then
4088 enableval
="$enable_combobox"
4090 if test "$enableval" = yes; then
4091 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4093 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4098 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x
; then
4100 eval "DEFAULT_$LINE"
4105 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4110 eval "$ac_cv_use_combobox"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4115 if test "$wxUSE_COMBOBOX" = yes; then
4116 echo "$ac_t""yes" 1>&6
4118 echo "$ac_t""no" 1>&6
4122 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4123 echo "configure:4124: checking "for --enable-gauge"" >&5
4125 # Check whether --enable-gauge or --disable-gauge was given.
4126 if test "${enable_gauge+set}" = set; then
4127 enableval
="$enable_gauge"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4132 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4137 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x
; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4149 eval "$ac_cv_use_gauge"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4154 if test "$wxUSE_GAUGE" = yes; then
4155 echo "$ac_t""yes" 1>&6
4157 echo "$ac_t""no" 1>&6
4161 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4162 echo "configure:4163: checking "for --enable-grid"" >&5
4164 # Check whether --enable-grid or --disable-grid was given.
4165 if test "${enable_grid+set}" = set; then
4166 enableval
="$enable_grid"
4168 if test "$enableval" = yes; then
4169 ac_cv_use_grid
='wxUSE_GRID=yes'
4171 ac_cv_use_grid
='wxUSE_GRID=no'
4176 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4177 if test "x$LINE" != x
; then
4178 eval "DEFAULT_$LINE"
4183 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4188 eval "$ac_cv_use_grid"
4189 if test "$no_cache" != 1; then
4190 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4193 if test "$wxUSE_GRID" = yes; then
4194 echo "$ac_t""yes" 1>&6
4196 echo "$ac_t""no" 1>&6
4200 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4201 echo "configure:4202: checking "for --enable-imaglist"" >&5
4203 # Check whether --enable-imaglist or --disable-imaglist was given.
4204 if test "${enable_imaglist+set}" = set; then
4205 enableval
="$enable_imaglist"
4207 if test "$enableval" = yes; then
4208 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4210 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4215 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x
; then
4217 eval "DEFAULT_$LINE"
4222 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4227 eval "$ac_cv_use_imaglist"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_IMAGLIST" = yes; then
4233 echo "$ac_t""yes" 1>&6
4235 echo "$ac_t""no" 1>&6
4239 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4240 echo "configure:4241: checking "for --enable-listbox"" >&5
4242 # Check whether --enable-listbox or --disable-listbox was given.
4243 if test "${enable_listbox+set}" = set; then
4244 enableval
="$enable_listbox"
4246 if test "$enableval" = yes; then
4247 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4249 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4254 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x
; then
4256 eval "DEFAULT_$LINE"
4261 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4266 eval "$ac_cv_use_listbox"
4267 if test "$no_cache" != 1; then
4268 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4271 if test "$wxUSE_LISTBOX" = yes; then
4272 echo "$ac_t""yes" 1>&6
4274 echo "$ac_t""no" 1>&6
4278 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4279 echo "configure:4280: checking "for --enable-listctrl"" >&5
4281 # Check whether --enable-listctrl or --disable-listctrl was given.
4282 if test "${enable_listctrl+set}" = set; then
4283 enableval
="$enable_listctrl"
4285 if test "$enableval" = yes; then
4286 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4288 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4293 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x
; then
4295 eval "DEFAULT_$LINE"
4300 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4305 eval "$ac_cv_use_listctrl"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4310 if test "$wxUSE_LISTCTRL" = yes; then
4311 echo "$ac_t""yes" 1>&6
4313 echo "$ac_t""no" 1>&6
4317 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4318 echo "configure:4319: checking "for --enable-notebook"" >&5
4320 # Check whether --enable-notebook or --disable-notebook was given.
4321 if test "${enable_notebook+set}" = set; then
4322 enableval
="$enable_notebook"
4324 if test "$enableval" = yes; then
4325 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4327 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4332 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4333 if test "x$LINE" != x
; then
4334 eval "DEFAULT_$LINE"
4339 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4344 eval "$ac_cv_use_notebook"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4349 if test "$wxUSE_NOTEBOOK" = yes; then
4350 echo "$ac_t""yes" 1>&6
4352 echo "$ac_t""no" 1>&6
4356 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4357 echo "configure:4358: checking "for --enable-radiobox"" >&5
4359 # Check whether --enable-radiobox or --disable-radiobox was given.
4360 if test "${enable_radiobox+set}" = set; then
4361 enableval
="$enable_radiobox"
4363 if test "$enableval" = yes; then
4364 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4366 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4371 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x
; then
4373 eval "DEFAULT_$LINE"
4378 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4383 eval "$ac_cv_use_radiobox"
4384 if test "$no_cache" != 1; then
4385 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4388 if test "$wxUSE_RADIOBOX" = yes; then
4389 echo "$ac_t""yes" 1>&6
4391 echo "$ac_t""no" 1>&6
4395 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4396 echo "configure:4397: checking "for --enable-radiobtn"" >&5
4398 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4399 if test "${enable_radiobtn+set}" = set; then
4400 enableval
="$enable_radiobtn"
4402 if test "$enableval" = yes; then
4403 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4405 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4410 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x
; then
4412 eval "DEFAULT_$LINE"
4417 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4422 eval "$ac_cv_use_radiobtn"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4427 if test "$wxUSE_RADIOBTN" = yes; then
4428 echo "$ac_t""yes" 1>&6
4430 echo "$ac_t""no" 1>&6
4434 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4435 echo "configure:4436: checking "for --enable-sash"" >&5
4437 # Check whether --enable-sash or --disable-sash was given.
4438 if test "${enable_sash+set}" = set; then
4439 enableval
="$enable_sash"
4441 if test "$enableval" = yes; then
4442 ac_cv_use_sash
='wxUSE_SASH=yes'
4444 ac_cv_use_sash
='wxUSE_SASH=no'
4449 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x
; then
4451 eval "DEFAULT_$LINE"
4456 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4461 eval "$ac_cv_use_sash"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_SASH" = yes; then
4467 echo "$ac_t""yes" 1>&6
4469 echo "$ac_t""no" 1>&6
4473 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4474 echo "configure:4475: checking "for --enable-scrollbar"" >&5
4476 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4477 if test "${enable_scrollbar+set}" = set; then
4478 enableval
="$enable_scrollbar"
4480 if test "$enableval" = yes; then
4481 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4483 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4488 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x
; then
4490 eval "DEFAULT_$LINE"
4495 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4500 eval "$ac_cv_use_scrollbar"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_SCROLLBAR" = yes; then
4506 echo "$ac_t""yes" 1>&6
4508 echo "$ac_t""no" 1>&6
4512 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4513 echo "configure:4514: checking "for --enable-slider"" >&5
4515 # Check whether --enable-slider or --disable-slider was given.
4516 if test "${enable_slider+set}" = set; then
4517 enableval
="$enable_slider"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4522 ac_cv_use_slider
='wxUSE_SLIDER=no'
4527 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4539 eval "$ac_cv_use_slider"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_SLIDER" = yes; then
4545 echo "$ac_t""yes" 1>&6
4547 echo "$ac_t""no" 1>&6
4551 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4552 echo "configure:4553: checking "for --enable-spinbtn"" >&5
4554 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4555 if test "${enable_spinbtn+set}" = set; then
4556 enableval
="$enable_spinbtn"
4558 if test "$enableval" = yes; then
4559 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4561 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4566 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x
; then
4568 eval "DEFAULT_$LINE"
4573 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4578 eval "$ac_cv_use_spinbtn"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4583 if test "$wxUSE_SPINBTN" = yes; then
4584 echo "$ac_t""yes" 1>&6
4586 echo "$ac_t""no" 1>&6
4590 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4591 echo "configure:4592: checking "for --enable-splitter"" >&5
4593 # Check whether --enable-splitter or --disable-splitter was given.
4594 if test "${enable_splitter+set}" = set; then
4595 enableval
="$enable_splitter"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4600 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4605 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4617 eval "$ac_cv_use_splitter"
4618 if test "$no_cache" != 1; then
4619 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4622 if test "$wxUSE_SPLITTER" = yes; then
4623 echo "$ac_t""yes" 1>&6
4625 echo "$ac_t""no" 1>&6
4629 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4630 echo "configure:4631: checking "for --enable-statbmp"" >&5
4632 # Check whether --enable-statbmp or --disable-statbmp was given.
4633 if test "${enable_statbmp+set}" = set; then
4634 enableval
="$enable_statbmp"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4639 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4644 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4656 eval "$ac_cv_use_statbmp"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_STATBMP" = yes; then
4662 echo "$ac_t""yes" 1>&6
4664 echo "$ac_t""no" 1>&6
4668 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4669 echo "configure:4670: checking "for --enable-statbox"" >&5
4671 # Check whether --enable-statbox or --disable-statbox was given.
4672 if test "${enable_statbox+set}" = set; then
4673 enableval
="$enable_statbox"
4675 if test "$enableval" = yes; then
4676 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4678 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4683 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4684 if test "x$LINE" != x
; then
4685 eval "DEFAULT_$LINE"
4690 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4695 eval "$ac_cv_use_statbox"
4696 if test "$no_cache" != 1; then
4697 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4700 if test "$wxUSE_STATBOX" = yes; then
4701 echo "$ac_t""yes" 1>&6
4703 echo "$ac_t""no" 1>&6
4707 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4708 echo "configure:4709: checking "for --enable-statline"" >&5
4710 # Check whether --enable-statline or --disable-statline was given.
4711 if test "${enable_statline+set}" = set; then
4712 enableval
="$enable_statline"
4714 if test "$enableval" = yes; then
4715 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4717 ac_cv_use_statline
='wxUSE_STATLINE=no'
4722 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x
; then
4724 eval "DEFAULT_$LINE"
4729 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4734 eval "$ac_cv_use_statline"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4739 if test "$wxUSE_STATLINE" = yes; then
4740 echo "$ac_t""yes" 1>&6
4742 echo "$ac_t""no" 1>&6
4746 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4747 echo "configure:4748: checking "for --enable-statusbar"" >&5
4749 # Check whether --enable-statusbar or --disable-statusbar was given.
4750 if test "${enable_statusbar+set}" = set; then
4751 enableval
="$enable_statusbar"
4753 if test "$enableval" = yes; then
4754 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4756 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4761 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4762 if test "x$LINE" != x
; then
4763 eval "DEFAULT_$LINE"
4768 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4773 eval "$ac_cv_use_statusbar"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4778 if test "$wxUSE_STATUSBAR" = yes; then
4779 echo "$ac_t""yes" 1>&6
4781 echo "$ac_t""no" 1>&6
4785 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4786 echo "configure:4787: checking "for --enable-tabdialog"" >&5
4788 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4789 if test "${enable_tabdialog+set}" = set; then
4790 enableval
="$enable_tabdialog"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4795 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4800 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x
; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4812 eval "$ac_cv_use_tabdialog"
4813 if test "$no_cache" != 1; then
4814 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4817 if test "$wxUSE_TABDIALOG" = yes; then
4818 echo "$ac_t""yes" 1>&6
4820 echo "$ac_t""no" 1>&6
4824 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4825 echo "configure:4826: checking "for --enable-toolbar"" >&5
4827 # Check whether --enable-toolbar or --disable-toolbar was given.
4828 if test "${enable_toolbar+set}" = set; then
4829 enableval
="$enable_toolbar"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4834 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4839 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4851 eval "$ac_cv_use_toolbar"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_TOOLBAR" = yes; then
4857 echo "$ac_t""yes" 1>&6
4859 echo "$ac_t""no" 1>&6
4863 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4864 echo "configure:4865: checking "for --enable-treectrl"" >&5
4866 # Check whether --enable-treectrl or --disable-treectrl was given.
4867 if test "${enable_treectrl+set}" = set; then
4868 enableval
="$enable_treectrl"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4873 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4878 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x
; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4890 eval "$ac_cv_use_treectrl"
4891 if test "$no_cache" != 1; then
4892 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4895 if test "$wxUSE_TREECTRL" = yes; then
4896 echo "$ac_t""yes" 1>&6
4898 echo "$ac_t""no" 1>&6
4904 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4905 echo "configure:4906: checking "for --enable-commondlg"" >&5
4907 # Check whether --enable-commondlg or --disable-commondlg was given.
4908 if test "${enable_commondlg+set}" = set; then
4909 enableval
="$enable_commondlg"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
4914 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
4919 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x
; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
4931 eval "$ac_cv_use_commondlg"
4932 if test "$no_cache" != 1; then
4933 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
4936 if test "$wxUSE_COMMONDLGS" = yes; then
4937 echo "$ac_t""yes" 1>&6
4939 echo "$ac_t""no" 1>&6
4943 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
4944 echo "configure:4945: checking "for --enable-dirdlg"" >&5
4946 # Check whether --enable-dirdlg or --disable-dirdlg was given.
4947 if test "${enable_dirdlg+set}" = set; then
4948 enableval
="$enable_dirdlg"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
4953 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
4958 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
4970 eval "$ac_cv_use_dirdlg"
4971 if test "$no_cache" != 1; then
4972 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
4975 if test "$wxUSE_DIRDLG" = yes; then
4976 echo "$ac_t""yes" 1>&6
4978 echo "$ac_t""no" 1>&6
4982 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
4983 echo "configure:4984: checking "for --enable-textdlg"" >&5
4985 # Check whether --enable-textdlg or --disable-textdlg was given.
4986 if test "${enable_textdlg+set}" = set; then
4987 enableval
="$enable_textdlg"
4989 if test "$enableval" = yes; then
4990 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
4992 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
4997 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5004 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5009 eval "$ac_cv_use_textdlg"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_TEXTDLG" = yes; then
5015 echo "$ac_t""yes" 1>&6
5017 echo "$ac_t""no" 1>&6
5021 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5022 echo "configure:5023: checking "for --enable-tipdlg"" >&5
5024 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5025 if test "${enable_tipdlg+set}" = set; then
5026 enableval
="$enable_tipdlg"
5028 if test "$enableval" = yes; then
5029 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5031 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5036 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x
; then
5038 eval "DEFAULT_$LINE"
5043 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5048 eval "$ac_cv_use_tipdlg"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_STARTUP_TIPS" = yes; then
5054 echo "$ac_t""yes" 1>&6
5056 echo "$ac_t""no" 1>&6
5060 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5061 echo "configure:5062: checking "for --enable-progressdlg"" >&5
5063 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5064 if test "${enable_progressdlg+set}" = set; then
5065 enableval
="$enable_progressdlg"
5067 if test "$enableval" = yes; then
5068 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5070 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5075 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5082 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5087 eval "$ac_cv_use_progressdlg"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_PROGRESSDLG" = yes; then
5093 echo "$ac_t""yes" 1>&6
5095 echo "$ac_t""no" 1>&6
5099 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5100 echo "configure:5101: checking "for --enable-miniframe"" >&5
5102 # Check whether --enable-miniframe or --disable-miniframe was given.
5103 if test "${enable_miniframe+set}" = set; then
5104 enableval
="$enable_miniframe"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5109 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5114 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5126 eval "$ac_cv_use_miniframe"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_MINIFRAME" = yes; then
5132 echo "$ac_t""yes" 1>&6
5134 echo "$ac_t""no" 1>&6
5138 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5139 echo "configure:5140: checking "for --enable-html"" >&5
5141 # Check whether --enable-html or --disable-html was given.
5142 if test "${enable_html+set}" = set; then
5143 enableval
="$enable_html"
5145 if test "$enableval" = yes; then
5146 ac_cv_use_html
='wxUSE_HTML=yes'
5148 ac_cv_use_html
='wxUSE_HTML=no'
5153 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x
; then
5155 eval "DEFAULT_$LINE"
5160 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5165 eval "$ac_cv_use_html"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5170 if test "$wxUSE_HTML" = yes; then
5171 echo "$ac_t""yes" 1>&6
5173 echo "$ac_t""no" 1>&6
5177 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5178 echo "configure:5179: checking "for --enable-tooltips"" >&5
5180 # Check whether --enable-tooltips or --disable-tooltips was given.
5181 if test "${enable_tooltips+set}" = set; then
5182 enableval
="$enable_tooltips"
5184 if test "$enableval" = yes; then
5185 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5187 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5192 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x
; then
5194 eval "DEFAULT_$LINE"
5199 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5204 eval "$ac_cv_use_tooltips"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5209 if test "$wxUSE_TOOLTIPS" = yes; then
5210 echo "$ac_t""yes" 1>&6
5212 echo "$ac_t""no" 1>&6
5216 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5217 echo "configure:5218: checking "for --enable-splines"" >&5
5219 # Check whether --enable-splines or --disable-splines was given.
5220 if test "${enable_splines+set}" = set; then
5221 enableval
="$enable_splines"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5226 ac_cv_use_splines
='wxUSE_SPLINES=no'
5231 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x
; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5243 eval "$ac_cv_use_splines"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5248 if test "$wxUSE_SPLINES" = yes; then
5249 echo "$ac_t""yes" 1>&6
5251 echo "$ac_t""no" 1>&6
5255 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5256 echo "configure:5257: checking "for --enable-validators"" >&5
5258 # Check whether --enable-validators or --disable-validators was given.
5259 if test "${enable_validators+set}" = set; then
5260 enableval
="$enable_validators"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5265 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5270 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x
; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5282 eval "$ac_cv_use_validators"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_VALIDATORS" = yes; then
5288 echo "$ac_t""yes" 1>&6
5290 echo "$ac_t""no" 1>&6
5294 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5295 echo "configure:5296: checking "for --enable-busyinfo"" >&5
5297 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5298 if test "${enable_busyinfo+set}" = set; then
5299 enableval
="$enable_busyinfo"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5304 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5309 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x
; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5321 eval "$ac_cv_use_busyinfo"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5326 if test "$wxUSE_BUSYINFO" = yes; then
5327 echo "$ac_t""yes" 1>&6
5329 echo "$ac_t""no" 1>&6
5335 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5336 echo "configure:5337: checking "for --enable-gif"" >&5
5338 # Check whether --enable-gif or --disable-gif was given.
5339 if test "${enable_gif+set}" = set; then
5340 enableval
="$enable_gif"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_gif
='wxUSE_GIF=yes'
5345 ac_cv_use_gif
='wxUSE_GIF=no'
5350 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x
; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5362 eval "$ac_cv_use_gif"
5363 if test "$no_cache" != 1; then
5364 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5367 if test "$wxUSE_GIF" = yes; then
5368 echo "$ac_t""yes" 1>&6
5370 echo "$ac_t""no" 1>&6
5374 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5375 echo "configure:5376: checking "for --enable-pcx"" >&5
5377 # Check whether --enable-pcx or --disable-pcx was given.
5378 if test "${enable_pcx+set}" = set; then
5379 enableval
="$enable_pcx"
5381 if test "$enableval" = yes; then
5382 ac_cv_use_pcx
='wxUSE_PCX=yes'
5384 ac_cv_use_pcx
='wxUSE_PCX=no'
5389 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x
; then
5391 eval "DEFAULT_$LINE"
5396 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5401 eval "$ac_cv_use_pcx"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_PCX" = yes; then
5407 echo "$ac_t""yes" 1>&6
5409 echo "$ac_t""no" 1>&6
5413 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5414 echo "configure:5415: checking "for --enable-pnm"" >&5
5416 # Check whether --enable-pnm or --disable-pnm was given.
5417 if test "${enable_pnm+set}" = set; then
5418 enableval
="$enable_pnm"
5420 if test "$enableval" = yes; then
5421 ac_cv_use_pnm
='wxUSE_PNM=yes'
5423 ac_cv_use_pnm
='wxUSE_PNM=no'
5428 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x
; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5440 eval "$ac_cv_use_pnm"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_PNM" = yes; then
5446 echo "$ac_t""yes" 1>&6
5448 echo "$ac_t""no" 1>&6
5453 echo "saving argument cache $wx_arg_cache_file"
5454 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5458 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5459 echo "configure:5460: checking for toolkit" >&5
5461 if test "$TOOLKIT_GIVEN" = 1; then
5462 for toolkit
in `echo $ALL_TOOLKITS`; do
5464 eval "value=\$${var}"
5465 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5468 for toolkit
in `echo $ALL_TOOLKITS`; do
5469 if test "$has_toolkit_in_cache" != 1; then
5470 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5472 var
=DEFAULT_wxUSE_
$toolkit
5474 eval "wxUSE_$toolkit=\$${var}"
5478 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5480 case "$NUM_TOOLKITS" in
5484 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5487 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5490 for toolkit
in `echo $ALL_TOOLKITS`; do
5492 eval "value=\$${var}"
5493 if test "x$value" != x
; then
5494 cache_var
=CACHE_
$toolkit
5495 eval "cache=\$${cache_var}"
5496 if test "$cache" = 1; then
5497 echo "$var=$value" >> ${wx_arg_cache_file}
5499 if test "$value" = 1; then
5500 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5506 cat > confcache
<<\EOF
5507 # This file is a shell script that caches the results of configure
5508 # tests run on this system so they can be shared between configure
5509 # scripts and configure runs. It is not useful on other systems.
5510 # If it contains results you don't want to keep, you may remove or edit it.
5512 # By default, configure uses ./config.cache as the cache file,
5513 # creating it if it does not exist already. You can give configure
5514 # the --cache-file=FILE option to use a different cache file; that is
5515 # what configure does when it calls configure scripts in
5516 # subdirectories, so they share the cache.
5517 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5518 # config.status only pays attention to the cache file if you give it the
5519 # --recheck option to rerun configure.
5522 # The following way of writing the cache mishandles newlines in values,
5523 # but we know of no workaround that is simple, portable, and efficient.
5524 # So, don't put newlines in cache variables' values.
5525 # Ultrix sh set writes to stderr and can't be redirected directly,
5526 # and sets the high bit in the cache file unless we assign to the vars.
5528 case `(ac_space=' '; set) 2>&1` in
5530 # `set' does not quote correctly, so add quotes (double-quote substitution
5531 # turns \\\\ into \\, and sed turns \\ into \).
5533 -e "s/'/'\\\\''/g" \
5534 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5537 # `set' quotes correctly as required by POSIX, so do not add quotes.
5538 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5541 if cmp -s $cache_file confcache
; then
5544 if test -w $cache_file; then
5545 echo "updating cache $cache_file"
5546 cat confcache
> $cache_file
5548 echo "not updating unwritable cache $cache_file"
5554 if eval "test $host != $build"; then
5555 if eval "test $host_alias != NONE"; then
5559 RANLIB
=$host_alias-ranlib
5560 DLLTOOL
=$host_alias-dlltool
5563 STRIP
=$host_alias-strip
5567 # Extract the first word of "gcc", so it can be a program name with args.
5568 set dummy gcc
; ac_word
=$2
5569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5570 echo "configure:5571: checking for $ac_word" >&5
5571 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5572 echo $ac_n "(cached) $ac_c" 1>&6
5574 if test -n "$CC"; then
5575 ac_cv_prog_CC
="$CC" # Let the user override the test.
5577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5578 for ac_dir
in $PATH; do
5579 test -z "$ac_dir" && ac_dir
=.
5580 if test -f $ac_dir/$ac_word; then
5589 if test -n "$CC"; then
5590 echo "$ac_t""$CC" 1>&6
5592 echo "$ac_t""no" 1>&6
5595 if test -z "$CC"; then
5596 # Extract the first word of "cc", so it can be a program name with args.
5597 set dummy cc
; ac_word
=$2
5598 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5599 echo "configure:5600: checking for $ac_word" >&5
5600 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5601 echo $ac_n "(cached) $ac_c" 1>&6
5603 if test -n "$CC"; then
5604 ac_cv_prog_CC
="$CC" # Let the user override the test.
5606 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5608 for ac_dir
in $PATH; do
5609 test -z "$ac_dir" && ac_dir
=.
5610 if test -f $ac_dir/$ac_word; then
5611 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5612 ac_prog_rejected
=yes
5620 if test $ac_prog_rejected = yes; then
5621 # We found a bogon in the path, so make sure we never use it.
5622 set dummy
$ac_cv_prog_CC
5624 if test $# -gt 0; then
5625 # We chose a different compiler from the bogus one.
5626 # However, it has the same basename, so the bogon will be chosen
5627 # first if we set CC to just the basename; use the full file name.
5629 set dummy
"$ac_dir/$ac_word" "$@"
5637 if test -n "$CC"; then
5638 echo "$ac_t""$CC" 1>&6
5640 echo "$ac_t""no" 1>&6
5643 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5646 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5647 echo "configure:5648: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5650 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5651 ac_cpp
='$CPP $CPPFLAGS'
5652 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5653 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5654 cross_compiling
=$ac_cv_prog_cc_cross
5656 cat > conftest.
$ac_ext <<EOF
5657 #line 5658 "configure"
5658 #include "confdefs.h"
5661 if { (eval echo configure
:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5662 ac_cv_prog_cc_works
=yes
5663 # If we can't run a trivial program, we are probably using a cross compiler.
5664 if (.
/conftest
; exit) 2>/dev
/null
; then
5665 ac_cv_prog_cc_cross
=no
5667 ac_cv_prog_cc_cross
=yes
5670 echo "configure: failed program was:" >&5
5671 cat conftest.
$ac_ext >&5
5672 ac_cv_prog_cc_works
=no
5676 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5677 if test $ac_cv_prog_cc_works = no
; then
5678 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5680 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5681 echo "configure:5682: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5682 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5683 cross_compiling
=$ac_cv_prog_cc_cross
5685 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5686 echo "configure:5687: checking whether we are using GNU C" >&5
5687 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5688 echo $ac_n "(cached) $ac_c" 1>&6
5690 cat > conftest.c
<<EOF
5695 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5702 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5704 if test $ac_cv_prog_gcc = yes; then
5706 ac_test_CFLAGS
="${CFLAGS+set}"
5707 ac_save_CFLAGS
="$CFLAGS"
5709 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5710 echo "configure:5711: checking whether ${CC-cc} accepts -g" >&5
5711 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5712 echo $ac_n "(cached) $ac_c" 1>&6
5714 echo 'void f(){}' > conftest.c
5715 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5724 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5725 if test "$ac_test_CFLAGS" = set; then
5726 CFLAGS
="$ac_save_CFLAGS"
5727 elif test $ac_cv_prog_cc_g = yes; then
5734 test "${CFLAGS+set}" = set || CFLAGS
="-g"
5738 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5740 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5741 echo "configure:5742: checking how to run the C preprocessor" >&5
5742 # On Suns, sometimes $CPP names a directory.
5743 if test -n "$CPP" && test -d "$CPP"; then
5746 if test -z "$CPP"; then
5747 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5748 echo $ac_n "(cached) $ac_c" 1>&6
5750 # This must be in double quotes, not single quotes, because CPP may get
5751 # substituted into the Makefile and "${CC-cc}" will confuse make.
5753 # On the NeXT, cc -E runs the code through the compiler's parser,
5754 # not just through cpp.
5755 cat > conftest.
$ac_ext <<EOF
5756 #line 5757 "configure"
5757 #include "confdefs.h"
5761 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5762 { (eval echo configure
:5763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5763 ac_err
=`grep -v '^ *+' conftest.out`
5764 if test -z "$ac_err"; then
5768 echo "configure: failed program was:" >&5
5769 cat conftest.
$ac_ext >&5
5771 CPP
="${CC-cc} -E -traditional-cpp"
5772 cat > conftest.
$ac_ext <<EOF
5773 #line 5774 "configure"
5774 #include "confdefs.h"
5778 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5779 { (eval echo configure
:5780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5780 ac_err
=`grep -v '^ *+' conftest.out`
5781 if test -z "$ac_err"; then
5785 echo "configure: failed program was:" >&5
5786 cat conftest.
$ac_ext >&5
5793 ac_cv_prog_CPP
="$CPP"
5795 CPP
="$ac_cv_prog_CPP"
5797 ac_cv_prog_CPP
="$CPP"
5799 echo "$ac_t""$CPP" 1>&6
5802 if test $ac_cv_prog_gcc = yes; then
5803 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5804 echo "configure:5805: checking whether ${CC-cc} needs -traditional" >&5
5805 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5806 echo $ac_n "(cached) $ac_c" 1>&6
5808 ac_pattern
="Autoconf.*'x'"
5809 cat > conftest.
$ac_ext <<EOF
5810 #line 5811 "configure"
5811 #include "confdefs.h"
5815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5816 egrep "$ac_pattern" >/dev
/null
2>&1; then
5818 ac_cv_prog_gcc_traditional
=yes
5821 ac_cv_prog_gcc_traditional
=no
5826 if test $ac_cv_prog_gcc_traditional = no
; then
5827 cat > conftest.
$ac_ext <<EOF
5828 #line 5829 "configure"
5829 #include "confdefs.h"
5833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5834 egrep "$ac_pattern" >/dev
/null
2>&1; then
5836 ac_cv_prog_gcc_traditional
=yes
5843 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5844 if test $ac_cv_prog_gcc_traditional = yes; then
5845 CC
="$CC -traditional"
5852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5853 ac_cpp
='$CXXCPP $CPPFLAGS'
5854 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5855 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5856 cross_compiling
=$ac_cv_prog_cxx_cross
5859 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
5861 # Extract the first word of "$ac_prog", so it can be a program name with args.
5862 set dummy
$ac_prog; ac_word
=$2
5863 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5864 echo "configure:5865: checking for $ac_word" >&5
5865 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
5866 echo $ac_n "(cached) $ac_c" 1>&6
5868 if test -n "$CXX"; then
5869 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5871 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5872 for ac_dir
in $PATH; do
5873 test -z "$ac_dir" && ac_dir
=.
5874 if test -f $ac_dir/$ac_word; then
5875 ac_cv_prog_CXX
="$ac_prog"
5882 CXX
="$ac_cv_prog_CXX"
5883 if test -n "$CXX"; then
5884 echo "$ac_t""$CXX" 1>&6
5886 echo "$ac_t""no" 1>&6
5889 test -n "$CXX" && break
5891 test -n "$CXX" || CXX
="gcc"
5894 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5895 echo "configure:5896: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
5898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5899 ac_cpp
='$CXXCPP $CPPFLAGS'
5900 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5901 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5902 cross_compiling
=$ac_cv_prog_cxx_cross
5904 cat > conftest.
$ac_ext <<EOF
5905 #line 5906 "configure"
5906 #include "confdefs.h"
5909 if { (eval echo configure
:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5910 ac_cv_prog_cxx_works
=yes
5911 # If we can't run a trivial program, we are probably using a cross compiler.
5912 if (.
/conftest
; exit) 2>/dev
/null
; then
5913 ac_cv_prog_cxx_cross
=no
5915 ac_cv_prog_cxx_cross
=yes
5918 echo "configure: failed program was:" >&5
5919 cat conftest.
$ac_ext >&5
5920 ac_cv_prog_cxx_works
=no
5924 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
5925 if test $ac_cv_prog_cxx_works = no
; then
5926 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
5928 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5929 echo "configure:5930: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
5930 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
5931 cross_compiling
=$ac_cv_prog_cxx_cross
5933 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
5934 echo "configure:5935: checking whether we are using GNU C++" >&5
5935 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
5936 echo $ac_n "(cached) $ac_c" 1>&6
5938 cat > conftest.C
<<EOF
5943 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:5944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5950 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
5952 if test $ac_cv_prog_gxx = yes; then
5954 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5955 ac_save_CXXFLAGS
="$CXXFLAGS"
5957 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
5958 echo "configure:5959: checking whether ${CXX-g++} accepts -g" >&5
5959 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
5960 echo $ac_n "(cached) $ac_c" 1>&6
5962 echo 'void f(){}' > conftest.cc
5963 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
5964 ac_cv_prog_cxx_g
=yes
5972 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
5973 if test "$ac_test_CXXFLAGS" = set; then
5974 CXXFLAGS
="$ac_save_CXXFLAGS"
5975 elif test $ac_cv_prog_cxx_g = yes; then
5982 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
5986 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
5987 echo "configure:5988: checking how to run the C++ preprocessor" >&5
5988 if test -z "$CXXCPP"; then
5989 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
5990 echo $ac_n "(cached) $ac_c" 1>&6
5993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5994 ac_cpp
='$CXXCPP $CPPFLAGS'
5995 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5996 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5997 cross_compiling
=$ac_cv_prog_cxx_cross
5998 CXXCPP
="${CXX-g++} -E"
5999 cat > conftest.
$ac_ext <<EOF
6000 #line 6001 "configure"
6001 #include "confdefs.h"
6004 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6005 { (eval echo configure
:6006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6006 ac_err
=`grep -v '^ *+' conftest.out`
6007 if test -z "$ac_err"; then
6011 echo "configure: failed program was:" >&5
6012 cat conftest.
$ac_ext >&5
6017 ac_cv_prog_CXXCPP
="$CXXCPP"
6020 CXXCPP
="$ac_cv_prog_CXXCPP"
6021 echo "$ac_t""$CXXCPP" 1>&6
6024 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6028 ac_cpp
='$CPP $CPPFLAGS'
6029 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6030 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6031 cross_compiling
=$ac_cv_prog_cc_cross
6034 # Extract the first word of "ranlib", so it can be a program name with args.
6035 set dummy ranlib
; ac_word
=$2
6036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6037 echo "configure:6038: checking for $ac_word" >&5
6038 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6039 echo $ac_n "(cached) $ac_c" 1>&6
6041 if test -n "$RANLIB"; then
6042 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6044 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6045 for ac_dir
in $PATH; do
6046 test -z "$ac_dir" && ac_dir
=.
6047 if test -f $ac_dir/$ac_word; then
6048 ac_cv_prog_RANLIB
="ranlib"
6053 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6056 RANLIB
="$ac_cv_prog_RANLIB"
6057 if test -n "$RANLIB"; then
6058 echo "$ac_t""$RANLIB" 1>&6
6060 echo "$ac_t""no" 1>&6
6064 # Extract the first word of "ar", so it can be a program name with args.
6065 set dummy
ar; ac_word
=$2
6066 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6067 echo "configure:6068: checking for $ac_word" >&5
6068 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6069 echo $ac_n "(cached) $ac_c" 1>&6
6071 if test -n "$AR"; then
6072 ac_cv_prog_AR
="$AR" # Let the user override the test.
6074 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6075 for ac_dir
in $PATH; do
6076 test -z "$ac_dir" && ac_dir
=.
6077 if test -f $ac_dir/$ac_word; then
6083 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6087 if test -n "$AR"; then
6088 echo "$ac_t""$AR" 1>&6
6090 echo "$ac_t""no" 1>&6
6094 # Find a good install program. We prefer a C program (faster),
6095 # so one script is as good as another. But avoid the broken or
6096 # incompatible versions:
6097 # SysV /etc/install, /usr/sbin/install
6098 # SunOS /usr/etc/install
6099 # IRIX /sbin/install
6101 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6102 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6103 # ./install, which can be erroneously created by make from ./install.sh.
6104 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6105 echo "configure:6106: checking for a BSD compatible install" >&5
6106 if test -z "$INSTALL"; then
6107 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6108 echo $ac_n "(cached) $ac_c" 1>&6
6110 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
6111 for ac_dir
in $PATH; do
6112 # Account for people who put trailing slashes in PATH elements.
6114 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6116 # OSF1 and SCO ODT 3.0 have their own names for install.
6117 for ac_prog
in ginstall installbsd scoinst
install; do
6118 if test -f $ac_dir/$ac_prog; then
6119 if test $ac_prog = install &&
6120 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6121 # AIX install. It has an incompatible calling convention.
6122 # OSF/1 installbsd also uses dspmsg, but is usable.
6125 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6136 if test "${ac_cv_path_install+set}" = set; then
6137 INSTALL
="$ac_cv_path_install"
6139 # As a last resort, use the slow shell script. We don't cache a
6140 # path for INSTALL within a source directory, because that will
6141 # break other packages using the cache if that directory is
6142 # removed, or if the path is relative.
6143 INSTALL
="$ac_install_sh"
6146 echo "$ac_t""$INSTALL" 1>&6
6148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6149 # It thinks the first close brace ends the variable substitution.
6150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6152 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6155 # Extract the first word of "strip", so it can be a program name with args.
6156 set dummy strip
; ac_word
=$2
6157 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6158 echo "configure:6159: checking for $ac_word" >&5
6159 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6160 echo $ac_n "(cached) $ac_c" 1>&6
6162 if test -n "$STRIP"; then
6163 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6165 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6166 for ac_dir
in $PATH; do
6167 test -z "$ac_dir" && ac_dir
=.
6168 if test -f $ac_dir/$ac_word; then
6169 ac_cv_prog_STRIP
="strip"
6174 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6177 STRIP
="$ac_cv_prog_STRIP"
6178 if test -n "$STRIP"; then
6179 echo "$ac_t""$STRIP" 1>&6
6181 echo "$ac_t""no" 1>&6
6185 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6186 echo "configure:6187: checking "make for VPATH support
"" >&5
6187 cat - << EOF > confMake
6193 if test ! -d sub
; then
6196 echo dummy
> sub
/file
6197 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6199 rm -f sub
/file check final_file confMake
6201 if test "$RESULT" = 0; then
6202 echo "$ac_t""yes" 1>&6
6204 echo "$ac_t""no" 1>&6
6205 { echo "configure: error: You need a make-utility that is able to use the variable
6207 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6210 for ac_prog
in 'bison -y' byacc
6212 # Extract the first word of "$ac_prog", so it can be a program name with args.
6213 set dummy
$ac_prog; ac_word
=$2
6214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6215 echo "configure:6216: checking for $ac_word" >&5
6216 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6217 echo $ac_n "(cached) $ac_c" 1>&6
6219 if test -n "$YACC"; then
6220 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6223 for ac_dir
in $PATH; do
6224 test -z "$ac_dir" && ac_dir
=.
6225 if test -f $ac_dir/$ac_word; then
6226 ac_cv_prog_YACC
="$ac_prog"
6233 YACC
="$ac_cv_prog_YACC"
6234 if test -n "$YACC"; then
6235 echo "$ac_t""$YACC" 1>&6
6237 echo "$ac_t""no" 1>&6
6240 test -n "$YACC" && break
6242 test -n "$YACC" || YACC
="yacc"
6245 # Extract the first word of "flex", so it can be a program name with args.
6246 set dummy flex
; ac_word
=$2
6247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6248 echo "configure:6249: checking for $ac_word" >&5
6249 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6250 echo $ac_n "(cached) $ac_c" 1>&6
6252 if test -n "$LEX"; then
6253 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6255 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6256 for ac_dir
in $PATH; do
6257 test -z "$ac_dir" && ac_dir
=.
6258 if test -f $ac_dir/$ac_word; then
6259 ac_cv_prog_LEX
="flex"
6264 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6267 LEX
="$ac_cv_prog_LEX"
6268 if test -n "$LEX"; then
6269 echo "$ac_t""$LEX" 1>&6
6271 echo "$ac_t""no" 1>&6
6274 if test -z "$LEXLIB"
6280 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6281 echo "configure:6282: checking for yywrap in -l$ac_lib" >&5
6282 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6284 echo $ac_n "(cached) $ac_c" 1>&6
6286 ac_save_LIBS
="$LIBS"
6287 LIBS
="-l$ac_lib $LIBS"
6288 cat > conftest.
$ac_ext <<EOF
6289 #line 6290 "configure"
6290 #include "confdefs.h"
6291 /* Override any gcc2 internal prototype to avoid an error. */
6292 /* We use char because int might match the return type of a gcc2
6293 builtin and then its argument prototype would still apply. */
6300 if { (eval echo configure
:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6302 eval "ac_cv_lib_$ac_lib_var=yes"
6304 echo "configure: failed program was:" >&5
6305 cat conftest.
$ac_ext >&5
6307 eval "ac_cv_lib_$ac_lib_var=no"
6310 LIBS
="$ac_save_LIBS"
6313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6314 echo "$ac_t""yes" 1>&6
6317 echo "$ac_t""no" 1>&6
6323 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6324 echo "configure:6325: checking whether ln -s works" >&5
6325 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6326 echo $ac_n "(cached) $ac_c" 1>&6
6329 if ln -s X conftestdata
2>/dev
/null
6332 ac_cv_prog_LN_S
="ln -s"
6337 LN_S
="$ac_cv_prog_LN_S"
6338 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6339 echo "$ac_t""yes" 1>&6
6341 echo "$ac_t""no" 1>&6
6347 /usr/Motif-1.2/include \
6348 /usr/Motif-2.1/include \
6350 /usr/include/Motif1.2 \
6351 /opt/xpm/include/X11 \
6352 /opt/GBxpm/include/ \
6353 /opt/GBxpm/X11/include/ \
6355 /usr/Motif1.2/include \
6359 /usr/X11R6/include \
6360 /usr/X11R5/include \
6361 /usr/X11R4/include \
6367 /usr/include/X11R6 \
6368 /usr/include/X11R5 \
6369 /usr/include/X11R4 \
6371 /usr/local/X11R6/include \
6372 /usr/local/X11R5/include \
6373 /usr/local/X11R4/include \
6375 /usr/local/include/X11R6 \
6376 /usr/local/include/X11R5 \
6377 /usr/local/include/X11R4 \
6381 /usr/local/X11/include \
6382 /usr/local/include/X11 \
6386 /usr/XFree86/include/X11 \
6389 /usr/local/include \
6392 /usr/local/include/gtk \
6394 /usr/local/include/glib \
6397 /usr/local/include/qt \
6399 /usr/include/windows \
6401 /usr/local/include/wine \
6403 /usr/unsupported/include \
6404 /usr/athena/include \
6405 /usr/local/x11r5/include \
6406 /usr/lpp/Xamples/include \
6408 /usr/openwin/include \
6409 /usr/openwin/share/include \
6412 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6415 cat > confcache
<<\EOF
6416 # This file is a shell script that caches the results of configure
6417 # tests run on this system so they can be shared between configure
6418 # scripts and configure runs. It is not useful on other systems.
6419 # If it contains results you don't want to keep, you may remove or edit it.
6421 # By default, configure uses ./config.cache as the cache file,
6422 # creating it if it does not exist already. You can give configure
6423 # the --cache-file=FILE option to use a different cache file; that is
6424 # what configure does when it calls configure scripts in
6425 # subdirectories, so they share the cache.
6426 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6427 # config.status only pays attention to the cache file if you give it the
6428 # --recheck option to rerun configure.
6431 # The following way of writing the cache mishandles newlines in values,
6432 # but we know of no workaround that is simple, portable, and efficient.
6433 # So, don't put newlines in cache variables' values.
6434 # Ultrix sh set writes to stderr and can't be redirected directly,
6435 # and sets the high bit in the cache file unless we assign to the vars.
6437 case `(ac_space=' '; set) 2>&1` in
6439 # `set' does not quote correctly, so add quotes (double-quote substitution
6440 # turns \\\\ into \\, and sed turns \\ into \).
6442 -e "s/'/'\\\\''/g" \
6443 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6446 # `set' quotes correctly as required by POSIX, so do not add quotes.
6447 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6450 if cmp -s $cache_file confcache
; then
6453 if test -w $cache_file; then
6454 echo "updating cache $cache_file"
6455 cat confcache
> $cache_file
6457 echo "not updating unwritable cache $cache_file"
6480 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6481 if test "$cross_compiling" = "yes" ; then
6482 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6484 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6485 echo "configure:6486: checking for Windows headers" >&5
6488 for ac_dir
in $SEARCH_INCLUDE;
6490 if test -f "$ac_dir/windows.h"; then
6491 ac_find_includes
=$ac_dir
6496 if test "$ac_find_includes" != "" ; then
6497 echo "$ac_t""found $ac_find_includes" 1>&6
6498 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6500 echo "$ac_t""no" 1>&6
6501 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6505 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6506 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6511 GUIHEADERS
=MSW_HEADERS
6512 COMMONOBJS
=MSW_COMMONOBJS
6513 GENERICOBJS
=MSW_GENERICOBJS
6519 if test "$wxUSE_GTK" = 1; then
6521 if test x
$gtk_config_exec_prefix != x
; then
6522 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6523 if test x
${GTK_CONFIG+set} != xset
; then
6524 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6527 if test x
$gtk_config_prefix != x
; then
6528 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6529 if test x
${GTK_CONFIG+set} != xset
; then
6530 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6534 # Extract the first word of "gtk-config", so it can be a program name with args.
6535 set dummy gtk
-config; ac_word
=$2
6536 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6537 echo "configure:6538: checking for $ac_word" >&5
6538 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6539 echo $ac_n "(cached) $ac_c" 1>&6
6541 case "$GTK_CONFIG" in
6543 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6546 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6547 for ac_dir
in $PATH; do
6548 test -z "$ac_dir" && ac_dir
=.
6549 if test -f $ac_dir/$ac_word; then
6550 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6555 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6559 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6560 if test -n "$GTK_CONFIG"; then
6561 echo "$ac_t""$GTK_CONFIG" 1>&6
6563 echo "$ac_t""no" 1>&6
6566 min_gtk_version
=1.2.0
6567 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6568 echo "configure:6569: checking for GTK - version >= $min_gtk_version" >&5
6570 if test "$GTK_CONFIG" != "no" ; then
6571 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6572 GTK_LIBS
=`$GTK_CONFIG --libs`
6573 ac_save_CFLAGS
="$CFLAGS"
6574 ac_save_LIBS
="$LIBS"
6575 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6576 LIBS
="$LIBS $GTK_LIBS"
6577 if test "$cross_compiling" = yes; then
6578 echo $ac_n "cross compiling; assumed OK... $ac_c"
6580 cat > conftest.
$ac_ext <<EOF
6581 #line 6582 "configure"
6582 #include "confdefs.h"
6584 #include <gtk/gtk.h>
6590 int major, minor, micro;
6592 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6593 printf("%s, bad version string\n", "$min_gtk_version");
6597 if (gtk_minor_version == 1) return FALSE;
6599 return !((gtk_major_version > major) ||
6600 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6601 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6605 if { (eval echo configure
:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6609 echo "configure: failed program was:" >&5
6610 cat conftest.
$ac_ext >&5
6617 CFLAGS
="$ac_save_CFLAGS"
6618 LIBS
="$ac_save_LIBS"
6622 if test "x$no_gtk" = x
; then
6623 echo "$ac_t""yes" 1>&6
6626 echo "$ac_t""no" 1>&6
6634 if test "$WXGTK12" != 1; then
6636 if test x
$gtk_config_exec_prefix != x
; then
6637 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6638 if test x
${GTK_CONFIG+set} != xset
; then
6639 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6642 if test x
$gtk_config_prefix != x
; then
6643 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6644 if test x
${GTK_CONFIG+set} != xset
; then
6645 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6649 # Extract the first word of "gtk-config", so it can be a program name with args.
6650 set dummy gtk
-config; ac_word
=$2
6651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6652 echo "configure:6653: checking for $ac_word" >&5
6653 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6654 echo $ac_n "(cached) $ac_c" 1>&6
6656 case "$GTK_CONFIG" in
6658 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6661 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6662 for ac_dir
in $PATH; do
6663 test -z "$ac_dir" && ac_dir
=.
6664 if test -f $ac_dir/$ac_word; then
6665 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6670 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6674 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6675 if test -n "$GTK_CONFIG"; then
6676 echo "$ac_t""$GTK_CONFIG" 1>&6
6678 echo "$ac_t""no" 1>&6
6681 min_gtk_version
=1.0.0
6682 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6683 echo "configure:6684: checking for GTK - version >= $min_gtk_version" >&5
6685 if test "$GTK_CONFIG" != "no" ; then
6686 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6687 GTK_LIBS
=`$GTK_CONFIG --libs`
6688 ac_save_CFLAGS
="$CFLAGS"
6689 ac_save_LIBS
="$LIBS"
6690 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6691 LIBS
="$LIBS $GTK_LIBS"
6692 if test "$cross_compiling" = yes; then
6693 echo $ac_n "cross compiling; assumed OK... $ac_c"
6695 cat > conftest.
$ac_ext <<EOF
6696 #line 6697 "configure"
6697 #include "confdefs.h"
6699 #include <gtk/gtk.h>
6705 int major, minor, micro;
6707 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6708 printf("%s, bad version string\n", "$min_gtk_version");
6712 if (gtk_minor_version == 1) return FALSE;
6714 return !((gtk_major_version > major) ||
6715 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6716 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6720 if { (eval echo configure
:6721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6724 echo "configure: failed program was:" >&5
6725 cat conftest.
$ac_ext >&5
6732 CFLAGS
="$ac_save_CFLAGS"
6733 LIBS
="$ac_save_LIBS"
6737 if test "x$no_gtk" = x
; then
6738 echo "$ac_t""yes" 1>&6
6741 echo "$ac_t""no" 1>&6
6744 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6751 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6752 GUI_TK_LIBRARY
="$GTK_LIBS -ldl"
6755 GUIHEADERS
=GTK_HEADERS
6757 COMMONOBJS
=GTK_COMMONOBJS
6758 GENERICOBJS
=GTK_GENERICOBJS
6760 COMMONDEPS
=GTK_COMMONDEPS
6761 GENERICDEPS
=GTK_GENERICDEPS
6766 if test "$wxUSE_WINE" = 1; then
6767 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6768 echo "configure:6769: checking for WINE includes" >&5
6771 for ac_dir
in $SEARCH_INCLUDE;
6773 if test -f "$ac_dir/windows.h"; then
6774 ac_find_includes
=$ac_dir
6779 if test "$ac_find_includes" != "" ; then
6780 echo "$ac_t""found $ac_find_includes" 1>&6
6781 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6783 echo "$ac_t""no" 1>&6
6784 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6788 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6789 echo "configure:6790: checking for Xpm library" >&5
6792 for ac_dir
in $SEARCH_LIB;
6794 for ac_extension
in a so sl
; do
6795 if test -f "$ac_dir/libXpm.$ac_extension"; then
6796 ac_find_libraries
=$ac_dir
6802 if test "$ac_find_libraries" != "" ; then
6803 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6805 cat >> confdefs.h
<<\EOF
6806 #define wxHAVE_LIB_XPM 1
6809 echo "$ac_t""found at $ac_find_libraries" 1>&6
6811 echo "$ac_t""no" 1>&6
6812 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6816 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6817 echo "configure:6818: checking for Mesa library" >&5
6820 for ac_dir
in $SEARCH_LIB;
6822 for ac_extension
in a so sl
; do
6823 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6824 ac_find_libraries
=$ac_dir
6830 if test "$ac_find_libraries" != "" ; then
6831 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6832 MESA_LINK
="-lMesaGL"
6833 echo "$ac_t""found at $ac_find_libraries" 1>&6
6835 { echo "configure: error: no" 1>&2; exit 1; }
6838 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -ldl -lm"
6839 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6843 GUIHEADERS
=MSW_HEADERS
6845 COMMONOBJS
=MSW_COMMONOBJS
6846 GENERICOBJS
=MSW_GENERICOBJS
6848 COMMONDEPS
=MSW_COMMONDEPS
6849 GENERICDEPS
=MSW_GENERICDEPS
6854 if test "$wxUSE_MOTIF" = 1; then
6855 # If we find X, set shell vars x_includes and x_libraries to the
6856 # paths, otherwise set no_x=yes.
6857 # Uses ac_ vars as temps to allow command line to override cache and checks.
6858 # --without-x overrides everything else, but does not touch the cache.
6859 echo $ac_n "checking for X""... $ac_c" 1>&6
6860 echo "configure:6861: checking for X" >&5
6862 # Check whether --with-x or --without-x was given.
6863 if test "${with_x+set}" = set; then
6868 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6869 if test "x$with_x" = xno
; then
6870 # The user explicitly disabled X.
6873 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6874 # Both variables are already set.
6877 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6878 echo $ac_n "(cached) $ac_c" 1>&6
6880 # One or both of the vars are not set, and there is no cached value.
6881 ac_x_includes
=NO ac_x_libraries
=NO
6883 if mkdir conftestdir
; then
6885 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6886 cat > Imakefile
<<'EOF'
6888 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6890 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6891 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6892 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6893 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6894 for ac_extension
in a so sl
; do
6895 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6896 test -f $ac_im_libdir/libX11.
$ac_extension; then
6897 ac_im_usrlibdir
=$ac_im_libdir; break
6900 # Screen out bogus values from the imake configuration. They are
6901 # bogus both because they are the default anyway, and because
6902 # using them would break gcc on systems where it needs fixed includes.
6903 case "$ac_im_incroot" in
6905 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
6907 case "$ac_im_usrlibdir" in
6909 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
6916 if test "$ac_x_includes" = NO
; then
6917 # Guess where to find include files, by looking for this one X11 .h file.
6918 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
6920 # First, try using that file with no special directory specified.
6921 cat > conftest.
$ac_ext <<EOF
6922 #line 6923 "configure"
6923 #include "confdefs.h"
6924 #include <$x_direct_test_include>
6926 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6927 { (eval echo configure
:6928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6928 ac_err
=`grep -v '^ *+' conftest.out`
6929 if test -z "$ac_err"; then
6931 # We can compile using X headers with no special include directory.
6935 echo "configure: failed program was:" >&5
6936 cat conftest.
$ac_ext >&5
6938 # Look for the header file in a standard set of common directories.
6939 # Check X11 before X11Rn because it is often a symlink to the current release.
6942 /usr
/X
11R
6/include \
6943 /usr
/X
11R
5/include \
6944 /usr
/X
11R
4/include \
6947 /usr
/include
/X11R6 \
6948 /usr
/include
/X11R5 \
6949 /usr
/include
/X11R4 \
6951 /usr
/local
/X
11/include \
6952 /usr
/local
/X
11R
6/include \
6953 /usr
/local
/X
11R
5/include \
6954 /usr
/local
/X
11R
4/include \
6956 /usr
/local
/include
/X11 \
6957 /usr
/local
/include
/X11R6 \
6958 /usr
/local
/include
/X11R5 \
6959 /usr
/local
/include
/X11R4 \
6963 /usr
/XFree
86/include
/X11 \
6966 /usr
/local
/include \
6967 /usr
/unsupported
/include \
6968 /usr
/athena
/include \
6969 /usr
/local
/x
11r
5/include \
6970 /usr
/lpp
/Xamples
/include \
6972 /usr
/openwin
/include \
6973 /usr
/openwin
/share
/include \
6976 if test -r "$ac_dir/$x_direct_test_include"; then
6977 ac_x_includes
=$ac_dir
6983 fi # $ac_x_includes = NO
6985 if test "$ac_x_libraries" = NO
; then
6986 # Check for the libraries.
6988 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
6989 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
6991 # See if we find them without any special options.
6992 # Don't add to $LIBS permanently.
6993 ac_save_LIBS
="$LIBS"
6994 LIBS
="-l$x_direct_test_library $LIBS"
6995 cat > conftest.
$ac_ext <<EOF
6996 #line 6997 "configure"
6997 #include "confdefs.h"
7000 ${x_direct_test_function}()
7003 if { (eval echo configure
:7004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7005 LIBS
="$ac_save_LIBS"
7006 # We can link X programs with no special library path.
7009 echo "configure: failed program was:" >&5
7010 cat conftest.
$ac_ext >&5
7012 LIBS
="$ac_save_LIBS"
7013 # First see if replacing the include by lib works.
7014 # Check X11 before X11Rn because it is often a symlink to the current release.
7015 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7026 /usr
/local
/X
11/lib \
7027 /usr
/local
/X
11R
6/lib \
7028 /usr
/local
/X
11R
5/lib \
7029 /usr
/local
/X
11R
4/lib \
7031 /usr
/local
/lib
/X11 \
7032 /usr
/local
/lib
/X11R6 \
7033 /usr
/local
/lib
/X11R5 \
7034 /usr
/local
/lib
/X11R4 \
7038 /usr
/XFree
86/lib
/X11 \
7042 /usr
/unsupported
/lib \
7044 /usr
/local
/x
11r
5/lib \
7045 /usr
/lpp
/Xamples
/lib \
7049 /usr
/openwin
/share
/lib \
7052 for ac_extension
in a so sl
; do
7053 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7054 ac_x_libraries
=$ac_dir
7061 fi # $ac_x_libraries = NO
7063 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7064 # Didn't find X anywhere. Cache the known absence of X.
7065 ac_cv_have_x
="have_x=no"
7067 # Record where we found X for the cache.
7068 ac_cv_have_x
="have_x=yes \
7069 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7073 eval "$ac_cv_have_x"
7076 if test "$have_x" != yes; then
7077 echo "$ac_t""$have_x" 1>&6
7080 # If each of the values was on the command line, it overrides each guess.
7081 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7082 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7083 # Update the cache value to reflect the command line values.
7084 ac_cv_have_x
="have_x=yes \
7085 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7086 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7089 if test "$no_x" = yes; then
7090 # Not all programs may use this symbol, but it does not hurt to define it.
7091 cat >> confdefs.h
<<\EOF
7092 #define X_DISPLAY_MISSING 1
7095 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7097 if test -n "$x_includes"; then
7098 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7101 # It would also be nice to do this for all -L options, not just this one.
7102 if test -n "$x_libraries"; then
7103 X_LIBS
="$X_LIBS -L$x_libraries"
7104 # For Solaris; some versions of Sun CC require a space after -R and
7105 # others require no space. Words are not sufficient . . . .
7106 case "`(uname -sr) 2>/dev/null`" in
7108 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7109 echo "configure:7110: checking whether -R must be followed by a space" >&5
7110 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7111 cat > conftest.
$ac_ext <<EOF
7112 #line 7113 "configure"
7113 #include "confdefs.h"
7119 if { (eval echo configure
:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7123 echo "configure: failed program was:" >&5
7124 cat conftest.
$ac_ext >&5
7129 if test $ac_R_nospace = yes; then
7130 echo "$ac_t""no" 1>&6
7131 X_LIBS
="$X_LIBS -R$x_libraries"
7133 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7134 cat > conftest.
$ac_ext <<EOF
7135 #line 7136 "configure"
7136 #include "confdefs.h"
7142 if { (eval echo configure
:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7146 echo "configure: failed program was:" >&5
7147 cat conftest.
$ac_ext >&5
7152 if test $ac_R_space = yes; then
7153 echo "$ac_t""yes" 1>&6
7154 X_LIBS
="$X_LIBS -R $x_libraries"
7156 echo "$ac_t""neither works" 1>&6
7159 LIBS
="$ac_xsave_LIBS"
7163 # Check for system-dependent libraries X programs must link with.
7164 # Do this before checking for the system-independent R6 libraries
7165 # (-lICE), since we may need -lsocket or whatever for X linking.
7167 if test "$ISC" = yes; then
7168 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7170 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7171 # libraries were built with DECnet support. And karl@cs.umb.edu says
7172 # the Alpha needs dnet_stub (dnet does not exist).
7173 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7174 echo "configure:7175: checking for dnet_ntoa in -ldnet" >&5
7175 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7177 echo $ac_n "(cached) $ac_c" 1>&6
7179 ac_save_LIBS
="$LIBS"
7181 cat > conftest.
$ac_ext <<EOF
7182 #line 7183 "configure"
7183 #include "confdefs.h"
7184 /* Override any gcc2 internal prototype to avoid an error. */
7185 /* We use char because int might match the return type of a gcc2
7186 builtin and then its argument prototype would still apply. */
7193 if { (eval echo configure
:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7195 eval "ac_cv_lib_$ac_lib_var=yes"
7197 echo "configure: failed program was:" >&5
7198 cat conftest.
$ac_ext >&5
7200 eval "ac_cv_lib_$ac_lib_var=no"
7203 LIBS
="$ac_save_LIBS"
7206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7207 echo "$ac_t""yes" 1>&6
7208 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7210 echo "$ac_t""no" 1>&6
7213 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7214 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7215 echo "configure:7216: checking for dnet_ntoa in -ldnet_stub" >&5
7216 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7218 echo $ac_n "(cached) $ac_c" 1>&6
7220 ac_save_LIBS
="$LIBS"
7221 LIBS
="-ldnet_stub $LIBS"
7222 cat > conftest.
$ac_ext <<EOF
7223 #line 7224 "configure"
7224 #include "confdefs.h"
7225 /* Override any gcc2 internal prototype to avoid an error. */
7226 /* We use char because int might match the return type of a gcc2
7227 builtin and then its argument prototype would still apply. */
7234 if { (eval echo configure
:7235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7236 eval "ac_cv_lib_$ac_lib_var=yes"
7238 echo "configure: failed program was:" >&5
7239 cat conftest.
$ac_ext >&5
7241 eval "ac_cv_lib_$ac_lib_var=no"
7244 LIBS
="$ac_save_LIBS"
7247 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7248 echo "$ac_t""yes" 1>&6
7249 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7251 echo "$ac_t""no" 1>&6
7256 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7257 # to get the SysV transport functions.
7258 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7260 # The nsl library prevents programs from opening the X display
7261 # on Irix 5.2, according to dickey@clark.net.
7262 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7263 echo "configure:7264: checking for gethostbyname" >&5
7264 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7265 echo $ac_n "(cached) $ac_c" 1>&6
7267 cat > conftest.
$ac_ext <<EOF
7268 #line 7269 "configure"
7269 #include "confdefs.h"
7270 /* System header to define __stub macros and hopefully few prototypes,
7271 which can conflict with char gethostbyname(); below. */
7273 /* Override any gcc2 internal prototype to avoid an error. */
7274 /* We use char because int might match the return type of a gcc2
7275 builtin and then its argument prototype would still apply. */
7276 char gethostbyname();
7280 /* The GNU C library defines this for functions which it implements
7281 to always fail with ENOSYS. Some functions are actually named
7282 something starting with __ and the normal name is an alias. */
7283 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7291 if { (eval echo configure
:7292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7293 eval "ac_cv_func_gethostbyname=yes"
7295 echo "configure: failed program was:" >&5
7296 cat conftest.
$ac_ext >&5
7298 eval "ac_cv_func_gethostbyname=no"
7303 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7304 echo "$ac_t""yes" 1>&6
7307 echo "$ac_t""no" 1>&6
7310 if test $ac_cv_func_gethostbyname = no
; then
7311 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7312 echo "configure:7313: checking for gethostbyname in -lnsl" >&5
7313 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7315 echo $ac_n "(cached) $ac_c" 1>&6
7317 ac_save_LIBS
="$LIBS"
7319 cat > conftest.
$ac_ext <<EOF
7320 #line 7321 "configure"
7321 #include "confdefs.h"
7322 /* Override any gcc2 internal prototype to avoid an error. */
7323 /* We use char because int might match the return type of a gcc2
7324 builtin and then its argument prototype would still apply. */
7325 char gethostbyname();
7331 if { (eval echo configure
:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7333 eval "ac_cv_lib_$ac_lib_var=yes"
7335 echo "configure: failed program was:" >&5
7336 cat conftest.
$ac_ext >&5
7338 eval "ac_cv_lib_$ac_lib_var=no"
7341 LIBS
="$ac_save_LIBS"
7344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7345 echo "$ac_t""yes" 1>&6
7346 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7348 echo "$ac_t""no" 1>&6
7353 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7354 # socket/setsockopt and other routines are undefined under SCO ODT
7355 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7356 # on later versions), says simon@lia.di.epfl.ch: it contains
7357 # gethostby* variants that don't use the nameserver (or something).
7358 # -lsocket must be given before -lnsl if both are needed.
7359 # We assume that if connect needs -lnsl, so does gethostbyname.
7360 echo $ac_n "checking for connect""... $ac_c" 1>&6
7361 echo "configure:7362: checking for connect" >&5
7362 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7363 echo $ac_n "(cached) $ac_c" 1>&6
7365 cat > conftest.
$ac_ext <<EOF
7366 #line 7367 "configure"
7367 #include "confdefs.h"
7368 /* System header to define __stub macros and hopefully few prototypes,
7369 which can conflict with char connect(); below. */
7371 /* Override any gcc2 internal prototype to avoid an error. */
7372 /* We use char because int might match the return type of a gcc2
7373 builtin and then its argument prototype would still apply. */
7378 /* The GNU C library defines this for functions which it implements
7379 to always fail with ENOSYS. Some functions are actually named
7380 something starting with __ and the normal name is an alias. */
7381 #if defined (__stub_connect) || defined (__stub___connect)
7389 if { (eval echo configure
:7390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7391 eval "ac_cv_func_connect=yes"
7393 echo "configure: failed program was:" >&5
7394 cat conftest.
$ac_ext >&5
7396 eval "ac_cv_func_connect=no"
7401 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7402 echo "$ac_t""yes" 1>&6
7405 echo "$ac_t""no" 1>&6
7408 if test $ac_cv_func_connect = no
; then
7409 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7410 echo "configure:7411: checking for connect in -lsocket" >&5
7411 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7412 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7413 echo $ac_n "(cached) $ac_c" 1>&6
7415 ac_save_LIBS
="$LIBS"
7416 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7417 cat > conftest.
$ac_ext <<EOF
7418 #line 7419 "configure"
7419 #include "confdefs.h"
7420 /* Override any gcc2 internal prototype to avoid an error. */
7421 /* We use char because int might match the return type of a gcc2
7422 builtin and then its argument prototype would still apply. */
7429 if { (eval echo configure
:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7431 eval "ac_cv_lib_$ac_lib_var=yes"
7433 echo "configure: failed program was:" >&5
7434 cat conftest.
$ac_ext >&5
7436 eval "ac_cv_lib_$ac_lib_var=no"
7439 LIBS
="$ac_save_LIBS"
7442 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7443 echo "$ac_t""yes" 1>&6
7444 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7446 echo "$ac_t""no" 1>&6
7451 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7452 echo $ac_n "checking for remove""... $ac_c" 1>&6
7453 echo "configure:7454: checking for remove" >&5
7454 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7455 echo $ac_n "(cached) $ac_c" 1>&6
7457 cat > conftest.
$ac_ext <<EOF
7458 #line 7459 "configure"
7459 #include "confdefs.h"
7460 /* System header to define __stub macros and hopefully few prototypes,
7461 which can conflict with char remove(); below. */
7463 /* Override any gcc2 internal prototype to avoid an error. */
7464 /* We use char because int might match the return type of a gcc2
7465 builtin and then its argument prototype would still apply. */
7470 /* The GNU C library defines this for functions which it implements
7471 to always fail with ENOSYS. Some functions are actually named
7472 something starting with __ and the normal name is an alias. */
7473 #if defined (__stub_remove) || defined (__stub___remove)
7481 if { (eval echo configure
:7482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7483 eval "ac_cv_func_remove=yes"
7485 echo "configure: failed program was:" >&5
7486 cat conftest.
$ac_ext >&5
7488 eval "ac_cv_func_remove=no"
7493 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7494 echo "$ac_t""yes" 1>&6
7497 echo "$ac_t""no" 1>&6
7500 if test $ac_cv_func_remove = no
; then
7501 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7502 echo "configure:7503: checking for remove in -lposix" >&5
7503 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7505 echo $ac_n "(cached) $ac_c" 1>&6
7507 ac_save_LIBS
="$LIBS"
7508 LIBS
="-lposix $LIBS"
7509 cat > conftest.
$ac_ext <<EOF
7510 #line 7511 "configure"
7511 #include "confdefs.h"
7512 /* Override any gcc2 internal prototype to avoid an error. */
7513 /* We use char because int might match the return type of a gcc2
7514 builtin and then its argument prototype would still apply. */
7521 if { (eval echo configure
:7522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7523 eval "ac_cv_lib_$ac_lib_var=yes"
7525 echo "configure: failed program was:" >&5
7526 cat conftest.
$ac_ext >&5
7528 eval "ac_cv_lib_$ac_lib_var=no"
7531 LIBS
="$ac_save_LIBS"
7534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7535 echo "$ac_t""yes" 1>&6
7536 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7538 echo "$ac_t""no" 1>&6
7543 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7544 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7545 echo "configure:7546: checking for shmat" >&5
7546 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7547 echo $ac_n "(cached) $ac_c" 1>&6
7549 cat > conftest.
$ac_ext <<EOF
7550 #line 7551 "configure"
7551 #include "confdefs.h"
7552 /* System header to define __stub macros and hopefully few prototypes,
7553 which can conflict with char shmat(); below. */
7555 /* Override any gcc2 internal prototype to avoid an error. */
7556 /* We use char because int might match the return type of a gcc2
7557 builtin and then its argument prototype would still apply. */
7562 /* The GNU C library defines this for functions which it implements
7563 to always fail with ENOSYS. Some functions are actually named
7564 something starting with __ and the normal name is an alias. */
7565 #if defined (__stub_shmat) || defined (__stub___shmat)
7573 if { (eval echo configure
:7574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7575 eval "ac_cv_func_shmat=yes"
7577 echo "configure: failed program was:" >&5
7578 cat conftest.
$ac_ext >&5
7580 eval "ac_cv_func_shmat=no"
7585 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7586 echo "$ac_t""yes" 1>&6
7589 echo "$ac_t""no" 1>&6
7592 if test $ac_cv_func_shmat = no
; then
7593 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7594 echo "configure:7595: checking for shmat in -lipc" >&5
7595 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7596 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7597 echo $ac_n "(cached) $ac_c" 1>&6
7599 ac_save_LIBS
="$LIBS"
7601 cat > conftest.
$ac_ext <<EOF
7602 #line 7603 "configure"
7603 #include "confdefs.h"
7604 /* Override any gcc2 internal prototype to avoid an error. */
7605 /* We use char because int might match the return type of a gcc2
7606 builtin and then its argument prototype would still apply. */
7613 if { (eval echo configure
:7614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7615 eval "ac_cv_lib_$ac_lib_var=yes"
7617 echo "configure: failed program was:" >&5
7618 cat conftest.
$ac_ext >&5
7620 eval "ac_cv_lib_$ac_lib_var=no"
7623 LIBS
="$ac_save_LIBS"
7626 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7627 echo "$ac_t""yes" 1>&6
7628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7630 echo "$ac_t""no" 1>&6
7636 # Check for libraries that X11R6 Xt/Xaw programs need.
7637 ac_save_LDFLAGS
="$LDFLAGS"
7638 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7640 # check for ICE first), but we must link in the order -lSM -lICE or
7641 # we get undefined symbols. So assume we have SM if we have ICE.
7642 # These have to be linked with before -lX11, unlike the other
7643 # libraries we check for below, so use a different variable.
7644 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7645 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7646 echo "configure:7647: checking for IceConnectionNumber in -lICE" >&5
7647 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7649 echo $ac_n "(cached) $ac_c" 1>&6
7651 ac_save_LIBS
="$LIBS"
7653 cat > conftest.
$ac_ext <<EOF
7654 #line 7655 "configure"
7655 #include "confdefs.h"
7656 /* Override any gcc2 internal prototype to avoid an error. */
7657 /* We use char because int might match the return type of a gcc2
7658 builtin and then its argument prototype would still apply. */
7659 char IceConnectionNumber();
7662 IceConnectionNumber()
7665 if { (eval echo configure
:7666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7667 eval "ac_cv_lib_$ac_lib_var=yes"
7669 echo "configure: failed program was:" >&5
7670 cat conftest.
$ac_ext >&5
7672 eval "ac_cv_lib_$ac_lib_var=no"
7675 LIBS
="$ac_save_LIBS"
7678 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7679 echo "$ac_t""yes" 1>&6
7680 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7682 echo "$ac_t""no" 1>&6
7685 LDFLAGS
="$ac_save_LDFLAGS"
7690 if test "$no_x" = "yes"; then
7691 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7694 TOOLKIT_INCLUDE
="$X_CFLAGS"
7695 GUI_TK_LIBRARY
="$X_LIBS"
7697 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7698 echo "configure:7699: checking for Motif/Lesstif includes" >&5
7701 for ac_dir
in $SEARCH_INCLUDE;
7703 if test -f "$ac_dir/Xm/Xm.h"; then
7704 ac_find_includes
=$ac_dir
7709 if test "$ac_find_includes" != "" ; then
7710 echo "$ac_t""found $ac_find_includes" 1>&6
7712 echo "$ac_t""no" 1>&6
7713 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7716 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7717 echo "configure:7718: checking for Motif/Lesstif library" >&5
7720 for ac_dir
in $SEARCH_LIB;
7722 for ac_extension
in a so sl
; do
7723 if test -f "$ac_dir/libXm.$ac_extension"; then
7724 ac_find_libraries
=$ac_dir
7730 if test "$ac_find_libraries" != "" ; then
7732 ac_path_to_include
=$ac_find_includes
7733 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7735 if test $result = 0; then
7736 ac_path_to_include
=""
7738 ac_path_to_include
="-I$ac_find_includes"
7742 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7744 if test $result = 0; then
7747 ac_path_to_link
="-L$ac_find_libraries"
7751 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7752 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7753 echo "$ac_t""found at $ac_find_libraries" 1>&6
7755 echo "$ac_t""no" 1>&6
7756 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7759 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7760 echo "configure:7761: checking for Xt library" >&5
7763 for ac_dir
in $SEARCH_LIB;
7765 for ac_extension
in a so sl
; do
7766 if test -f "$ac_dir/libXt.$ac_extension"; then
7767 ac_find_libraries
=$ac_dir
7773 if test "$ac_find_libraries" != "" ; then
7775 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7777 if test $result = 0; then
7780 ac_path_to_link
="-L$ac_find_libraries"
7783 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7784 echo "$ac_t""found at $ac_find_libraries" 1>&6
7786 echo "$ac_t""no" 1>&6
7787 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7791 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7792 echo "configure:7793: checking for Xpm library" >&5
7795 for ac_dir
in $SEARCH_LIB;
7797 for ac_extension
in a so sl
; do
7798 if test -f "$ac_dir/libXpm.$ac_extension"; then
7799 ac_find_libraries
=$ac_dir
7805 if test "$ac_find_libraries" != "" ; then
7807 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7809 if test $result = 0; then
7812 ac_path_to_link
="-L$ac_find_libraries"
7815 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7817 cat >> confdefs.h
<<\EOF
7818 #define wxHAVE_LIB_XPM 1
7821 echo "$ac_t""found at $ac_find_libraries" 1>&6
7823 echo "$ac_t""no" 1>&6
7824 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7827 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -ldl -lm"
7828 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7831 GUIHEADERS
=MOTIF_HEADERS
7832 GUIOBJS
=MOTIF_GUIOBJS
7833 COMMONOBJS
=MOTIF_COMMONOBJS
7834 GENERICOBJS
=MOTIF_GENERICOBJS
7835 GUIDEPS
=MOTIF_GUIDEPS
7836 COMMONDEPS
=MOTIF_COMMONDEPS
7837 GENERICDEPS
=MOTIF_GENERICDEPS
7842 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7844 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7846 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7848 WX_LIBRARY_NAME
="libwx_${TOOLKIT_DIR}.la"
7850 WX_LIBRARY_NAME_STATIC
="libwx_${TOOLKIT_DIR}.a"
7852 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7854 WX_LIBRARY_LINK1
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
7855 WX_LIBRARY_LINK2
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
7856 WX_LIBRARY_LINK3
="libwx_${TOOLKIT_DIR}.so"
7862 if test "$wxUSE_SHARED" = "yes"; then
7863 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7867 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7868 SHARED_LD
="${CXX} -b -o"
7872 SHARED_LD
="${CC} -shared -o"
7874 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7875 WX_CREATE_LINKS
="CREATE_LINKS"
7877 *-*-irix5* | *-*-irix6* )
7878 if test "$GCC" = yes ; then
7879 SHARED_LD
="${CC} -shared -o"
7882 SHARED_LD
="${CXX} -shared -o"
7884 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7885 WX_CREATE_LINKS
="CREATE_LINKS"
7888 if test "$GCC" = yes ; then
7889 SHARED_LD
="${CC} -shared -o"
7892 SHARED_LD
="${CXX} -G -o"
7895 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7896 WX_CREATE_LINKS
="CREATE_LINKS"
7899 SHARED_LD
="${CC} -shared -o"
7901 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7902 WX_CREATE_LINKS
="CREATE_LINKS"
7904 *-*-freebsd* | *-*-netbsd*)
7905 SHARED_LD
="${CC} -shared -o"
7907 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7908 WX_CREATE_LINKS
="CREATE_LINKS"
7911 SHARED_LD
="${CXX} -shared -o"
7913 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7914 WX_CREATE_LINKS
="CREATE_LINKS"
7917 SHARED_LD
="${CXX} -shared -o"
7919 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7920 WX_CREATE_LINKS
="CREATE_LINKS"
7923 SHARED_LD
="${CC} -shared -o"
7925 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7926 WX_CREATE_LINKS
="CREATE_LINKS"
7929 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
7932 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7935 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7940 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
7944 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7948 for ac_hdr
in strings.h
7950 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7951 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7952 echo "configure:7953: checking for $ac_hdr" >&5
7953 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7954 echo $ac_n "(cached) $ac_c" 1>&6
7956 cat > conftest.
$ac_ext <<EOF
7957 #line 7958 "configure"
7958 #include "confdefs.h"
7961 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7962 { (eval echo configure
:7963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7963 ac_err
=`grep -v '^ *+' conftest.out`
7964 if test -z "$ac_err"; then
7966 eval "ac_cv_header_$ac_safe=yes"
7969 echo "configure: failed program was:" >&5
7970 cat conftest.
$ac_ext >&5
7972 eval "ac_cv_header_$ac_safe=no"
7976 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7977 echo "$ac_t""yes" 1>&6
7978 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7979 cat >> confdefs.h
<<EOF
7980 #define $ac_tr_hdr 1
7984 echo "$ac_t""no" 1>&6
7988 for ac_hdr
in unistd.h
7990 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7991 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7992 echo "configure:7993: checking for $ac_hdr" >&5
7993 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7994 echo $ac_n "(cached) $ac_c" 1>&6
7996 cat > conftest.
$ac_ext <<EOF
7997 #line 7998 "configure"
7998 #include "confdefs.h"
8001 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8002 { (eval echo configure
:8003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8003 ac_err
=`grep -v '^ *+' conftest.out`
8004 if test -z "$ac_err"; then
8006 eval "ac_cv_header_$ac_safe=yes"
8009 echo "configure: failed program was:" >&5
8010 cat conftest.
$ac_ext >&5
8012 eval "ac_cv_header_$ac_safe=no"
8016 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8017 echo "$ac_t""yes" 1>&6
8018 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8019 cat >> confdefs.h
<<EOF
8020 #define $ac_tr_hdr 1
8024 echo "$ac_t""no" 1>&6
8028 for ac_hdr
in wchar.h
8030 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8032 echo "configure:8033: checking for $ac_hdr" >&5
8033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8034 echo $ac_n "(cached) $ac_c" 1>&6
8036 cat > conftest.
$ac_ext <<EOF
8037 #line 8038 "configure"
8038 #include "confdefs.h"
8041 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8042 { (eval echo configure
:8043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8043 ac_err
=`grep -v '^ *+' conftest.out`
8044 if test -z "$ac_err"; then
8046 eval "ac_cv_header_$ac_safe=yes"
8049 echo "configure: failed program was:" >&5
8050 cat conftest.
$ac_ext >&5
8052 eval "ac_cv_header_$ac_safe=no"
8056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8057 echo "$ac_t""yes" 1>&6
8058 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8059 cat >> confdefs.h
<<EOF
8060 #define $ac_tr_hdr 1
8064 echo "$ac_t""no" 1>&6
8068 for ac_hdr
in wcstr.h
8070 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8072 echo "configure:8073: checking for $ac_hdr" >&5
8073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8074 echo $ac_n "(cached) $ac_c" 1>&6
8076 cat > conftest.
$ac_ext <<EOF
8077 #line 8078 "configure"
8078 #include "confdefs.h"
8081 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8082 { (eval echo configure
:8083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8083 ac_err
=`grep -v '^ *+' conftest.out`
8084 if test -z "$ac_err"; then
8086 eval "ac_cv_header_$ac_safe=yes"
8089 echo "configure: failed program was:" >&5
8090 cat conftest.
$ac_ext >&5
8092 eval "ac_cv_header_$ac_safe=no"
8096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8097 echo "$ac_t""yes" 1>&6
8098 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8099 cat >> confdefs.h
<<EOF
8100 #define $ac_tr_hdr 1
8104 echo "$ac_t""no" 1>&6
8108 for ac_hdr
in fnmatch.h
8110 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8112 echo "configure:8113: checking for $ac_hdr" >&5
8113 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8114 echo $ac_n "(cached) $ac_c" 1>&6
8116 cat > conftest.
$ac_ext <<EOF
8117 #line 8118 "configure"
8118 #include "confdefs.h"
8121 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8122 { (eval echo configure
:8123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8123 ac_err
=`grep -v '^ *+' conftest.out`
8124 if test -z "$ac_err"; then
8126 eval "ac_cv_header_$ac_safe=yes"
8129 echo "configure: failed program was:" >&5
8130 cat conftest.
$ac_ext >&5
8132 eval "ac_cv_header_$ac_safe=no"
8136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8137 echo "$ac_t""yes" 1>&6
8138 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8139 cat >> confdefs.h
<<EOF
8140 #define $ac_tr_hdr 1
8144 echo "$ac_t""no" 1>&6
8148 for ac_hdr
in X
11/XKBlib.h
8150 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8152 echo "configure:8153: checking for $ac_hdr" >&5
8153 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8154 echo $ac_n "(cached) $ac_c" 1>&6
8156 cat > conftest.
$ac_ext <<EOF
8157 #line 8158 "configure"
8158 #include "confdefs.h"
8161 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8162 { (eval echo configure
:8163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8163 ac_err
=`grep -v '^ *+' conftest.out`
8164 if test -z "$ac_err"; then
8166 eval "ac_cv_header_$ac_safe=yes"
8169 echo "configure: failed program was:" >&5
8170 cat conftest.
$ac_ext >&5
8172 eval "ac_cv_header_$ac_safe=no"
8176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8177 echo "$ac_t""yes" 1>&6
8178 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8179 cat >> confdefs.h
<<EOF
8180 #define $ac_tr_hdr 1
8184 echo "$ac_t""no" 1>&6
8190 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8191 echo "configure:8192: checking for ANSI C header files" >&5
8192 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8193 echo $ac_n "(cached) $ac_c" 1>&6
8195 cat > conftest.
$ac_ext <<EOF
8196 #line 8197 "configure"
8197 #include "confdefs.h"
8203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8204 { (eval echo configure
:8205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8205 ac_err
=`grep -v '^ *+' conftest.out`
8206 if test -z "$ac_err"; then
8208 ac_cv_header_stdc
=yes
8211 echo "configure: failed program was:" >&5
8212 cat conftest.
$ac_ext >&5
8214 ac_cv_header_stdc
=no
8218 if test $ac_cv_header_stdc = yes; then
8219 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8220 cat > conftest.
$ac_ext <<EOF
8221 #line 8222 "configure"
8222 #include "confdefs.h"
8225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8226 egrep "memchr" >/dev
/null
2>&1; then
8230 ac_cv_header_stdc
=no
8236 if test $ac_cv_header_stdc = yes; then
8237 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8238 cat > conftest.
$ac_ext <<EOF
8239 #line 8240 "configure"
8240 #include "confdefs.h"
8243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8244 egrep "free" >/dev
/null
2>&1; then
8248 ac_cv_header_stdc
=no
8254 if test $ac_cv_header_stdc = yes; then
8255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8256 if test "$cross_compiling" = yes; then
8259 cat > conftest.
$ac_ext <<EOF
8260 #line 8261 "configure"
8261 #include "confdefs.h"
8263 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8264 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8265 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8266 int main () { int i; for (i = 0; i < 256; i++)
8267 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8271 if { (eval echo configure
:8272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8275 echo "configure: failed program was:" >&5
8276 cat conftest.
$ac_ext >&5
8278 ac_cv_header_stdc
=no
8286 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8287 if test $ac_cv_header_stdc = yes; then
8288 cat >> confdefs.h
<<\EOF
8289 #define STDC_HEADERS 1
8294 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8295 echo "configure:8296: checking for mode_t" >&5
8296 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8299 cat > conftest.
$ac_ext <<EOF
8300 #line 8301 "configure"
8301 #include "confdefs.h"
8302 #include <sys/types.h>
8308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8309 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8311 ac_cv_type_mode_t
=yes
8314 ac_cv_type_mode_t
=no
8319 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8320 if test $ac_cv_type_mode_t = no
; then
8321 cat >> confdefs.h
<<\EOF
8327 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8328 echo "configure:8329: checking for off_t" >&5
8329 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8330 echo $ac_n "(cached) $ac_c" 1>&6
8332 cat > conftest.
$ac_ext <<EOF
8333 #line 8334 "configure"
8334 #include "confdefs.h"
8335 #include <sys/types.h>
8341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8342 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8344 ac_cv_type_off_t
=yes
8352 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8353 if test $ac_cv_type_off_t = no
; then
8354 cat >> confdefs.h
<<\EOF
8360 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8361 echo "configure:8362: checking for pid_t" >&5
8362 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8363 echo $ac_n "(cached) $ac_c" 1>&6
8365 cat > conftest.
$ac_ext <<EOF
8366 #line 8367 "configure"
8367 #include "confdefs.h"
8368 #include <sys/types.h>
8374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8375 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8377 ac_cv_type_pid_t
=yes
8385 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8386 if test $ac_cv_type_pid_t = no
; then
8387 cat >> confdefs.h
<<\EOF
8393 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8394 echo "configure:8395: checking for size_t" >&5
8395 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8396 echo $ac_n "(cached) $ac_c" 1>&6
8398 cat > conftest.
$ac_ext <<EOF
8399 #line 8400 "configure"
8400 #include "confdefs.h"
8401 #include <sys/types.h>
8407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8408 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8410 ac_cv_type_size_t
=yes
8413 ac_cv_type_size_t
=no
8418 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8419 if test $ac_cv_type_size_t = no
; then
8420 cat >> confdefs.h
<<\EOF
8421 #define size_t unsigned
8426 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8427 echo "configure:8428: checking for uid_t in sys/types.h" >&5
8428 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8429 echo $ac_n "(cached) $ac_c" 1>&6
8431 cat > conftest.
$ac_ext <<EOF
8432 #line 8433 "configure"
8433 #include "confdefs.h"
8434 #include <sys/types.h>
8436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8437 egrep "uid_t" >/dev
/null
2>&1; then
8439 ac_cv_type_uid_t
=yes
8448 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8449 if test $ac_cv_type_uid_t = no
; then
8450 cat >> confdefs.h
<<\EOF
8454 cat >> confdefs.h
<<\EOF
8463 echo $ac_n "checking for working const""... $ac_c" 1>&6
8464 echo "configure:8465: checking for working const" >&5
8465 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8466 echo $ac_n "(cached) $ac_c" 1>&6
8468 cat > conftest.
$ac_ext <<EOF
8469 #line 8470 "configure"
8470 #include "confdefs.h"
8474 /* Ultrix mips cc rejects this. */
8475 typedef int charset[2]; const charset x;
8476 /* SunOS 4.1.1 cc rejects this. */
8477 char const *const *ccp;
8479 /* NEC SVR4.0.2 mips cc rejects this. */
8480 struct point {int x, y;};
8481 static struct point const zero = {0,0};
8482 /* AIX XL C 1.02.0.0 rejects this.
8483 It does not let you subtract one const X* pointer from another in an arm
8484 of an if-expression whose if-part is not a constant expression */
8485 const char *g = "string";
8486 ccp = &g + (g ? g-g : 0);
8487 /* HPUX 7.0 cc rejects these. */
8490 ccp = (char const *const *) p;
8491 { /* SCO 3.2v4 cc rejects this. */
8493 char const *s = 0 ? (char *) 0 : (char const *) 0;
8497 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8499 const int *foo = &x[0];
8502 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8503 typedef const int *iptr;
8507 { /* AIX XL C 1.02.0.0 rejects this saying
8508 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8509 struct s { int j; const int *ap[3]; };
8510 struct s *b; b->j = 5;
8512 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8518 if { (eval echo configure
:8519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8522 echo "configure: failed program was:" >&5
8523 cat conftest.
$ac_ext >&5
8530 echo "$ac_t""$ac_cv_c_const" 1>&6
8531 if test $ac_cv_c_const = no
; then
8532 cat >> confdefs.h
<<\EOF
8538 echo $ac_n "checking for inline""... $ac_c" 1>&6
8539 echo "configure:8540: checking for inline" >&5
8540 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8541 echo $ac_n "(cached) $ac_c" 1>&6
8544 for ac_kw
in inline __inline__ __inline
; do
8545 cat > conftest.
$ac_ext <<EOF
8546 #line 8547 "configure"
8547 #include "confdefs.h"
8553 if { (eval echo configure
:8554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8555 ac_cv_c_inline
=$ac_kw; break
8557 echo "configure: failed program was:" >&5
8558 cat conftest.
$ac_ext >&5
8565 echo "$ac_t""$ac_cv_c_inline" 1>&6
8566 case "$ac_cv_c_inline" in
8568 no
) cat >> confdefs.h
<<\EOF
8572 *) cat >> confdefs.h
<<EOF
8573 #define inline $ac_cv_c_inline
8579 echo $ac_n "checking size of char""... $ac_c" 1>&6
8580 echo "configure:8581: checking size of char" >&5
8581 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8582 echo $ac_n "(cached) $ac_c" 1>&6
8584 if test "$cross_compiling" = yes; then
8587 cat > conftest.
$ac_ext <<EOF
8588 #line 8589 "configure"
8589 #include "confdefs.h"
8593 FILE *f=fopen("conftestval", "w");
8595 fprintf(f, "%d\n", sizeof(char));
8599 if { (eval echo configure
:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8601 ac_cv_sizeof_char
=`cat conftestval`
8603 echo "configure: failed program was:" >&5
8604 cat conftest.
$ac_ext >&5
8612 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8613 cat >> confdefs.h
<<EOF
8614 #define SIZEOF_CHAR $ac_cv_sizeof_char
8618 echo $ac_n "checking size of short""... $ac_c" 1>&6
8619 echo "configure:8620: checking size of short" >&5
8620 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8621 echo $ac_n "(cached) $ac_c" 1>&6
8623 if test "$cross_compiling" = yes; then
8624 ac_cv_sizeof_short
=2
8626 cat > conftest.
$ac_ext <<EOF
8627 #line 8628 "configure"
8628 #include "confdefs.h"
8632 FILE *f=fopen("conftestval", "w");
8634 fprintf(f, "%d\n", sizeof(short));
8638 if { (eval echo configure
:8639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8640 ac_cv_sizeof_short
=`cat conftestval`
8642 echo "configure: failed program was:" >&5
8643 cat conftest.
$ac_ext >&5
8645 ac_cv_sizeof_short
=0
8651 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8652 cat >> confdefs.h
<<EOF
8653 #define SIZEOF_SHORT $ac_cv_sizeof_short
8657 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8658 echo "configure:8659: checking size of int *" >&5
8659 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8660 echo $ac_n "(cached) $ac_c" 1>&6
8662 if test "$cross_compiling" = yes; then
8663 ac_cv_sizeof_int_p
=4
8665 cat > conftest.
$ac_ext <<EOF
8666 #line 8667 "configure"
8667 #include "confdefs.h"
8671 FILE *f=fopen("conftestval", "w");
8673 fprintf(f, "%d\n", sizeof(int *));
8677 if { (eval echo configure
:8678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8679 ac_cv_sizeof_int_p
=`cat conftestval`
8681 echo "configure: failed program was:" >&5
8682 cat conftest.
$ac_ext >&5
8684 ac_cv_sizeof_int_p
=0
8690 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8691 cat >> confdefs.h
<<EOF
8692 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8696 echo $ac_n "checking size of int""... $ac_c" 1>&6
8697 echo "configure:8698: checking size of int" >&5
8698 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8699 echo $ac_n "(cached) $ac_c" 1>&6
8701 if test "$cross_compiling" = yes; then
8704 cat > conftest.
$ac_ext <<EOF
8705 #line 8706 "configure"
8706 #include "confdefs.h"
8710 FILE *f=fopen("conftestval", "w");
8712 fprintf(f, "%d\n", sizeof(int));
8716 if { (eval echo configure
:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8718 ac_cv_sizeof_int
=`cat conftestval`
8720 echo "configure: failed program was:" >&5
8721 cat conftest.
$ac_ext >&5
8729 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8730 cat >> confdefs.h
<<EOF
8731 #define SIZEOF_INT $ac_cv_sizeof_int
8735 echo $ac_n "checking size of long""... $ac_c" 1>&6
8736 echo "configure:8737: checking size of long" >&5
8737 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8740 if test "$cross_compiling" = yes; then
8743 cat > conftest.
$ac_ext <<EOF
8744 #line 8745 "configure"
8745 #include "confdefs.h"
8749 FILE *f=fopen("conftestval", "w");
8751 fprintf(f, "%d\n", sizeof(long));
8755 if { (eval echo configure
:8756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8757 ac_cv_sizeof_long
=`cat conftestval`
8759 echo "configure: failed program was:" >&5
8760 cat conftest.
$ac_ext >&5
8768 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8769 cat >> confdefs.h
<<EOF
8770 #define SIZEOF_LONG $ac_cv_sizeof_long
8774 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8775 echo "configure:8776: checking size of long long" >&5
8776 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8777 echo $ac_n "(cached) $ac_c" 1>&6
8779 if test "$cross_compiling" = yes; then
8780 ac_cv_sizeof_long_long
=0
8782 cat > conftest.
$ac_ext <<EOF
8783 #line 8784 "configure"
8784 #include "confdefs.h"
8788 FILE *f=fopen("conftestval", "w");
8790 fprintf(f, "%d\n", sizeof(long long));
8794 if { (eval echo configure
:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8796 ac_cv_sizeof_long_long
=`cat conftestval`
8798 echo "configure: failed program was:" >&5
8799 cat conftest.
$ac_ext >&5
8801 ac_cv_sizeof_long_long
=0
8807 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8808 cat >> confdefs.h
<<EOF
8809 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8814 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8815 echo "configure:8816: checking whether byte ordering is bigendian" >&5
8816 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8817 echo $ac_n "(cached) $ac_c" 1>&6
8819 ac_cv_c_bigendian
=unknown
8820 # See if sys/param.h defines the BYTE_ORDER macro.
8821 cat > conftest.
$ac_ext <<EOF
8822 #line 8823 "configure"
8823 #include "confdefs.h"
8824 #include <sys/types.h>
8825 #include <sys/param.h>
8828 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8833 if { (eval echo configure
:8834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8835 # It does; now see whether it defined to BIG_ENDIAN or not.
8836 cat > conftest.
$ac_ext <<EOF
8837 #line 8838 "configure"
8838 #include "confdefs.h"
8839 #include <sys/types.h>
8840 #include <sys/param.h>
8843 #if BYTE_ORDER != BIG_ENDIAN
8848 if { (eval echo configure
:8849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8850 ac_cv_c_bigendian
=yes
8852 echo "configure: failed program was:" >&5
8853 cat conftest.
$ac_ext >&5
8855 ac_cv_c_bigendian
=no
8859 echo "configure: failed program was:" >&5
8860 cat conftest.
$ac_ext >&5
8863 if test $ac_cv_c_bigendian = unknown
; then
8864 if test "$cross_compiling" = yes; then
8865 ac_cv_c_bigendian
=unknown
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8871 /* Are we little or big endian? From Harbison&Steele. */
8875 char c[sizeof (long)];
8878 exit (u.c[sizeof (long) - 1] == 1);
8881 if { (eval echo configure
:8882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8883 ac_cv_c_bigendian
=no
8885 echo "configure: failed program was:" >&5
8886 cat conftest.
$ac_ext >&5
8888 ac_cv_c_bigendian
=yes
8896 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
8897 if test $ac_cv_c_bigendian = unknown
; then
8898 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
8900 if test $ac_cv_c_bigendian = yes; then
8901 cat >> confdefs.h
<<\EOF
8902 #define WORDS_BIGENDIAN 1
8909 if test "$cross_compiling" = "yes"; then
8910 cat >> confdefs.h
<<\EOF
8911 #define wxUSE_IOSTREAMH 1
8917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8918 ac_cpp
='$CXXCPP $CPPFLAGS'
8919 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8920 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8921 cross_compiling
=$ac_cv_prog_cxx_cross
8924 for ac_hdr
in iostream
8926 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8927 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8928 echo "configure:8929: checking for $ac_hdr" >&5
8929 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8930 echo $ac_n "(cached) $ac_c" 1>&6
8932 cat > conftest.
$ac_ext <<EOF
8933 #line 8934 "configure"
8934 #include "confdefs.h"
8937 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8938 { (eval echo configure
:8939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8939 ac_err
=`grep -v '^ *+' conftest.out`
8940 if test -z "$ac_err"; then
8942 eval "ac_cv_header_$ac_safe=yes"
8945 echo "configure: failed program was:" >&5
8946 cat conftest.
$ac_ext >&5
8948 eval "ac_cv_header_$ac_safe=no"
8952 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8953 echo "$ac_t""yes" 1>&6
8954 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8955 cat >> confdefs.h
<<EOF
8956 #define $ac_tr_hdr 1
8960 echo "$ac_t""no" 1>&6
8965 if test "x$HAVE_IOSTREAM" = x
; then
8966 cat >> confdefs.h
<<\EOF
8967 #define wxUSE_IOSTREAMH 1
8975 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8976 ac_cpp
='$CPP $CPPFLAGS'
8977 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8978 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8979 cross_compiling
=$ac_cv_prog_cc_cross
8985 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
8986 echo "configure:8987: checking if C++ compiler supports bool" >&5
8987 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8994 ac_cpp
='$CXXCPP $CPPFLAGS'
8995 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8996 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8997 cross_compiling
=$ac_cv_prog_cxx_cross
9000 cat > conftest.
$ac_ext <<EOF
9001 #line 9002 "configure"
9002 #include "confdefs.h"
9013 if { (eval echo configure
:9014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9016 cat >> confdefs.h
<<\EOF
9023 echo "configure: failed program was:" >&5
9024 cat conftest.
$ac_ext >&5
9034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9035 ac_cpp
='$CPP $CPPFLAGS'
9036 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9037 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9038 cross_compiling
=$ac_cv_prog_cc_cross
9043 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9045 if test "$wx_cv_cpp_bool" = "yes"; then
9046 cat >> confdefs.h
<<\EOF
9054 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9055 echo "configure:9056: checking if size_t and int are different types" >&5
9056 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9057 echo $ac_n "(cached) $ac_c" 1>&6
9062 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9063 ac_cpp
='$CXXCPP $CPPFLAGS'
9064 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9065 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9066 cross_compiling
=$ac_cv_prog_cxx_cross
9069 if test "$cross_compiling" = yes; then
9070 wx_cv_cpp_sizet_not_int
=no
9073 cat > conftest.
$ac_ext <<EOF
9074 #line 9075 "configure"
9075 #include "confdefs.h"
9077 extern "C" void exit(int);
9085 S(char *s) { m_s = s; }
9087 char operator[](size_t n) const { return m_s[n]; }
9088 char operator[](int n) const { return m_s[n]; }
9100 return s[n1] == s[n2];
9104 if { (eval echo configure
:9105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9106 cat >> confdefs.h
<<\EOF
9107 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9109 wx_cv_cpp_sizet_not_int
=yes
9111 echo "configure: failed program was:" >&5
9112 cat conftest.
$ac_ext >&5
9114 wx_cv_cpp_sizet_not_int
=no
9121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9122 ac_cpp
='$CPP $CPPFLAGS'
9123 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9124 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9125 cross_compiling
=$ac_cv_prog_cc_cross
9130 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9134 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9135 echo "configure:9136: checking if you need GNU extensions" >&5
9136 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9137 echo $ac_n "(cached) $ac_c" 1>&6
9140 cat > conftest.
$ac_ext <<EOF
9141 #line 9142 "configure"
9142 #include "confdefs.h"
9143 #include <features.h>
9147 #ifndef __GNU_LIBRARY__
9148 Compile error wanted
9154 if { (eval echo configure
:9155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9156 wx_cv_gnu_extensions
=yes
9158 echo "configure: failed program was:" >&5
9159 cat conftest.
$ac_ext >&5
9161 wx_cv_gnu_extensions
=no
9168 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9169 if test "$wx_cv_gnu_extensions" = "yes"; then
9170 cat >> confdefs.h
<<EOF
9171 #define _GNU_SOURCE 1
9178 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9179 echo "configure:9180: checking for wcslen in -lc" >&5
9180 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9182 echo $ac_n "(cached) $ac_c" 1>&6
9184 ac_save_LIBS
="$LIBS"
9186 cat > conftest.
$ac_ext <<EOF
9187 #line 9188 "configure"
9188 #include "confdefs.h"
9189 /* Override any gcc2 internal prototype to avoid an error. */
9190 /* We use char because int might match the return type of a gcc2
9191 builtin and then its argument prototype would still apply. */
9198 if { (eval echo configure
:9199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9200 eval "ac_cv_lib_$ac_lib_var=yes"
9202 echo "configure: failed program was:" >&5
9203 cat conftest.
$ac_ext >&5
9205 eval "ac_cv_lib_$ac_lib_var=no"
9208 LIBS
="$ac_save_LIBS"
9211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9212 echo "$ac_t""yes" 1>&6
9214 cat >> confdefs.h
<<\EOF
9215 #define HAVE_WCSLEN 1
9221 echo "$ac_t""no" 1>&6
9223 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9224 echo "configure:9225: checking for wcslen in -lw" >&5
9225 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9226 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9227 echo $ac_n "(cached) $ac_c" 1>&6
9229 ac_save_LIBS
="$LIBS"
9231 cat > conftest.
$ac_ext <<EOF
9232 #line 9233 "configure"
9233 #include "confdefs.h"
9234 /* Override any gcc2 internal prototype to avoid an error. */
9235 /* We use char because int might match the return type of a gcc2
9236 builtin and then its argument prototype would still apply. */
9243 if { (eval echo configure
:9244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9245 eval "ac_cv_lib_$ac_lib_var=yes"
9247 echo "configure: failed program was:" >&5
9248 cat conftest.
$ac_ext >&5
9250 eval "ac_cv_lib_$ac_lib_var=no"
9253 LIBS
="$ac_save_LIBS"
9256 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9257 echo "$ac_t""yes" 1>&6
9259 cat >> confdefs.h
<<\EOF
9260 #define HAVE_WCSLEN 1
9266 echo "$ac_t""no" 1>&6
9273 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9274 echo "configure:9275: checking for vprintf" >&5
9275 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9276 echo $ac_n "(cached) $ac_c" 1>&6
9278 cat > conftest.
$ac_ext <<EOF
9279 #line 9280 "configure"
9280 #include "confdefs.h"
9281 /* System header to define __stub macros and hopefully few prototypes,
9282 which can conflict with char vprintf(); below. */
9284 /* Override any gcc2 internal prototype to avoid an error. */
9285 /* We use char because int might match the return type of a gcc2
9286 builtin and then its argument prototype would still apply. */
9291 /* The GNU C library defines this for functions which it implements
9292 to always fail with ENOSYS. Some functions are actually named
9293 something starting with __ and the normal name is an alias. */
9294 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9302 if { (eval echo configure
:9303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9304 eval "ac_cv_func_vprintf=yes"
9306 echo "configure: failed program was:" >&5
9307 cat conftest.
$ac_ext >&5
9309 eval "ac_cv_func_vprintf=no"
9314 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9315 echo "$ac_t""yes" 1>&6
9316 cat >> confdefs.h
<<\EOF
9317 #define HAVE_VPRINTF 1
9321 echo "$ac_t""no" 1>&6
9324 if test "$ac_cv_func_vprintf" != yes; then
9325 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9326 echo "configure:9327: checking for _doprnt" >&5
9327 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9328 echo $ac_n "(cached) $ac_c" 1>&6
9330 cat > conftest.
$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9333 /* System header to define __stub macros and hopefully few prototypes,
9334 which can conflict with char _doprnt(); below. */
9336 /* Override any gcc2 internal prototype to avoid an error. */
9337 /* We use char because int might match the return type of a gcc2
9338 builtin and then its argument prototype would still apply. */
9343 /* The GNU C library defines this for functions which it implements
9344 to always fail with ENOSYS. Some functions are actually named
9345 something starting with __ and the normal name is an alias. */
9346 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9354 if { (eval echo configure
:9355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9356 eval "ac_cv_func__doprnt=yes"
9358 echo "configure: failed program was:" >&5
9359 cat conftest.
$ac_ext >&5
9361 eval "ac_cv_func__doprnt=no"
9366 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9367 echo "$ac_t""yes" 1>&6
9368 cat >> confdefs.h
<<\EOF
9369 #define HAVE_DOPRNT 1
9373 echo "$ac_t""no" 1>&6
9379 for ac_func
in vsnprintf
9381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9382 echo "configure:9383: checking for $ac_func" >&5
9383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9384 echo $ac_n "(cached) $ac_c" 1>&6
9386 cat > conftest.
$ac_ext <<EOF
9387 #line 9388 "configure"
9388 #include "confdefs.h"
9389 /* System header to define __stub macros and hopefully few prototypes,
9390 which can conflict with char $ac_func(); below. */
9392 /* Override any gcc2 internal prototype to avoid an error. */
9393 /* We use char because int might match the return type of a gcc2
9394 builtin and then its argument prototype would still apply. */
9399 /* The GNU C library defines this for functions which it implements
9400 to always fail with ENOSYS. Some functions are actually named
9401 something starting with __ and the normal name is an alias. */
9402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9410 if { (eval echo configure
:9411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9412 eval "ac_cv_func_$ac_func=yes"
9414 echo "configure: failed program was:" >&5
9415 cat conftest.
$ac_ext >&5
9417 eval "ac_cv_func_$ac_func=no"
9422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9423 echo "$ac_t""yes" 1>&6
9424 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9425 cat >> confdefs.h
<<EOF
9426 #define $ac_tr_func 1
9428 cat >> confdefs.h
<<\EOF
9429 #define HAVE_VSNPRINTF 1
9433 echo "$ac_t""no" 1>&6
9434 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9443 ac_cpp
='$CXXCPP $CPPFLAGS'
9444 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9445 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9446 cross_compiling
=$ac_cv_prog_cxx_cross
9449 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9450 echo "configure:9451: checking for vsscanf" >&5
9451 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9452 echo $ac_n "(cached) $ac_c" 1>&6
9455 if test "$cross_compiling" = yes; then
9456 wx_cv_func_vsscanf
=no
9459 cat > conftest.
$ac_ext <<EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9463 extern "C" void exit(int);
9469 int try_vsscanf(const char *format, ...)
9472 va_start(ap, format);
9474 vsscanf("17", format, ap);
9482 try_vsscanf("%d", &i);
9483 return i == 17 ? 0 : 1;
9487 if { (eval echo configure
:9488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9490 cat >> confdefs.h
<<\EOF
9491 #define HAVE_VSSCANF 1
9494 wx_cv_func_vsscanf
=yes
9497 echo "configure: failed program was:" >&5
9498 cat conftest.
$ac_ext >&5
9500 wx_cv_func_vsscanf
=no
9508 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9512 ac_cpp
='$CPP $CPPFLAGS'
9513 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9514 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9515 cross_compiling
=$ac_cv_prog_cc_cross
9518 for ac_func
in vfork
9520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9521 echo "configure:9522: checking for $ac_func" >&5
9522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9523 echo $ac_n "(cached) $ac_c" 1>&6
9525 cat > conftest.
$ac_ext <<EOF
9526 #line 9527 "configure"
9527 #include "confdefs.h"
9528 /* System header to define __stub macros and hopefully few prototypes,
9529 which can conflict with char $ac_func(); below. */
9531 /* Override any gcc2 internal prototype to avoid an error. */
9532 /* We use char because int might match the return type of a gcc2
9533 builtin and then its argument prototype would still apply. */
9538 /* The GNU C library defines this for functions which it implements
9539 to always fail with ENOSYS. Some functions are actually named
9540 something starting with __ and the normal name is an alias. */
9541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9549 if { (eval echo configure
:9550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9551 eval "ac_cv_func_$ac_func=yes"
9553 echo "configure: failed program was:" >&5
9554 cat conftest.
$ac_ext >&5
9556 eval "ac_cv_func_$ac_func=no"
9561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9562 echo "$ac_t""yes" 1>&6
9563 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9564 cat >> confdefs.h
<<EOF
9565 #define $ac_tr_func 1
9569 echo "$ac_t""no" 1>&6
9575 for ac_func
in nanosleep
9577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9578 echo "configure:9579: checking for $ac_func" >&5
9579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9580 echo $ac_n "(cached) $ac_c" 1>&6
9582 cat > conftest.
$ac_ext <<EOF
9583 #line 9584 "configure"
9584 #include "confdefs.h"
9585 /* System header to define __stub macros and hopefully few prototypes,
9586 which can conflict with char $ac_func(); below. */
9588 /* Override any gcc2 internal prototype to avoid an error. */
9589 /* We use char because int might match the return type of a gcc2
9590 builtin and then its argument prototype would still apply. */
9595 /* The GNU C library defines this for functions which it implements
9596 to always fail with ENOSYS. Some functions are actually named
9597 something starting with __ and the normal name is an alias. */
9598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9606 if { (eval echo configure
:9607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9608 eval "ac_cv_func_$ac_func=yes"
9610 echo "configure: failed program was:" >&5
9611 cat conftest.
$ac_ext >&5
9613 eval "ac_cv_func_$ac_func=no"
9618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9619 echo "$ac_t""yes" 1>&6
9620 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9621 cat >> confdefs.h
<<EOF
9622 #define $ac_tr_func 1
9624 cat >> confdefs.h
<<\EOF
9625 #define HAVE_NANOSLEEP 1
9629 echo "$ac_t""no" 1>&6
9630 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9631 echo "configure:9632: checking for nanosleep in -lposix4" >&5
9632 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9634 echo $ac_n "(cached) $ac_c" 1>&6
9636 ac_save_LIBS
="$LIBS"
9637 LIBS
="-lposix4 $LIBS"
9638 cat > conftest.
$ac_ext <<EOF
9639 #line 9640 "configure"
9640 #include "confdefs.h"
9641 /* Override any gcc2 internal prototype to avoid an error. */
9642 /* We use char because int might match the return type of a gcc2
9643 builtin and then its argument prototype would still apply. */
9650 if { (eval echo configure
:9651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9652 eval "ac_cv_lib_$ac_lib_var=yes"
9654 echo "configure: failed program was:" >&5
9655 cat conftest.
$ac_ext >&5
9657 eval "ac_cv_lib_$ac_lib_var=no"
9660 LIBS
="$ac_save_LIBS"
9663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9664 echo "$ac_t""yes" 1>&6
9666 cat >> confdefs.h
<<\EOF
9667 #define HAVE_NANOSLEEP 1
9670 POSIX4_LINK
="-lposix4"
9673 echo "$ac_t""no" 1>&6
9675 for ac_func
in usleep
9677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9678 echo "configure:9679: checking for $ac_func" >&5
9679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9680 echo $ac_n "(cached) $ac_c" 1>&6
9682 cat > conftest.
$ac_ext <<EOF
9683 #line 9684 "configure"
9684 #include "confdefs.h"
9685 /* System header to define __stub macros and hopefully few prototypes,
9686 which can conflict with char $ac_func(); below. */
9688 /* Override any gcc2 internal prototype to avoid an error. */
9689 /* We use char because int might match the return type of a gcc2
9690 builtin and then its argument prototype would still apply. */
9695 /* The GNU C library defines this for functions which it implements
9696 to always fail with ENOSYS. Some functions are actually named
9697 something starting with __ and the normal name is an alias. */
9698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9706 if { (eval echo configure
:9707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9708 eval "ac_cv_func_$ac_func=yes"
9710 echo "configure: failed program was:" >&5
9711 cat conftest.
$ac_ext >&5
9713 eval "ac_cv_func_$ac_func=no"
9718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9719 echo "$ac_t""yes" 1>&6
9720 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9721 cat >> confdefs.h
<<EOF
9722 #define $ac_tr_func 1
9724 cat >> confdefs.h
<<\EOF
9725 #define HAVE_USLEEP 1
9729 echo "$ac_t""no" 1>&6
9730 echo "configure: warning: wxSleep() function will not work" 1>&2
9742 for ac_func
in uname gethostname
9744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9745 echo "configure:9746: checking for $ac_func" >&5
9746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9747 echo $ac_n "(cached) $ac_c" 1>&6
9749 cat > conftest.
$ac_ext <<EOF
9750 #line 9751 "configure"
9751 #include "confdefs.h"
9752 /* System header to define __stub macros and hopefully few prototypes,
9753 which can conflict with char $ac_func(); below. */
9755 /* Override any gcc2 internal prototype to avoid an error. */
9756 /* We use char because int might match the return type of a gcc2
9757 builtin and then its argument prototype would still apply. */
9762 /* The GNU C library defines this for functions which it implements
9763 to always fail with ENOSYS. Some functions are actually named
9764 something starting with __ and the normal name is an alias. */
9765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9773 if { (eval echo configure
:9774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9775 eval "ac_cv_func_$ac_func=yes"
9777 echo "configure: failed program was:" >&5
9778 cat conftest.
$ac_ext >&5
9780 eval "ac_cv_func_$ac_func=no"
9785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9786 echo "$ac_t""yes" 1>&6
9787 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9788 cat >> confdefs.h
<<EOF
9789 #define $ac_tr_func 1
9793 echo "$ac_t""no" 1>&6
9798 for ac_func
in inet_addr
9800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9801 echo "configure:9802: checking for $ac_func" >&5
9802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9805 cat > conftest.
$ac_ext <<EOF
9806 #line 9807 "configure"
9807 #include "confdefs.h"
9808 /* System header to define __stub macros and hopefully few prototypes,
9809 which can conflict with char $ac_func(); below. */
9811 /* Override any gcc2 internal prototype to avoid an error. */
9812 /* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
9818 /* The GNU C library defines this for functions which it implements
9819 to always fail with ENOSYS. Some functions are actually named
9820 something starting with __ and the normal name is an alias. */
9821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9829 if { (eval echo configure
:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9831 eval "ac_cv_func_$ac_func=yes"
9833 echo "configure: failed program was:" >&5
9834 cat conftest.
$ac_ext >&5
9836 eval "ac_cv_func_$ac_func=no"
9841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9842 echo "$ac_t""yes" 1>&6
9843 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9844 cat >> confdefs.h
<<EOF
9845 #define $ac_tr_func 1
9849 echo "$ac_t""no" 1>&6
9853 for ac_func
in inet_aton
9855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9856 echo "configure:9857: checking for $ac_func" >&5
9857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9858 echo $ac_n "(cached) $ac_c" 1>&6
9860 cat > conftest.
$ac_ext <<EOF
9861 #line 9862 "configure"
9862 #include "confdefs.h"
9863 /* System header to define __stub macros and hopefully few prototypes,
9864 which can conflict with char $ac_func(); below. */
9866 /* Override any gcc2 internal prototype to avoid an error. */
9867 /* We use char because int might match the return type of a gcc2
9868 builtin and then its argument prototype would still apply. */
9873 /* The GNU C library defines this for functions which it implements
9874 to always fail with ENOSYS. Some functions are actually named
9875 something starting with __ and the normal name is an alias. */
9876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9884 if { (eval echo configure
:9885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9886 eval "ac_cv_func_$ac_func=yes"
9888 echo "configure: failed program was:" >&5
9889 cat conftest.
$ac_ext >&5
9891 eval "ac_cv_func_$ac_func=no"
9896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9897 echo "$ac_t""yes" 1>&6
9898 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9899 cat >> confdefs.h
<<EOF
9900 #define $ac_tr_func 1
9904 echo "$ac_t""no" 1>&6
9908 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
9909 echo "configure:9910: checking for inet_aton in -lresolv" >&5
9910 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
9911 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9912 echo $ac_n "(cached) $ac_c" 1>&6
9914 ac_save_LIBS
="$LIBS"
9915 LIBS
="-lresolv $LIBS"
9916 cat > conftest.
$ac_ext <<EOF
9917 #line 9918 "configure"
9918 #include "confdefs.h"
9919 /* Override any gcc2 internal prototype to avoid an error. */
9920 /* We use char because int might match the return type of a gcc2
9921 builtin and then its argument prototype would still apply. */
9928 if { (eval echo configure
:9929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9930 eval "ac_cv_lib_$ac_lib_var=yes"
9932 echo "configure: failed program was:" >&5
9933 cat conftest.
$ac_ext >&5
9935 eval "ac_cv_lib_$ac_lib_var=no"
9938 LIBS
="$ac_save_LIBS"
9941 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9942 echo "$ac_t""yes" 1>&6
9943 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9944 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9945 cat >> confdefs.h
<<EOF
9946 #define $ac_tr_lib 1
9949 LIBS
="-lresolv $LIBS"
9952 echo "$ac_t""no" 1>&6
9957 cat > confcache
<<\EOF
9958 # This file is a shell script that caches the results of configure
9959 # tests run on this system so they can be shared between configure
9960 # scripts and configure runs. It is not useful on other systems.
9961 # If it contains results you don't want to keep, you may remove or edit it.
9963 # By default, configure uses ./config.cache as the cache file,
9964 # creating it if it does not exist already. You can give configure
9965 # the --cache-file=FILE option to use a different cache file; that is
9966 # what configure does when it calls configure scripts in
9967 # subdirectories, so they share the cache.
9968 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9969 # config.status only pays attention to the cache file if you give it the
9970 # --recheck option to rerun configure.
9973 # The following way of writing the cache mishandles newlines in values,
9974 # but we know of no workaround that is simple, portable, and efficient.
9975 # So, don't put newlines in cache variables' values.
9976 # Ultrix sh set writes to stderr and can't be redirected directly,
9977 # and sets the high bit in the cache file unless we assign to the vars.
9979 case `(ac_space=' '; set) 2>&1` in
9981 # `set' does not quote correctly, so add quotes (double-quote substitution
9982 # turns \\\\ into \\, and sed turns \\ into \).
9984 -e "s/'/'\\\\''/g" \
9985 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9988 # `set' quotes correctly as required by POSIX, so do not add quotes.
9989 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9992 if cmp -s $cache_file confcache
; then
9995 if test -w $cache_file; then
9996 echo "updating cache $cache_file"
9997 cat confcache
> $cache_file
9999 echo "not updating unwritable cache $cache_file"
10006 if test "$USE_UNIX" = 1; then
10012 if test "$wxUSE_THREADS" = "yes" ; then
10013 if test "$wxUSE_WINE" = 1 ; then
10014 echo "configure: warning: Threads are not supported under WINE" 1>&2
10019 if test "$wxUSE_THREADS" = "yes" ; then
10021 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10022 echo "configure:10023: checking for pthread_create in -lpthread" >&5
10023 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10025 echo $ac_n "(cached) $ac_c" 1>&6
10027 ac_save_LIBS
="$LIBS"
10028 LIBS
="-lpthread $LIBS"
10029 cat > conftest.
$ac_ext <<EOF
10030 #line 10031 "configure"
10031 #include "confdefs.h"
10032 /* Override any gcc2 internal prototype to avoid an error. */
10033 /* We use char because int might match the return type of a gcc2
10034 builtin and then its argument prototype would still apply. */
10035 char pthread_create();
10041 if { (eval echo configure
:10042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10043 eval "ac_cv_lib_$ac_lib_var=yes"
10045 echo "configure: failed program was:" >&5
10046 cat conftest.
$ac_ext >&5
10048 eval "ac_cv_lib_$ac_lib_var=no"
10051 LIBS
="$ac_save_LIBS"
10054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10055 echo "$ac_t""yes" 1>&6
10057 THREADS_OBJ
="threadpsx.lo"
10058 THREADS_LINK
="pthread"
10061 echo "$ac_t""no" 1>&6
10063 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10064 echo "configure:10065: checking for pthread_create in -lc_r" >&5
10065 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10067 echo $ac_n "(cached) $ac_c" 1>&6
10069 ac_save_LIBS
="$LIBS"
10071 cat > conftest.
$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10074 /* Override any gcc2 internal prototype to avoid an error. */
10075 /* We use char because int might match the return type of a gcc2
10076 builtin and then its argument prototype would still apply. */
10077 char pthread_create();
10083 if { (eval echo configure
:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10085 eval "ac_cv_lib_$ac_lib_var=yes"
10087 echo "configure: failed program was:" >&5
10088 cat conftest.
$ac_ext >&5
10090 eval "ac_cv_lib_$ac_lib_var=no"
10093 LIBS
="$ac_save_LIBS"
10096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10097 echo "$ac_t""yes" 1>&6
10099 THREADS_OBJ
="threadpsx.lo"
10103 echo "$ac_t""no" 1>&6
10105 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10106 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10107 echo "configure:10108: checking for sys/prctl.h" >&5
10108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10109 echo $ac_n "(cached) $ac_c" 1>&6
10111 cat > conftest.
$ac_ext <<EOF
10112 #line 10113 "configure"
10113 #include "confdefs.h"
10114 #include <sys/prctl.h>
10116 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10117 { (eval echo configure
:10118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10118 ac_err
=`grep -v '^ *+' conftest.out`
10119 if test -z "$ac_err"; then
10121 eval "ac_cv_header_$ac_safe=yes"
10124 echo "configure: failed program was:" >&5
10125 cat conftest.
$ac_ext >&5
10127 eval "ac_cv_header_$ac_safe=no"
10131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10132 echo "$ac_t""yes" 1>&6
10134 THREADS_OBJ
="threadsgi.lo"
10137 echo "$ac_t""no" 1>&6
10147 if test -z "$THREADS_OBJ" ; then
10149 echo "configure: warning: No thread support on this system" 1>&2
10153 if test "$wxUSE_THREADS" = "yes" ; then
10155 for ac_hdr
in sched.h
10157 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10158 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10159 echo "configure:10160: checking for $ac_hdr" >&5
10160 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10161 echo $ac_n "(cached) $ac_c" 1>&6
10163 cat > conftest.
$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10168 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10169 { (eval echo configure
:10170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10170 ac_err
=`grep -v '^ *+' conftest.out`
10171 if test -z "$ac_err"; then
10173 eval "ac_cv_header_$ac_safe=yes"
10176 echo "configure: failed program was:" >&5
10177 cat conftest.
$ac_ext >&5
10179 eval "ac_cv_header_$ac_safe=no"
10183 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10184 echo "$ac_t""yes" 1>&6
10185 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10186 cat >> confdefs.h
<<EOF
10187 #define $ac_tr_hdr 1
10191 echo "$ac_t""no" 1>&6
10196 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10197 echo "configure:10198: checking for sched_yield in -l$THREADS_LINK" >&5
10198 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10199 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10200 echo $ac_n "(cached) $ac_c" 1>&6
10202 ac_save_LIBS
="$LIBS"
10203 LIBS
="-l$THREADS_LINK $LIBS"
10204 cat > conftest.
$ac_ext <<EOF
10205 #line 10206 "configure"
10206 #include "confdefs.h"
10207 /* Override any gcc2 internal prototype to avoid an error. */
10208 /* We use char because int might match the return type of a gcc2
10209 builtin and then its argument prototype would still apply. */
10210 char sched_yield();
10216 if { (eval echo configure
:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10218 eval "ac_cv_lib_$ac_lib_var=yes"
10220 echo "configure: failed program was:" >&5
10221 cat conftest.
$ac_ext >&5
10223 eval "ac_cv_lib_$ac_lib_var=no"
10226 LIBS
="$ac_save_LIBS"
10229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10230 echo "$ac_t""yes" 1>&6
10231 cat >> confdefs.h
<<\EOF
10232 #define HAVE_SCHED_YIELD 1
10236 echo "$ac_t""no" 1>&6
10237 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10238 echo "configure:10239: checking for sched_yield in -l"posix4
"" >&5
10239 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10241 echo $ac_n "(cached) $ac_c" 1>&6
10243 ac_save_LIBS
="$LIBS"
10244 LIBS
="-l"posix4
" $LIBS"
10245 cat > conftest.
$ac_ext <<EOF
10246 #line 10247 "configure"
10247 #include "confdefs.h"
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 /* We use char because int might match the return type of a gcc2
10250 builtin and then its argument prototype would still apply. */
10251 char sched_yield();
10257 if { (eval echo configure
:10258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10259 eval "ac_cv_lib_$ac_lib_var=yes"
10261 echo "configure: failed program was:" >&5
10262 cat conftest.
$ac_ext >&5
10264 eval "ac_cv_lib_$ac_lib_var=no"
10267 LIBS
="$ac_save_LIBS"
10270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10271 echo "$ac_t""yes" 1>&6
10272 cat >> confdefs.h
<<\EOF
10273 #define HAVE_SCHED_YIELD 1
10275 POSIX4_LINK
="-lposix4"
10277 echo "$ac_t""no" 1>&6
10278 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10286 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10287 echo "configure:10288: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10288 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10290 echo $ac_n "(cached) $ac_c" 1>&6
10292 ac_save_LIBS
="$LIBS"
10293 LIBS
="-l$THREADS_LINK $LIBS"
10294 cat > conftest.
$ac_ext <<EOF
10295 #line 10296 "configure"
10296 #include "confdefs.h"
10297 /* Override any gcc2 internal prototype to avoid an error. */
10298 /* We use char because int might match the return type of a gcc2
10299 builtin and then its argument prototype would still apply. */
10300 char pthread_attr_getschedpolicy();
10303 pthread_attr_getschedpolicy()
10306 if { (eval echo configure
:10307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10308 eval "ac_cv_lib_$ac_lib_var=yes"
10310 echo "configure: failed program was:" >&5
10311 cat conftest.
$ac_ext >&5
10313 eval "ac_cv_lib_$ac_lib_var=no"
10316 LIBS
="$ac_save_LIBS"
10319 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10320 echo "$ac_t""yes" 1>&6
10321 cat >> confdefs.h
<<\EOF
10322 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10326 echo "$ac_t""no" 1>&6
10327 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10328 echo "configure:10329: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10329 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10331 echo $ac_n "(cached) $ac_c" 1>&6
10333 ac_save_LIBS
="$LIBS"
10334 LIBS
="-l"posix4
" $LIBS"
10335 cat > conftest.
$ac_ext <<EOF
10336 #line 10337 "configure"
10337 #include "confdefs.h"
10338 /* Override any gcc2 internal prototype to avoid an error. */
10339 /* We use char because int might match the return type of a gcc2
10340 builtin and then its argument prototype would still apply. */
10341 char pthread_attr_getschedpolicy();
10344 pthread_attr_getschedpolicy()
10347 if { (eval echo configure
:10348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10349 eval "ac_cv_lib_$ac_lib_var=yes"
10351 echo "configure: failed program was:" >&5
10352 cat conftest.
$ac_ext >&5
10354 eval "ac_cv_lib_$ac_lib_var=no"
10357 LIBS
="$ac_save_LIBS"
10360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10361 echo "$ac_t""yes" 1>&6
10362 cat >> confdefs.h
<<\EOF
10363 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10365 POSIX4_LINK
="-lposix4"
10367 echo "$ac_t""no" 1>&6
10368 echo "configure: warning: Setting thread priority will not work" 1>&2
10376 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10377 echo "configure:10378: checking for pthread_cancel in -l$THREADS_LINK" >&5
10378 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10379 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10380 echo $ac_n "(cached) $ac_c" 1>&6
10382 ac_save_LIBS
="$LIBS"
10383 LIBS
="-l$THREADS_LINK $LIBS"
10384 cat > conftest.
$ac_ext <<EOF
10385 #line 10386 "configure"
10386 #include "confdefs.h"
10387 /* Override any gcc2 internal prototype to avoid an error. */
10388 /* We use char because int might match the return type of a gcc2
10389 builtin and then its argument prototype would still apply. */
10390 char pthread_cancel();
10396 if { (eval echo configure
:10397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10398 eval "ac_cv_lib_$ac_lib_var=yes"
10400 echo "configure: failed program was:" >&5
10401 cat conftest.
$ac_ext >&5
10403 eval "ac_cv_lib_$ac_lib_var=no"
10406 LIBS
="$ac_save_LIBS"
10409 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10410 echo "$ac_t""yes" 1>&6
10411 cat >> confdefs.h
<<\EOF
10412 #define HAVE_PTHREAD_CANCEL 1
10416 echo "$ac_t""no" 1>&6
10417 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10421 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10422 echo "configure:10423: checking for pthread_cleanup_push/pop" >&5
10423 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10424 echo $ac_n "(cached) $ac_c" 1>&6
10427 cat > conftest.
$ac_ext <<EOF
10428 #line 10429 "configure"
10429 #include "confdefs.h"
10430 #include <pthread.h>
10433 pthread_cleanup_push(NULL, NULL);
10434 pthread_cleanup_pop(0);
10438 if { (eval echo configure
:10439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10441 wx_cv_func_pthread_cleanup_push
=yes
10442 cat >> confdefs.h
<<\EOF
10443 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10448 echo "configure: failed program was:" >&5
10449 cat conftest.
$ac_ext >&5
10452 wx_cv_func_pthread_cleanup_push
=no
10459 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10461 THREADS_LINK
="-l$THREADS_LINK"
10466 if test "$wxUSE_THREADS" = "yes"; then
10467 cat >> confdefs.h
<<\EOF
10468 #define wxUSE_THREADS 1
10472 CFLAGS
="${CFLAGS} -D_REENTRANT"
10473 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10478 if test "$WXGTK12" = 1 ; then
10479 cat >> confdefs.h
<<EOF
10480 #define __WXGTK12__ $WXGTK12
10485 if test "$WXWINE" = 1 ; then
10486 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10489 if test "$wxUSE_CYGWIN" = 1 ; then
10490 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10495 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10500 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10501 wxUSE_DEBUG_INFO
=yes
10505 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10506 cat >> confdefs.h
<<\EOF
10510 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10512 if test "$wxUSE_GTK" = 1 ; then
10513 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10517 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10518 cat >> confdefs.h
<<\EOF
10519 #define wxUSE_MEMORY_TRACING 1
10522 cat >> confdefs.h
<<\EOF
10523 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10529 if test "$wxUSE_DMALLOC" = "yes" ; then
10530 DMALLOC_LINK
="-ldmalloc"
10534 if test "$wxUSE_PROFILE" = "yes" ; then
10539 if test "$GCC" = yes ; then
10540 if test "$wxUSE_NO_RTTI" = "yes" ; then
10541 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10543 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10544 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10546 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10547 CFLAGS
="${CFLAGS} -fpermissive"
10548 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10550 if test "$wxUSE_NO_DEPS" = "no" ; then
10551 DEP_INFO_FLAGS
="-MMD"
10556 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10557 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10558 if test "$wxUSE_OPTIMISE" = "no" ; then
10561 if test "$GCC" = yes ; then
10564 i586
-*-*|i686
-*-* )
10565 OPTIMISE
="${OPTIMISE} "
10575 if test "$wxUSE_ZLIB" = "yes" ; then
10576 cat >> confdefs.h
<<\EOF
10577 #define wxUSE_ZLIB 1
10580 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10584 if test "$wxUSE_LIBPNG" = "yes" ; then
10585 cat >> confdefs.h
<<\EOF
10586 #define wxUSE_LIBPNG 1
10589 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10594 if test "$wxUSE_LIBJPEG" = "yes" ; then
10595 cat >> confdefs.h
<<\EOF
10596 #define wxUSE_LIBJPEG 1
10599 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10602 if test "$wxUSE_OPENGL" = "yes"; then
10603 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10604 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10605 echo "configure:10606: checking for GL/gl.h" >&5
10606 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10607 echo $ac_n "(cached) $ac_c" 1>&6
10609 cat > conftest.
$ac_ext <<EOF
10610 #line 10611 "configure"
10611 #include "confdefs.h"
10614 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10615 { (eval echo configure
:10616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10616 ac_err
=`grep -v '^ *+' conftest.out`
10617 if test -z "$ac_err"; then
10619 eval "ac_cv_header_$ac_safe=yes"
10622 echo "configure: failed program was:" >&5
10623 cat conftest.
$ac_ext >&5
10625 eval "ac_cv_header_$ac_safe=no"
10629 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10630 echo "$ac_t""yes" 1>&6
10632 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10633 echo "configure:10634: checking for glInitNames in -lGL" >&5
10634 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10636 echo $ac_n "(cached) $ac_c" 1>&6
10638 ac_save_LIBS
="$LIBS"
10639 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10640 cat > conftest.
$ac_ext <<EOF
10641 #line 10642 "configure"
10642 #include "confdefs.h"
10643 /* Override any gcc2 internal prototype to avoid an error. */
10644 /* We use char because int might match the return type of a gcc2
10645 builtin and then its argument prototype would still apply. */
10646 char glInitNames();
10652 if { (eval echo configure
:10653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10654 eval "ac_cv_lib_$ac_lib_var=yes"
10656 echo "configure: failed program was:" >&5
10657 cat conftest.
$ac_ext >&5
10659 eval "ac_cv_lib_$ac_lib_var=no"
10662 LIBS
="$ac_save_LIBS"
10665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10666 echo "$ac_t""yes" 1>&6
10669 cat >> confdefs.h
<<\EOF
10670 #define wxUSE_OPENGL 1
10673 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10676 echo "$ac_t""no" 1>&6
10678 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10679 echo "configure:10680: checking for glInitNames in -lMesaGL" >&5
10680 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10682 echo $ac_n "(cached) $ac_c" 1>&6
10684 ac_save_LIBS
="$LIBS"
10685 LIBS
="-lMesaGL $LIBS"
10686 cat > conftest.
$ac_ext <<EOF
10687 #line 10688 "configure"
10688 #include "confdefs.h"
10689 /* Override any gcc2 internal prototype to avoid an error. */
10690 /* We use char because int might match the return type of a gcc2
10691 builtin and then its argument prototype would still apply. */
10692 char glInitNames();
10698 if { (eval echo configure
:10699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10700 eval "ac_cv_lib_$ac_lib_var=yes"
10702 echo "configure: failed program was:" >&5
10703 cat conftest.
$ac_ext >&5
10705 eval "ac_cv_lib_$ac_lib_var=no"
10708 LIBS
="$ac_save_LIBS"
10711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10712 echo "$ac_t""yes" 1>&6
10714 OPENGL_LINK
="-lMesaGL"
10715 cat >> confdefs.h
<<\EOF
10716 #define wxUSE_OPENGL 1
10719 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10722 echo "$ac_t""no" 1>&6
10731 echo "$ac_t""no" 1>&6
10738 if test "$wxUSE_GUI" = "yes"; then
10739 cat >> confdefs.h
<<\EOF
10740 #define wxUSE_GUI 1
10745 cat >> confdefs.h
<<\EOF
10746 #define wxUSE_NOGUI 1
10752 if test "$wxUSE_UNIX" = "yes"; then
10753 cat >> confdefs.h
<<\EOF
10754 #define wxUSE_UNIX 1
10760 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10761 cat >> confdefs.h
<<\EOF
10762 #define wxUSE_APPLE_IEEE 1
10767 if test "$wxUSE_TIMEDATE" = "yes"; then
10768 cat >> confdefs.h
<<\EOF
10769 #define wxUSE_TIMEDATE 1
10772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10775 if test "$wxUSE_WAVE" = "yes"; then
10776 cat >> confdefs.h
<<\EOF
10777 #define wxUSE_WAVE 1
10782 if test "$wxUSE_FILE" = "yes"; then
10783 cat >> confdefs.h
<<\EOF
10784 #define wxUSE_FILE 1
10789 if test "$wxUSE_FS_INET" = "yes"; then
10790 cat >> confdefs.h
<<\EOF
10791 #define wxUSE_FS_INET 1
10796 if test "$wxUSE_FS_ZIP" = "yes"; then
10797 cat >> confdefs.h
<<\EOF
10798 #define wxUSE_FS_ZIP 1
10803 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10804 cat >> confdefs.h
<<\EOF
10805 #define wxUSE_ZIPSTREAM 1
10810 if test "$wxUSE_BUSYINFO" = "yes"; then
10811 cat >> confdefs.h
<<\EOF
10812 #define wxUSE_BUSYINFO 1
10817 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10818 cat >> confdefs.h
<<\EOF
10819 #define wxUSE_STD_IOSTREAM 1
10824 if test "$wxUSE_TEXTFILE" = "yes"; then
10825 if test "$wxUSE_FILE" != "yes"; then
10826 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10828 cat >> confdefs.h
<<\EOF
10829 #define wxUSE_TEXTFILE 1
10835 if test "$wxUSE_CONFIG" = "yes" ; then
10836 if test "$wxUSE_TEXTFILE" != "yes"; then
10837 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10839 cat >> confdefs.h
<<\EOF
10840 #define wxUSE_CONFIG 1
10843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10847 if test "$wxUSE_INTL" = "yes" ; then
10848 if test "$wxUSE_FILE" != "yes"; then
10849 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10851 cat >> confdefs.h
<<\EOF
10852 #define wxUSE_INTL 1
10855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10859 if test "$wxUSE_LOG" = "yes"; then
10860 cat >> confdefs.h
<<\EOF
10861 #define wxUSE_LOG 1
10866 if test "$wxUSE_LONGLONG" = "yes"; then
10867 cat >> confdefs.h
<<\EOF
10868 #define wxUSE_LONGLONG 1
10873 if test "$wxUSE_SOCKETS" = "yes" ; then
10874 if test "$wxUSE_THREADS" = "yes" ; then
10875 cat >> confdefs.h
<<\EOF
10876 #define wxUSE_SOCKETS 1
10879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10880 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10882 echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2
10887 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
10888 cat >> confdefs.h
<<\EOF
10889 #define wxUSE_DIALUP_MANAGER 1
10894 if test "$wxUSE_STREAMS" = "yes" ; then
10895 cat >> confdefs.h
<<\EOF
10896 #define wxUSE_STREAMS 1
10901 if test "$wxUSE_SERIAL" = "yes" ; then
10902 cat >> confdefs.h
<<\EOF
10903 #define wxUSE_SERIAL 1
10909 if test "$wxUSE_SOCKETS" = "yes"; then
10912 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10913 ac_cpp
='$CXXCPP $CPPFLAGS'
10914 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10915 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10916 cross_compiling
=$ac_cv_prog_cxx_cross
10918 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
10919 echo "configure:10920: checking the type of the third argument of getsockname" >&5
10920 cat > conftest.
$ac_ext <<EOF
10921 #line 10922 "configure"
10922 #include "confdefs.h"
10923 #include <sys/socket.h>
10925 socklen_t len; getsockname(0, NULL, &len);
10928 if { (eval echo configure
:10929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10930 cat >> confdefs.h
<<\EOF
10931 #define SOCKLEN_T socklen_t
10933 echo "$ac_t""socklen_t" 1>&6
10935 echo "configure: failed program was:" >&5
10936 cat conftest.
$ac_ext >&5
10938 cat > conftest.
$ac_ext <<EOF
10939 #line 10940 "configure"
10940 #include "confdefs.h"
10941 #include <sys/socket.h>
10943 size_t len; getsockname(0, NULL, &len);
10946 if { (eval echo configure
:10947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10948 cat >> confdefs.h
<<\EOF
10949 #define SOCKLEN_T size_t
10951 echo "$ac_t""size_t" 1>&6
10953 echo "configure: failed program was:" >&5
10954 cat conftest.
$ac_ext >&5
10956 cat > conftest.
$ac_ext <<EOF
10957 #line 10958 "configure"
10958 #include "confdefs.h"
10959 #include <sys/socket.h>
10961 int len; getsockname(0, NULL, &len);
10964 if { (eval echo configure
:10965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10966 cat >> confdefs.h
<<\EOF
10967 #define SOCKLEN_T int
10969 echo "$ac_t""int" 1>&6
10971 echo "configure: failed program was:" >&5
10972 cat conftest.
$ac_ext >&5
10974 echo "$ac_t""unknown" 1>&6
10985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10986 ac_cpp
='$CPP $CPPFLAGS'
10987 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10988 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10989 cross_compiling
=$ac_cv_prog_cc_cross
10994 if test "$wxUSE_JOYSTICK" = 1; then
10995 for ac_hdr
in linux
/joystick.h
10997 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10998 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10999 echo "configure:11000: checking for $ac_hdr" >&5
11000 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11001 echo $ac_n "(cached) $ac_c" 1>&6
11003 cat > conftest.
$ac_ext <<EOF
11004 #line 11005 "configure"
11005 #include "confdefs.h"
11008 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11009 { (eval echo configure
:11010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11010 ac_err
=`grep -v '^ *+' conftest.out`
11011 if test -z "$ac_err"; then
11013 eval "ac_cv_header_$ac_safe=yes"
11016 echo "configure: failed program was:" >&5
11017 cat conftest.
$ac_ext >&5
11019 eval "ac_cv_header_$ac_safe=no"
11023 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11024 echo "$ac_t""yes" 1>&6
11025 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11026 cat >> confdefs.h
<<EOF
11027 #define $ac_tr_hdr 1
11031 echo "$ac_t""no" 1>&6
11035 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11036 cat >> confdefs.h
<<\EOF
11037 #define wxUSE_JOYSTICK 1
11040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11047 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11048 for ac_func
in dlopen
11050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11051 echo "configure:11052: checking for $ac_func" >&5
11052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11058 /* System header to define __stub macros and hopefully few prototypes,
11059 which can conflict with char $ac_func(); below. */
11060 #include <assert.h>
11061 /* Override any gcc2 internal prototype to avoid an error. */
11062 /* We use char because int might match the return type of a gcc2
11063 builtin and then its argument prototype would still apply. */
11068 /* The GNU C library defines this for functions which it implements
11069 to always fail with ENOSYS. Some functions are actually named
11070 something starting with __ and the normal name is an alias. */
11071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11079 if { (eval echo configure
:11080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11081 eval "ac_cv_func_$ac_func=yes"
11083 echo "configure: failed program was:" >&5
11084 cat conftest.
$ac_ext >&5
11086 eval "ac_cv_func_$ac_func=no"
11091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11092 echo "$ac_t""yes" 1>&6
11093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11094 cat >> confdefs.h
<<EOF
11095 #define $ac_tr_func 1
11097 cat >> confdefs.h
<<\EOF
11098 #define HAVE_DLOPEN 1
11102 echo "$ac_t""no" 1>&6
11103 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11104 echo "configure:11105: checking for dlopen in -ldl" >&5
11105 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11107 echo $ac_n "(cached) $ac_c" 1>&6
11109 ac_save_LIBS
="$LIBS"
11111 cat > conftest.
$ac_ext <<EOF
11112 #line 11113 "configure"
11113 #include "confdefs.h"
11114 /* Override any gcc2 internal prototype to avoid an error. */
11115 /* We use char because int might match the return type of a gcc2
11116 builtin and then its argument prototype would still apply. */
11123 if { (eval echo configure
:11124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11125 eval "ac_cv_lib_$ac_lib_var=yes"
11127 echo "configure: failed program was:" >&5
11128 cat conftest.
$ac_ext >&5
11130 eval "ac_cv_lib_$ac_lib_var=no"
11133 LIBS
="$ac_save_LIBS"
11136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11137 echo "$ac_t""yes" 1>&6
11138 cat >> confdefs.h
<<\EOF
11139 #define HAVE_DLOPEN 1
11143 echo "$ac_t""no" 1>&6
11149 for ac_func
in shl_load
11151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11152 echo "configure:11153: checking for $ac_func" >&5
11153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11154 echo $ac_n "(cached) $ac_c" 1>&6
11156 cat > conftest.
$ac_ext <<EOF
11157 #line 11158 "configure"
11158 #include "confdefs.h"
11159 /* System header to define __stub macros and hopefully few prototypes,
11160 which can conflict with char $ac_func(); below. */
11161 #include <assert.h>
11162 /* Override any gcc2 internal prototype to avoid an error. */
11163 /* We use char because int might match the return type of a gcc2
11164 builtin and then its argument prototype would still apply. */
11169 /* The GNU C library defines this for functions which it implements
11170 to always fail with ENOSYS. Some functions are actually named
11171 something starting with __ and the normal name is an alias. */
11172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11180 if { (eval echo configure
:11181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
11182 eval "ac_cv_func_$ac_func=yes"
11184 echo "configure: failed program was:" >&5
11185 cat conftest.
$ac_ext >&5
11187 eval "ac_cv_func_$ac_func=no"
11192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11193 echo "$ac_t""yes" 1>&6
11194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11195 cat >> confdefs.h
<<EOF
11196 #define $ac_tr_func 1
11198 cat >> confdefs.h
<<\EOF
11199 #define HAVE_SHL_LOAD 1
11201 HAVE_DL_FUNCS
=1 HAVE_SHL_FUNCS
=1
11203 echo "$ac_t""no" 1>&6
11208 if test "$HAVE_DL_FUNCS" = 0; then
11209 if test "$USE_UNIX" = 1; then
11210 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11212 wxUSE_DYNLIB_CLASS
=no
11214 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11219 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11220 cat >> confdefs.h
<<\EOF
11221 #define wxUSE_DYNLIB_CLASS 1
11227 if test "$wxUSE_UNICODE" = "yes" ; then
11228 cat >> confdefs.h
<<\EOF
11229 #define wxUSE_UNICODE 1
11234 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11235 cat >> confdefs.h
<<\EOF
11236 #define wxUSE_WCSRTOMBS 1
11241 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11242 cat >> confdefs.h
<<\EOF
11243 #define wxUSE_EXPERIMENTAL_PRINTF 1
11250 if test "$wxUSE_ODBC" = "yes" ; then
11251 cat >> confdefs.h
<<\EOF
11252 #define wxUSE_ODBC 1
11255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11259 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11260 cat >> confdefs.h
<<\EOF
11261 #define wxUSE_POSTSCRIPT 1
11266 cat >> confdefs.h
<<\EOF
11267 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11271 cat >> confdefs.h
<<\EOF
11272 #define wxUSE_NORMALIZED_PS_FONTS 1
11277 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11278 cat >> confdefs.h
<<\EOF
11279 #define wxUSE_CONSTRAINTS 1
11282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11285 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11286 cat >> confdefs.h
<<\EOF
11287 #define wxUSE_MDI_ARCHITECTURE 1
11290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11293 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11294 cat >> confdefs.h
<<\EOF
11295 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11299 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11304 if test "$wxUSE_HELP" = "yes"; then
11305 cat >> confdefs.h
<<\EOF
11306 #define wxUSE_HELP 1
11309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11312 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11313 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11314 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11316 cat >> confdefs.h
<<\EOF
11317 #define wxUSE_PRINTING_ARCHITECTURE 1
11321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11324 if test "$wxUSE_PROLOGIO" = "yes" ; then
11325 cat >> confdefs.h
<<\EOF
11326 #define wxUSE_PROLOGIO 1
11331 if test "$wxUSE_RESOURCES" = "yes" ; then
11332 if test "$wxUSE_PROLOGIO" = "yes" ; then
11333 cat >> confdefs.h
<<\EOF
11334 #define wxUSE_RESOURCES 1
11337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11339 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11343 if test "$wxUSE_X_RESOURCES" = "yes"; then
11344 cat >> confdefs.h
<<\EOF
11345 #define wxUSE_X_RESOURCES 1
11351 if test "$wxUSE_IPC" = "yes"; then
11352 cat >> confdefs.h
<<\EOF
11353 #define wxUSE_IPC 1
11358 if test "$wxUSE_CLIPBOARD" = "yes"; then
11359 cat >> confdefs.h
<<\EOF
11360 #define wxUSE_CLIPBOARD 1
11365 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11366 if test "$wxUSE_GTK" = 1; then
11367 if test "$WXGTK12" != 1; then
11368 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11369 wxUSE_DRAG_AND_DROP
=no
11373 if test "$wxUSE_MOTIF" = 1; then
11374 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11375 wxUSE_DRAG_AND_DROP
=no
11378 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11379 cat >> confdefs.h
<<\EOF
11380 #define wxUSE_DRAG_AND_DROP 1
11383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11387 if test "$wxUSE_SPLINES" = "yes" ; then
11388 cat >> confdefs.h
<<\EOF
11389 #define wxUSE_SPLINES 1
11395 if test "$wxUSE_ACCEL" = "yes"; then
11396 cat >> confdefs.h
<<\EOF
11397 #define wxUSE_ACCEL 1
11402 if test "$wxUSE_CARET" = "yes"; then
11403 cat >> confdefs.h
<<\EOF
11404 #define wxUSE_CARET 1
11407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11410 if test "$wxUSE_COMBOBOX" = "yes"; then
11411 cat >> confdefs.h
<<\EOF
11412 #define wxUSE_COMBOBOX 1
11417 if test "$wxUSE_CHOICE" = "yes"; then
11418 cat >> confdefs.h
<<\EOF
11419 #define wxUSE_CHOICE 1
11424 if test "$wxUSE_BMPBUTTON" = "yes"; then
11425 cat >> confdefs.h
<<\EOF
11426 #define wxUSE_BMPBUTTON 1
11431 if test "$wxUSE_CHECKBOX" = "yes"; then
11432 cat >> confdefs.h
<<\EOF
11433 #define wxUSE_CHECKBOX 1
11438 if test "$wxUSE_CHECKLST" = "yes"; then
11439 cat >> confdefs.h
<<\EOF
11440 #define wxUSE_CHECKLISTBOX 1
11443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11446 if test "$wxUSE_GAUGE" = "yes"; then
11447 cat >> confdefs.h
<<\EOF
11448 #define wxUSE_GAUGE 1
11453 if test "$wxUSE_GRID" = "yes"; then
11454 cat >> confdefs.h
<<\EOF
11455 #define wxUSE_GRID 1
11458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11461 if test "$wxUSE_IMAGLIST" = "yes"; then
11462 cat >> confdefs.h
<<\EOF
11463 #define wxUSE_IMAGLIST 1
11468 if test "$wxUSE_LISTBOX" = "yes"; then
11469 cat >> confdefs.h
<<\EOF
11470 #define wxUSE_LISTBOX 1
11475 if test "$wxUSE_LISTCTRL" = "yes"; then
11476 if test "$wxUSE_IMAGLIST" = "yes"; then
11477 cat >> confdefs.h
<<\EOF
11478 #define wxUSE_LISTCTRL 1
11481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11483 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11487 if test "$wxUSE_NOTEBOOK" = "yes"; then
11488 cat >> confdefs.h
<<\EOF
11489 #define wxUSE_NOTEBOOK 1
11492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11495 if test "$wxUSE_RADIOBOX" = "yes"; then
11496 cat >> confdefs.h
<<\EOF
11497 #define wxUSE_RADIOBOX 1
11502 if test "$wxUSE_RADIOBTN" = "yes"; then
11503 cat >> confdefs.h
<<\EOF
11504 #define wxUSE_RADIOBTN 1
11509 if test "$wxUSE_SASH" = "yes"; then
11510 cat >> confdefs.h
<<\EOF
11511 #define wxUSE_SASH 1
11514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11517 if test "$wxUSE_SCROLLBAR" = "yes"; then
11518 cat >> confdefs.h
<<\EOF
11519 #define wxUSE_SCROLLBAR 1
11522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11525 if test "$wxUSE_SLIDER" = "yes"; then
11526 cat >> confdefs.h
<<\EOF
11527 #define wxUSE_SLIDER 1
11532 if test "$wxUSE_SPINBTN" = "yes"; then
11533 cat >> confdefs.h
<<\EOF
11534 #define wxUSE_SPINBTN 1
11539 if test "$wxUSE_SPLITTER" = "yes"; then
11540 cat >> confdefs.h
<<\EOF
11541 #define wxUSE_SPLITTER 1
11544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11547 if test "$wxUSE_STATBMP" = "yes"; then
11548 cat >> confdefs.h
<<\EOF
11549 #define wxUSE_STATBMP 1
11554 if test "$wxUSE_STATBOX" = "yes"; then
11555 cat >> confdefs.h
<<\EOF
11556 #define wxUSE_STATBOX 1
11561 if test "$wxUSE_STATLINE" = "yes"; then
11562 if test "$wxUSE_WINE" = 1 ; then
11563 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11565 cat >> confdefs.h
<<\EOF
11566 #define wxUSE_STATLINE 1
11572 if test "$wxUSE_STATUSBAR" = "yes"; then
11573 cat >> confdefs.h
<<\EOF
11574 #define wxUSE_STATUSBAR 1
11579 if test "$wxUSE_TABDIALOG" = "yes"; then
11580 cat >> confdefs.h
<<\EOF
11581 #define wxUSE_TAB_DIALOG 1
11584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11587 if test "$wxUSE_TOOLBAR" = "yes"; then
11588 cat >> confdefs.h
<<\EOF
11589 #define wxUSE_TOOLBAR 1
11592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11595 if test "$wxUSE_TOOLTIPS" = "yes"; then
11596 if test "$wxUSE_MOTIF" = 1; then
11597 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11599 if test "$wxUSE_WINE" = 1; then
11600 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11602 cat >> confdefs.h
<<\EOF
11603 #define wxUSE_TOOLTIPS 1
11610 if test "$wxUSE_TREECTRL" = "yes"; then
11611 if test "$wxUSE_IMAGLIST" = "yes"; then
11612 cat >> confdefs.h
<<\EOF
11613 #define wxUSE_TREECTRL 1
11616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11618 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11624 if test "$wxUSE_METAFILE" = "yes"; then
11625 cat >> confdefs.h
<<\EOF
11626 #define wxUSE_METAFILE 1
11631 if test "$wxUSE_DIRDLG" = "yes"; then
11632 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11633 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11635 if test "$wxUSE_TREECTRL" != "yes"; then
11636 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11638 cat >> confdefs.h
<<\EOF
11639 #define wxUSE_DIRDLG 1
11646 if test "$wxUSE_TEXTDLG" = "yes"; then
11647 cat >> confdefs.h
<<\EOF
11648 #define wxUSE_TEXTDLG 1
11653 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11654 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11655 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11657 cat >> confdefs.h
<<\EOF
11658 #define wxUSE_STARTUP_TIPS 1
11664 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11665 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11666 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11668 cat >> confdefs.h
<<\EOF
11669 #define wxUSE_PROGRESSDLG 1
11675 if test "$wxUSE_MINIFRAME" = "yes"; then
11676 cat >> confdefs.h
<<\EOF
11677 #define wxUSE_MINIFRAME 1
11680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11683 if test "$wxUSE_HTML" = "yes"; then
11684 cat >> confdefs.h
<<\EOF
11685 #define wxUSE_HTML 1
11688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11689 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11692 if test "$wxUSE_VALIDATORS" = "yes"; then
11693 cat >> confdefs.h
<<\EOF
11694 #define wxUSE_VALIDATORS 1
11697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11700 if test "$wxUSE_GIF" = "yes" ; then
11701 cat >> confdefs.h
<<\EOF
11702 #define wxUSE_GIF 1
11707 if test "$wxUSE_PCX" = "yes" ; then
11708 cat >> confdefs.h
<<\EOF
11709 #define wxUSE_PCX 1
11714 if test "$wxUSE_PNM" = "yes" ; then
11715 cat >> confdefs.h
<<\EOF
11716 #define wxUSE_PNM 1
11722 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11724 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $GUILIBS"
11726 LIBS
="\${top_builddir}/src/${TOOLKIT_DIR}/${WX_LIBRARY_NAME} $EXTRA_LIBS"
11728 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11730 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11732 if test "$GXX" = yes ; then
11733 CXXWARNINGS
="-Wall"
11735 EXTRA_CFLAGS
="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES"
11737 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
11738 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
11739 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
11741 if test "$wxUSE_GUI" = "yes"; then
11743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11744 forty fractal image wxpoem"
11747 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11797 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11798 echo "configure:11799: checking whether ${MAKE-make} sets \${MAKE}" >&5
11799 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11800 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11801 echo $ac_n "(cached) $ac_c" 1>&6
11803 cat > conftestmake
<<\EOF
11805 @
echo 'ac_maketemp="${MAKE}"'
11807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11808 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11809 if test -n "$ac_maketemp"; then
11810 eval ac_cv_prog_make_
${ac_make}_set
=yes
11812 eval ac_cv_prog_make_
${ac_make}_set
=no
11816 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11817 echo "$ac_t""yes" 1>&6
11820 echo "$ac_t""no" 1>&6
11821 SET_MAKE
="MAKE=${MAKE-make}"
11827 if test "${TOOLKIT_DIR}" = "msw" ; then
11828 GL_TOOLKIT_DIR
="win"
11830 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
11835 cat > confcache
<<\EOF
11836 # This file is a shell script that caches the results of configure
11837 # tests run on this system so they can be shared between configure
11838 # scripts and configure runs. It is not useful on other systems.
11839 # If it contains results you don't want to keep, you may remove or edit it.
11841 # By default, configure uses ./config.cache as the cache file,
11842 # creating it if it does not exist already. You can give configure
11843 # the --cache-file=FILE option to use a different cache file; that is
11844 # what configure does when it calls configure scripts in
11845 # subdirectories, so they share the cache.
11846 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11847 # config.status only pays attention to the cache file if you give it the
11848 # --recheck option to rerun configure.
11851 # The following way of writing the cache mishandles newlines in values,
11852 # but we know of no workaround that is simple, portable, and efficient.
11853 # So, don't put newlines in cache variables' values.
11854 # Ultrix sh set writes to stderr and can't be redirected directly,
11855 # and sets the high bit in the cache file unless we assign to the vars.
11857 case `(ac_space=' '; set) 2>&1` in
11859 # `set' does not quote correctly, so add quotes (double-quote substitution
11860 # turns \\\\ into \\, and sed turns \\ into \).
11862 -e "s/'/'\\\\''/g" \
11863 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11866 # `set' quotes correctly as required by POSIX, so do not add quotes.
11867 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11870 if cmp -s $cache_file confcache
; then
11873 if test -w $cache_file; then
11874 echo "updating cache $cache_file"
11875 cat confcache
> $cache_file
11877 echo "not updating unwritable cache $cache_file"
11882 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11884 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11885 # Let make expand exec_prefix.
11886 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11888 # Any assignment to VPATH causes Sun make to only execute
11889 # the first set of double-colon rules, so remove it if not needed.
11890 # If there is a colon in the path, we need to keep it.
11891 if test "x$srcdir" = x.
; then
11892 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
11895 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11897 DEFS
=-DHAVE_CONFIG_H
11899 # Without the "./", some shells look in PATH for config.status.
11900 : ${CONFIG_STATUS=./config.status}
11902 echo creating
$CONFIG_STATUS
11903 rm -f $CONFIG_STATUS
11904 cat > $CONFIG_STATUS <<EOF
11906 # Generated automatically by configure.
11907 # Run this file to recreate the current configuration.
11908 # This directory was configured as follows,
11909 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11911 # $0 $ac_configure_args
11913 # Compiler output produced by configure, useful for debugging
11914 # configure, is in ./config.log if it exists.
11916 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11919 case "\$ac_option" in
11920 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11921 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11922 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11923 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11924 echo "$CONFIG_STATUS generated by autoconf version 2.12"
11926 -help | --help | --hel | --he | --h)
11927 echo "\$ac_cs_usage"; exit 0 ;;
11928 *) echo "\$ac_cs_usage"; exit 1 ;;
11932 ac_given_srcdir=$srcdir
11933 ac_given_INSTALL="$INSTALL"
11935 trap 'rm -fr `echo "
11942 samples/bombs/Makefile
11943 samples/caret/Makefile
11944 samples/checklst/Makefile
11945 samples/config/Makefile
11946 samples/controls/Makefile
11947 samples/dialogs/Makefile
11948 samples/docview/Makefile
11949 samples/docvwmdi/Makefile
11950 samples/dnd/Makefile
11951 samples/drawing/Makefile
11952 samples/dynamic/Makefile
11953 samples/image/Makefile
11954 samples/internat/Makefile
11955 samples/layout/Makefile
11956 samples/listctrl/Makefile
11957 samples/mdi/Makefile
11958 samples/minifram/Makefile
11959 samples/minimal/Makefile
11960 samples/notebook/Makefile
11961 samples/printing/Makefile
11962 samples/proplist/Makefile
11963 samples/sashtest/Makefile
11964 samples/scroll/Makefile
11965 samples/splitter/Makefile
11966 samples/text/Makefile
11967 samples/thread/Makefile
11968 samples/toolbar/Makefile
11969 samples/treectrl/Makefile
11970 samples/typetest/Makefile
11971 samples/validate/Makefile
11972 samples/wxpoem/Makefile
11973 samples/wxsocket/Makefile
11974 samples/wizard/Makefile
11975 samples/html/Makefile
11976 samples/html/about/Makefile
11977 samples/html/help/Makefile
11978 samples/html/printing/Makefile
11979 samples/html/test/Makefile
11980 samples/html/zip/Makefile
11981 samples/html/virtual/Makefile
11982 samples/html/widget/Makefile
11984 utils/wxMMedia2/Makefile
11985 utils/wxMMedia2/lib/Makefile
11986 utils/wxMMedia2/sample/Makefile
11987 utils/glcanvas/Makefile
11988 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
11990 utils/ogl/src/Makefile
11991 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11993 cat >> $CONFIG_STATUS <<EOF
11995 # Protect against being on the right side of a sed subst in config.status.
11996 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11997 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12000 s%@CFLAGS@%$CFLAGS%g
12001 s%@CPPFLAGS@%$CPPFLAGS%g
12002 s%@CXXFLAGS@%$CXXFLAGS%g
12004 s%@LDFLAGS@%$LDFLAGS%g
12006 s%@exec_prefix@%$exec_prefix%g
12007 s%@prefix@%$prefix%g
12008 s%@program_transform_name@%$program_transform_name%g
12009 s%@bindir@%$bindir%g
12010 s%@sbindir@%$sbindir%g
12011 s%@libexecdir@%$libexecdir%g
12012 s%@datadir@%$datadir%g
12013 s%@sysconfdir@%$sysconfdir%g
12014 s%@sharedstatedir@%$sharedstatedir%g
12015 s%@localstatedir@%$localstatedir%g
12016 s%@libdir@%$libdir%g
12017 s%@includedir@%$includedir%g
12018 s%@oldincludedir@%$oldincludedir%g
12019 s%@infodir@%$infodir%g
12020 s%@mandir@%$mandir%g
12022 s%@host_alias@%$host_alias%g
12023 s%@host_cpu@%$host_cpu%g
12024 s%@host_vendor@%$host_vendor%g
12025 s%@host_os@%$host_os%g
12026 s%@target@%$target%g
12027 s%@target_alias@%$target_alias%g
12028 s%@target_cpu@%$target_cpu%g
12029 s%@target_vendor@%$target_vendor%g
12030 s%@target_os@%$target_os%g
12032 s%@build_alias@%$build_alias%g
12033 s%@build_cpu@%$build_cpu%g
12034 s%@build_vendor@%$build_vendor%g
12035 s%@build_os@%$build_os%g
12039 s%@CXXCPP@%$CXXCPP%g
12040 s%@RANLIB@%$RANLIB%g
12042 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12043 s%@INSTALL_DATA@%$INSTALL_DATA%g
12047 s%@LEXLIB@%$LEXLIB%g
12049 s%@GTK_CONFIG@%$GTK_CONFIG%g
12050 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12051 s%@GTK_LIBS@%$GTK_LIBS%g
12052 s%@X_CFLAGS@%$X_CFLAGS%g
12053 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12054 s%@X_LIBS@%$X_LIBS%g
12055 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12056 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12057 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12058 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12059 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12060 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12061 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12062 s%@WX_LIBRARY@%$WX_LIBRARY%g
12063 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12064 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12065 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12066 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12067 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12068 s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g
12069 s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g
12070 s%@SHARED_LD@%$SHARED_LD%g
12071 s%@PIC_FLAG@%$PIC_FLAG%g
12072 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12073 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12074 s%@TOOLKIT@%$TOOLKIT%g
12075 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12076 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12077 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12078 s%@GUIHEADERS@%$GUIHEADERS%g
12079 s%@GUIOBJS@%$GUIOBJS%g
12080 s%@COMMONOBJS@%$COMMONOBJS%g
12081 s%@GENERICOBJS@%$GENERICOBJS%g
12082 s%@GUIDEPS@%$GUIDEPS%g
12083 s%@COMMONDEPS@%$COMMONDEPS%g
12084 s%@GENERICDEPS@%$GENERICDEPS%g
12085 s%@UNIXOBJS@%$UNIXOBJS%g
12086 s%@GUIDIST@%$GUIDIST%g
12087 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12088 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12089 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12090 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12091 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12092 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12093 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12094 s%@LD_LIBS@%$LD_LIBS%g
12095 s%@SET_MAKE@%$SET_MAKE%g
12096 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12101 cat >> $CONFIG_STATUS <<\EOF
12103 # Split the substitutions into bite-sized pieces for seds with
12104 # small command number limits, like on Digital OSF/1 and HP-UX.
12105 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12106 ac_file
=1 # Number of current file.
12107 ac_beg
=1 # First line for current file.
12108 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12111 while $ac_more_lines; do
12112 if test $ac_beg -gt 1; then
12113 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12115 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12117 if test ! -s conftest.s
$ac_file; then
12118 ac_more_lines
=false
12119 rm -f conftest.s
$ac_file
12121 if test -z "$ac_sed_cmds"; then
12122 ac_sed_cmds
="sed -f conftest.s$ac_file"
12124 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12126 ac_file
=`expr $ac_file + 1`
12128 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12131 if test -z "$ac_sed_cmds"; then
12136 cat >> $CONFIG_STATUS <<EOF
12138 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12144 samples/bombs/Makefile
12145 samples/caret/Makefile
12146 samples/checklst/Makefile
12147 samples/config/Makefile
12148 samples/controls/Makefile
12149 samples/dialogs/Makefile
12150 samples/docview/Makefile
12151 samples/docvwmdi/Makefile
12152 samples/dnd/Makefile
12153 samples/drawing/Makefile
12154 samples/dynamic/Makefile
12155 samples/image/Makefile
12156 samples/internat/Makefile
12157 samples/layout/Makefile
12158 samples/listctrl/Makefile
12159 samples/mdi/Makefile
12160 samples/minifram/Makefile
12161 samples/minimal/Makefile
12162 samples/notebook/Makefile
12163 samples/printing/Makefile
12164 samples/proplist/Makefile
12165 samples/sashtest/Makefile
12166 samples/scroll/Makefile
12167 samples/splitter/Makefile
12168 samples/text/Makefile
12169 samples/thread/Makefile
12170 samples/toolbar/Makefile
12171 samples/treectrl/Makefile
12172 samples/typetest/Makefile
12173 samples/validate/Makefile
12174 samples/wxpoem/Makefile
12175 samples/wxsocket/Makefile
12176 samples/wizard/Makefile
12177 samples/html/Makefile
12178 samples/html/about/Makefile
12179 samples/html/help/Makefile
12180 samples/html/printing/Makefile
12181 samples/html/test/Makefile
12182 samples/html/zip/Makefile
12183 samples/html/virtual/Makefile
12184 samples/html/widget/Makefile
12186 utils/wxMMedia2/Makefile
12187 utils/wxMMedia2/lib/Makefile
12188 utils/wxMMedia2/sample/Makefile
12189 utils/glcanvas/Makefile
12190 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12192 utils/ogl/src/Makefile
12195 cat >> $CONFIG_STATUS <<\EOF
12196 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12197 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12199 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12200 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12201 *) ac_file_in
="${ac_file}.in" ;;
12204 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12206 # Remove last slash and all that follows it. Not all systems have dirname.
12207 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12208 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12209 # The file is in a subdirectory.
12210 test ! -d "$ac_dir" && mkdir "$ac_dir"
12211 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12212 # A "../" for each directory in $ac_dir_suffix.
12213 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12215 ac_dir_suffix
= ac_dots
=
12218 case "$ac_given_srcdir" in
12220 if test -z "$ac_dots"; then top_srcdir
=.
12221 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12222 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12223 *) # Relative path.
12224 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12225 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12228 case "$ac_given_INSTALL" in
12229 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12230 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12233 echo creating
"$ac_file"
12235 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12237 *Makefile
*) ac_comsub
="1i\\
12238 # $configure_input" ;;
12242 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12244 s%@configure_input@%$configure_input%g
12245 s%@srcdir@%$srcdir%g
12246 s%@top_srcdir@%$top_srcdir%g
12247 s%@INSTALL@%$INSTALL%g
12248 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12252 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12253 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12255 # ac_d sets the value in "#define NAME VALUE" lines.
12256 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12257 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12260 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12261 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12262 ac_uB
='\([ ]\)%\1#\2define\3'
12265 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12266 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12267 ac_eB
='$%\1#\2define\3'
12271 if test "${CONFIG_HEADERS+set}" != set; then
12273 cat >> $CONFIG_STATUS <<EOF
12274 CONFIG_HEADERS="setup.h:setup.h.in"
12276 cat >> $CONFIG_STATUS <<\EOF
12278 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12279 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12281 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12282 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12283 *) ac_file_in
="${ac_file}.in" ;;
12286 echo creating
$ac_file
12288 rm -f conftest.frag conftest.
in conftest.out
12289 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12290 cat $ac_file_inputs > conftest.
in
12294 # Transform confdefs.h into a sed script conftest.vals that substitutes
12295 # the proper values into config.h.in to produce config.h. And first:
12296 # Protect against being on the right side of a sed subst in config.status.
12297 # Protect against being in an unquoted here document in config.status.
12298 rm -f conftest.vals
12299 cat > conftest.hdr
<<\EOF
12302 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12306 sed -n -f conftest.hdr confdefs.h > conftest.vals
12309 # This sed command replaces #undef with comments. This is necessary, for
12310 # example, in the case of _POSIX_SOURCE, which is predefined and required
12311 # on some systems where configure will not decide to define it.
12312 cat >> conftest.vals <<\EOF
12313 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12316 # Break up conftest.vals because some shells have a limit on
12317 # the size of here documents, and old seds have small limits too.
12319 rm -f conftest.tail
12322 ac_lines=`grep -c . conftest.vals
`
12323 # grep -c gives empty output for an empty file on some AIX systems.
12324 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12325 # Write a limited-size here document to conftest.frag.
12326 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12327 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12329 sed -f conftest.frag conftest.in > conftest.out
12331 mv conftest.out conftest.in
12332 ' >> $CONFIG_STATUS
12333 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12334 rm -f conftest.vals
12335 mv conftest.tail conftest.vals
12337 rm -f conftest.vals
12339 cat >> $CONFIG_STATUS <<\EOF
12340 rm -f conftest.frag conftest.h
12341 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12342 cat conftest.in >> conftest.h
12344 if cmp -s $ac_file conftest.h 2>/dev/null; then
12345 echo "$ac_file is unchanged"
12348 # Remove last slash and all that follows it. Not all systems have dirname.
12349 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12350 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12351 # The file is in a subdirectory.
12352 test ! -d "$ac_dir" && mkdir "$ac_dir"
12355 mv conftest.h $ac_file
12360 cat >> $CONFIG_STATUS <<EOF
12362 LN_S="${ac_cv_prog_LN_S}"
12363 TOOLKIT_DIR="${TOOLKIT_DIR}"
12367 cat >> $CONFIG_STATUS <<\EOF
12370 if test ! -d include; then
12373 if test ! -d include/wx; then
12376 if test ! -d include/wx/${TOOLKIT_DIR}; then
12377 mkdir include/wx/${TOOLKIT_DIR}
12379 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12383 chmod +x $CONFIG_STATUS
12384 rm -fr confdefs* $ac_clean_files
12385 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1