3 # From configure.in Id: configure.in
42 # Configure paths for GTK+
46 # Guess values for system-dependent variables and create Makefiles.
47 # Generated automatically using autoconf version 2.13
48 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 # This configure script is free software; the Free Software Foundation
51 # gives unlimited permission to copy, distribute and modify it.
55 ac_default_prefix
=/usr
/local
56 # Any additions from configure.in:
58 --enable-gui use GUI classes"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-cygwin use Cygwin for MS-Windows"
70 --with-mingw use GCC Minimal MS-Windows"
72 --with-pm use OS/2 Presentation Manager"
74 --with-gtk-prefix=PFX Prefix where GTK is installed"
76 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
90 --with-zlib use zlib for LZW compression"
92 --with-odbc use the IODBC and wxODBC classes"
94 --enable-shared create shared library code"
96 --enable-burnt_name create set name in shared library "
98 --enable-optimise create optimised code"
100 --enable-debug same as debug_flag and debug_info"
102 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
104 --enable-debug_info create code with debugging information"
106 --enable-debug_gdb create code with extra GDB debugging information"
108 --enable-debug_cntxt use wxDebugContext"
110 --enable-mem_tracing create code with memory tracing"
112 --enable-profile create code with profiling information"
114 --enable-no_rtti create code without RTTI information"
116 --enable-no_exceptions create code without exceptions information"
118 --enable-permissive compile code disregarding strict ANSI"
120 --enable-no_deps create code without dependency information"
122 --enable-intl use internationalization system"
124 --enable-config use wxConfig (and derived) classes"
126 --enable-sockets use socket/network classes"
128 --enable-ipc use interprocess communication (wxSocket etc.)"
130 --enable-dialupman use dialup network classes"
132 --enable-apple_ieee use the Apple IEEE codec"
134 --enable-timedate use date/time classes"
136 --enable-wave use wxWave class"
138 --enable-fraction use wxFraction class"
140 --enable-dynlib use wxLibrary class for DLL loading"
142 --enable-longlong use wxLongLong class"
144 --enable-geometry use geometry class"
146 --enable-log use logging system"
148 --enable-streams use wxStream etc classes"
150 --enable-file use wxFile classes"
152 --enable-textfile use wxTextFile classes"
154 --enable-unicode compile wxString with Unicode support"
156 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
158 --enable-wxprintfv use wxWindows implementation of vprintf()"
160 --enable-std_iostreams use standard C++ stream classes"
162 --enable-filesystem use virtual file systems classes"
164 --enable-fs_inet use virtual HTTP/FTP filesystems"
166 --enable-fs_zip use virtual ZIP filesystems"
168 --enable-zipstream use wxZipInputStream"
170 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
172 --enable-threads use threads"
174 --enable-serial use class serialization"
176 --enable-docview use document view architecture"
178 --enable-help use help (using external browser at present)"
180 --enable-constraints use layout-constraints system"
182 --enable-printarch use printing architecture"
184 --enable-mdi use multiple document interface architecture"
186 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
188 --enable-prologio use Prolog IO library"
190 --enable-resources use wxWindows resources"
192 --enable-xresources use X resources for save (default for gtk+)"
194 --enable-clipboard use wxClipboard classes"
196 --enable-dnd use Drag'n'Drop classes"
198 --enable-metafile use win32 metafiles"
200 --enable-wxtree make wxTree library"
202 --enable-controls use all usual controls"
204 --enable-accel use accelerators"
206 --enable-caret use wxCaret class"
208 --enable-bmpbutton use wxBitmapButton class"
210 --enable-checkbox use wxCheckBox class"
212 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
214 --enable-choice use wxChoice class"
216 --enable-combobox use wxComboBox classes"
218 --enable-gauge use wxGauge class"
220 --enable-grid use wxGrid class"
222 --enable-newgrid use new wxGrid class"
224 --enable-imaglist use wxImageList class"
226 --enable-listbox use wxListBox class"
228 --enable-listctrl use wxListCtrl class"
230 --enable-notebook use wxNotebook class"
232 --enable-radiobox use wxRadioBox class"
234 --enable-radiobtn use wxRadioButton class"
236 --enable-sash use wxSashWindow class"
238 --enable-scrollbar use wxScrollBar class and scrollable windows"
240 --enable-slider use wxSlider class"
242 --enable-spinbtn use wxSpinButton class"
244 --enable-spinctrl use wxSpinCtrl class"
246 --enable-splitter use wxSplitterWindow class"
248 --enable-statbmp use wxStaticBitmap class"
250 --enable-statbox use wxStaticBox class"
252 --enable-statline use wxStaticLine class"
254 --enable-statusbar use wxStatusBar class"
256 --enable-tabdialog use wxTabControl class"
258 --enable-togglebtn use wxToggleButton class"
260 --enable-toolbar use wxToolBar class"
262 --enable-tbarnative use native wxToolBar class"
264 --enable-tbarsmpl use wxToolBarSimple class"
266 --enable-treectrl use wxTreeCtrl class"
268 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
270 --enable-dirdlg use wxDirDialog"
272 --enable-textdlg use wxTextDialog"
274 --enable-tipdlg use startup tips"
276 --enable-progressdlg use wxProgressDialog"
278 --enable-miniframe use wxMiniFrame class"
280 --enable-html use wxHTML sub-library"
282 --enable-tooltips use wxToolTip class"
284 --enable-splines use spline drawing code"
286 --enable-validators use wxValidator and derived classes"
288 --enable-busyinfo use wxBusyInfo"
290 --enable-joystick compile in joystick support (Linux only)"
292 --enable-image use wxImage class"
294 --enable-gif use gif images (GIF file format)"
296 --enable-pcx use pcx images (PCX file format)"
298 --enable-pnm use pnm images (PNM file format)"
300 --enable-xpm use xpm images (XPM file format)"
302 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
304 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
306 --disable-gtktest Do not try to compile and run a test GTK program"
308 --with-x use the X Window System"
310 # Initialize some variables set by options.
311 # The variables have the same names as the options, with
312 # dashes changed to underlines.
314 cache_file
=.
/config.cache
323 program_transform_name
=s
,x
,x
,
331 bindir
='${exec_prefix}/bin'
332 sbindir
='${exec_prefix}/sbin'
333 libexecdir
='${exec_prefix}/libexec'
334 datadir
='${prefix}/share'
335 sysconfdir
='${prefix}/etc'
336 sharedstatedir
='${prefix}/com'
337 localstatedir
='${prefix}/var'
338 libdir
='${exec_prefix}/lib'
339 includedir
='${prefix}/include'
340 oldincludedir
='/usr/include'
341 infodir
='${prefix}/info'
342 mandir
='${prefix}/man'
344 # Initialize some other variables.
347 SHELL
=${CONFIG_SHELL-/bin/sh}
348 # Maximum number of lines to put in a shell here document.
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
363 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir
="$ac_optarg" ;;
376 -build | --build | --buil | --bui | --bu)
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build
="$ac_optarg" ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev
=cache_file
;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file
="$ac_optarg" ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir
="$ac_optarg" ;;
394 -disable-* | --disable-*)
395 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
396 # Reject names that are not valid shell variable names.
397 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
398 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
400 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
401 eval "enable_${ac_feature}=no" ;;
403 -enable-* | --enable-*)
404 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
409 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
414 eval "enable_${ac_feature}='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix
="$ac_optarg" ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he)
430 # Omit some internal or obsolete options to make the list less imposing.
431 # This message is too long to be a string in the A/UX 3.1 sh.
433 Usage: configure [options] [host]
434 Options: [defaults in brackets after descriptions]
436 --cache-file=FILE cache test results in FILE
437 --help print this message
438 --no-create do not create output files
439 --quiet, --silent do not print \`checking...' messages
440 --version print the version of autoconf that created configure
441 Directory and file names:
442 --prefix=PREFIX install architecture-independent files in PREFIX
444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
446 --bindir=DIR user executables in DIR [EPREFIX/bin]
447 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
448 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
449 --datadir=DIR read-only architecture-independent data in DIR
451 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
452 --sharedstatedir=DIR modifiable architecture-independent data in DIR
454 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
455 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
456 --includedir=DIR C header files in DIR [PREFIX/include]
457 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
458 --infodir=DIR info documentation in DIR [PREFIX/info]
459 --mandir=DIR man documentation in DIR [PREFIX/man]
460 --srcdir=DIR find the sources in DIR [configure dir or ..]
461 --program-prefix=PREFIX prepend PREFIX to installed program names
462 --program-suffix=SUFFIX append SUFFIX to installed program names
463 --program-transform-name=PROGRAM
464 run sed PROGRAM on installed program names
468 --build=BUILD configure for building on BUILD [BUILD=HOST]
469 --host=HOST configure for HOST [guessed]
470 --target=TARGET configure for TARGET [TARGET=HOST]
471 Features and packages:
472 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
473 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
476 --x-includes=DIR X include files are in DIR
477 --x-libraries=DIR X library files are in DIR
479 if test -n "$ac_help"; then
480 echo "--enable and --with options recognized:$ac_help"
484 -host | --host | --hos | --ho)
486 -host=* | --host=* | --hos=* | --ho=*)
489 -includedir | --includedir | --includedi | --included | --include \
490 | --includ | --inclu | --incl | --inc)
491 ac_prev
=includedir
;;
492 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
493 | --includ=* | --inclu=* | --incl=* | --inc=*)
494 includedir
="$ac_optarg" ;;
496 -infodir | --infodir | --infodi | --infod | --info | --inf)
498 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
499 infodir
="$ac_optarg" ;;
501 -libdir | --libdir | --libdi | --libd)
503 -libdir=* | --libdir=* | --libdi=* | --libd=*)
504 libdir
="$ac_optarg" ;;
506 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
507 | --libexe | --libex | --libe)
508 ac_prev
=libexecdir
;;
509 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
510 | --libexe=* | --libex=* | --libe=*)
511 libexecdir
="$ac_optarg" ;;
513 -localstatedir | --localstatedir | --localstatedi | --localstated \
514 | --localstate | --localstat | --localsta | --localst \
515 | --locals | --local | --loca | --loc | --lo)
516 ac_prev
=localstatedir
;;
517 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
518 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
519 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
520 localstatedir
="$ac_optarg" ;;
522 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
524 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
525 mandir
="$ac_optarg" ;;
528 # Obsolete; use --without-fp.
531 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
535 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
536 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
539 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
540 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
541 | --oldin | --oldi | --old | --ol | --o)
542 ac_prev
=oldincludedir
;;
543 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
544 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
545 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
546 oldincludedir
="$ac_optarg" ;;
548 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
550 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
551 prefix
="$ac_optarg" ;;
553 -program-prefix | --program-prefix | --program-prefi | --program-pref \
554 | --program-pre | --program-pr | --program-p)
555 ac_prev
=program_prefix
;;
556 -program-prefix=* | --program-prefix=* | --program-prefi=* \
557 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
558 program_prefix
="$ac_optarg" ;;
560 -program-suffix | --program-suffix | --program-suffi | --program-suff \
561 | --program-suf | --program-su | --program-s)
562 ac_prev
=program_suffix
;;
563 -program-suffix=* | --program-suffix=* | --program-suffi=* \
564 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
565 program_suffix
="$ac_optarg" ;;
567 -program-transform-name | --program-transform-name \
568 | --program-transform-nam | --program-transform-na \
569 | --program-transform-n | --program-transform- \
570 | --program-transform | --program-transfor \
571 | --program-transfo | --program-transf \
572 | --program-trans | --program-tran \
573 | --progr-tra | --program-tr | --program-t)
574 ac_prev
=program_transform_name
;;
575 -program-transform-name=* | --program-transform-name=* \
576 | --program-transform-nam=* | --program-transform-na=* \
577 | --program-transform-n=* | --program-transform-=* \
578 | --program-transform=* | --program-transfor=* \
579 | --program-transfo=* | --program-transf=* \
580 | --program-trans=* | --program-tran=* \
581 | --progr-tra=* | --program-tr=* | --program-t=*)
582 program_transform_name
="$ac_optarg" ;;
584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
585 | -silent | --silent | --silen | --sile | --sil)
588 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
590 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
592 sbindir
="$ac_optarg" ;;
594 -sharedstatedir | --sharedstatedir | --sharedstatedi \
595 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
596 | --sharedst | --shareds | --shared | --share | --shar \
598 ac_prev
=sharedstatedir
;;
599 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
600 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
601 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
603 sharedstatedir
="$ac_optarg" ;;
605 -site | --site | --sit)
607 -site=* | --site=* | --sit=*)
610 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
612 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
613 srcdir
="$ac_optarg" ;;
615 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
616 | --syscon | --sysco | --sysc | --sys | --sy)
617 ac_prev
=sysconfdir
;;
618 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
619 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
620 sysconfdir
="$ac_optarg" ;;
622 -target | --target | --targe | --targ | --tar | --ta | --t)
624 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
625 target
="$ac_optarg" ;;
627 -v | -verbose | --verbose | --verbos | --verbo | --verb)
630 -version | --version | --versio | --versi | --vers)
631 echo "configure generated by autoconf version 2.13"
635 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
636 # Reject names that are not valid shell variable names.
637 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
638 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
640 ac_package
=`echo $ac_package| sed 's/-/_/g'`
645 eval "with_${ac_package}='$ac_optarg'" ;;
647 -without-* | --without-*)
648 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
649 # Reject names that are not valid shell variable names.
650 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
651 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
653 ac_package
=`echo $ac_package| sed 's/-/_/g'`
654 eval "with_${ac_package}=no" ;;
657 # Obsolete; use --with-x.
660 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
661 | --x-incl | --x-inc | --x-in | --x-i)
662 ac_prev
=x_includes
;;
663 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
664 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
665 x_includes
="$ac_optarg" ;;
667 -x-libraries | --x-libraries | --x-librarie | --x-librari \
668 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
669 ac_prev
=x_libraries
;;
670 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
671 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
672 x_libraries
="$ac_optarg" ;;
674 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
678 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
679 echo "configure: warning: $ac_option: invalid host type" 1>&2
681 if test "x$nonopt" != xNONE
; then
682 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
690 if test -n "$ac_prev"; then
691 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
694 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
696 # File descriptor usage:
699 # 2 errors and warnings
700 # 3 some systems may open it to /dev/tty
701 # 4 used on the Kubota Titan
702 # 6 checking for... messages and results
703 # 5 compiler messages saved in config.log
704 if test "$silent" = yes; then
712 This file contains any messages produced by compilers while
713 running configure, to aid debugging if configure makes a mistake.
716 # Strip out --no-create and --no-recursion so they do not pile up.
717 # Also quote any args containing shell metacharacters.
722 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
723 | --no-cr | --no-c) ;;
724 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
725 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
726 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
727 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
728 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
733 # Only set these to C if already set. These must not be set unconditionally
734 # because not all systems understand e.g. LANG=C (notably SCO).
735 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
736 # Non-C LC_CTYPE values break the ctype check.
737 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
738 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
739 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
740 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
742 # confdefs.h avoids OS command line length limits that DEFS can exceed.
743 rm -rf conftest
* confdefs.h
744 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
747 # A filename unique to this package, relative to the directory that
748 # configure is in, which we can look for to find out if srcdir is correct.
749 ac_unique_file
=wx
-config.
in
751 # Find the source files, if location was not specified.
752 if test -z "$srcdir"; then
753 ac_srcdir_defaulted
=yes
754 # Try the directory containing this script, then its parent.
756 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
757 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
759 if test ! -r $srcdir/$ac_unique_file; then
763 ac_srcdir_defaulted
=no
765 if test ! -r $srcdir/$ac_unique_file; then
766 if test "$ac_srcdir_defaulted" = yes; then
767 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
769 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
772 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
774 # Prefer explicitly selected file to automatically selected ones.
775 if test -z "$CONFIG_SITE"; then
776 if test "x$prefix" != xNONE
; then
777 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
779 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
782 for ac_site_file
in $CONFIG_SITE; do
783 if test -r "$ac_site_file"; then
784 echo "loading site script $ac_site_file"
789 if test -r "$cache_file"; then
790 echo "loading cache $cache_file"
793 echo "creating cache $cache_file"
798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
799 ac_cpp
='$CPP $CPPFLAGS'
800 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
801 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
802 cross_compiling
=$ac_cv_prog_cc_cross
806 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
807 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
808 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
815 ac_n
= ac_c
='\c' ac_t
=
821 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
822 if test -f $ac_dir/install-sh; then
824 ac_install_sh
="$ac_aux_dir/install-sh -c"
826 elif test -f $ac_dir/install.sh
; then
828 ac_install_sh
="$ac_aux_dir/install.sh -c"
832 if test -z "$ac_aux_dir"; then
833 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
835 ac_config_guess
=$ac_aux_dir/config.guess
836 ac_config_sub
=$ac_aux_dir/config.sub
837 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
840 # Do some error checking and defaulting for the host and target type.
842 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
845 # 1. You are not allowed to specify --host, --target, and nonopt at the
847 # 2. Host defaults to nonopt.
848 # 3. If nonopt is not specified, then host defaults to the current host,
849 # as determined by config.guess.
850 # 4. Target and build default to nonopt.
851 # 5. If nonopt is not specified, then target and build default to host.
853 # The aliases save the names the user supplied, while $host etc.
854 # will get canonicalized.
855 case $host---$target---$nonopt in
856 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
857 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
861 # Make sure we can run config.sub.
862 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
863 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
866 echo $ac_n "checking host system type""... $ac_c" 1>&6
867 echo "configure:868: checking host system type" >&5
870 case "$host_alias" in
874 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
875 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
877 *) host_alias
=$nonopt ;;
881 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
882 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
883 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
884 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
885 echo "$ac_t""$host" 1>&6
887 echo $ac_n "checking target system type""... $ac_c" 1>&6
888 echo "configure:889: checking target system type" >&5
891 case "$target_alias" in
894 NONE
) target_alias
=$host_alias ;;
895 *) target_alias
=$nonopt ;;
899 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
900 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
901 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
902 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
903 echo "$ac_t""$target" 1>&6
905 echo $ac_n "checking build system type""... $ac_c" 1>&6
906 echo "configure:907: checking build system type" >&5
909 case "$build_alias" in
912 NONE
) build_alias
=$host_alias ;;
913 *) build_alias
=$nonopt ;;
917 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
918 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
919 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
920 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
921 echo "$ac_t""$build" 1>&6
923 test "$host_alias" != "$target_alias" &&
924 test "$program_prefix$program_suffix$program_transform_name" = \
926 program_prefix
=${target_alias}-
930 WX_MAJOR_VERSION_NUMBER
=2
931 WX_MINOR_VERSION_NUMBER
=3
934 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
935 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
968 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
970 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF MAC WINE PM"
973 DEFAULT_wxUSE_MOTIF
=0
979 DEFAULT_DEFAULT_wxUSE_GTK
=0
980 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
981 DEFAULT_DEFAULT_wxUSE_MSW
=0
982 DEFAULT_DEFAULT_wxUSE_MAC
=0
983 DEFAULT_DEFAULT_wxUSE_WINE
=0
984 DEFAULT_DEFAULT_wxUSE_PM
=0
991 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
992 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
993 cat >> confdefs.h
<<\EOF
1000 cat >> confdefs.h
<<\EOF
1005 if test "x$TMP" = "xalpha"; then
1007 cat >> confdefs.h
<<\EOF
1012 DEFAULT_DEFAULT_wxUSE_GTK
=1
1014 *-*-irix5* | *-*-irix6* )
1017 cat >> confdefs.h
<<\EOF
1021 cat >> confdefs.h
<<\EOF
1025 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1031 cat >> confdefs.h
<<\EOF
1035 cat >> confdefs.h
<<\EOF
1036 #define __SOLARIS__ 1
1039 cat >> confdefs.h
<<\EOF
1043 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1044 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1050 cat >> confdefs.h
<<\EOF
1054 cat >> confdefs.h
<<\EOF
1058 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 cat >> confdefs.h
<<\EOF
1068 #define __FREEBSD__ 1
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_GTK
=1
1080 cat >> confdefs.h
<<\EOF
1081 #define __FREEBSD__ 1
1084 cat >> confdefs.h
<<\EOF
1085 #define __OPENBSD__ 1
1088 DEFAULT_DEFAULT_wxUSE_GTK
=1
1093 cat >> confdefs.h
<<\EOF
1094 #define __FREEBSD__ 1
1097 cat >> confdefs.h
<<\EOF
1098 #define __NETBSD__ 1
1101 DEFAULT_DEFAULT_wxUSE_GTK
=1
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1114 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1115 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1120 cat >> confdefs.h
<<\EOF
1124 cat >> confdefs.h
<<\EOF
1128 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1147 cat >> confdefs.h
<<\EOF
1151 cat >> confdefs.h
<<\EOF
1155 cat >> confdefs.h
<<\EOF
1159 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1162 *-*-cygwin32* | *-*-mingw32* )
1165 cat >> confdefs.h
<<\EOF
1169 cat >> confdefs.h
<<\EOF
1173 cat >> confdefs.h
<<\EOF
1174 #define __WINDOWS__ 1
1177 cat >> confdefs.h
<<\EOF
1178 #define __GNUWIN32__ 1
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1186 #define WINVER 0x0400
1190 DEFAULT_DEFAULT_wxUSE_MSW
=1
1194 cat >> confdefs.h
<<\EOF
1199 DEFAULT_DEFAULT_wxUSE_PM
=1
1205 cat >> confdefs.h
<<\EOF
1209 cat >> confdefs.h
<<\EOF
1213 cat >> confdefs.h
<<\EOF
1217 DEFAULT_DEFAULT_wxUSE_MAC
=1
1222 cat >> confdefs.h
<<\EOF
1229 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1232 if test "$USE_UNIX" = 1 ; then
1234 cat >> confdefs.h
<<\EOF
1239 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1240 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1243 if test "$USE_BEOS" = 1; then
1244 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1245 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1248 if test "$USE_LINUX" = 1; then
1249 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1250 echo "configure:1251: checking for gettext in -lc" >&5
1251 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1255 ac_save_LIBS
="$LIBS"
1257 cat > conftest.
$ac_ext <<EOF
1258 #line 1259 "configure"
1259 #include "confdefs.h"
1260 /* Override any gcc2 internal prototype to avoid an error. */
1261 /* We use char because int might match the return type of a gcc2
1262 builtin and then its argument prototype would still apply. */
1269 if { (eval echo configure
:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1271 eval "ac_cv_lib_$ac_lib_var=yes"
1273 echo "configure: failed program was:" >&5
1274 cat conftest.
$ac_ext >&5
1276 eval "ac_cv_lib_$ac_lib_var=no"
1279 LIBS
="$ac_save_LIBS"
1282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1283 echo "$ac_t""yes" 1>&6
1284 cat >> confdefs.h
<<\EOF
1285 #define wxHAVE_GLIBC2 1
1289 echo "$ac_t""no" 1>&6
1297 wx_arg_cache_file
="configarg.cache"
1298 echo "loading argument cache $wx_arg_cache_file"
1299 rm -f ${wx_arg_cache_file}.tmp
1300 touch ${wx_arg_cache_file}.tmp
1301 touch ${wx_arg_cache_file}
1305 if test $DEBUG_CONFIGURE = 1; then
1306 DEFAULT_wxUSE_THREADS
=yes
1308 DEFAULT_wxUSE_SHARED
=yes
1309 DEFAULT_wxUSE_BURNT_NAME
=no
1310 DEFAULT_wxUSE_OPTIMISE
=yes
1311 DEFAULT_wxUSE_PROFILE
=no
1312 DEFAULT_wxUSE_NO_DEPS
=no
1313 DEFAULT_wxUSE_NO_RTTI
=no
1314 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1315 DEFAULT_wxUSE_PERMISSIVE
=no
1316 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1317 DEFAULT_wxUSE_DEBUG_INFO
=yes
1318 DEFAULT_wxUSE_DEBUG_GDB
=yes
1319 DEFAULT_wxUSE_MEM_TRACING
=no
1320 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1321 DEFAULT_wxUSE_DMALLOC
=no
1322 DEFAULT_wxUSE_APPLE_IEEE
=no
1324 DEFAULT_wxUSE_LOG
=yes
1326 DEFAULT_wxUSE_GUI
=yes
1328 DEFAULT_wxUSE_ZLIB
=no
1329 DEFAULT_wxUSE_LIBPNG
=no
1330 DEFAULT_wxUSE_LIBJPEG
=no
1331 DEFAULT_wxUSE_LIBTIFF
=no
1332 DEFAULT_wxUSE_ODBC
=no
1333 DEFAULT_wxUSE_FREETYPE
=no
1334 DEFAULT_wxUSE_OPENGL
=no
1336 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1337 DEFAULT_wxUSE_STD_IOSTREAM
=no
1338 DEFAULT_wxUSE_FILE
=no
1339 DEFAULT_wxUSE_TEXTFILE
=no
1340 DEFAULT_wxUSE_TIMEDATE
=no
1341 DEFAULT_wxUSE_WAVE
=no
1342 DEFAULT_wxUSE_INTL
=no
1343 DEFAULT_wxUSE_CONFIG
=no
1344 DEFAULT_wxUSE_STREAMS
=no
1345 DEFAULT_wxUSE_SOCKETS
=no
1346 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1347 DEFAULT_wxUSE_SERIAL
=no
1348 DEFAULT_wxUSE_JOYSTICK
=no
1349 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1350 DEFAULT_wxUSE_LONGLONG
=no
1351 DEFAULT_wxUSE_GEOMETRY
=no
1353 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1354 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1355 DEFAULT_wxUSE_POSTSCRIPT
=no
1357 DEFAULT_wxUSE_X_RESOURCES
=no
1358 DEFAULT_wxUSE_CLIPBOARD
=no
1359 DEFAULT_wxUSE_TOOLTIPS
=no
1360 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1361 DEFAULT_wxUSE_SPLINES
=no
1363 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1364 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1365 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1367 DEFAULT_wxUSE_PROLOGIO
=no
1368 DEFAULT_wxUSE_RESOURCES
=no
1369 DEFAULT_wxUSE_CONSTRAINTS
=no
1370 DEFAULT_wxUSE_IPC
=no
1371 DEFAULT_wxUSE_HELP
=no
1372 DEFAULT_wxUSE_WXTREE
=no
1373 DEFAULT_wxUSE_METAFILE
=no
1375 DEFAULT_wxUSE_COMMONDLGS
=no
1376 DEFAULT_wxUSE_DIRDLG
=no
1377 DEFAULT_wxUSE_TEXTDLG
=no
1378 DEFAULT_wxUSE_STARTUP_TIPS
=no
1379 DEFAULT_wxUSE_PROGRESSDLG
=no
1380 DEFAULT_wxUSE_MINIFRAME
=no
1381 DEFAULT_wxUSE_HTML
=no
1382 DEFAULT_wxUSE_FILESYSTEM
=no
1383 DEFAULT_wxUSE_FS_INET
=no
1384 DEFAULT_wxUSE_FS_ZIP
=no
1385 DEFAULT_wxUSE_BUSYINFO
=no
1386 DEFAULT_wxUSE_ZIPSTREAM
=no
1387 DEFAULT_wxUSE_VALIDATORS
=yes
1389 DEFAULT_wxUSE_ACCEL
=no
1390 DEFAULT_wxUSE_CARET
=no
1391 DEFAULT_wxUSE_BMPBUTTON
=no
1392 DEFAULT_wxUSE_CHECKBOX
=no
1393 DEFAULT_wxUSE_CHECKLST
=no
1394 DEFAULT_wxUSE_CHOICE
=yes
1395 DEFAULT_wxUSE_COMBOBOX
=no
1396 DEFAULT_wxUSE_GAUGE
=no
1397 DEFAULT_wxUSE_GRID
=no
1398 DEFAULT_wxUSE_NEW_GRID
=no
1399 DEFAULT_wxUSE_IMAGLIST
=no
1400 DEFAULT_wxUSE_LISTBOX
=no
1401 DEFAULT_wxUSE_LISTCTRL
=no
1402 DEFAULT_wxUSE_NOTEBOOK
=no
1403 DEFAULT_wxUSE_RADIOBOX
=no
1404 DEFAULT_wxUSE_RADIOBTN
=no
1405 DEFAULT_wxUSE_SASH
=no
1406 DEFAULT_wxUSE_SCROLLBAR
=no
1407 DEFAULT_wxUSE_SLIDER
=no
1408 DEFAULT_wxUSE_SPINBTN
=no
1409 DEFAULT_wxUSE_SPINCTRL
=no
1410 DEFAULT_wxUSE_SPLITTER
=no
1411 DEFAULT_wxUSE_STATBMP
=no
1412 DEFAULT_wxUSE_STATBOX
=no
1413 DEFAULT_wxUSE_STATLINE
=no
1414 DEFAULT_wxUSE_STATUSBAR
=yes
1415 DEFAULT_wxUSE_TABDIALOG
=no
1416 DEFAULT_wxUSE_TOGGLEBTN
=no
1417 DEFAULT_wxUSE_TOOLBAR
=no
1418 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1419 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1420 DEFAULT_wxUSE_TREECTRL
=no
1422 DEFAULT_wxUSE_UNICODE
=no
1423 DEFAULT_wxUSE_WCSRTOMBS
=no
1425 DEFAULT_wxUSE_IMAGE
=no
1426 DEFAULT_wxUSE_GIF
=no
1427 DEFAULT_wxUSE_PCX
=no
1428 DEFAULT_wxUSE_PNM
=no
1429 DEFAULT_wxUSE_XPM
=no
1431 DEFAULT_wxUSE_THREADS
=yes
1433 DEFAULT_wxUSE_SHARED
=yes
1434 DEFAULT_wxUSE_BURNT_NAME
=no
1435 DEFAULT_wxUSE_OPTIMISE
=yes
1436 DEFAULT_wxUSE_PROFILE
=no
1437 DEFAULT_wxUSE_NO_DEPS
=no
1438 DEFAULT_wxUSE_NO_RTTI
=no
1439 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1440 DEFAULT_wxUSE_PERMISSIVE
=no
1441 DEFAULT_wxUSE_DEBUG_FLAG
=no
1442 DEFAULT_wxUSE_DEBUG_INFO
=no
1443 DEFAULT_wxUSE_DEBUG_GDB
=no
1444 DEFAULT_wxUSE_MEM_TRACING
=no
1445 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1446 DEFAULT_wxUSE_DMALLOC
=no
1447 DEFAULT_wxUSE_APPLE_IEEE
=yes
1449 DEFAULT_wxUSE_LOG
=yes
1451 DEFAULT_wxUSE_GUI
=yes
1453 DEFAULT_wxUSE_ZLIB
=yes
1454 DEFAULT_wxUSE_LIBPNG
=yes
1455 DEFAULT_wxUSE_LIBJPEG
=yes
1456 DEFAULT_wxUSE_LIBTIFF
=yes
1457 DEFAULT_wxUSE_ODBC
=no
1458 DEFAULT_wxUSE_FREETYPE
=no
1459 DEFAULT_wxUSE_OPENGL
=no
1461 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1462 DEFAULT_wxUSE_STD_IOSTREAM
=no
1463 DEFAULT_wxUSE_FILE
=yes
1464 DEFAULT_wxUSE_TEXTFILE
=yes
1465 DEFAULT_wxUSE_TIMEDATE
=yes
1466 DEFAULT_wxUSE_WAVE
=no
1467 DEFAULT_wxUSE_INTL
=yes
1468 DEFAULT_wxUSE_CONFIG
=yes
1469 DEFAULT_wxUSE_STREAMS
=yes
1470 DEFAULT_wxUSE_SOCKETS
=yes
1471 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1472 DEFAULT_wxUSE_SERIAL
=yes
1473 DEFAULT_wxUSE_JOYSTICK
=yes
1474 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1475 DEFAULT_wxUSE_LONGLONG
=yes
1476 DEFAULT_wxUSE_GEOMETRY
=yes
1478 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1479 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1480 DEFAULT_wxUSE_POSTSCRIPT
=yes
1482 DEFAULT_wxUSE_X_RESOURCES
=no
1483 DEFAULT_wxUSE_CLIPBOARD
=yes
1484 DEFAULT_wxUSE_TOOLTIPS
=yes
1485 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1486 DEFAULT_wxUSE_SPLINES
=yes
1488 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1492 DEFAULT_wxUSE_PROLOGIO
=yes
1493 DEFAULT_wxUSE_RESOURCES
=yes
1494 DEFAULT_wxUSE_CONSTRAINTS
=yes
1495 DEFAULT_wxUSE_IPC
=yes
1496 DEFAULT_wxUSE_HELP
=yes
1497 DEFAULT_wxUSE_WXTREE
=yes
1498 DEFAULT_wxUSE_METAFILE
=yes
1500 DEFAULT_wxUSE_COMMONDLGS
=yes
1501 DEFAULT_wxUSE_DIRDLG
=yes
1502 DEFAULT_wxUSE_TEXTDLG
=yes
1503 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1504 DEFAULT_wxUSE_PROGRESSDLG
=yes
1505 DEFAULT_wxUSE_MINIFRAME
=yes
1506 DEFAULT_wxUSE_HTML
=yes
1507 DEFAULT_wxUSE_FILESYSTEM
=yes
1508 DEFAULT_wxUSE_FS_INET
=yes
1509 DEFAULT_wxUSE_FS_ZIP
=yes
1510 DEFAULT_wxUSE_BUSYINFO
=yes
1511 DEFAULT_wxUSE_ZIPSTREAM
=yes
1512 DEFAULT_wxUSE_VALIDATORS
=yes
1514 DEFAULT_wxUSE_ACCEL
=yes
1515 DEFAULT_wxUSE_CARET
=yes
1516 DEFAULT_wxUSE_BMPBUTTON
=yes
1517 DEFAULT_wxUSE_CHECKBOX
=yes
1518 DEFAULT_wxUSE_CHECKLST
=yes
1519 DEFAULT_wxUSE_CHOICE
=yes
1520 DEFAULT_wxUSE_COMBOBOX
=yes
1521 DEFAULT_wxUSE_GAUGE
=yes
1522 DEFAULT_wxUSE_GRID
=yes
1523 DEFAULT_wxUSE_NEW_GRID
=yes
1524 DEFAULT_wxUSE_IMAGLIST
=yes
1525 DEFAULT_wxUSE_LISTBOX
=yes
1526 DEFAULT_wxUSE_LISTCTRL
=yes
1527 DEFAULT_wxUSE_NOTEBOOK
=yes
1528 DEFAULT_wxUSE_RADIOBOX
=yes
1529 DEFAULT_wxUSE_RADIOBTN
=yes
1530 DEFAULT_wxUSE_SASH
=yes
1531 DEFAULT_wxUSE_SCROLLBAR
=yes
1532 DEFAULT_wxUSE_SLIDER
=yes
1533 DEFAULT_wxUSE_SPINBTN
=yes
1534 DEFAULT_wxUSE_SPINCTRL
=yes
1535 DEFAULT_wxUSE_SPLITTER
=yes
1536 DEFAULT_wxUSE_STATBMP
=yes
1537 DEFAULT_wxUSE_STATBOX
=yes
1538 DEFAULT_wxUSE_STATLINE
=yes
1539 DEFAULT_wxUSE_STATUSBAR
=yes
1540 DEFAULT_wxUSE_TABDIALOG
=no
1541 DEFAULT_wxUSE_TOGGLEBTN
=yes
1542 DEFAULT_wxUSE_TOOLBAR
=yes
1543 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1544 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1545 DEFAULT_wxUSE_TREECTRL
=yes
1547 DEFAULT_wxUSE_UNICODE
=no
1548 DEFAULT_wxUSE_WCSRTOMBS
=no
1550 DEFAULT_wxUSE_IMAGE
=yes
1551 DEFAULT_wxUSE_GIF
=yes
1552 DEFAULT_wxUSE_PCX
=yes
1553 DEFAULT_wxUSE_PNM
=yes
1554 DEFAULT_wxUSE_XPM
=yes
1559 for toolkit
in `echo $ALL_TOOLKITS`; do
1560 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1561 if test "x$LINE" != x
; then
1562 has_toolkit_in_cache
=1
1563 eval "DEFAULT_$LINE"
1564 eval "CACHE_$toolkit=1"
1570 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1571 echo "configure:1572: checking "for --enable-gui"" >&5
1573 # Check whether --enable-gui or --disable-gui was given.
1574 if test "${enable_gui+set}" = set; then
1575 enableval
="$enable_gui"
1577 if test "$enableval" = yes; then
1578 ac_cv_use_gui
='wxUSE_GUI=yes'
1580 ac_cv_use_gui
='wxUSE_GUI=no'
1585 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1586 if test "x$LINE" != x
; then
1587 eval "DEFAULT_$LINE"
1592 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1597 eval "$ac_cv_use_gui"
1598 if test "$no_cache" != 1; then
1599 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1602 if test "$wxUSE_GUI" = yes; then
1603 echo "$ac_t""yes" 1>&6
1605 echo "$ac_t""no" 1>&6
1609 if test "$wxUSE_GUI" = "yes"; then
1611 # Check whether --with-gtk or --without-gtk was given.
1612 if test "${with_gtk+set}" = set; then
1614 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1617 # Check whether --with-motif or --without-motif was given.
1618 if test "${with_motif+set}" = set; then
1619 withval
="$with_motif"
1620 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1623 # Check whether --with-mac or --without-mac was given.
1624 if test "${with_mac+set}" = set; then
1626 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1629 # Check whether --with-wine or --without-wine was given.
1630 if test "${with_wine+set}" = set; then
1631 withval
="$with_wine"
1632 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1635 # Check whether --with-cygwin or --without-cygwin was given.
1636 if test "${with_cygwin+set}" = set; then
1637 withval
="$with_cygwin"
1638 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1641 # Check whether --with-mingw or --without-mingw was given.
1642 if test "${with_mingw+set}" = set; then
1643 withval
="$with_mingw"
1644 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1647 # Check whether --with-pm or --without-pm was given.
1648 if test "${with_pm+set}" = set; then
1650 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1654 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1655 if test "${with_gtk_prefix+set}" = set; then
1656 withval
="$with_gtk_prefix"
1657 gtk_config_prefix
="$withval"
1659 gtk_config_prefix
=""
1662 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1663 if test "${with_gtk_exec_prefix+set}" = set; then
1664 withval
="$with_gtk_exec_prefix"
1665 gtk_config_exec_prefix
="$withval"
1667 gtk_config_exec_prefix
=""
1672 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1673 echo "configure:1674: checking "for --with-libpng"" >&5
1675 # Check whether --with-libpng or --without-libpng was given.
1676 if test "${with_libpng+set}" = set; then
1677 withval
="$with_libpng"
1679 if test "$withval" = yes; then
1680 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1681 elif test "$withval" = no
; then
1682 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1683 elif test "$withval" = sys
; then
1684 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1686 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1691 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1692 if test "x$LINE" != x
; then
1693 eval "DEFAULT_$LINE"
1698 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1703 eval "$ac_cv_use_libpng"
1704 if test "$no_cache" != 1; then
1705 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1708 if test "$wxUSE_LIBPNG" = yes; then
1709 echo "$ac_t""yes" 1>&6
1710 elif test "$wxUSE_LIBPNG" = no
; then
1711 echo "$ac_t""no" 1>&6
1712 elif test "$wxUSE_LIBPNG" = sys
; then
1713 echo "$ac_t""system version" 1>&6
1715 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1719 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1720 echo "configure:1721: checking "for --with-libjpeg"" >&5
1722 # Check whether --with-libjpeg or --without-libjpeg was given.
1723 if test "${with_libjpeg+set}" = set; then
1724 withval
="$with_libjpeg"
1726 if test "$withval" = yes; then
1727 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1728 elif test "$withval" = no
; then
1729 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1730 elif test "$withval" = sys
; then
1731 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1733 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1738 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1739 if test "x$LINE" != x
; then
1740 eval "DEFAULT_$LINE"
1745 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1750 eval "$ac_cv_use_libjpeg"
1751 if test "$no_cache" != 1; then
1752 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1755 if test "$wxUSE_LIBJPEG" = yes; then
1756 echo "$ac_t""yes" 1>&6
1757 elif test "$wxUSE_LIBJPEG" = no
; then
1758 echo "$ac_t""no" 1>&6
1759 elif test "$wxUSE_LIBJPEG" = sys
; then
1760 echo "$ac_t""system version" 1>&6
1762 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1766 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1767 echo "configure:1768: checking "for --with-libtiff"" >&5
1769 # Check whether --with-libtiff or --without-libtiff was given.
1770 if test "${with_libtiff+set}" = set; then
1771 withval
="$with_libtiff"
1773 if test "$withval" = yes; then
1774 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1775 elif test "$withval" = no
; then
1776 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1777 elif test "$withval" = sys
; then
1778 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1780 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1785 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1786 if test "x$LINE" != x
; then
1787 eval "DEFAULT_$LINE"
1792 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1797 eval "$ac_cv_use_libtiff"
1798 if test "$no_cache" != 1; then
1799 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1802 if test "$wxUSE_LIBTIFF" = yes; then
1803 echo "$ac_t""yes" 1>&6
1804 elif test "$wxUSE_LIBTIFF" = no
; then
1805 echo "$ac_t""no" 1>&6
1806 elif test "$wxUSE_LIBTIFF" = sys
; then
1807 echo "$ac_t""system version" 1>&6
1809 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1813 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1814 echo "configure:1815: checking "for --with-freetype"" >&5
1816 # Check whether --with-freetype or --without-freetype was given.
1817 if test "${with_freetype+set}" = set; then
1818 withval
="$with_freetype"
1820 if test "$withval" = yes; then
1821 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1822 elif test "$withval" = no
; then
1823 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1824 elif test "$withval" = sys
; then
1825 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1827 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1832 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1833 if test "x$LINE" != x
; then
1834 eval "DEFAULT_$LINE"
1839 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1844 eval "$ac_cv_use_freetype"
1845 if test "$no_cache" != 1; then
1846 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1849 if test "$wxUSE_FREETYPE" = yes; then
1850 echo "$ac_t""yes" 1>&6
1851 elif test "$wxUSE_FREETYPE" = no
; then
1852 echo "$ac_t""no" 1>&6
1853 elif test "$wxUSE_FREETYPE" = sys
; then
1854 echo "$ac_t""system version" 1>&6
1856 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1860 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1861 echo "configure:1862: checking "for --with-opengl"" >&5
1863 # Check whether --with-opengl or --without-opengl was given.
1864 if test "${with_opengl+set}" = set; then
1865 withval
="$with_opengl"
1867 if test "$withval" = yes; then
1868 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1870 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1875 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1876 if test "x$LINE" != x
; then
1877 eval "DEFAULT_$LINE"
1882 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1887 eval "$ac_cv_use_opengl"
1888 if test "$no_cache" != 1; then
1889 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1892 if test "$wxUSE_OPENGL" = yes; then
1893 echo "$ac_t""yes" 1>&6
1895 echo "$ac_t""no" 1>&6
1902 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1903 echo "configure:1904: checking "for --with-dmalloc"" >&5
1905 # Check whether --with-dmalloc or --without-dmalloc was given.
1906 if test "${with_dmalloc+set}" = set; then
1907 withval
="$with_dmalloc"
1909 if test "$withval" = yes; then
1910 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1912 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1917 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1918 if test "x$LINE" != x
; then
1919 eval "DEFAULT_$LINE"
1924 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1929 eval "$ac_cv_use_dmalloc"
1930 if test "$no_cache" != 1; then
1931 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1934 if test "$wxUSE_DMALLOC" = yes; then
1935 echo "$ac_t""yes" 1>&6
1937 echo "$ac_t""no" 1>&6
1941 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1942 echo "configure:1943: checking "for --with-zlib"" >&5
1944 # Check whether --with-zlib or --without-zlib was given.
1945 if test "${with_zlib+set}" = set; then
1946 withval
="$with_zlib"
1948 if test "$withval" = yes; then
1949 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1950 elif test "$withval" = no
; then
1951 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1952 elif test "$withval" = sys
; then
1953 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1955 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1960 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1961 if test "x$LINE" != x
; then
1962 eval "DEFAULT_$LINE"
1967 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1972 eval "$ac_cv_use_zlib"
1973 if test "$no_cache" != 1; then
1974 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1977 if test "$wxUSE_ZLIB" = yes; then
1978 echo "$ac_t""yes" 1>&6
1979 elif test "$wxUSE_ZLIB" = no
; then
1980 echo "$ac_t""no" 1>&6
1981 elif test "$wxUSE_ZLIB" = sys
; then
1982 echo "$ac_t""system version" 1>&6
1984 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1988 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1989 echo "configure:1990: checking "for --with-odbc"" >&5
1991 # Check whether --with-odbc or --without-odbc was given.
1992 if test "${with_odbc+set}" = set; then
1993 withval
="$with_odbc"
1995 if test "$withval" = yes; then
1996 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1998 ac_cv_use_odbc
='wxUSE_ODBC=no'
2003 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2004 if test "x$LINE" != x
; then
2005 eval "DEFAULT_$LINE"
2010 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2015 eval "$ac_cv_use_odbc"
2016 if test "$no_cache" != 1; then
2017 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2020 if test "$wxUSE_ODBC" = yes; then
2021 echo "$ac_t""yes" 1>&6
2023 echo "$ac_t""no" 1>&6
2030 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
2031 echo "configure:2032: checking "for --enable-shared"" >&5
2033 # Check whether --enable-shared or --disable-shared was given.
2034 if test "${enable_shared+set}" = set; then
2035 enableval
="$enable_shared"
2037 if test "$enableval" = yes; then
2038 ac_cv_use_shared
='wxUSE_SHARED=yes'
2040 ac_cv_use_shared
='wxUSE_SHARED=no'
2045 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2046 if test "x$LINE" != x
; then
2047 eval "DEFAULT_$LINE"
2052 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2057 eval "$ac_cv_use_shared"
2058 if test "$no_cache" != 1; then
2059 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2062 if test "$wxUSE_SHARED" = yes; then
2063 echo "$ac_t""yes" 1>&6
2065 echo "$ac_t""no" 1>&6
2069 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2070 echo "configure:2071: checking "for --enable-burnt_name"" >&5
2072 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2073 if test "${enable_burnt_name+set}" = set; then
2074 enableval
="$enable_burnt_name"
2076 if test "$enableval" = yes; then
2077 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2079 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2084 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2085 if test "x$LINE" != x
; then
2086 eval "DEFAULT_$LINE"
2091 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2096 eval "$ac_cv_use_burnt_name"
2097 if test "$no_cache" != 1; then
2098 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2101 if test "$wxUSE_BURNT_NAME" = yes; then
2102 echo "$ac_t""yes" 1>&6
2104 echo "$ac_t""no" 1>&6
2108 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2109 echo "configure:2110: checking "for --enable-optimise"" >&5
2111 # Check whether --enable-optimise or --disable-optimise was given.
2112 if test "${enable_optimise+set}" = set; then
2113 enableval
="$enable_optimise"
2115 if test "$enableval" = yes; then
2116 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2118 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2123 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2124 if test "x$LINE" != x
; then
2125 eval "DEFAULT_$LINE"
2130 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2135 eval "$ac_cv_use_optimise"
2136 if test "$no_cache" != 1; then
2137 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2140 if test "$wxUSE_OPTIMISE" = yes; then
2141 echo "$ac_t""yes" 1>&6
2143 echo "$ac_t""no" 1>&6
2147 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2148 echo "configure:2149: checking "for --enable-debug"" >&5
2150 # Check whether --enable-debug or --disable-debug was given.
2151 if test "${enable_debug+set}" = set; then
2152 enableval
="$enable_debug"
2154 if test "$enableval" = yes; then
2155 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2157 ac_cv_use_debug
='wxUSE_DEBUG=no'
2162 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2163 if test "x$LINE" != x
; then
2164 eval "DEFAULT_$LINE"
2169 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2174 eval "$ac_cv_use_debug"
2175 if test "$no_cache" != 1; then
2176 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2179 if test "$wxUSE_DEBUG" = yes; then
2180 echo "$ac_t""yes" 1>&6
2182 echo "$ac_t""no" 1>&6
2186 if test "$wxUSE_DEBUG" = "yes"; then
2187 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2188 DEFAULT_wxUSE_DEBUG_INFO
=yes
2189 elif test "$wxUSE_DEBUG" = "no"; then
2190 DEFAULT_wxUSE_DEBUG_FLAG
=no
2191 DEFAULT_wxUSE_DEBUG_INFO
=no
2195 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2196 echo "configure:2197: checking "for --enable-debug_flag"" >&5
2198 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2199 if test "${enable_debug_flag+set}" = set; then
2200 enableval
="$enable_debug_flag"
2202 if test "$enableval" = yes; then
2203 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2205 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2210 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2211 if test "x$LINE" != x
; then
2212 eval "DEFAULT_$LINE"
2217 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2222 eval "$ac_cv_use_debug_flag"
2223 if test "$no_cache" != 1; then
2224 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2227 if test "$wxUSE_DEBUG_FLAG" = yes; then
2228 echo "$ac_t""yes" 1>&6
2230 echo "$ac_t""no" 1>&6
2234 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2235 echo "configure:2236: checking "for --enable-debug_info"" >&5
2237 # Check whether --enable-debug_info or --disable-debug_info was given.
2238 if test "${enable_debug_info+set}" = set; then
2239 enableval
="$enable_debug_info"
2241 if test "$enableval" = yes; then
2242 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2244 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2249 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2250 if test "x$LINE" != x
; then
2251 eval "DEFAULT_$LINE"
2256 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2261 eval "$ac_cv_use_debug_info"
2262 if test "$no_cache" != 1; then
2263 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2266 if test "$wxUSE_DEBUG_INFO" = yes; then
2267 echo "$ac_t""yes" 1>&6
2269 echo "$ac_t""no" 1>&6
2273 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2274 echo "configure:2275: checking "for --enable-debug_gdb"" >&5
2276 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2277 if test "${enable_debug_gdb+set}" = set; then
2278 enableval
="$enable_debug_gdb"
2280 if test "$enableval" = yes; then
2281 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2283 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2288 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2289 if test "x$LINE" != x
; then
2290 eval "DEFAULT_$LINE"
2295 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2300 eval "$ac_cv_use_debug_gdb"
2301 if test "$no_cache" != 1; then
2302 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2305 if test "$wxUSE_DEBUG_GDB" = yes; then
2306 echo "$ac_t""yes" 1>&6
2308 echo "$ac_t""no" 1>&6
2312 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2313 echo "configure:2314: checking "for --enable-debug_cntxt"" >&5
2315 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2316 if test "${enable_debug_cntxt+set}" = set; then
2317 enableval
="$enable_debug_cntxt"
2319 if test "$enableval" = yes; then
2320 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2322 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2327 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2328 if test "x$LINE" != x
; then
2329 eval "DEFAULT_$LINE"
2334 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2339 eval "$ac_cv_use_debug_cntxt"
2340 if test "$no_cache" != 1; then
2341 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2344 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2345 echo "$ac_t""yes" 1>&6
2347 echo "$ac_t""no" 1>&6
2351 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2352 echo "configure:2353: checking "for --enable-mem_tracing"" >&5
2354 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2355 if test "${enable_mem_tracing+set}" = set; then
2356 enableval
="$enable_mem_tracing"
2358 if test "$enableval" = yes; then
2359 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2361 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2366 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2367 if test "x$LINE" != x
; then
2368 eval "DEFAULT_$LINE"
2373 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2378 eval "$ac_cv_use_mem_tracing"
2379 if test "$no_cache" != 1; then
2380 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2383 if test "$wxUSE_MEM_TRACING" = yes; then
2384 echo "$ac_t""yes" 1>&6
2386 echo "$ac_t""no" 1>&6
2390 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2391 echo "configure:2392: checking "for --enable-profile"" >&5
2393 # Check whether --enable-profile or --disable-profile was given.
2394 if test "${enable_profile+set}" = set; then
2395 enableval
="$enable_profile"
2397 if test "$enableval" = yes; then
2398 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2400 ac_cv_use_profile
='wxUSE_PROFILE=no'
2405 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2406 if test "x$LINE" != x
; then
2407 eval "DEFAULT_$LINE"
2412 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2417 eval "$ac_cv_use_profile"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_PROFILE" = yes; then
2423 echo "$ac_t""yes" 1>&6
2425 echo "$ac_t""no" 1>&6
2429 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2430 echo "configure:2431: checking "for --enable-no_rtti"" >&5
2432 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2433 if test "${enable_no_rtti+set}" = set; then
2434 enableval
="$enable_no_rtti"
2436 if test "$enableval" = yes; then
2437 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2439 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2444 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2445 if test "x$LINE" != x
; then
2446 eval "DEFAULT_$LINE"
2451 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2456 eval "$ac_cv_use_no_rtti"
2457 if test "$no_cache" != 1; then
2458 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2461 if test "$wxUSE_NO_RTTI" = yes; then
2462 echo "$ac_t""yes" 1>&6
2464 echo "$ac_t""no" 1>&6
2468 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2469 echo "configure:2470: checking "for --enable-no_exceptions"" >&5
2471 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2472 if test "${enable_no_exceptions+set}" = set; then
2473 enableval
="$enable_no_exceptions"
2475 if test "$enableval" = yes; then
2476 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2478 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2483 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2484 if test "x$LINE" != x
; then
2485 eval "DEFAULT_$LINE"
2490 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2495 eval "$ac_cv_use_no_exceptions"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2500 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2501 echo "$ac_t""yes" 1>&6
2503 echo "$ac_t""no" 1>&6
2507 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2508 echo "configure:2509: checking "for --enable-permissive"" >&5
2510 # Check whether --enable-permissive or --disable-permissive was given.
2511 if test "${enable_permissive+set}" = set; then
2512 enableval
="$enable_permissive"
2514 if test "$enableval" = yes; then
2515 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2517 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2522 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2523 if test "x$LINE" != x
; then
2524 eval "DEFAULT_$LINE"
2529 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2534 eval "$ac_cv_use_permissive"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2539 if test "$wxUSE_PERMISSIVE" = yes; then
2540 echo "$ac_t""yes" 1>&6
2542 echo "$ac_t""no" 1>&6
2546 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2547 echo "configure:2548: checking "for --enable-no_deps"" >&5
2549 # Check whether --enable-no_deps or --disable-no_deps was given.
2550 if test "${enable_no_deps+set}" = set; then
2551 enableval
="$enable_no_deps"
2553 if test "$enableval" = yes; then
2554 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2556 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2561 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2562 if test "x$LINE" != x
; then
2563 eval "DEFAULT_$LINE"
2568 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2573 eval "$ac_cv_use_no_deps"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_NO_DEPS" = yes; then
2579 echo "$ac_t""yes" 1>&6
2581 echo "$ac_t""no" 1>&6
2587 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2588 echo "configure:2589: checking "for --enable-intl"" >&5
2590 # Check whether --enable-intl or --disable-intl was given.
2591 if test "${enable_intl+set}" = set; then
2592 enableval
="$enable_intl"
2594 if test "$enableval" = yes; then
2595 ac_cv_use_intl
='wxUSE_INTL=yes'
2597 ac_cv_use_intl
='wxUSE_INTL=no'
2602 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2603 if test "x$LINE" != x
; then
2604 eval "DEFAULT_$LINE"
2609 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2614 eval "$ac_cv_use_intl"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2619 if test "$wxUSE_INTL" = yes; then
2620 echo "$ac_t""yes" 1>&6
2622 echo "$ac_t""no" 1>&6
2626 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2627 echo "configure:2628: checking "for --enable-config"" >&5
2629 # Check whether --enable-config or --disable-config was given.
2630 if test "${enable_config+set}" = set; then
2631 enableval
="$enable_config"
2633 if test "$enableval" = yes; then
2634 ac_cv_use_config
='wxUSE_CONFIG=yes'
2636 ac_cv_use_config
='wxUSE_CONFIG=no'
2641 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x
; then
2643 eval "DEFAULT_$LINE"
2648 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2653 eval "$ac_cv_use_config"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2658 if test "$wxUSE_CONFIG" = yes; then
2659 echo "$ac_t""yes" 1>&6
2661 echo "$ac_t""no" 1>&6
2666 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2667 echo "configure:2668: checking "for --enable-sockets"" >&5
2669 # Check whether --enable-sockets or --disable-sockets was given.
2670 if test "${enable_sockets+set}" = set; then
2671 enableval
="$enable_sockets"
2673 if test "$enableval" = yes; then
2674 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2676 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2681 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x
; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2693 eval "$ac_cv_use_sockets"
2694 if test "$no_cache" != 1; then
2695 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2698 if test "$wxUSE_SOCKETS" = yes; then
2699 echo "$ac_t""yes" 1>&6
2701 echo "$ac_t""no" 1>&6
2706 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2707 echo "configure:2708: checking "for --enable-ipc"" >&5
2709 # Check whether --enable-ipc or --disable-ipc was given.
2710 if test "${enable_ipc+set}" = set; then
2711 enableval
="$enable_ipc"
2713 if test "$enableval" = yes; then
2714 ac_cv_use_ipc
='wxUSE_IPC=yes'
2716 ac_cv_use_ipc
='wxUSE_IPC=no'
2721 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2722 if test "x$LINE" != x
; then
2723 eval "DEFAULT_$LINE"
2728 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2733 eval "$ac_cv_use_ipc"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_IPC" = yes; then
2739 echo "$ac_t""yes" 1>&6
2741 echo "$ac_t""no" 1>&6
2746 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2747 echo "configure:2748: checking "for --enable-dialupman"" >&5
2749 # Check whether --enable-dialupman or --disable-dialupman was given.
2750 if test "${enable_dialupman+set}" = set; then
2751 enableval
="$enable_dialupman"
2753 if test "$enableval" = yes; then
2754 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2756 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2761 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2762 if test "x$LINE" != x
; then
2763 eval "DEFAULT_$LINE"
2768 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2773 eval "$ac_cv_use_dialupman"
2774 if test "$no_cache" != 1; then
2775 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2778 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2779 echo "$ac_t""yes" 1>&6
2781 echo "$ac_t""no" 1>&6
2785 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2786 echo "configure:2787: checking "for --enable-apple_ieee"" >&5
2788 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2789 if test "${enable_apple_ieee+set}" = set; then
2790 enableval
="$enable_apple_ieee"
2792 if test "$enableval" = yes; then
2793 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2795 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2800 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2801 if test "x$LINE" != x
; then
2802 eval "DEFAULT_$LINE"
2807 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2812 eval "$ac_cv_use_apple_ieee"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2817 if test "$wxUSE_APPLE_IEEE" = yes; then
2818 echo "$ac_t""yes" 1>&6
2820 echo "$ac_t""no" 1>&6
2824 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2825 echo "configure:2826: checking "for --enable-timedate"" >&5
2827 # Check whether --enable-timedate or --disable-timedate was given.
2828 if test "${enable_timedate+set}" = set; then
2829 enableval
="$enable_timedate"
2831 if test "$enableval" = yes; then
2832 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2834 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2839 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2840 if test "x$LINE" != x
; then
2841 eval "DEFAULT_$LINE"
2846 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2851 eval "$ac_cv_use_timedate"
2852 if test "$no_cache" != 1; then
2853 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2856 if test "$wxUSE_TIMEDATE" = yes; then
2857 echo "$ac_t""yes" 1>&6
2859 echo "$ac_t""no" 1>&6
2863 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2864 echo "configure:2865: checking "for --enable-wave"" >&5
2866 # Check whether --enable-wave or --disable-wave was given.
2867 if test "${enable_wave+set}" = set; then
2868 enableval
="$enable_wave"
2870 if test "$enableval" = yes; then
2871 ac_cv_use_wave
='wxUSE_WAVE=yes'
2873 ac_cv_use_wave
='wxUSE_WAVE=no'
2878 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2879 if test "x$LINE" != x
; then
2880 eval "DEFAULT_$LINE"
2885 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2890 eval "$ac_cv_use_wave"
2891 if test "$no_cache" != 1; then
2892 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2895 if test "$wxUSE_WAVE" = yes; then
2896 echo "$ac_t""yes" 1>&6
2898 echo "$ac_t""no" 1>&6
2902 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2903 echo "configure:2904: checking "for --enable-fraction"" >&5
2905 # Check whether --enable-fraction or --disable-fraction was given.
2906 if test "${enable_fraction+set}" = set; then
2907 enableval
="$enable_fraction"
2909 if test "$enableval" = yes; then
2910 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2912 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2917 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2918 if test "x$LINE" != x
; then
2919 eval "DEFAULT_$LINE"
2924 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2929 eval "$ac_cv_use_fraction"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2934 if test "$wxUSE_FRACTION" = yes; then
2935 echo "$ac_t""yes" 1>&6
2937 echo "$ac_t""no" 1>&6
2941 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2942 echo "configure:2943: checking "for --enable-dynlib"" >&5
2944 # Check whether --enable-dynlib or --disable-dynlib was given.
2945 if test "${enable_dynlib+set}" = set; then
2946 enableval
="$enable_dynlib"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2951 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2956 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2968 eval "$ac_cv_use_dynlib"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2974 echo "$ac_t""yes" 1>&6
2976 echo "$ac_t""no" 1>&6
2980 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2981 echo "configure:2982: checking "for --enable-longlong"" >&5
2983 # Check whether --enable-longlong or --disable-longlong was given.
2984 if test "${enable_longlong+set}" = set; then
2985 enableval
="$enable_longlong"
2987 if test "$enableval" = yes; then
2988 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2990 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2995 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x
; then
2997 eval "DEFAULT_$LINE"
3002 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3007 eval "$ac_cv_use_longlong"
3008 if test "$no_cache" != 1; then
3009 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3012 if test "$wxUSE_LONGLONG" = yes; then
3013 echo "$ac_t""yes" 1>&6
3015 echo "$ac_t""no" 1>&6
3019 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
3020 echo "configure:3021: checking "for --enable-geometry"" >&5
3022 # Check whether --enable-geometry or --disable-geometry was given.
3023 if test "${enable_geometry+set}" = set; then
3024 enableval
="$enable_geometry"
3026 if test "$enableval" = yes; then
3027 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3029 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3034 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3035 if test "x$LINE" != x
; then
3036 eval "DEFAULT_$LINE"
3041 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3046 eval "$ac_cv_use_geometry"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3051 if test "$wxUSE_GEOMETRY" = yes; then
3052 echo "$ac_t""yes" 1>&6
3054 echo "$ac_t""no" 1>&6
3058 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3059 echo "configure:3060: checking "for --enable-log"" >&5
3061 # Check whether --enable-log or --disable-log was given.
3062 if test "${enable_log+set}" = set; then
3063 enableval
="$enable_log"
3065 if test "$enableval" = yes; then
3066 ac_cv_use_log
='wxUSE_LOG=yes'
3068 ac_cv_use_log
='wxUSE_LOG=no'
3073 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x
; then
3075 eval "DEFAULT_$LINE"
3080 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3085 eval "$ac_cv_use_log"
3086 if test "$no_cache" != 1; then
3087 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3090 if test "$wxUSE_LOG" = yes; then
3091 echo "$ac_t""yes" 1>&6
3093 echo "$ac_t""no" 1>&6
3097 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3098 echo "configure:3099: checking "for --enable-streams"" >&5
3100 # Check whether --enable-streams or --disable-streams was given.
3101 if test "${enable_streams+set}" = set; then
3102 enableval
="$enable_streams"
3104 if test "$enableval" = yes; then
3105 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3107 ac_cv_use_streams
='wxUSE_STREAMS=no'
3112 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x
; then
3114 eval "DEFAULT_$LINE"
3119 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3124 eval "$ac_cv_use_streams"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3129 if test "$wxUSE_STREAMS" = yes; then
3130 echo "$ac_t""yes" 1>&6
3132 echo "$ac_t""no" 1>&6
3136 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3137 echo "configure:3138: checking "for --enable-file"" >&5
3139 # Check whether --enable-file or --disable-file was given.
3140 if test "${enable_file+set}" = set; then
3141 enableval
="$enable_file"
3143 if test "$enableval" = yes; then
3144 ac_cv_use_file
='wxUSE_FILE=yes'
3146 ac_cv_use_file
='wxUSE_FILE=no'
3151 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x
; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3163 eval "$ac_cv_use_file"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3168 if test "$wxUSE_FILE" = yes; then
3169 echo "$ac_t""yes" 1>&6
3171 echo "$ac_t""no" 1>&6
3175 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3176 echo "configure:3177: checking "for --enable-textfile"" >&5
3178 # Check whether --enable-textfile or --disable-textfile was given.
3179 if test "${enable_textfile+set}" = set; then
3180 enableval
="$enable_textfile"
3182 if test "$enableval" = yes; then
3183 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3185 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3190 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3191 if test "x$LINE" != x
; then
3192 eval "DEFAULT_$LINE"
3197 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3202 eval "$ac_cv_use_textfile"
3203 if test "$no_cache" != 1; then
3204 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3207 if test "$wxUSE_TEXTFILE" = yes; then
3208 echo "$ac_t""yes" 1>&6
3210 echo "$ac_t""no" 1>&6
3214 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3215 echo "configure:3216: checking "for --enable-unicode"" >&5
3217 # Check whether --enable-unicode or --disable-unicode was given.
3218 if test "${enable_unicode+set}" = set; then
3219 enableval
="$enable_unicode"
3221 if test "$enableval" = yes; then
3222 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3224 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3229 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3241 eval "$ac_cv_use_unicode"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_UNICODE" = yes; then
3247 echo "$ac_t""yes" 1>&6
3249 echo "$ac_t""no" 1>&6
3253 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3254 echo "configure:3255: checking "for --enable-wcsrtombs"" >&5
3256 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3257 if test "${enable_wcsrtombs+set}" = set; then
3258 enableval
="$enable_wcsrtombs"
3260 if test "$enableval" = yes; then
3261 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3263 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3268 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3269 if test "x$LINE" != x
; then
3270 eval "DEFAULT_$LINE"
3275 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3280 eval "$ac_cv_use_wcsrtombs"
3281 if test "$no_cache" != 1; then
3282 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3285 if test "$wxUSE_WCSRTOMBS" = yes; then
3286 echo "$ac_t""yes" 1>&6
3288 echo "$ac_t""no" 1>&6
3292 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3293 echo "configure:3294: checking "for --enable-wxprintfv"" >&5
3295 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3296 if test "${enable_wxprintfv+set}" = set; then
3297 enableval
="$enable_wxprintfv"
3299 if test "$enableval" = yes; then
3300 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3302 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3307 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3319 eval "$ac_cv_use_wxprintfv"
3320 if test "$no_cache" != 1; then
3321 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3324 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3325 echo "$ac_t""yes" 1>&6
3327 echo "$ac_t""no" 1>&6
3331 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3332 echo "configure:3333: checking "for --enable-std_iostreams"" >&5
3334 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3335 if test "${enable_std_iostreams+set}" = set; then
3336 enableval
="$enable_std_iostreams"
3338 if test "$enableval" = yes; then
3339 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3341 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3346 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3358 eval "$ac_cv_use_std_iostreams"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_STD_IOSTREAM" = yes; then
3364 echo "$ac_t""yes" 1>&6
3366 echo "$ac_t""no" 1>&6
3370 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3371 echo "configure:3372: checking "for --enable-filesystem"" >&5
3373 # Check whether --enable-filesystem or --disable-filesystem was given.
3374 if test "${enable_filesystem+set}" = set; then
3375 enableval
="$enable_filesystem"
3377 if test "$enableval" = yes; then
3378 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3380 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3385 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x
; then
3387 eval "DEFAULT_$LINE"
3392 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3397 eval "$ac_cv_use_filesystem"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_FILESYSTEM" = yes; then
3403 echo "$ac_t""yes" 1>&6
3405 echo "$ac_t""no" 1>&6
3409 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3410 echo "configure:3411: checking "for --enable-fs_inet"" >&5
3412 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3413 if test "${enable_fs_inet+set}" = set; then
3414 enableval
="$enable_fs_inet"
3416 if test "$enableval" = yes; then
3417 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3419 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3424 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x
; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3436 eval "$ac_cv_use_fs_inet"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_FS_INET" = yes; then
3442 echo "$ac_t""yes" 1>&6
3444 echo "$ac_t""no" 1>&6
3448 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3449 echo "configure:3450: checking "for --enable-fs_zip"" >&5
3451 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3452 if test "${enable_fs_zip+set}" = set; then
3453 enableval
="$enable_fs_zip"
3455 if test "$enableval" = yes; then
3456 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3458 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3463 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3464 if test "x$LINE" != x
; then
3465 eval "DEFAULT_$LINE"
3470 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3475 eval "$ac_cv_use_fs_zip"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3480 if test "$wxUSE_FS_ZIP" = yes; then
3481 echo "$ac_t""yes" 1>&6
3483 echo "$ac_t""no" 1>&6
3487 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3488 echo "configure:3489: checking "for --enable-zipstream"" >&5
3490 # Check whether --enable-zipstream or --disable-zipstream was given.
3491 if test "${enable_zipstream+set}" = set; then
3492 enableval
="$enable_zipstream"
3494 if test "$enableval" = yes; then
3495 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3497 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3502 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3514 eval "$ac_cv_use_zipstream"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_ZIPSTREAM" = yes; then
3520 echo "$ac_t""yes" 1>&6
3522 echo "$ac_t""no" 1>&6
3527 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3528 echo "configure:3529: checking "for --enable-catch_segvs"" >&5
3530 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3531 if test "${enable_catch_segvs+set}" = set; then
3532 enableval
="$enable_catch_segvs"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3537 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3542 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x
; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3554 eval "$ac_cv_use_catch_segvs"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3560 echo "$ac_t""yes" 1>&6
3562 echo "$ac_t""no" 1>&6
3568 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3569 echo "configure:3570: checking "for --enable-threads"" >&5
3571 # Check whether --enable-threads or --disable-threads was given.
3572 if test "${enable_threads+set}" = set; then
3573 enableval
="$enable_threads"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_threads
='wxUSE_THREADS=yes'
3578 ac_cv_use_threads
='wxUSE_THREADS=no'
3583 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x
; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3595 eval "$ac_cv_use_threads"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_THREADS" = yes; then
3601 echo "$ac_t""yes" 1>&6
3603 echo "$ac_t""no" 1>&6
3607 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3608 echo "configure:3609: checking "for --enable-serial"" >&5
3610 # Check whether --enable-serial or --disable-serial was given.
3611 if test "${enable_serial+set}" = set; then
3612 enableval
="$enable_serial"
3614 if test "$enableval" = yes; then
3615 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3617 ac_cv_use_serial
='wxUSE_SERIAL=no'
3622 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3623 if test "x$LINE" != x
; then
3624 eval "DEFAULT_$LINE"
3629 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3634 eval "$ac_cv_use_serial"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_SERIAL" = yes; then
3640 echo "$ac_t""yes" 1>&6
3642 echo "$ac_t""no" 1>&6
3646 if test "$wxUSE_GUI" = "yes"; then
3650 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3651 echo "configure:3652: checking "for --enable-docview"" >&5
3653 # Check whether --enable-docview or --disable-docview was given.
3654 if test "${enable_docview+set}" = set; then
3655 enableval
="$enable_docview"
3657 if test "$enableval" = yes; then
3658 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3660 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3665 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3666 if test "x$LINE" != x
; then
3667 eval "DEFAULT_$LINE"
3672 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3677 eval "$ac_cv_use_docview"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3683 echo "$ac_t""yes" 1>&6
3685 echo "$ac_t""no" 1>&6
3689 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3690 echo "configure:3691: checking "for --enable-help"" >&5
3692 # Check whether --enable-help or --disable-help was given.
3693 if test "${enable_help+set}" = set; then
3694 enableval
="$enable_help"
3696 if test "$enableval" = yes; then
3697 ac_cv_use_help
='wxUSE_HELP=yes'
3699 ac_cv_use_help
='wxUSE_HELP=no'
3704 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x
; then
3706 eval "DEFAULT_$LINE"
3711 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3716 eval "$ac_cv_use_help"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_HELP" = yes; then
3722 echo "$ac_t""yes" 1>&6
3724 echo "$ac_t""no" 1>&6
3728 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3729 echo "configure:3730: checking "for --enable-constraints"" >&5
3731 # Check whether --enable-constraints or --disable-constraints was given.
3732 if test "${enable_constraints+set}" = set; then
3733 enableval
="$enable_constraints"
3735 if test "$enableval" = yes; then
3736 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3738 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3743 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x
; then
3745 eval "DEFAULT_$LINE"
3750 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3755 eval "$ac_cv_use_constraints"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_CONSTRAINTS" = yes; then
3761 echo "$ac_t""yes" 1>&6
3763 echo "$ac_t""no" 1>&6
3767 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3768 echo "configure:3769: checking "for --enable-printarch"" >&5
3770 # Check whether --enable-printarch or --disable-printarch was given.
3771 if test "${enable_printarch+set}" = set; then
3772 enableval
="$enable_printarch"
3774 if test "$enableval" = yes; then
3775 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3777 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3782 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x
; then
3784 eval "DEFAULT_$LINE"
3789 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3794 eval "$ac_cv_use_printarch"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3800 echo "$ac_t""yes" 1>&6
3802 echo "$ac_t""no" 1>&6
3806 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3807 echo "configure:3808: checking "for --enable-mdi"" >&5
3809 # Check whether --enable-mdi or --disable-mdi was given.
3810 if test "${enable_mdi+set}" = set; then
3811 enableval
="$enable_mdi"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3816 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3821 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x
; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3833 eval "$ac_cv_use_mdi"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3839 echo "$ac_t""yes" 1>&6
3841 echo "$ac_t""no" 1>&6
3846 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3847 echo "configure:3848: checking "for --enable-postscript"" >&5
3849 # Check whether --enable-postscript or --disable-postscript was given.
3850 if test "${enable_postscript+set}" = set; then
3851 enableval
="$enable_postscript"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3856 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3861 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x
; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3873 eval "$ac_cv_use_postscript"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3878 if test "$wxUSE_POSTSCRIPT" = yes; then
3879 echo "$ac_t""yes" 1>&6
3881 echo "$ac_t""no" 1>&6
3887 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3888 echo "configure:3889: checking "for --enable-prologio"" >&5
3890 # Check whether --enable-prologio or --disable-prologio was given.
3891 if test "${enable_prologio+set}" = set; then
3892 enableval
="$enable_prologio"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3897 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3902 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x
; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3914 eval "$ac_cv_use_prologio"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3919 if test "$wxUSE_PROLOGIO" = yes; then
3920 echo "$ac_t""yes" 1>&6
3922 echo "$ac_t""no" 1>&6
3926 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3927 echo "configure:3928: checking "for --enable-resources"" >&5
3929 # Check whether --enable-resources or --disable-resources was given.
3930 if test "${enable_resources+set}" = set; then
3931 enableval
="$enable_resources"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3936 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3941 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x
; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3953 eval "$ac_cv_use_resources"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_RESOURCES" = yes; then
3959 echo "$ac_t""yes" 1>&6
3961 echo "$ac_t""no" 1>&6
3966 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3967 echo "configure:3968: checking "for --enable-xresources"" >&5
3969 # Check whether --enable-xresources or --disable-xresources was given.
3970 if test "${enable_xresources+set}" = set; then
3971 enableval
="$enable_xresources"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3976 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3981 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x
; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3993 eval "$ac_cv_use_xresources"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3998 if test "$wxUSE_X_RESOURCES" = yes; then
3999 echo "$ac_t""yes" 1>&6
4001 echo "$ac_t""no" 1>&6
4007 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
4008 echo "configure:4009: checking "for --enable-clipboard"" >&5
4010 # Check whether --enable-clipboard or --disable-clipboard was given.
4011 if test "${enable_clipboard+set}" = set; then
4012 enableval
="$enable_clipboard"
4014 if test "$enableval" = yes; then
4015 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4017 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4022 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x
; then
4024 eval "DEFAULT_$LINE"
4029 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4034 eval "$ac_cv_use_clipboard"
4035 if test "$no_cache" != 1; then
4036 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4039 if test "$wxUSE_CLIPBOARD" = yes; then
4040 echo "$ac_t""yes" 1>&6
4042 echo "$ac_t""no" 1>&6
4046 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
4047 echo "configure:4048: checking "for --enable-dnd"" >&5
4049 # Check whether --enable-dnd or --disable-dnd was given.
4050 if test "${enable_dnd+set}" = set; then
4051 enableval
="$enable_dnd"
4053 if test "$enableval" = yes; then
4054 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4056 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4061 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4062 if test "x$LINE" != x
; then
4063 eval "DEFAULT_$LINE"
4068 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4073 eval "$ac_cv_use_dnd"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4079 echo "$ac_t""yes" 1>&6
4081 echo "$ac_t""no" 1>&6
4085 echo $ac_n "checking "for --enable-metafile"""... $ac_c" 1>&6
4086 echo "configure:4087: checking "for --enable-metafile"" >&5
4088 # Check whether --enable-metafile or --disable-metafile was given.
4089 if test "${enable_metafile+set}" = set; then
4090 enableval
="$enable_metafile"
4092 if test "$enableval" = yes; then
4093 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4095 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4100 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4101 if test "x$LINE" != x
; then
4102 eval "DEFAULT_$LINE"
4107 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4112 eval "$ac_cv_use_metafile"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4117 if test "$wxUSE_METAFILE" = yes; then
4118 echo "$ac_t""yes" 1>&6
4120 echo "$ac_t""no" 1>&6
4125 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4126 echo "configure:4127: checking "for --enable-wxtree"" >&5
4128 # Check whether --enable-wxtree or --disable-wxtree was given.
4129 if test "${enable_wxtree+set}" = set; then
4130 enableval
="$enable_wxtree"
4132 if test "$enableval" = yes; then
4133 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4135 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4140 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x
; then
4142 eval "DEFAULT_$LINE"
4147 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4152 eval "$ac_cv_use_wxtree"
4153 if test "$no_cache" != 1; then
4154 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4157 if test "$wxUSE_WXTREE" = yes; then
4158 echo "$ac_t""yes" 1>&6
4160 echo "$ac_t""no" 1>&6
4166 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4167 echo "configure:4168: checking "for --enable-controls"" >&5
4169 # Check whether --enable-controls or --disable-controls was given.
4170 if test "${enable_controls+set}" = set; then
4171 enableval
="$enable_controls"
4173 if test "$enableval" = yes; then
4174 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4176 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4181 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x
; then
4183 eval "DEFAULT_$LINE"
4188 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4193 eval "$ac_cv_use_controls"
4194 if test "$no_cache" != 1; then
4195 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4198 if test "$wxUSE_CONTROLS" = yes; then
4199 echo "$ac_t""yes" 1>&6
4201 echo "$ac_t""no" 1>&6
4205 if test "$wxUSE_CONTROLS" = "yes"; then
4206 DEFAULT_wxUSE_ACCEL
=yes
4207 DEFAULT_wxUSE_CARET
=yes
4208 DEFAULT_wxUSE_COMBOBOX
=yes
4209 DEFAULT_wxUSE_BMPBUTTON
=yes
4210 DEFAULT_wxUSE_CHECKBOX
=yes
4211 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4212 DEFAULT_wxUSE_CHOICE
=yes
4213 DEFAULT_wxUSE_GAUGE
=yes
4214 DEFAULT_wxUSE_GRID
=yes
4215 DEFAULT_wxUSE_NEW_GRID
=yes
4216 DEFAULT_wxUSE_IMAGLIST
=yes
4217 DEFAULT_wxUSE_LISTBOX
=yes
4218 DEFAULT_wxUSE_LISTCTRL
=yes
4219 DEFAULT_wxUSE_NOTEBOOK
=yes
4220 DEFAULT_wxUSE_RADIOBOX
=yes
4221 DEFAULT_wxUSE_RADIOBTN
=yes
4222 DEFAULT_wxUSE_SASH
=yes
4223 DEFAULT_wxUSE_SCROLLBAR
=yes
4224 DEFAULT_wxUSE_SLIDER
=yes
4225 DEFAULT_wxUSE_SPINBTN
=yes
4226 DEFAULT_wxUSE_SPINCTRL
=yes
4227 DEFAULT_wxUSE_SPLITTER
=yes
4228 DEFAULT_wxUSE_STATBMP
=yes
4229 DEFAULT_wxUSE_STATBOX
=yes
4230 DEFAULT_wxUSE_STATLINE
=yes
4231 DEFAULT_wxUSE_STATUSBAR
=yes
4232 DEFAULT_wxUSE_TAB_DIALOG
=yes
4233 DEFAULT_wxUSE_TOGGLEBTN
=yes
4234 DEFAULT_wxUSE_TOOLBAR
=yes
4235 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4236 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4237 DEFAULT_wxUSE_TOOLTIPS
=yes
4238 DEFAULT_wxUSE_TREECTRL
=yes
4239 elif test "$wxUSE_CONTROLS" = "no"; then
4240 DEFAULT_wxUSE_ACCEL
=no
4241 DEFAULT_wxUSE_CARET
=no
4242 DEFAULT_wxUSE_COMBOBOX
=no
4243 DEFAULT_wxUSE_BMPBUTTON
=no
4244 DEFAULT_wxUSE_CHECKBOX
=no
4245 DEFAULT_wxUSE_CHECKLISTBOX
=no
4246 DEFAULT_wxUSE_CHOICE
=no
4247 DEFAULT_wxUSE_GAUGE
=no
4248 DEFAULT_wxUSE_GRID
=no
4249 DEFAULT_wxUSE_NEW_GRID
=no
4250 DEFAULT_wxUSE_IMAGLIST
=no
4251 DEFAULT_wxUSE_LISTBOX
=no
4252 DEFAULT_wxUSE_LISTCTRL
=no
4253 DEFAULT_wxUSE_NOTEBOOK
=no
4254 DEFAULT_wxUSE_RADIOBOX
=no
4255 DEFAULT_wxUSE_RADIOBTN
=no
4256 DEFAULT_wxUSE_SASH
=no
4257 DEFAULT_wxUSE_SCROLLBAR
=no
4258 DEFAULT_wxUSE_SLIDER
=no
4259 DEFAULT_wxUSE_SPINBTN
=no
4260 DEFAULT_wxUSE_SPINCTRL
=no
4261 DEFAULT_wxUSE_SPLITTER
=no
4262 DEFAULT_wxUSE_STATBMP
=no
4263 DEFAULT_wxUSE_STATBOX
=no
4264 DEFAULT_wxUSE_STATLINE
=no
4265 DEFAULT_wxUSE_STATUSBAR
=no
4266 DEFAULT_wxUSE_TAB_DIALOG
=no
4267 DEFAULT_wxUSE_TOGGLEBTN
=no
4268 DEFAULT_wxUSE_TOOLBAR
=no
4269 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4270 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4271 DEFAULT_wxUSE_TOOLTIPS
=no
4272 DEFAULT_wxUSE_TREECTRL
=no
4276 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4277 echo "configure:4278: checking "for --enable-accel"" >&5
4279 # Check whether --enable-accel or --disable-accel was given.
4280 if test "${enable_accel+set}" = set; then
4281 enableval
="$enable_accel"
4283 if test "$enableval" = yes; then
4284 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4286 ac_cv_use_accel
='wxUSE_ACCEL=no'
4291 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4303 eval "$ac_cv_use_accel"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_ACCEL" = yes; then
4309 echo "$ac_t""yes" 1>&6
4311 echo "$ac_t""no" 1>&6
4315 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4316 echo "configure:4317: checking "for --enable-caret"" >&5
4318 # Check whether --enable-caret or --disable-caret was given.
4319 if test "${enable_caret+set}" = set; then
4320 enableval
="$enable_caret"
4322 if test "$enableval" = yes; then
4323 ac_cv_use_caret
='wxUSE_CARET=yes'
4325 ac_cv_use_caret
='wxUSE_CARET=no'
4330 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x
; then
4332 eval "DEFAULT_$LINE"
4337 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4342 eval "$ac_cv_use_caret"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4347 if test "$wxUSE_CARET" = yes; then
4348 echo "$ac_t""yes" 1>&6
4350 echo "$ac_t""no" 1>&6
4354 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4355 echo "configure:4356: checking "for --enable-bmpbutton"" >&5
4357 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4358 if test "${enable_bmpbutton+set}" = set; then
4359 enableval
="$enable_bmpbutton"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4364 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4369 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4381 eval "$ac_cv_use_bmpbutton"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_BMPBUTTON" = yes; then
4387 echo "$ac_t""yes" 1>&6
4389 echo "$ac_t""no" 1>&6
4393 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4394 echo "configure:4395: checking "for --enable-checkbox"" >&5
4396 # Check whether --enable-checkbox or --disable-checkbox was given.
4397 if test "${enable_checkbox+set}" = set; then
4398 enableval
="$enable_checkbox"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4403 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4408 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x
; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4420 eval "$ac_cv_use_checkbox"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_CHECKBOX" = yes; then
4426 echo "$ac_t""yes" 1>&6
4428 echo "$ac_t""no" 1>&6
4432 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4433 echo "configure:4434: checking "for --enable-checklst"" >&5
4435 # Check whether --enable-checklst or --disable-checklst was given.
4436 if test "${enable_checklst+set}" = set; then
4437 enableval
="$enable_checklst"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4442 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4447 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4459 eval "$ac_cv_use_checklst"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_CHECKLST" = yes; then
4465 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4471 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4472 echo "configure:4473: checking "for --enable-choice"" >&5
4474 # Check whether --enable-choice or --disable-choice was given.
4475 if test "${enable_choice+set}" = set; then
4476 enableval
="$enable_choice"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4481 ac_cv_use_choice
='wxUSE_CHOICE=no'
4486 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4498 eval "$ac_cv_use_choice"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_CHOICE" = yes; then
4504 echo "$ac_t""yes" 1>&6
4506 echo "$ac_t""no" 1>&6
4510 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4511 echo "configure:4512: checking "for --enable-combobox"" >&5
4513 # Check whether --enable-combobox or --disable-combobox was given.
4514 if test "${enable_combobox+set}" = set; then
4515 enableval
="$enable_combobox"
4517 if test "$enableval" = yes; then
4518 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4520 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4525 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4532 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4537 eval "$ac_cv_use_combobox"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_COMBOBOX" = yes; then
4543 echo "$ac_t""yes" 1>&6
4545 echo "$ac_t""no" 1>&6
4549 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4550 echo "configure:4551: checking "for --enable-gauge"" >&5
4552 # Check whether --enable-gauge or --disable-gauge was given.
4553 if test "${enable_gauge+set}" = set; then
4554 enableval
="$enable_gauge"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4559 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4564 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4576 eval "$ac_cv_use_gauge"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_GAUGE" = yes; then
4582 echo "$ac_t""yes" 1>&6
4584 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4589 echo "configure:4590: checking "for --enable-grid"" >&5
4591 # Check whether --enable-grid or --disable-grid was given.
4592 if test "${enable_grid+set}" = set; then
4593 enableval
="$enable_grid"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_grid
='wxUSE_GRID=yes'
4598 ac_cv_use_grid
='wxUSE_GRID=no'
4603 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4615 eval "$ac_cv_use_grid"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_GRID" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4628 echo "configure:4629: checking "for --enable-newgrid"" >&5
4630 # Check whether --enable-newgrid or --disable-newgrid was given.
4631 if test "${enable_newgrid+set}" = set; then
4632 enableval
="$enable_newgrid"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4637 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4642 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4654 eval "$ac_cv_use_newgrid"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_NEW_GRID" = yes; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4666 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4667 echo "configure:4668: checking "for --enable-imaglist"" >&5
4669 # Check whether --enable-imaglist or --disable-imaglist was given.
4670 if test "${enable_imaglist+set}" = set; then
4671 enableval
="$enable_imaglist"
4673 if test "$enableval" = yes; then
4674 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4676 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4681 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4682 if test "x$LINE" != x
; then
4683 eval "DEFAULT_$LINE"
4688 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4693 eval "$ac_cv_use_imaglist"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_IMAGLIST" = yes; then
4699 echo "$ac_t""yes" 1>&6
4701 echo "$ac_t""no" 1>&6
4705 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4706 echo "configure:4707: checking "for --enable-listbox"" >&5
4708 # Check whether --enable-listbox or --disable-listbox was given.
4709 if test "${enable_listbox+set}" = set; then
4710 enableval
="$enable_listbox"
4712 if test "$enableval" = yes; then
4713 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4715 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4720 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x
; then
4722 eval "DEFAULT_$LINE"
4727 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4732 eval "$ac_cv_use_listbox"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4737 if test "$wxUSE_LISTBOX" = yes; then
4738 echo "$ac_t""yes" 1>&6
4740 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4745 echo "configure:4746: checking "for --enable-listctrl"" >&5
4747 # Check whether --enable-listctrl or --disable-listctrl was given.
4748 if test "${enable_listctrl+set}" = set; then
4749 enableval
="$enable_listctrl"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4754 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4759 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4771 eval "$ac_cv_use_listctrl"
4772 if test "$no_cache" != 1; then
4773 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4776 if test "$wxUSE_LISTCTRL" = yes; then
4777 echo "$ac_t""yes" 1>&6
4779 echo "$ac_t""no" 1>&6
4783 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4784 echo "configure:4785: checking "for --enable-notebook"" >&5
4786 # Check whether --enable-notebook or --disable-notebook was given.
4787 if test "${enable_notebook+set}" = set; then
4788 enableval
="$enable_notebook"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4793 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4798 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4810 eval "$ac_cv_use_notebook"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_NOTEBOOK" = yes; then
4816 echo "$ac_t""yes" 1>&6
4818 echo "$ac_t""no" 1>&6
4822 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4823 echo "configure:4824: checking "for --enable-radiobox"" >&5
4825 # Check whether --enable-radiobox or --disable-radiobox was given.
4826 if test "${enable_radiobox+set}" = set; then
4827 enableval
="$enable_radiobox"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4832 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4837 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4849 eval "$ac_cv_use_radiobox"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4854 if test "$wxUSE_RADIOBOX" = yes; then
4855 echo "$ac_t""yes" 1>&6
4857 echo "$ac_t""no" 1>&6
4861 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4862 echo "configure:4863: checking "for --enable-radiobtn"" >&5
4864 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4865 if test "${enable_radiobtn+set}" = set; then
4866 enableval
="$enable_radiobtn"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4871 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4876 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4888 eval "$ac_cv_use_radiobtn"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_RADIOBTN" = yes; then
4894 echo "$ac_t""yes" 1>&6
4896 echo "$ac_t""no" 1>&6
4900 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4901 echo "configure:4902: checking "for --enable-sash"" >&5
4903 # Check whether --enable-sash or --disable-sash was given.
4904 if test "${enable_sash+set}" = set; then
4905 enableval
="$enable_sash"
4907 if test "$enableval" = yes; then
4908 ac_cv_use_sash
='wxUSE_SASH=yes'
4910 ac_cv_use_sash
='wxUSE_SASH=no'
4915 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4916 if test "x$LINE" != x
; then
4917 eval "DEFAULT_$LINE"
4922 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4927 eval "$ac_cv_use_sash"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_SASH" = yes; then
4933 echo "$ac_t""yes" 1>&6
4935 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4940 echo "configure:4941: checking "for --enable-scrollbar"" >&5
4942 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4943 if test "${enable_scrollbar+set}" = set; then
4944 enableval
="$enable_scrollbar"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4949 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4954 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4966 eval "$ac_cv_use_scrollbar"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_SCROLLBAR" = yes; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4978 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4979 echo "configure:4980: checking "for --enable-slider"" >&5
4981 # Check whether --enable-slider or --disable-slider was given.
4982 if test "${enable_slider+set}" = set; then
4983 enableval
="$enable_slider"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4988 ac_cv_use_slider
='wxUSE_SLIDER=no'
4993 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5005 eval "$ac_cv_use_slider"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_SLIDER" = yes; then
5011 echo "$ac_t""yes" 1>&6
5013 echo "$ac_t""no" 1>&6
5017 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
5018 echo "configure:5019: checking "for --enable-spinbtn"" >&5
5020 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5021 if test "${enable_spinbtn+set}" = set; then
5022 enableval
="$enable_spinbtn"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5027 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5032 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5044 eval "$ac_cv_use_spinbtn"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_SPINBTN" = yes; then
5050 echo "$ac_t""yes" 1>&6
5052 echo "$ac_t""no" 1>&6
5056 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
5057 echo "configure:5058: checking "for --enable-spinctrl"" >&5
5059 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5060 if test "${enable_spinctrl+set}" = set; then
5061 enableval
="$enable_spinctrl"
5063 if test "$enableval" = yes; then
5064 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5066 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5071 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5072 if test "x$LINE" != x
; then
5073 eval "DEFAULT_$LINE"
5078 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5083 eval "$ac_cv_use_spinctrl"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_SPINCTRL" = yes; then
5089 echo "$ac_t""yes" 1>&6
5091 echo "$ac_t""no" 1>&6
5095 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5096 echo "configure:5097: checking "for --enable-splitter"" >&5
5098 # Check whether --enable-splitter or --disable-splitter was given.
5099 if test "${enable_splitter+set}" = set; then
5100 enableval
="$enable_splitter"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5105 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5110 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x
; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5122 eval "$ac_cv_use_splitter"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_SPLITTER" = yes; then
5128 echo "$ac_t""yes" 1>&6
5130 echo "$ac_t""no" 1>&6
5134 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5135 echo "configure:5136: checking "for --enable-statbmp"" >&5
5137 # Check whether --enable-statbmp or --disable-statbmp was given.
5138 if test "${enable_statbmp+set}" = set; then
5139 enableval
="$enable_statbmp"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5144 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5149 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x
; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5161 eval "$ac_cv_use_statbmp"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5166 if test "$wxUSE_STATBMP" = yes; then
5167 echo "$ac_t""yes" 1>&6
5169 echo "$ac_t""no" 1>&6
5173 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5174 echo "configure:5175: checking "for --enable-statbox"" >&5
5176 # Check whether --enable-statbox or --disable-statbox was given.
5177 if test "${enable_statbox+set}" = set; then
5178 enableval
="$enable_statbox"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5183 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5188 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5200 eval "$ac_cv_use_statbox"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_STATBOX" = yes; then
5206 echo "$ac_t""yes" 1>&6
5208 echo "$ac_t""no" 1>&6
5212 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5213 echo "configure:5214: checking "for --enable-statline"" >&5
5215 # Check whether --enable-statline or --disable-statline was given.
5216 if test "${enable_statline+set}" = set; then
5217 enableval
="$enable_statline"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5222 ac_cv_use_statline
='wxUSE_STATLINE=no'
5227 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5239 eval "$ac_cv_use_statline"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_STATLINE" = yes; then
5245 echo "$ac_t""yes" 1>&6
5247 echo "$ac_t""no" 1>&6
5251 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5252 echo "configure:5253: checking "for --enable-statusbar"" >&5
5254 # Check whether --enable-statusbar or --disable-statusbar was given.
5255 if test "${enable_statusbar+set}" = set; then
5256 enableval
="$enable_statusbar"
5258 if test "$enableval" = yes; then
5259 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5261 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5266 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x
; then
5268 eval "DEFAULT_$LINE"
5273 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5278 eval "$ac_cv_use_statusbar"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_STATUSBAR" = yes; then
5284 echo "$ac_t""yes" 1>&6
5286 echo "$ac_t""no" 1>&6
5290 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5291 echo "configure:5292: checking "for --enable-tabdialog"" >&5
5293 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5294 if test "${enable_tabdialog+set}" = set; then
5295 enableval
="$enable_tabdialog"
5297 if test "$enableval" = yes; then
5298 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5300 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5305 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x
; then
5307 eval "DEFAULT_$LINE"
5312 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5317 eval "$ac_cv_use_tabdialog"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_TABDIALOG" = yes; then
5323 echo "$ac_t""yes" 1>&6
5325 echo "$ac_t""no" 1>&6
5329 echo $ac_n "checking "for --enable-togglebtn"""... $ac_c" 1>&6
5330 echo "configure:5331: checking "for --enable-togglebtn"" >&5
5332 # Check whether --enable-togglebtn or --disable-togglebtn was given.
5333 if test "${enable_togglebtn+set}" = set; then
5334 enableval
="$enable_togglebtn"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
5339 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
5344 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
5356 eval "$ac_cv_use_togglebtn"
5357 if test "$no_cache" != 1; then
5358 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
5361 if test "$wxUSE_TOGGLEBTN" = yes; then
5362 echo "$ac_t""yes" 1>&6
5364 echo "$ac_t""no" 1>&6
5368 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5369 echo "configure:5370: checking "for --enable-toolbar"" >&5
5371 # Check whether --enable-toolbar or --disable-toolbar was given.
5372 if test "${enable_toolbar+set}" = set; then
5373 enableval
="$enable_toolbar"
5375 if test "$enableval" = yes; then
5376 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5378 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5383 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5384 if test "x$LINE" != x
; then
5385 eval "DEFAULT_$LINE"
5390 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5395 eval "$ac_cv_use_toolbar"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_TOOLBAR" = yes; then
5401 echo "$ac_t""yes" 1>&6
5403 echo "$ac_t""no" 1>&6
5407 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5408 echo "configure:5409: checking "for --enable-tbarnative"" >&5
5410 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5411 if test "${enable_tbarnative+set}" = set; then
5412 enableval
="$enable_tbarnative"
5414 if test "$enableval" = yes; then
5415 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5417 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5422 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x
; then
5424 eval "DEFAULT_$LINE"
5429 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5434 eval "$ac_cv_use_tbarnative"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5440 echo "$ac_t""yes" 1>&6
5442 echo "$ac_t""no" 1>&6
5446 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5447 echo "configure:5448: checking "for --enable-tbarsmpl"" >&5
5449 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5450 if test "${enable_tbarsmpl+set}" = set; then
5451 enableval
="$enable_tbarsmpl"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5456 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5461 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5473 eval "$ac_cv_use_tbarsmpl"
5474 if test "$no_cache" != 1; then
5475 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5478 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5479 echo "$ac_t""yes" 1>&6
5481 echo "$ac_t""no" 1>&6
5485 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5486 echo "configure:5487: checking "for --enable-treectrl"" >&5
5488 # Check whether --enable-treectrl or --disable-treectrl was given.
5489 if test "${enable_treectrl+set}" = set; then
5490 enableval
="$enable_treectrl"
5492 if test "$enableval" = yes; then
5493 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5495 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5500 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5501 if test "x$LINE" != x
; then
5502 eval "DEFAULT_$LINE"
5507 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5512 eval "$ac_cv_use_treectrl"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5517 if test "$wxUSE_TREECTRL" = yes; then
5518 echo "$ac_t""yes" 1>&6
5520 echo "$ac_t""no" 1>&6
5526 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5527 echo "configure:5528: checking "for --enable-commondlg"" >&5
5529 # Check whether --enable-commondlg or --disable-commondlg was given.
5530 if test "${enable_commondlg+set}" = set; then
5531 enableval
="$enable_commondlg"
5533 if test "$enableval" = yes; then
5534 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5536 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5541 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5553 eval "$ac_cv_use_commondlg"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_COMMONDLGS" = yes; then
5559 echo "$ac_t""yes" 1>&6
5561 echo "$ac_t""no" 1>&6
5565 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5566 echo "configure:5567: checking "for --enable-dirdlg"" >&5
5568 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5569 if test "${enable_dirdlg+set}" = set; then
5570 enableval
="$enable_dirdlg"
5572 if test "$enableval" = yes; then
5573 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5575 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5580 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x
; then
5582 eval "DEFAULT_$LINE"
5587 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5592 eval "$ac_cv_use_dirdlg"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_DIRDLG" = yes; then
5598 echo "$ac_t""yes" 1>&6
5600 echo "$ac_t""no" 1>&6
5604 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5605 echo "configure:5606: checking "for --enable-textdlg"" >&5
5607 # Check whether --enable-textdlg or --disable-textdlg was given.
5608 if test "${enable_textdlg+set}" = set; then
5609 enableval
="$enable_textdlg"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5614 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5619 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5631 eval "$ac_cv_use_textdlg"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_TEXTDLG" = yes; then
5637 echo "$ac_t""yes" 1>&6
5639 echo "$ac_t""no" 1>&6
5643 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5644 echo "configure:5645: checking "for --enable-tipdlg"" >&5
5646 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5647 if test "${enable_tipdlg+set}" = set; then
5648 enableval
="$enable_tipdlg"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5653 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5658 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5670 eval "$ac_cv_use_tipdlg"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_STARTUP_TIPS" = yes; then
5676 echo "$ac_t""yes" 1>&6
5678 echo "$ac_t""no" 1>&6
5682 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5683 echo "configure:5684: checking "for --enable-progressdlg"" >&5
5685 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5686 if test "${enable_progressdlg+set}" = set; then
5687 enableval
="$enable_progressdlg"
5689 if test "$enableval" = yes; then
5690 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5692 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5697 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x
; then
5699 eval "DEFAULT_$LINE"
5704 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5709 eval "$ac_cv_use_progressdlg"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5714 if test "$wxUSE_PROGRESSDLG" = yes; then
5715 echo "$ac_t""yes" 1>&6
5717 echo "$ac_t""no" 1>&6
5721 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5722 echo "configure:5723: checking "for --enable-miniframe"" >&5
5724 # Check whether --enable-miniframe or --disable-miniframe was given.
5725 if test "${enable_miniframe+set}" = set; then
5726 enableval
="$enable_miniframe"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5731 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5736 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5748 eval "$ac_cv_use_miniframe"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_MINIFRAME" = yes; then
5754 echo "$ac_t""yes" 1>&6
5756 echo "$ac_t""no" 1>&6
5760 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5761 echo "configure:5762: checking "for --enable-html"" >&5
5763 # Check whether --enable-html or --disable-html was given.
5764 if test "${enable_html+set}" = set; then
5765 enableval
="$enable_html"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_html
='wxUSE_HTML=yes'
5770 ac_cv_use_html
='wxUSE_HTML=no'
5775 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x
; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5787 eval "$ac_cv_use_html"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_HTML" = yes; then
5793 echo "$ac_t""yes" 1>&6
5795 echo "$ac_t""no" 1>&6
5799 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5800 echo "configure:5801: checking "for --enable-tooltips"" >&5
5802 # Check whether --enable-tooltips or --disable-tooltips was given.
5803 if test "${enable_tooltips+set}" = set; then
5804 enableval
="$enable_tooltips"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5809 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5814 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5826 eval "$ac_cv_use_tooltips"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5831 if test "$wxUSE_TOOLTIPS" = yes; then
5832 echo "$ac_t""yes" 1>&6
5834 echo "$ac_t""no" 1>&6
5838 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5839 echo "configure:5840: checking "for --enable-splines"" >&5
5841 # Check whether --enable-splines or --disable-splines was given.
5842 if test "${enable_splines+set}" = set; then
5843 enableval
="$enable_splines"
5845 if test "$enableval" = yes; then
5846 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5848 ac_cv_use_splines
='wxUSE_SPLINES=no'
5853 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x
; then
5855 eval "DEFAULT_$LINE"
5860 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5865 eval "$ac_cv_use_splines"
5866 if test "$no_cache" != 1; then
5867 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5870 if test "$wxUSE_SPLINES" = yes; then
5871 echo "$ac_t""yes" 1>&6
5873 echo "$ac_t""no" 1>&6
5877 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5878 echo "configure:5879: checking "for --enable-validators"" >&5
5880 # Check whether --enable-validators or --disable-validators was given.
5881 if test "${enable_validators+set}" = set; then
5882 enableval
="$enable_validators"
5884 if test "$enableval" = yes; then
5885 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5887 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5892 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5893 if test "x$LINE" != x
; then
5894 eval "DEFAULT_$LINE"
5899 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5904 eval "$ac_cv_use_validators"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5909 if test "$wxUSE_VALIDATORS" = yes; then
5910 echo "$ac_t""yes" 1>&6
5912 echo "$ac_t""no" 1>&6
5916 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5917 echo "configure:5918: checking "for --enable-busyinfo"" >&5
5919 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5920 if test "${enable_busyinfo+set}" = set; then
5921 enableval
="$enable_busyinfo"
5923 if test "$enableval" = yes; then
5924 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5926 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5931 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x
; then
5933 eval "DEFAULT_$LINE"
5938 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5943 eval "$ac_cv_use_busyinfo"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5948 if test "$wxUSE_BUSYINFO" = yes; then
5949 echo "$ac_t""yes" 1>&6
5951 echo "$ac_t""no" 1>&6
5955 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5956 echo "configure:5957: checking "for --enable-joystick"" >&5
5958 # Check whether --enable-joystick or --disable-joystick was given.
5959 if test "${enable_joystick+set}" = set; then
5960 enableval
="$enable_joystick"
5962 if test "$enableval" = yes; then
5963 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5965 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5970 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x
; then
5972 eval "DEFAULT_$LINE"
5977 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5982 eval "$ac_cv_use_joystick"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5987 if test "$wxUSE_JOYSTICK" = yes; then
5988 echo "$ac_t""yes" 1>&6
5990 echo "$ac_t""no" 1>&6
5996 echo $ac_n "checking "for --enable-image"""... $ac_c" 1>&6
5997 echo "configure:5998: checking "for --enable-image"" >&5
5999 # Check whether --enable-image or --disable-image was given.
6000 if test "${enable_image+set}" = set; then
6001 enableval
="$enable_image"
6003 if test "$enableval" = yes; then
6004 ac_cv_use_image
='wxUSE_IMAGE=yes'
6006 ac_cv_use_image
='wxUSE_IMAGE=no'
6011 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
6012 if test "x$LINE" != x
; then
6013 eval "DEFAULT_$LINE"
6018 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
6023 eval "$ac_cv_use_image"
6024 if test "$no_cache" != 1; then
6025 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
6028 if test "$wxUSE_IMAGE" = yes; then
6029 echo "$ac_t""yes" 1>&6
6031 echo "$ac_t""no" 1>&6
6035 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
6036 echo "configure:6037: checking "for --enable-gif"" >&5
6038 # Check whether --enable-gif or --disable-gif was given.
6039 if test "${enable_gif+set}" = set; then
6040 enableval
="$enable_gif"
6042 if test "$enableval" = yes; then
6043 ac_cv_use_gif
='wxUSE_GIF=yes'
6045 ac_cv_use_gif
='wxUSE_GIF=no'
6050 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
6051 if test "x$LINE" != x
; then
6052 eval "DEFAULT_$LINE"
6057 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
6062 eval "$ac_cv_use_gif"
6063 if test "$no_cache" != 1; then
6064 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
6067 if test "$wxUSE_GIF" = yes; then
6068 echo "$ac_t""yes" 1>&6
6070 echo "$ac_t""no" 1>&6
6074 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
6075 echo "configure:6076: checking "for --enable-pcx"" >&5
6077 # Check whether --enable-pcx or --disable-pcx was given.
6078 if test "${enable_pcx+set}" = set; then
6079 enableval
="$enable_pcx"
6081 if test "$enableval" = yes; then
6082 ac_cv_use_pcx
='wxUSE_PCX=yes'
6084 ac_cv_use_pcx
='wxUSE_PCX=no'
6089 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x
; then
6091 eval "DEFAULT_$LINE"
6096 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
6101 eval "$ac_cv_use_pcx"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_PCX" = yes; then
6107 echo "$ac_t""yes" 1>&6
6109 echo "$ac_t""no" 1>&6
6113 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
6114 echo "configure:6115: checking "for --enable-pnm"" >&5
6116 # Check whether --enable-pnm or --disable-pnm was given.
6117 if test "${enable_pnm+set}" = set; then
6118 enableval
="$enable_pnm"
6120 if test "$enableval" = yes; then
6121 ac_cv_use_pnm
='wxUSE_PNM=yes'
6123 ac_cv_use_pnm
='wxUSE_PNM=no'
6128 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x
; then
6130 eval "DEFAULT_$LINE"
6135 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
6140 eval "$ac_cv_use_pnm"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_PNM" = yes; then
6146 echo "$ac_t""yes" 1>&6
6148 echo "$ac_t""no" 1>&6
6152 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
6153 echo "configure:6154: checking "for --enable-pnm"" >&5
6155 # Check whether --enable-pnm or --disable-pnm was given.
6156 if test "${enable_pnm+set}" = set; then
6157 enableval
="$enable_pnm"
6159 if test "$enableval" = yes; then
6160 ac_cv_use_pnm
='wxUSE_XPM=yes'
6162 ac_cv_use_pnm
='wxUSE_XPM=no'
6167 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x
; then
6169 eval "DEFAULT_$LINE"
6174 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
6179 eval "$ac_cv_use_pnm"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6184 if test "$wxUSE_XPM" = yes; then
6185 echo "$ac_t""yes" 1>&6
6187 echo "$ac_t""no" 1>&6
6194 echo "saving argument cache $wx_arg_cache_file"
6195 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6199 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6200 echo "configure:6201: checking for toolkit" >&5
6202 if test "$wxUSE_GUI" = "yes"; then
6204 if test "$USE_BEOS" = 1; then
6205 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6208 if test "$TOOLKIT_GIVEN" = 1; then
6209 for toolkit
in `echo $ALL_TOOLKITS`; do
6211 eval "value=\$${var}"
6212 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6215 for toolkit
in `echo $ALL_TOOLKITS`; do
6216 if test "$has_toolkit_in_cache" != 1; then
6217 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6219 var
=DEFAULT_wxUSE_
$toolkit
6221 eval "wxUSE_$toolkit=\$${var}"
6225 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6229 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6230 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6239 case "$NUM_TOOLKITS" in
6243 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6246 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6249 for toolkit
in `echo $ALL_TOOLKITS`; do
6251 eval "value=\$${var}"
6252 if test "x$value" != x
; then
6253 cache_var
=CACHE_
$toolkit
6254 eval "cache=\$${cache_var}"
6255 if test "$cache" = 1; then
6256 echo "$var=$value" >> ${wx_arg_cache_file}
6258 if test "$value" = 1; then
6259 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6266 echo "$ac_t""base only" 1>&6
6270 cat > confcache
<<\EOF
6271 # This file is a shell script that caches the results of configure
6272 # tests run on this system so they can be shared between configure
6273 # scripts and configure runs. It is not useful on other systems.
6274 # If it contains results you don't want to keep, you may remove or edit it.
6276 # By default, configure uses ./config.cache as the cache file,
6277 # creating it if it does not exist already. You can give configure
6278 # the --cache-file=FILE option to use a different cache file; that is
6279 # what configure does when it calls configure scripts in
6280 # subdirectories, so they share the cache.
6281 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6282 # config.status only pays attention to the cache file if you give it the
6283 # --recheck option to rerun configure.
6286 # The following way of writing the cache mishandles newlines in values,
6287 # but we know of no workaround that is simple, portable, and efficient.
6288 # So, don't put newlines in cache variables' values.
6289 # Ultrix sh set writes to stderr and can't be redirected directly,
6290 # and sets the high bit in the cache file unless we assign to the vars.
6292 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6294 # `set' does not quote correctly, so add quotes (double-quote substitution
6295 # turns \\\\ into \\, and sed turns \\ into \).
6297 -e "s/'/'\\\\''/g" \
6298 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6301 # `set' quotes correctly as required by POSIX, so do not add quotes.
6302 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6305 if cmp -s $cache_file confcache
; then
6308 if test -w $cache_file; then
6309 echo "updating cache $cache_file"
6310 cat confcache
> $cache_file
6312 echo "not updating unwritable cache $cache_file"
6318 if test "$build" != "$host" ; then
6322 RANLIB
=$host_alias-ranlib
6323 DLLTOOL
=$host_alias-dlltool
6324 RESCOMP
=$host_alias-windres
6327 STRIP
=$host_alias-strip
6330 # Extract the first word of "gcc", so it can be a program name with args.
6331 set dummy gcc
; ac_word
=$2
6332 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6333 echo "configure:6334: checking for $ac_word" >&5
6334 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6335 echo $ac_n "(cached) $ac_c" 1>&6
6337 if test -n "$CC"; then
6338 ac_cv_prog_CC
="$CC" # Let the user override the test.
6340 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6342 for ac_dir
in $ac_dummy; do
6343 test -z "$ac_dir" && ac_dir
=.
6344 if test -f $ac_dir/$ac_word; then
6353 if test -n "$CC"; then
6354 echo "$ac_t""$CC" 1>&6
6356 echo "$ac_t""no" 1>&6
6359 if test -z "$CC"; then
6360 # Extract the first word of "cc", so it can be a program name with args.
6361 set dummy cc
; ac_word
=$2
6362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6363 echo "configure:6364: checking for $ac_word" >&5
6364 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6365 echo $ac_n "(cached) $ac_c" 1>&6
6367 if test -n "$CC"; then
6368 ac_cv_prog_CC
="$CC" # Let the user override the test.
6370 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6373 for ac_dir
in $ac_dummy; do
6374 test -z "$ac_dir" && ac_dir
=.
6375 if test -f $ac_dir/$ac_word; then
6376 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6377 ac_prog_rejected
=yes
6385 if test $ac_prog_rejected = yes; then
6386 # We found a bogon in the path, so make sure we never use it.
6387 set dummy
$ac_cv_prog_CC
6389 if test $# -gt 0; then
6390 # We chose a different compiler from the bogus one.
6391 # However, it has the same basename, so the bogon will be chosen
6392 # first if we set CC to just the basename; use the full file name.
6394 set dummy
"$ac_dir/$ac_word" "$@"
6402 if test -n "$CC"; then
6403 echo "$ac_t""$CC" 1>&6
6405 echo "$ac_t""no" 1>&6
6408 if test -z "$CC"; then
6409 case "`uname -s`" in
6411 # Extract the first word of "cl", so it can be a program name with args.
6412 set dummy cl
; ac_word
=$2
6413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6414 echo "configure:6415: checking for $ac_word" >&5
6415 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6416 echo $ac_n "(cached) $ac_c" 1>&6
6418 if test -n "$CC"; then
6419 ac_cv_prog_CC
="$CC" # Let the user override the test.
6421 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6423 for ac_dir
in $ac_dummy; do
6424 test -z "$ac_dir" && ac_dir
=.
6425 if test -f $ac_dir/$ac_word; then
6434 if test -n "$CC"; then
6435 echo "$ac_t""$CC" 1>&6
6437 echo "$ac_t""no" 1>&6
6442 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6445 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6446 echo "configure:6447: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6450 ac_cpp
='$CPP $CPPFLAGS'
6451 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6452 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6453 cross_compiling
=$ac_cv_prog_cc_cross
6455 cat > conftest.
$ac_ext << EOF
6457 #line 6458 "configure"
6458 #include "confdefs.h"
6462 if { (eval echo configure
:6463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6463 ac_cv_prog_cc_works
=yes
6464 # If we can't run a trivial program, we are probably using a cross compiler.
6465 if (.
/conftest
; exit) 2>/dev
/null
; then
6466 ac_cv_prog_cc_cross
=no
6468 ac_cv_prog_cc_cross
=yes
6471 echo "configure: failed program was:" >&5
6472 cat conftest.
$ac_ext >&5
6473 ac_cv_prog_cc_works
=no
6477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6478 ac_cpp
='$CPP $CPPFLAGS'
6479 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6480 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6481 cross_compiling
=$ac_cv_prog_cc_cross
6483 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6484 if test $ac_cv_prog_cc_works = no
; then
6485 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6487 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6488 echo "configure:6489: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6489 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6490 cross_compiling
=$ac_cv_prog_cc_cross
6492 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6493 echo "configure:6494: checking whether we are using GNU C" >&5
6494 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6495 echo $ac_n "(cached) $ac_c" 1>&6
6497 cat > conftest.c
<<EOF
6502 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6509 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6511 if test $ac_cv_prog_gcc = yes; then
6517 ac_test_CFLAGS
="${CFLAGS+set}"
6518 ac_save_CFLAGS
="$CFLAGS"
6520 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6521 echo "configure:6522: checking whether ${CC-cc} accepts -g" >&5
6522 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6523 echo $ac_n "(cached) $ac_c" 1>&6
6525 echo 'void f(){}' > conftest.c
6526 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6535 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6536 if test "$ac_test_CFLAGS" = set; then
6537 CFLAGS
="$ac_save_CFLAGS"
6538 elif test $ac_cv_prog_cc_g = yes; then
6539 if test "$GCC" = yes; then
6545 if test "$GCC" = yes; then
6553 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6555 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6556 echo "configure:6557: checking how to run the C preprocessor" >&5
6557 # On Suns, sometimes $CPP names a directory.
6558 if test -n "$CPP" && test -d "$CPP"; then
6561 if test -z "$CPP"; then
6562 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6563 echo $ac_n "(cached) $ac_c" 1>&6
6565 # This must be in double quotes, not single quotes, because CPP may get
6566 # substituted into the Makefile and "${CC-cc}" will confuse make.
6568 # On the NeXT, cc -E runs the code through the compiler's parser,
6569 # not just through cpp.
6570 cat > conftest.
$ac_ext <<EOF
6571 #line 6572 "configure"
6572 #include "confdefs.h"
6576 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6577 { (eval echo configure
:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6578 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6579 if test -z "$ac_err"; then
6583 echo "configure: failed program was:" >&5
6584 cat conftest.
$ac_ext >&5
6586 CPP
="${CC-cc} -E -traditional-cpp"
6587 cat > conftest.
$ac_ext <<EOF
6588 #line 6589 "configure"
6589 #include "confdefs.h"
6593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6594 { (eval echo configure
:6595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6595 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6596 if test -z "$ac_err"; then
6600 echo "configure: failed program was:" >&5
6601 cat conftest.
$ac_ext >&5
6603 CPP
="${CC-cc} -nologo -E"
6604 cat > conftest.
$ac_ext <<EOF
6605 #line 6606 "configure"
6606 #include "confdefs.h"
6610 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6611 { (eval echo configure
:6612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6612 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6613 if test -z "$ac_err"; then
6617 echo "configure: failed program was:" >&5
6618 cat conftest.
$ac_ext >&5
6627 ac_cv_prog_CPP
="$CPP"
6629 CPP
="$ac_cv_prog_CPP"
6631 ac_cv_prog_CPP
="$CPP"
6633 echo "$ac_t""$CPP" 1>&6
6636 if test $ac_cv_prog_gcc = yes; then
6637 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6638 echo "configure:6639: checking whether ${CC-cc} needs -traditional" >&5
6639 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6640 echo $ac_n "(cached) $ac_c" 1>&6
6642 ac_pattern
="Autoconf.*'x'"
6643 cat > conftest.
$ac_ext <<EOF
6644 #line 6645 "configure"
6645 #include "confdefs.h"
6649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6650 egrep "$ac_pattern" >/dev
/null
2>&1; then
6652 ac_cv_prog_gcc_traditional
=yes
6655 ac_cv_prog_gcc_traditional
=no
6660 if test $ac_cv_prog_gcc_traditional = no
; then
6661 cat > conftest.
$ac_ext <<EOF
6662 #line 6663 "configure"
6663 #include "confdefs.h"
6667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6668 egrep "$ac_pattern" >/dev
/null
2>&1; then
6670 ac_cv_prog_gcc_traditional
=yes
6677 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6678 if test $ac_cv_prog_gcc_traditional = yes; then
6679 CC
="$CC -traditional"
6686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6687 ac_cpp
='$CXXCPP $CPPFLAGS'
6688 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6689 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6690 cross_compiling
=$ac_cv_prog_cxx_cross
6693 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6695 # Extract the first word of "$ac_prog", so it can be a program name with args.
6696 set dummy
$ac_prog; ac_word
=$2
6697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6698 echo "configure:6699: checking for $ac_word" >&5
6699 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6700 echo $ac_n "(cached) $ac_c" 1>&6
6702 if test -n "$CXX"; then
6703 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6705 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6707 for ac_dir
in $ac_dummy; do
6708 test -z "$ac_dir" && ac_dir
=.
6709 if test -f $ac_dir/$ac_word; then
6710 ac_cv_prog_CXX
="$ac_prog"
6717 CXX
="$ac_cv_prog_CXX"
6718 if test -n "$CXX"; then
6719 echo "$ac_t""$CXX" 1>&6
6721 echo "$ac_t""no" 1>&6
6724 test -n "$CXX" && break
6726 test -n "$CXX" || CXX
="gcc"
6729 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6730 echo "configure:6731: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6733 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6734 ac_cpp
='$CXXCPP $CPPFLAGS'
6735 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6736 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6737 cross_compiling
=$ac_cv_prog_cxx_cross
6739 cat > conftest.
$ac_ext << EOF
6741 #line 6742 "configure"
6742 #include "confdefs.h"
6744 int main(){return(0);}
6746 if { (eval echo configure
:6747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6747 ac_cv_prog_cxx_works
=yes
6748 # If we can't run a trivial program, we are probably using a cross compiler.
6749 if (.
/conftest
; exit) 2>/dev
/null
; then
6750 ac_cv_prog_cxx_cross
=no
6752 ac_cv_prog_cxx_cross
=yes
6755 echo "configure: failed program was:" >&5
6756 cat conftest.
$ac_ext >&5
6757 ac_cv_prog_cxx_works
=no
6761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6762 ac_cpp
='$CXXCPP $CPPFLAGS'
6763 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6764 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6765 cross_compiling
=$ac_cv_prog_cxx_cross
6767 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6768 if test $ac_cv_prog_cxx_works = no
; then
6769 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6771 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6772 echo "configure:6773: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6773 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6774 cross_compiling
=$ac_cv_prog_cxx_cross
6776 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6777 echo "configure:6778: checking whether we are using GNU C++" >&5
6778 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6779 echo $ac_n "(cached) $ac_c" 1>&6
6781 cat > conftest.C
<<EOF
6786 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6793 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6795 if test $ac_cv_prog_gxx = yes; then
6801 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6802 ac_save_CXXFLAGS
="$CXXFLAGS"
6804 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6805 echo "configure:6806: checking whether ${CXX-g++} accepts -g" >&5
6806 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6807 echo $ac_n "(cached) $ac_c" 1>&6
6809 echo 'void f(){}' > conftest.cc
6810 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6811 ac_cv_prog_cxx_g
=yes
6819 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6820 if test "$ac_test_CXXFLAGS" = set; then
6821 CXXFLAGS
="$ac_save_CXXFLAGS"
6822 elif test $ac_cv_prog_cxx_g = yes; then
6823 if test "$GXX" = yes; then
6829 if test "$GXX" = yes; then
6837 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6838 echo "configure:6839: checking how to run the C++ preprocessor" >&5
6839 if test -z "$CXXCPP"; then
6840 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6841 echo $ac_n "(cached) $ac_c" 1>&6
6844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6845 ac_cpp
='$CXXCPP $CPPFLAGS'
6846 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6847 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6848 cross_compiling
=$ac_cv_prog_cxx_cross
6849 CXXCPP
="${CXX-g++} -E"
6850 cat > conftest.
$ac_ext <<EOF
6851 #line 6852 "configure"
6852 #include "confdefs.h"
6855 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6856 { (eval echo configure
:6857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6857 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6858 if test -z "$ac_err"; then
6862 echo "configure: failed program was:" >&5
6863 cat conftest.
$ac_ext >&5
6868 ac_cv_prog_CXXCPP
="$CXXCPP"
6870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6871 ac_cpp
='$CXXCPP $CPPFLAGS'
6872 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6873 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6874 cross_compiling
=$ac_cv_prog_cxx_cross
6877 CXXCPP
="$ac_cv_prog_CXXCPP"
6878 echo "$ac_t""$CXXCPP" 1>&6
6881 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6885 ac_cpp
='$CPP $CPPFLAGS'
6886 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6887 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6888 cross_compiling
=$ac_cv_prog_cc_cross
6891 # Extract the first word of "ranlib", so it can be a program name with args.
6892 set dummy ranlib
; ac_word
=$2
6893 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6894 echo "configure:6895: checking for $ac_word" >&5
6895 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6896 echo $ac_n "(cached) $ac_c" 1>&6
6898 if test -n "$RANLIB"; then
6899 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6901 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6903 for ac_dir
in $ac_dummy; do
6904 test -z "$ac_dir" && ac_dir
=.
6905 if test -f $ac_dir/$ac_word; then
6906 ac_cv_prog_RANLIB
="ranlib"
6911 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6914 RANLIB
="$ac_cv_prog_RANLIB"
6915 if test -n "$RANLIB"; then
6916 echo "$ac_t""$RANLIB" 1>&6
6918 echo "$ac_t""no" 1>&6
6922 # Extract the first word of "ar", so it can be a program name with args.
6923 set dummy
ar; ac_word
=$2
6924 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6925 echo "configure:6926: checking for $ac_word" >&5
6926 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6927 echo $ac_n "(cached) $ac_c" 1>&6
6929 if test -n "$AR"; then
6930 ac_cv_prog_AR
="$AR" # Let the user override the test.
6932 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6934 for ac_dir
in $ac_dummy; do
6935 test -z "$ac_dir" && ac_dir
=.
6936 if test -f $ac_dir/$ac_word; then
6942 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6946 if test -n "$AR"; then
6947 echo "$ac_t""$AR" 1>&6
6949 echo "$ac_t""no" 1>&6
6953 # Find a good install program. We prefer a C program (faster),
6954 # so one script is as good as another. But avoid the broken or
6955 # incompatible versions:
6956 # SysV /etc/install, /usr/sbin/install
6957 # SunOS /usr/etc/install
6958 # IRIX /sbin/install
6960 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6961 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6962 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6963 # ./install, which can be erroneously created by make from ./install.sh.
6964 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6965 echo "configure:6966: checking for a BSD compatible install" >&5
6966 if test -z "$INSTALL"; then
6967 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6968 echo $ac_n "(cached) $ac_c" 1>&6
6970 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6971 for ac_dir
in $PATH; do
6972 # Account for people who put trailing slashes in PATH elements.
6974 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6976 # OSF1 and SCO ODT 3.0 have their own names for install.
6977 # Don't use installbsd from OSF since it installs stuff as root
6979 for ac_prog
in ginstall scoinst
install; do
6980 if test -f $ac_dir/$ac_prog; then
6981 if test $ac_prog = install &&
6982 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6983 # AIX install. It has an incompatible calling convention.
6986 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6997 if test "${ac_cv_path_install+set}" = set; then
6998 INSTALL
="$ac_cv_path_install"
7000 # As a last resort, use the slow shell script. We don't cache a
7001 # path for INSTALL within a source directory, because that will
7002 # break other packages using the cache if that directory is
7003 # removed, or if the path is relative.
7004 INSTALL
="$ac_install_sh"
7007 echo "$ac_t""$INSTALL" 1>&6
7009 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7010 # It thinks the first close brace ends the variable substitution.
7011 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7013 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
7015 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7018 # Extract the first word of "strip", so it can be a program name with args.
7019 set dummy strip
; ac_word
=$2
7020 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7021 echo "configure:7022: checking for $ac_word" >&5
7022 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
7023 echo $ac_n "(cached) $ac_c" 1>&6
7025 if test -n "$STRIP"; then
7026 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7028 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7030 for ac_dir
in $ac_dummy; do
7031 test -z "$ac_dir" && ac_dir
=.
7032 if test -f $ac_dir/$ac_word; then
7033 ac_cv_prog_STRIP
="strip"
7038 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
7041 STRIP
="$ac_cv_prog_STRIP"
7042 if test -n "$STRIP"; then
7043 echo "$ac_t""$STRIP" 1>&6
7045 echo "$ac_t""no" 1>&6
7049 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
7050 echo "configure:7051: checking "make for VPATH support
"" >&5
7051 cat - << EOF > confMake
7057 if test ! -d sub
; then
7060 echo dummy
> sub
/file
7061 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
7063 rm -f sub
/file check final_file confMake
7065 if test "$RESULT" = 0; then
7066 echo "$ac_t""yes" 1>&6
7068 echo "$ac_t""no" 1>&6
7069 { echo "configure: error: You need a make-utility that is able to use the variable
7071 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
7074 for ac_prog
in 'bison -y' byacc
7076 # Extract the first word of "$ac_prog", so it can be a program name with args.
7077 set dummy
$ac_prog; ac_word
=$2
7078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7079 echo "configure:7080: checking for $ac_word" >&5
7080 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
7081 echo $ac_n "(cached) $ac_c" 1>&6
7083 if test -n "$YACC"; then
7084 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7088 for ac_dir
in $ac_dummy; do
7089 test -z "$ac_dir" && ac_dir
=.
7090 if test -f $ac_dir/$ac_word; then
7091 ac_cv_prog_YACC
="$ac_prog"
7098 YACC
="$ac_cv_prog_YACC"
7099 if test -n "$YACC"; then
7100 echo "$ac_t""$YACC" 1>&6
7102 echo "$ac_t""no" 1>&6
7105 test -n "$YACC" && break
7107 test -n "$YACC" || YACC
="yacc"
7110 # Extract the first word of "flex", so it can be a program name with args.
7111 set dummy flex
; ac_word
=$2
7112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7113 echo "configure:7114: checking for $ac_word" >&5
7114 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
7115 echo $ac_n "(cached) $ac_c" 1>&6
7117 if test -n "$LEX"; then
7118 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
7120 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7122 for ac_dir
in $ac_dummy; do
7123 test -z "$ac_dir" && ac_dir
=.
7124 if test -f $ac_dir/$ac_word; then
7125 ac_cv_prog_LEX
="flex"
7130 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
7133 LEX
="$ac_cv_prog_LEX"
7134 if test -n "$LEX"; then
7135 echo "$ac_t""$LEX" 1>&6
7137 echo "$ac_t""no" 1>&6
7140 if test -z "$LEXLIB"
7146 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
7147 echo "configure:7148: checking for yywrap in -l$ac_lib" >&5
7148 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
7149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7150 echo $ac_n "(cached) $ac_c" 1>&6
7152 ac_save_LIBS
="$LIBS"
7153 LIBS
="-l$ac_lib $LIBS"
7154 cat > conftest.
$ac_ext <<EOF
7155 #line 7156 "configure"
7156 #include "confdefs.h"
7157 /* Override any gcc2 internal prototype to avoid an error. */
7158 /* We use char because int might match the return type of a gcc2
7159 builtin and then its argument prototype would still apply. */
7166 if { (eval echo configure
:7167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7168 eval "ac_cv_lib_$ac_lib_var=yes"
7170 echo "configure: failed program was:" >&5
7171 cat conftest.
$ac_ext >&5
7173 eval "ac_cv_lib_$ac_lib_var=no"
7176 LIBS
="$ac_save_LIBS"
7179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7180 echo "$ac_t""yes" 1>&6
7183 echo "$ac_t""no" 1>&6
7189 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7190 echo "configure:7191: checking whether ln -s works" >&5
7191 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7192 echo $ac_n "(cached) $ac_c" 1>&6
7195 if ln -s X conftestdata
2>/dev
/null
7198 ac_cv_prog_LN_S
="ln -s"
7203 LN_S
="$ac_cv_prog_LN_S"
7204 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7205 echo "$ac_t""yes" 1>&6
7207 echo "$ac_t""no" 1>&6
7213 /usr/local/include \
7215 /usr/Motif-1.2/include \
7216 /usr/Motif-2.1/include \
7218 /usr/include/Motif1.2 \
7219 /opt/xpm/include/X11 \
7220 /opt/GBxpm/include/ \
7221 /opt/GBxpm/X11/include/ \
7223 /usr/Motif1.2/include \
7225 /usr/openwin/include \
7229 /usr/X11R6/include \
7230 /usr/X11R6.4/include \
7231 /usr/X11R5/include \
7232 /usr/X11R4/include \
7234 /usr/include/X11R6 \
7235 /usr/include/X11R5 \
7236 /usr/include/X11R4 \
7238 /usr/local/X11R6/include \
7239 /usr/local/X11R5/include \
7240 /usr/local/X11R4/include \
7242 /usr/local/include/X11R6 \
7243 /usr/local/include/X11R5 \
7244 /usr/local/include/X11R4 \
7248 /usr/local/X11/include \
7249 /usr/local/include/X11 \
7253 /usr/XFree86/include/X11 \
7255 X:/XFree86/include \
7256 X:/XFree86/include/X11 \
7259 /usr/local/include/gtk \
7261 /usr/local/include/glib \
7264 /usr/local/include/qt \
7266 /usr/include/windows \
7268 /usr/local/include/wine \
7270 /usr/unsupported/include \
7271 /usr/athena/include \
7272 /usr/local/x11r5/include \
7273 /usr/lpp/Xamples/include \
7275 /usr/openwin/share/include \
7279 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7282 cat > confcache
<<\EOF
7283 # This file is a shell script that caches the results of configure
7284 # tests run on this system so they can be shared between configure
7285 # scripts and configure runs. It is not useful on other systems.
7286 # If it contains results you don't want to keep, you may remove or edit it.
7288 # By default, configure uses ./config.cache as the cache file,
7289 # creating it if it does not exist already. You can give configure
7290 # the --cache-file=FILE option to use a different cache file; that is
7291 # what configure does when it calls configure scripts in
7292 # subdirectories, so they share the cache.
7293 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7294 # config.status only pays attention to the cache file if you give it the
7295 # --recheck option to rerun configure.
7298 # The following way of writing the cache mishandles newlines in values,
7299 # but we know of no workaround that is simple, portable, and efficient.
7300 # So, don't put newlines in cache variables' values.
7301 # Ultrix sh set writes to stderr and can't be redirected directly,
7302 # and sets the high bit in the cache file unless we assign to the vars.
7304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7306 # `set' does not quote correctly, so add quotes (double-quote substitution
7307 # turns \\\\ into \\, and sed turns \\ into \).
7309 -e "s/'/'\\\\''/g" \
7310 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7313 # `set' quotes correctly as required by POSIX, so do not add quotes.
7314 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7317 if cmp -s $cache_file confcache
; then
7320 if test -w $cache_file; then
7321 echo "updating cache $cache_file"
7322 cat confcache
> $cache_file
7324 echo "not updating unwritable cache $cache_file"
7333 if test "$wxUSE_GUI" = "yes"; then
7349 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7350 if test "$cross_compiling" = "yes" ; then
7351 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7353 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7354 echo "configure:7355: checking for Windows headers" >&5
7357 for ac_dir
in $SEARCH_INCLUDE;
7359 if test -f "$ac_dir/windows.h"; then
7360 ac_find_includes
=$ac_dir
7365 if test "$ac_find_includes" != "" ; then
7366 echo "$ac_t""found $ac_find_includes" 1>&6
7367 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7369 echo "$ac_t""no" 1>&6
7370 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7374 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7375 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7377 if test "$wxUSE_ODBC" = "yes" ; then
7378 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7381 if test "$wxUSE_MINGW" = 1; then
7382 LDFLAGS
="$LDFLAGS -mwindows"
7388 RCINCSWITCH
="--include-dir"
7389 RCDEFSWITCH
="--define"
7390 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7393 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7395 RESPROGRAM
="\$(RES_PROGRAM)"
7399 if test "$wxUSE_GTK" = 1; then
7400 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7401 if test "${with_gtk_prefix+set}" = set; then
7402 withval
="$with_gtk_prefix"
7403 gtk_config_prefix
="$withval"
7405 gtk_config_prefix
=""
7408 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7409 if test "${with_gtk_exec_prefix+set}" = set; then
7410 withval
="$with_gtk_exec_prefix"
7411 gtk_config_exec_prefix
="$withval"
7413 gtk_config_exec_prefix
=""
7416 # Check whether --enable-gtktest or --disable-gtktest was given.
7417 if test "${enable_gtktest+set}" = set; then
7418 enableval
="$enable_gtktest"
7425 for module
in . gthread
7429 gtk_config_args
="$gtk_config_args gthread"
7434 if test x
$gtk_config_exec_prefix != x
; then
7435 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7436 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7437 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7440 if test x
$gtk_config_prefix != x
; then
7441 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7442 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7443 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7447 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7448 set dummy gtk
-config-2.0
; ac_word
=$2
7449 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7450 echo "configure:7451: checking for $ac_word" >&5
7451 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7452 echo $ac_n "(cached) $ac_c" 1>&6
7454 case "$GTK_CONFIG_2_0" in
7456 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7459 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7462 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7464 for ac_dir
in $ac_dummy; do
7465 test -z "$ac_dir" && ac_dir
=.
7466 if test -f $ac_dir/$ac_word; then
7467 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7472 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7476 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7477 if test -n "$GTK_CONFIG_2_0"; then
7478 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7480 echo "$ac_t""no" 1>&6
7483 min_gtk_version
=1.3.1
7484 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7485 echo "configure:7486: checking for GTK - version >= $min_gtk_version" >&5
7487 if test "$GTK_CONFIG_2_0" = "no" ; then
7490 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7491 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7492 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7494 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7496 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7498 if test "x$enable_gtktest" = "xyes" ; then
7499 ac_save_CFLAGS
="$CFLAGS"
7500 ac_save_LIBS
="$LIBS"
7501 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7502 LIBS
="$GTK_LIBS $LIBS"
7504 if test "$cross_compiling" = yes; then
7505 echo $ac_n "cross compiling; assumed OK... $ac_c"
7507 cat > conftest.
$ac_ext <<EOF
7508 #line 7509 "configure"
7509 #include "confdefs.h"
7511 #include <gtk/gtk.h>
7518 int major, minor, micro;
7521 system ("touch conf.gtktest");
7523 /* HP/UX 9 (%@#!) writes to sscanf strings */
7524 tmp_version = g_strdup("$min_gtk_version");
7525 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7526 printf("%s, bad version string\n", "$min_gtk_version");
7530 if ((gtk_major_version != $gtk_config_major_version) ||
7531 (gtk_minor_version != $gtk_config_minor_version) ||
7532 (gtk_micro_version != $gtk_config_micro_version))
7534 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7535 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7536 gtk_major_version, gtk_minor_version, gtk_micro_version);
7537 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7538 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7539 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7540 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7541 printf("*** required on your system.\n");
7542 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7543 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7544 printf("*** before re-running configure\n");
7546 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7547 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7548 (gtk_minor_version != GTK_MINOR_VERSION) ||
7549 (gtk_micro_version != GTK_MICRO_VERSION))
7551 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7552 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7553 printf("*** library (version %d.%d.%d)\n",
7554 gtk_major_version, gtk_minor_version, gtk_micro_version);
7556 #endif /* defined (GTK_MAJOR_VERSION) ... */
7559 if ((gtk_major_version > major) ||
7560 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7561 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7567 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7568 gtk_major_version, gtk_minor_version, gtk_micro_version);
7569 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7570 major, minor, micro);
7571 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7573 printf("*** If you have already installed a sufficiently new version, this error\n");
7574 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7575 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7576 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7577 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7578 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7579 printf("*** so that the correct libraries are found at run-time))\n");
7586 if { (eval echo configure
:7587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7590 echo "configure: failed program was:" >&5
7591 cat conftest.
$ac_ext >&5
7598 CFLAGS
="$ac_save_CFLAGS"
7599 LIBS
="$ac_save_LIBS"
7602 if test "x$no_gtk" = x
; then
7603 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7606 echo "$ac_t""no" 1>&6
7607 if test "$GTK_CONFIG_2_0" = "no" ; then
7608 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7609 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7610 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7611 echo "*** full path to gtk-config-2.0."
7613 if test -f conf.gtktest
; then
7616 echo "*** Could not run GTK test program, checking why..."
7617 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7618 LIBS
="$LIBS $GTK_LIBS"
7619 cat > conftest.
$ac_ext <<EOF
7620 #line 7621 "configure"
7621 #include "confdefs.h"
7623 #include <gtk/gtk.h>
7627 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7630 if { (eval echo configure
:7631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7632 echo "*** The test program compiled, but did not run. This usually means"
7633 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7634 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7637 echo "*** is required on your system"
7639 echo "*** If you have an old version installed, it is best to remove it, although"
7640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7642 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7643 echo "*** came with the system with the command"
7645 echo "*** rpm --erase --nodeps gtk gtk-devel"
7647 echo "configure: failed program was:" >&5
7648 cat conftest.
$ac_ext >&5
7650 echo "*** The test program failed to compile or link. See the file config.log for the"
7651 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7652 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7653 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7656 CFLAGS
="$ac_save_CFLAGS"
7657 LIBS
="$ac_save_LIBS"
7664 if test x
$gtk_config_exec_prefix != x
; then
7665 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7666 if test x
${GTK_CONFIG+set} != xset
; then
7667 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7670 if test x
$gtk_config_prefix != x
; then
7671 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7672 if test x
${GTK_CONFIG+set} != xset
; then
7673 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7677 # Extract the first word of "gtk-config", so it can be a program name with args.
7678 set dummy gtk
-config; ac_word
=$2
7679 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7680 echo "configure:7681: checking for $ac_word" >&5
7681 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7682 echo $ac_n "(cached) $ac_c" 1>&6
7684 case "$GTK_CONFIG" in
7686 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7689 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7692 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7694 for ac_dir
in $ac_dummy; do
7695 test -z "$ac_dir" && ac_dir
=.
7696 if test -f $ac_dir/$ac_word; then
7697 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7702 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7706 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7707 if test -n "$GTK_CONFIG"; then
7708 echo "$ac_t""$GTK_CONFIG" 1>&6
7710 echo "$ac_t""no" 1>&6
7713 min_gtk_version
=1.2.7
7714 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7715 echo "configure:7716: checking for GTK - version >= $min_gtk_version" >&5
7717 if test "$GTK_CONFIG" != "no" ; then
7718 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7719 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7720 ac_save_CFLAGS
="$CFLAGS"
7721 ac_save_LIBS
="$LIBS"
7722 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7723 LIBS
="$LIBS $GTK_LIBS"
7724 if test "$cross_compiling" = yes; then
7725 echo $ac_n "cross compiling; assumed OK... $ac_c"
7727 cat > conftest.
$ac_ext <<EOF
7728 #line 7729 "configure"
7729 #include "confdefs.h"
7731 #include <gtk/gtk.h>
7732 #include <gtk/gtkfeatures.h>
7739 int major, minor, micro;
7741 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7742 printf("%s, bad version string\n", "$min_gtk_version");
7746 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7747 (GTK_MINOR_VERSION != gtk_minor_version) ||
7748 (GTK_MICRO_VERSION != gtk_micro_version)) {
7749 printf("Headers vs. library version mismatch!\n");
7753 if (gtk_minor_version == 1) return FALSE;
7755 return !((gtk_major_version > major) ||
7756 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7757 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7761 if { (eval echo configure
:7762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7765 echo "configure: failed program was:" >&5
7766 cat conftest.
$ac_ext >&5
7773 CFLAGS
="$ac_save_CFLAGS"
7774 LIBS
="$ac_save_LIBS"
7778 if test "x$no_gtk" = x
; then
7779 echo "$ac_t""yes" 1>&6
7782 echo "$ac_t""no" 1>&6
7791 if test x
$gtk_config_exec_prefix != x
; then
7792 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7793 if test x
${GTK_CONFIG+set} != xset
; then
7794 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7797 if test x
$gtk_config_prefix != x
; then
7798 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7799 if test x
${GTK_CONFIG+set} != xset
; then
7800 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7804 # Extract the first word of "gtk-config", so it can be a program name with args.
7805 set dummy gtk
-config; ac_word
=$2
7806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7807 echo "configure:7808: checking for $ac_word" >&5
7808 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7809 echo $ac_n "(cached) $ac_c" 1>&6
7811 case "$GTK_CONFIG" in
7813 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7816 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7819 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7821 for ac_dir
in $ac_dummy; do
7822 test -z "$ac_dir" && ac_dir
=.
7823 if test -f $ac_dir/$ac_word; then
7824 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7829 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7833 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7834 if test -n "$GTK_CONFIG"; then
7835 echo "$ac_t""$GTK_CONFIG" 1>&6
7837 echo "$ac_t""no" 1>&6
7840 min_gtk_version
=1.2.3
7841 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7842 echo "configure:7843: checking for GTK - version >= $min_gtk_version" >&5
7844 if test "$GTK_CONFIG" != "no" ; then
7845 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7846 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7847 ac_save_CFLAGS
="$CFLAGS"
7848 ac_save_LIBS
="$LIBS"
7849 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7850 LIBS
="$LIBS $GTK_LIBS"
7851 if test "$cross_compiling" = yes; then
7852 echo $ac_n "cross compiling; assumed OK... $ac_c"
7854 cat > conftest.
$ac_ext <<EOF
7855 #line 7856 "configure"
7856 #include "confdefs.h"
7858 #include <gtk/gtk.h>
7859 #include <gtk/gtkfeatures.h>
7866 int major, minor, micro;
7868 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7869 printf("%s, bad version string\n", "$min_gtk_version");
7873 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7874 (GTK_MINOR_VERSION != gtk_minor_version) ||
7875 (GTK_MICRO_VERSION != gtk_micro_version)) {
7876 printf("Headers vs. library version mismatch!\n");
7880 if (gtk_minor_version == 1) return FALSE;
7882 return !((gtk_major_version > major) ||
7883 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7884 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7888 if { (eval echo configure
:7889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7892 echo "configure: failed program was:" >&5
7893 cat conftest.
$ac_ext >&5
7900 CFLAGS
="$ac_save_CFLAGS"
7901 LIBS
="$ac_save_LIBS"
7905 if test "x$no_gtk" = x
; then
7906 echo "$ac_t""yes" 1>&6
7909 echo "$ac_t""no" 1>&6
7924 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7925 { echo "configure: error:
7926 Please check that gtk-config is in path, the directory
7927 where GTK+ libraries are installed (returned by
7928 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7929 equivalent variable and GTK+ is version 1.2.3 or above.
7933 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7936 GUI_TK_LIBRARY
="$GTK_LIBS"
7939 AFMINSTALL
=afminstall
7943 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7944 echo "configure:7945: checking for gdk_im_open in -lgdk" >&5
7945 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7947 echo $ac_n "(cached) $ac_c" 1>&6
7949 ac_save_LIBS
="$LIBS"
7951 cat > conftest.
$ac_ext <<EOF
7952 #line 7953 "configure"
7953 #include "confdefs.h"
7954 /* Override any gcc2 internal prototype to avoid an error. */
7955 /* We use char because int might match the return type of a gcc2
7956 builtin and then its argument prototype would still apply. */
7963 if { (eval echo configure
:7964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7965 eval "ac_cv_lib_$ac_lib_var=yes"
7967 echo "configure: failed program was:" >&5
7968 cat conftest.
$ac_ext >&5
7970 eval "ac_cv_lib_$ac_lib_var=no"
7973 LIBS
="$ac_save_LIBS"
7976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7977 echo "$ac_t""yes" 1>&6
7978 cat >> confdefs.h
<<\EOF
7983 echo "$ac_t""no" 1>&6
7988 if test "$wxUSE_WINE" = 1; then
7989 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7990 echo "configure:7991: checking for WINE includes" >&5
7993 for ac_dir
in $SEARCH_INCLUDE;
7995 if test -f "$ac_dir/windows.h"; then
7996 ac_find_includes
=$ac_dir
8001 if test "$ac_find_includes" != "" ; then
8002 echo "$ac_t""found $ac_find_includes" 1>&6
8003 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8005 echo "$ac_t""no" 1>&6
8006 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8010 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8011 echo "configure:8012: checking for Xpm library" >&5
8014 for ac_dir
in $SEARCH_LIB;
8016 for ac_extension
in a so sl
; do
8017 if test -f "$ac_dir/libXpm.$ac_extension"; then
8018 ac_find_libraries
=$ac_dir
8024 if test "$ac_find_libraries" != "" ; then
8025 GUI_TK_LIBRARY
="-L$ac_find_libraries"
8027 cat >> confdefs.h
<<\EOF
8028 #define wxHAVE_LIB_XPM 1
8031 echo "$ac_t""found at $ac_find_libraries" 1>&6
8033 echo "$ac_t""no" 1>&6
8034 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8038 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
8039 echo "configure:8040: checking for Mesa library" >&5
8042 for ac_dir
in $SEARCH_LIB;
8044 for ac_extension
in a so sl
; do
8045 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
8046 ac_find_libraries
=$ac_dir
8052 if test "$ac_find_libraries" != "" ; then
8053 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
8054 MESA_LINK
="-lMesaGL"
8055 echo "$ac_t""found at $ac_find_libraries" 1>&6
8057 { echo "configure: error: no" 1>&2; exit 1; }
8060 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
8061 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8068 # If we find X, set shell vars x_includes and x_libraries to the
8069 # paths, otherwise set no_x=yes.
8070 # Uses ac_ vars as temps to allow command line to override cache and checks.
8071 # --without-x overrides everything else, but does not touch the cache.
8072 echo $ac_n "checking for X""... $ac_c" 1>&6
8073 echo "configure:8074: checking for X" >&5
8075 # Check whether --with-x or --without-x was given.
8076 if test "${with_x+set}" = set; then
8081 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8082 if test "x$with_x" = xno
; then
8083 # The user explicitly disabled X.
8086 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8087 # Both variables are already set.
8090 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
8091 echo $ac_n "(cached) $ac_c" 1>&6
8093 # One or both of the vars are not set, and there is no cached value.
8094 ac_x_includes
=NO ac_x_libraries
=NO
8096 if mkdir conftestdir
; then
8098 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8099 cat > Imakefile
<<'EOF'
8101 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8103 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8104 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8105 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8106 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8107 for ac_extension
in a so sl
; do
8108 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8109 test -f $ac_im_libdir/libX11.
$ac_extension; then
8110 ac_im_usrlibdir
=$ac_im_libdir; break
8113 # Screen out bogus values from the imake configuration. They are
8114 # bogus both because they are the default anyway, and because
8115 # using them would break gcc on systems where it needs fixed includes.
8116 case "$ac_im_incroot" in
8118 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
8120 case "$ac_im_usrlibdir" in
8122 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
8129 if test "$ac_x_includes" = NO
; then
8130 # Guess where to find include files, by looking for this one X11 .h file.
8131 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
8133 # First, try using that file with no special directory specified.
8134 cat > conftest.
$ac_ext <<EOF
8135 #line 8136 "configure"
8136 #include "confdefs.h"
8137 #include <$x_direct_test_include>
8139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8140 { (eval echo configure
:8141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8142 if test -z "$ac_err"; then
8144 # We can compile using X headers with no special include directory.
8148 echo "configure: failed program was:" >&5
8149 cat conftest.
$ac_ext >&5
8151 # Look for the header file in a standard set of common directories.
8152 # Check X11 before X11Rn because it is often a symlink to the current release.
8155 /usr
/X
11R
6/include \
8156 /usr
/X
11R
5/include \
8157 /usr
/X
11R
4/include \
8160 /usr
/include
/X11R6 \
8161 /usr
/include
/X11R5 \
8162 /usr
/include
/X11R4 \
8164 /usr
/local
/X
11/include \
8165 /usr
/local
/X
11R
6/include \
8166 /usr
/local
/X
11R
5/include \
8167 /usr
/local
/X
11R
4/include \
8169 /usr
/local
/include
/X11 \
8170 /usr
/local
/include
/X11R6 \
8171 /usr
/local
/include
/X11R5 \
8172 /usr
/local
/include
/X11R4 \
8176 /usr
/XFree
86/include
/X11 \
8179 /usr
/local
/include \
8180 /usr
/unsupported
/include \
8181 /usr
/athena
/include \
8182 /usr
/local
/x
11r
5/include \
8183 /usr
/lpp
/Xamples
/include \
8185 /usr
/openwin
/include \
8186 /usr
/openwin
/share
/include \
8189 if test -r "$ac_dir/$x_direct_test_include"; then
8190 ac_x_includes
=$ac_dir
8196 fi # $ac_x_includes = NO
8198 if test "$ac_x_libraries" = NO
; then
8199 # Check for the libraries.
8201 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8202 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8204 # See if we find them without any special options.
8205 # Don't add to $LIBS permanently.
8206 ac_save_LIBS
="$LIBS"
8207 LIBS
="-l$x_direct_test_library $LIBS"
8208 cat > conftest.
$ac_ext <<EOF
8209 #line 8210 "configure"
8210 #include "confdefs.h"
8213 ${x_direct_test_function}()
8216 if { (eval echo configure
:8217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8218 LIBS
="$ac_save_LIBS"
8219 # We can link X programs with no special library path.
8222 echo "configure: failed program was:" >&5
8223 cat conftest.
$ac_ext >&5
8225 LIBS
="$ac_save_LIBS"
8226 # First see if replacing the include by lib works.
8227 # Check X11 before X11Rn because it is often a symlink to the current release.
8228 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8239 /usr
/local
/X
11/lib \
8240 /usr
/local
/X
11R
6/lib \
8241 /usr
/local
/X
11R
5/lib \
8242 /usr
/local
/X
11R
4/lib \
8244 /usr
/local
/lib
/X11 \
8245 /usr
/local
/lib
/X11R6 \
8246 /usr
/local
/lib
/X11R5 \
8247 /usr
/local
/lib
/X11R4 \
8251 /usr
/XFree
86/lib
/X11 \
8255 /usr
/unsupported
/lib \
8257 /usr
/local
/x
11r
5/lib \
8258 /usr
/lpp
/Xamples
/lib \
8262 /usr
/openwin
/share
/lib \
8265 for ac_extension
in a so sl
; do
8266 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8267 ac_x_libraries
=$ac_dir
8274 fi # $ac_x_libraries = NO
8276 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8277 # Didn't find X anywhere. Cache the known absence of X.
8278 ac_cv_have_x
="have_x=no"
8280 # Record where we found X for the cache.
8281 ac_cv_have_x
="have_x=yes \
8282 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8286 eval "$ac_cv_have_x"
8289 if test "$have_x" != yes; then
8290 echo "$ac_t""$have_x" 1>&6
8293 # If each of the values was on the command line, it overrides each guess.
8294 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8295 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8296 # Update the cache value to reflect the command line values.
8297 ac_cv_have_x
="have_x=yes \
8298 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8299 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8302 if test "$no_x" = yes; then
8303 # Not all programs may use this symbol, but it does not hurt to define it.
8304 cat >> confdefs.h
<<\EOF
8305 #define X_DISPLAY_MISSING 1
8308 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8310 if test -n "$x_includes"; then
8311 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8314 # It would also be nice to do this for all -L options, not just this one.
8315 if test -n "$x_libraries"; then
8316 X_LIBS
="$X_LIBS -L$x_libraries"
8317 # For Solaris; some versions of Sun CC require a space after -R and
8318 # others require no space. Words are not sufficient . . . .
8319 case "`(uname -sr) 2>/dev/null`" in
8321 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8322 echo "configure:8323: checking whether -R must be followed by a space" >&5
8323 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8324 cat > conftest.
$ac_ext <<EOF
8325 #line 8326 "configure"
8326 #include "confdefs.h"
8332 if { (eval echo configure
:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8336 echo "configure: failed program was:" >&5
8337 cat conftest.
$ac_ext >&5
8342 if test $ac_R_nospace = yes; then
8343 echo "$ac_t""no" 1>&6
8344 X_LIBS
="$X_LIBS -R$x_libraries"
8346 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8347 cat > conftest.
$ac_ext <<EOF
8348 #line 8349 "configure"
8349 #include "confdefs.h"
8355 if { (eval echo configure
:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8359 echo "configure: failed program was:" >&5
8360 cat conftest.
$ac_ext >&5
8365 if test $ac_R_space = yes; then
8366 echo "$ac_t""yes" 1>&6
8367 X_LIBS
="$X_LIBS -R $x_libraries"
8369 echo "$ac_t""neither works" 1>&6
8372 LIBS
="$ac_xsave_LIBS"
8376 # Check for system-dependent libraries X programs must link with.
8377 # Do this before checking for the system-independent R6 libraries
8378 # (-lICE), since we may need -lsocket or whatever for X linking.
8380 if test "$ISC" = yes; then
8381 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8383 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8384 # libraries were built with DECnet support. And karl@cs.umb.edu says
8385 # the Alpha needs dnet_stub (dnet does not exist).
8386 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8387 echo "configure:8388: checking for dnet_ntoa in -ldnet" >&5
8388 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8390 echo $ac_n "(cached) $ac_c" 1>&6
8392 ac_save_LIBS
="$LIBS"
8394 cat > conftest.
$ac_ext <<EOF
8395 #line 8396 "configure"
8396 #include "confdefs.h"
8397 /* Override any gcc2 internal prototype to avoid an error. */
8398 /* We use char because int might match the return type of a gcc2
8399 builtin and then its argument prototype would still apply. */
8406 if { (eval echo configure
:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8408 eval "ac_cv_lib_$ac_lib_var=yes"
8410 echo "configure: failed program was:" >&5
8411 cat conftest.
$ac_ext >&5
8413 eval "ac_cv_lib_$ac_lib_var=no"
8416 LIBS
="$ac_save_LIBS"
8419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8420 echo "$ac_t""yes" 1>&6
8421 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8423 echo "$ac_t""no" 1>&6
8426 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8427 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8428 echo "configure:8429: checking for dnet_ntoa in -ldnet_stub" >&5
8429 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8431 echo $ac_n "(cached) $ac_c" 1>&6
8433 ac_save_LIBS
="$LIBS"
8434 LIBS
="-ldnet_stub $LIBS"
8435 cat > conftest.
$ac_ext <<EOF
8436 #line 8437 "configure"
8437 #include "confdefs.h"
8438 /* Override any gcc2 internal prototype to avoid an error. */
8439 /* We use char because int might match the return type of a gcc2
8440 builtin and then its argument prototype would still apply. */
8447 if { (eval echo configure
:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8449 eval "ac_cv_lib_$ac_lib_var=yes"
8451 echo "configure: failed program was:" >&5
8452 cat conftest.
$ac_ext >&5
8454 eval "ac_cv_lib_$ac_lib_var=no"
8457 LIBS
="$ac_save_LIBS"
8460 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8461 echo "$ac_t""yes" 1>&6
8462 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8464 echo "$ac_t""no" 1>&6
8469 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8470 # to get the SysV transport functions.
8471 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8473 # The nsl library prevents programs from opening the X display
8474 # on Irix 5.2, according to dickey@clark.net.
8475 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8476 echo "configure:8477: checking for gethostbyname" >&5
8477 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8478 echo $ac_n "(cached) $ac_c" 1>&6
8480 cat > conftest.
$ac_ext <<EOF
8481 #line 8482 "configure"
8482 #include "confdefs.h"
8483 /* System header to define __stub macros and hopefully few prototypes,
8484 which can conflict with char gethostbyname(); below. */
8486 /* Override any gcc2 internal prototype to avoid an error. */
8487 /* We use char because int might match the return type of a gcc2
8488 builtin and then its argument prototype would still apply. */
8489 char gethostbyname();
8493 /* The GNU C library defines this for functions which it implements
8494 to always fail with ENOSYS. Some functions are actually named
8495 something starting with __ and the normal name is an alias. */
8496 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8504 if { (eval echo configure
:8505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8506 eval "ac_cv_func_gethostbyname=yes"
8508 echo "configure: failed program was:" >&5
8509 cat conftest.
$ac_ext >&5
8511 eval "ac_cv_func_gethostbyname=no"
8516 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8517 echo "$ac_t""yes" 1>&6
8520 echo "$ac_t""no" 1>&6
8523 if test $ac_cv_func_gethostbyname = no
; then
8524 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8525 echo "configure:8526: checking for gethostbyname in -lnsl" >&5
8526 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8530 ac_save_LIBS
="$LIBS"
8532 cat > conftest.
$ac_ext <<EOF
8533 #line 8534 "configure"
8534 #include "confdefs.h"
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 /* We use char because int might match the return type of a gcc2
8537 builtin and then its argument prototype would still apply. */
8538 char gethostbyname();
8544 if { (eval echo configure
:8545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8546 eval "ac_cv_lib_$ac_lib_var=yes"
8548 echo "configure: failed program was:" >&5
8549 cat conftest.
$ac_ext >&5
8551 eval "ac_cv_lib_$ac_lib_var=no"
8554 LIBS
="$ac_save_LIBS"
8557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8558 echo "$ac_t""yes" 1>&6
8559 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8561 echo "$ac_t""no" 1>&6
8566 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8567 # socket/setsockopt and other routines are undefined under SCO ODT
8568 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8569 # on later versions), says simon@lia.di.epfl.ch: it contains
8570 # gethostby* variants that don't use the nameserver (or something).
8571 # -lsocket must be given before -lnsl if both are needed.
8572 # We assume that if connect needs -lnsl, so does gethostbyname.
8573 echo $ac_n "checking for connect""... $ac_c" 1>&6
8574 echo "configure:8575: checking for connect" >&5
8575 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8576 echo $ac_n "(cached) $ac_c" 1>&6
8578 cat > conftest.
$ac_ext <<EOF
8579 #line 8580 "configure"
8580 #include "confdefs.h"
8581 /* System header to define __stub macros and hopefully few prototypes,
8582 which can conflict with char connect(); below. */
8584 /* Override any gcc2 internal prototype to avoid an error. */
8585 /* We use char because int might match the return type of a gcc2
8586 builtin and then its argument prototype would still apply. */
8591 /* The GNU C library defines this for functions which it implements
8592 to always fail with ENOSYS. Some functions are actually named
8593 something starting with __ and the normal name is an alias. */
8594 #if defined (__stub_connect) || defined (__stub___connect)
8602 if { (eval echo configure
:8603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8604 eval "ac_cv_func_connect=yes"
8606 echo "configure: failed program was:" >&5
8607 cat conftest.
$ac_ext >&5
8609 eval "ac_cv_func_connect=no"
8614 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8615 echo "$ac_t""yes" 1>&6
8618 echo "$ac_t""no" 1>&6
8621 if test $ac_cv_func_connect = no
; then
8622 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8623 echo "configure:8624: checking for connect in -lsocket" >&5
8624 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8625 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8626 echo $ac_n "(cached) $ac_c" 1>&6
8628 ac_save_LIBS
="$LIBS"
8629 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8630 cat > conftest.
$ac_ext <<EOF
8631 #line 8632 "configure"
8632 #include "confdefs.h"
8633 /* Override any gcc2 internal prototype to avoid an error. */
8634 /* We use char because int might match the return type of a gcc2
8635 builtin and then its argument prototype would still apply. */
8642 if { (eval echo configure
:8643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8644 eval "ac_cv_lib_$ac_lib_var=yes"
8646 echo "configure: failed program was:" >&5
8647 cat conftest.
$ac_ext >&5
8649 eval "ac_cv_lib_$ac_lib_var=no"
8652 LIBS
="$ac_save_LIBS"
8655 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8656 echo "$ac_t""yes" 1>&6
8657 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8659 echo "$ac_t""no" 1>&6
8664 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8665 echo $ac_n "checking for remove""... $ac_c" 1>&6
8666 echo "configure:8667: checking for remove" >&5
8667 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8668 echo $ac_n "(cached) $ac_c" 1>&6
8670 cat > conftest.
$ac_ext <<EOF
8671 #line 8672 "configure"
8672 #include "confdefs.h"
8673 /* System header to define __stub macros and hopefully few prototypes,
8674 which can conflict with char remove(); below. */
8676 /* Override any gcc2 internal prototype to avoid an error. */
8677 /* We use char because int might match the return type of a gcc2
8678 builtin and then its argument prototype would still apply. */
8683 /* The GNU C library defines this for functions which it implements
8684 to always fail with ENOSYS. Some functions are actually named
8685 something starting with __ and the normal name is an alias. */
8686 #if defined (__stub_remove) || defined (__stub___remove)
8694 if { (eval echo configure
:8695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8696 eval "ac_cv_func_remove=yes"
8698 echo "configure: failed program was:" >&5
8699 cat conftest.
$ac_ext >&5
8701 eval "ac_cv_func_remove=no"
8706 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8707 echo "$ac_t""yes" 1>&6
8710 echo "$ac_t""no" 1>&6
8713 if test $ac_cv_func_remove = no
; then
8714 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8715 echo "configure:8716: checking for remove in -lposix" >&5
8716 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8718 echo $ac_n "(cached) $ac_c" 1>&6
8720 ac_save_LIBS
="$LIBS"
8721 LIBS
="-lposix $LIBS"
8722 cat > conftest.
$ac_ext <<EOF
8723 #line 8724 "configure"
8724 #include "confdefs.h"
8725 /* Override any gcc2 internal prototype to avoid an error. */
8726 /* We use char because int might match the return type of a gcc2
8727 builtin and then its argument prototype would still apply. */
8734 if { (eval echo configure
:8735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8736 eval "ac_cv_lib_$ac_lib_var=yes"
8738 echo "configure: failed program was:" >&5
8739 cat conftest.
$ac_ext >&5
8741 eval "ac_cv_lib_$ac_lib_var=no"
8744 LIBS
="$ac_save_LIBS"
8747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8748 echo "$ac_t""yes" 1>&6
8749 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8751 echo "$ac_t""no" 1>&6
8756 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8757 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8758 echo "configure:8759: checking for shmat" >&5
8759 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8760 echo $ac_n "(cached) $ac_c" 1>&6
8762 cat > conftest.
$ac_ext <<EOF
8763 #line 8764 "configure"
8764 #include "confdefs.h"
8765 /* System header to define __stub macros and hopefully few prototypes,
8766 which can conflict with char shmat(); below. */
8768 /* Override any gcc2 internal prototype to avoid an error. */
8769 /* We use char because int might match the return type of a gcc2
8770 builtin and then its argument prototype would still apply. */
8775 /* The GNU C library defines this for functions which it implements
8776 to always fail with ENOSYS. Some functions are actually named
8777 something starting with __ and the normal name is an alias. */
8778 #if defined (__stub_shmat) || defined (__stub___shmat)
8786 if { (eval echo configure
:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8788 eval "ac_cv_func_shmat=yes"
8790 echo "configure: failed program was:" >&5
8791 cat conftest.
$ac_ext >&5
8793 eval "ac_cv_func_shmat=no"
8798 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8799 echo "$ac_t""yes" 1>&6
8802 echo "$ac_t""no" 1>&6
8805 if test $ac_cv_func_shmat = no
; then
8806 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8807 echo "configure:8808: checking for shmat in -lipc" >&5
8808 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8809 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8810 echo $ac_n "(cached) $ac_c" 1>&6
8812 ac_save_LIBS
="$LIBS"
8814 cat > conftest.
$ac_ext <<EOF
8815 #line 8816 "configure"
8816 #include "confdefs.h"
8817 /* Override any gcc2 internal prototype to avoid an error. */
8818 /* We use char because int might match the return type of a gcc2
8819 builtin and then its argument prototype would still apply. */
8826 if { (eval echo configure
:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8828 eval "ac_cv_lib_$ac_lib_var=yes"
8830 echo "configure: failed program was:" >&5
8831 cat conftest.
$ac_ext >&5
8833 eval "ac_cv_lib_$ac_lib_var=no"
8836 LIBS
="$ac_save_LIBS"
8839 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8840 echo "$ac_t""yes" 1>&6
8841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8843 echo "$ac_t""no" 1>&6
8849 # Check for libraries that X11R6 Xt/Xaw programs need.
8850 ac_save_LDFLAGS
="$LDFLAGS"
8851 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8852 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8853 # check for ICE first), but we must link in the order -lSM -lICE or
8854 # we get undefined symbols. So assume we have SM if we have ICE.
8855 # These have to be linked with before -lX11, unlike the other
8856 # libraries we check for below, so use a different variable.
8857 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8858 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8859 echo "configure:8860: checking for IceConnectionNumber in -lICE" >&5
8860 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8862 echo $ac_n "(cached) $ac_c" 1>&6
8864 ac_save_LIBS
="$LIBS"
8865 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8866 cat > conftest.
$ac_ext <<EOF
8867 #line 8868 "configure"
8868 #include "confdefs.h"
8869 /* Override any gcc2 internal prototype to avoid an error. */
8870 /* We use char because int might match the return type of a gcc2
8871 builtin and then its argument prototype would still apply. */
8872 char IceConnectionNumber();
8875 IceConnectionNumber()
8878 if { (eval echo configure
:8879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8880 eval "ac_cv_lib_$ac_lib_var=yes"
8882 echo "configure: failed program was:" >&5
8883 cat conftest.
$ac_ext >&5
8885 eval "ac_cv_lib_$ac_lib_var=no"
8888 LIBS
="$ac_save_LIBS"
8891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8892 echo "$ac_t""yes" 1>&6
8893 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8895 echo "$ac_t""no" 1>&6
8898 LDFLAGS
="$ac_save_LDFLAGS"
8902 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8903 LDFLAGS
="$LDFLAGS $X_LIBS"
8905 if test "$wxUSE_MOTIF" = 1; then
8906 if test "$no_x" = "yes"; then
8907 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8910 GUI_TK_LIBRARY
="$X_LIBS"
8911 TOOLKIT_INCLUDE
="$X_CFLAGS"
8913 AFMINSTALL
=afminstall
8916 COMPILED_X_PROGRAM
=0
8918 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8919 echo "configure:8920: checking for Motif/Lesstif headers" >&5
8922 for ac_dir
in $SEARCH_INCLUDE;
8924 if test -f "$ac_dir/Xm/Xm.h"; then
8925 ac_find_includes
=$ac_dir
8930 if test "$ac_find_includes" != "" ; then
8931 echo "$ac_t""found $ac_find_includes" 1>&6
8933 cat > conftest.
$ac_ext <<EOF
8934 #line 8935 "configure"
8935 #include "confdefs.h"
8943 version = xmUseVersion;
8947 if { (eval echo configure
:8948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8950 echo "$ac_t""found in default search path" 1>&6
8951 COMPILED_X_PROGRAM
=1
8954 echo "configure: failed program was:" >&5
8955 cat conftest.
$ac_ext >&5
8958 echo "$ac_t""no" 1>&6
8959 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8966 if test "$COMPILED_X_PROGRAM" = 0; then
8967 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8968 echo "configure:8969: checking for Motif/Lesstif library" >&5
8971 for ac_dir
in $SEARCH_LIB;
8973 for ac_extension
in a so sl
; do
8974 if test -f "$ac_dir/libXm.$ac_extension"; then
8975 ac_find_libraries
=$ac_dir
8981 if test "$ac_find_libraries" != "" ; then
8983 ac_path_to_include
=$ac_find_includes
8984 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8986 if test $result = 0; then
8987 ac_path_to_include
=""
8989 ac_path_to_include
="-I$ac_find_includes"
8993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8995 if test $result = 0; then
8998 ac_path_to_link
="-L$ac_find_libraries"
9002 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
9003 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
9004 echo "$ac_t""found at $ac_find_libraries" 1>&6
9006 cat > conftest.
$ac_ext <<EOF
9007 #line 9008 "configure"
9008 #include "confdefs.h"
9016 version = xmUseVersion;
9020 if { (eval echo configure
:9021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9023 echo "$ac_t""found in default search path" 1>&6
9024 COMPILED_X_PROGRAM
=1
9027 echo "configure: failed program was:" >&5
9028 cat conftest.
$ac_ext >&5
9031 echo "$ac_t""no" 1>&6
9032 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
9042 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9043 echo "configure:9044: checking for Xpm library" >&5
9046 for ac_dir
in $SEARCH_LIB;
9048 for ac_extension
in a so sl
; do
9049 if test -f "$ac_dir/libXpm.$ac_extension"; then
9050 ac_find_libraries
=$ac_dir
9056 if test "$ac_find_libraries" != "" ; then
9058 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
9060 if test $result = 0; then
9063 ac_path_to_link
="-L$ac_find_libraries"
9066 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
9068 cat >> confdefs.h
<<\EOF
9069 #define wxHAVE_LIB_XPM 1
9072 echo "$ac_t""found at $ac_find_libraries" 1>&6
9074 cat > conftest.
$ac_ext <<EOF
9075 #line 9076 "configure"
9076 #include "confdefs.h"
9078 #include <X11/xpm.h>
9084 version = XpmLibraryVersion();
9088 if { (eval echo configure
:9089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9092 cat >> confdefs.h
<<\EOF
9093 #define wxHAVE_LIB_XPM 1
9096 echo "$ac_t""found in default search path" 1>&6
9097 COMPILED_X_PROGRAM
=0
9100 echo "configure: failed program was:" >&5
9101 cat conftest.
$ac_ext >&5
9104 echo "$ac_t""no" 1>&6
9105 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9112 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
9113 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9118 if test "$wxUSE_MAC" = 1; then
9123 if test "$wxUSE_PM" = 1; then
9128 if test "$TOOLKIT" != "PM" ; then
9129 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9134 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9135 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9137 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9140 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9142 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9144 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9146 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
9147 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9150 if test "$wxUSE_LIBJPEG" = "yes" ; then
9151 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9153 if test "$wxUSE_LIBTIFF" = "yes" ; then
9154 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9156 if test "$wxUSE_LIBPNG" = "yes" ; then
9157 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9159 if test "$wxUSE_ZLIB" = "yes" ; then
9160 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9162 if test "$wxUSE_FREETYPE" = "yes" ; then
9163 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9165 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9167 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9168 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9169 RPM_SPEC
="wx\$(TOOLKIT).spec"
9171 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9172 DISTDIR
="wx\$(TOOLKIT)"
9178 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9179 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9181 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9184 TOOLKIT_DEF
="-D__WXBASE__"
9186 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
9187 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
9189 if test "$wxUSE_ZLIB" = "yes" ; then
9190 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9193 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9195 PORT_FILES
="src/files.lst"
9196 RPM_FILES
="src/rpmfiles.lst"
9197 RPM_SPEC
="wxBase.spec"
9203 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9204 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9206 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9207 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9209 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9210 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9212 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9213 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9214 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9215 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9216 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9217 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9224 WX_TARGET_LIBRARY_SONAME
=
9227 if test "$wxUSE_SHARED" = "yes"; then
9230 if test "$GCC" = yes ; then
9231 SHARED_LD
="${CC} -shared -fPIC -o"
9234 LDFLAGS
="-L/usr/lib"
9236 SHARED_LD
="${CXX} -b -o"
9239 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9240 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9241 if test "$wxUSE_OPENGL" = "yes"; then
9242 WX_ALL_INSTALLED
="preinstall_gl"
9243 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9245 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9250 SHARED_LD
="${CC} -shared -o"
9252 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9253 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9254 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9255 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9257 if test "$wxUSE_OPENGL" = "yes"; then
9258 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9259 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9261 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9262 WX_ALL
="CREATE_LINKS"
9265 *-*-irix5* | *-*-irix6* )
9266 if test "$GCC" = yes ; then
9267 SHARED_LD
="${CC} -shared -o"
9270 SHARED_LD
="${CXX} -shared -o"
9272 if test "$wxUSE_OPENGL" = "yes"; then
9273 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9274 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9276 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9277 WX_ALL
="CREATE_LINKS"
9281 if test "$GCC" = yes ; then
9282 SHARED_LD
="${CC} -shared -o"
9285 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9287 SHARED_LD
="${CXX} -G -o"
9290 if test "$wxUSE_OPENGL" = "yes"; then
9291 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9292 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9294 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9295 WX_ALL
="CREATE_LINKS"
9299 SHARED_LD
="${CC} -shared -o"
9301 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9302 WX_ALL
="CREATE_LINKS"
9304 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
9305 SHARED_LD
="${CC} -shared -o"
9307 if test "$wxUSE_OPENGL" = "yes"; then
9308 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9309 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9311 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9312 WX_ALL
="CREATE_LINKS"
9316 SHARED_LD
="${CXX} -dynamiclib -o"
9317 PIC_FLAG
="-dynamic -fPIC"
9318 if test "$wxUSE_OPENGL" = "yes"; then
9319 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9320 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9322 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9323 WX_ALL
="CREATE_LINKS"
9325 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.dylib"
9326 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.dylib"
9327 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.${WX_CURRENT}.dylib"
9328 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
9329 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
9330 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.${WX_CURRENT}.dylib"
9331 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
9332 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
9335 SHARED_LD
="${CXX} -shared -o"
9337 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9338 WX_ALL
="CREATE_LINKS"
9341 SHARED_LD
="${CXX} -shared -o"
9343 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9344 WX_ALL
="CREATE_LINKS"
9347 SHARED_LD
="${CC} -shared -o"
9349 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9350 WX_ALL
="CREATE_LINKS"
9353 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9354 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9357 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9358 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9359 if test "$wxUSE_OPENGL" = "yes"; then
9360 WX_ALL_INSTALLED
="preinstall_gl"
9361 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9363 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9367 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9368 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9369 if test "$wxUSE_OPENGL" = "yes"; then
9370 WX_ALL_INSTALLED
="preinstall_gl"
9371 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9373 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9377 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9378 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9381 SHARED_LD
="${LD} -shared -o"
9383 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9384 WX_ALL
="CREATE_LINKS"
9387 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9390 if test "x$WX_TARGET_LIBRARY" = "x"; then
9391 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9392 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9394 WX_TARGET_LIBRARY_TYPE
="so"
9396 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9397 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9399 if test "$wxUSE_OPENGL" = "yes"; then
9400 WX_ALL_INSTALLED
="preinstall_gl"
9401 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9403 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9406 if test "$wxUSE_GUI" = "no"; then
9407 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9410 WX_TARGET_LIBRARY_TYPE
="a"
9414 for ac_hdr
in strings.h
9416 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9417 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9418 echo "configure:9419: checking for $ac_hdr" >&5
9419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9420 echo $ac_n "(cached) $ac_c" 1>&6
9422 cat > conftest.
$ac_ext <<EOF
9423 #line 9424 "configure"
9424 #include "confdefs.h"
9427 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9428 { (eval echo configure
:9429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9429 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9430 if test -z "$ac_err"; then
9432 eval "ac_cv_header_$ac_safe=yes"
9435 echo "configure: failed program was:" >&5
9436 cat conftest.
$ac_ext >&5
9438 eval "ac_cv_header_$ac_safe=no"
9442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9443 echo "$ac_t""yes" 1>&6
9444 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9445 cat >> confdefs.h
<<EOF
9446 #define $ac_tr_hdr 1
9450 echo "$ac_t""no" 1>&6
9454 for ac_hdr
in unistd.h
9456 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9458 echo "configure:9459: checking for $ac_hdr" >&5
9459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9460 echo $ac_n "(cached) $ac_c" 1>&6
9462 cat > conftest.
$ac_ext <<EOF
9463 #line 9464 "configure"
9464 #include "confdefs.h"
9467 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9468 { (eval echo configure
:9469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9469 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9470 if test -z "$ac_err"; then
9472 eval "ac_cv_header_$ac_safe=yes"
9475 echo "configure: failed program was:" >&5
9476 cat conftest.
$ac_ext >&5
9478 eval "ac_cv_header_$ac_safe=no"
9482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9483 echo "$ac_t""yes" 1>&6
9484 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9485 cat >> confdefs.h
<<EOF
9486 #define $ac_tr_hdr 1
9490 echo "$ac_t""no" 1>&6
9494 for ac_hdr
in fcntl.h
9496 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9498 echo "configure:9499: checking for $ac_hdr" >&5
9499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9500 echo $ac_n "(cached) $ac_c" 1>&6
9502 cat > conftest.
$ac_ext <<EOF
9503 #line 9504 "configure"
9504 #include "confdefs.h"
9507 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9508 { (eval echo configure
:9509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9509 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9510 if test -z "$ac_err"; then
9512 eval "ac_cv_header_$ac_safe=yes"
9515 echo "configure: failed program was:" >&5
9516 cat conftest.
$ac_ext >&5
9518 eval "ac_cv_header_$ac_safe=no"
9522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9523 echo "$ac_t""yes" 1>&6
9524 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9525 cat >> confdefs.h
<<EOF
9526 #define $ac_tr_hdr 1
9530 echo "$ac_t""no" 1>&6
9534 for ac_hdr
in wchar.h
9536 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9538 echo "configure:9539: checking for $ac_hdr" >&5
9539 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9540 echo $ac_n "(cached) $ac_c" 1>&6
9542 cat > conftest.
$ac_ext <<EOF
9543 #line 9544 "configure"
9544 #include "confdefs.h"
9547 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9548 { (eval echo configure
:9549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9549 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9550 if test -z "$ac_err"; then
9552 eval "ac_cv_header_$ac_safe=yes"
9555 echo "configure: failed program was:" >&5
9556 cat conftest.
$ac_ext >&5
9558 eval "ac_cv_header_$ac_safe=no"
9562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9563 echo "$ac_t""yes" 1>&6
9564 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9565 cat >> confdefs.h
<<EOF
9566 #define $ac_tr_hdr 1
9570 echo "$ac_t""no" 1>&6
9574 for ac_hdr
in wcstr.h
9576 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9577 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9578 echo "configure:9579: checking for $ac_hdr" >&5
9579 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
9587 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9588 { (eval echo configure
:9589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9589 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9590 if test -z "$ac_err"; then
9592 eval "ac_cv_header_$ac_safe=yes"
9595 echo "configure: failed program was:" >&5
9596 cat conftest.
$ac_ext >&5
9598 eval "ac_cv_header_$ac_safe=no"
9602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9603 echo "$ac_t""yes" 1>&6
9604 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9605 cat >> confdefs.h
<<EOF
9606 #define $ac_tr_hdr 1
9610 echo "$ac_t""no" 1>&6
9614 for ac_hdr
in fnmatch.h
9616 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9617 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9618 echo "configure:9619: checking for $ac_hdr" >&5
9619 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9620 echo $ac_n "(cached) $ac_c" 1>&6
9622 cat > conftest.
$ac_ext <<EOF
9623 #line 9624 "configure"
9624 #include "confdefs.h"
9627 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9628 { (eval echo configure
:9629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9629 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9630 if test -z "$ac_err"; then
9632 eval "ac_cv_header_$ac_safe=yes"
9635 echo "configure: failed program was:" >&5
9636 cat conftest.
$ac_ext >&5
9638 eval "ac_cv_header_$ac_safe=no"
9642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9643 echo "$ac_t""yes" 1>&6
9644 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9645 cat >> confdefs.h
<<EOF
9646 #define $ac_tr_hdr 1
9650 echo "$ac_t""no" 1>&6
9654 for ac_hdr
in iconv.h
9656 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9657 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9658 echo "configure:9659: checking for $ac_hdr" >&5
9659 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9660 echo $ac_n "(cached) $ac_c" 1>&6
9662 cat > conftest.
$ac_ext <<EOF
9663 #line 9664 "configure"
9664 #include "confdefs.h"
9667 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9668 { (eval echo configure
:9669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9669 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9670 if test -z "$ac_err"; then
9672 eval "ac_cv_header_$ac_safe=yes"
9675 echo "configure: failed program was:" >&5
9676 cat conftest.
$ac_ext >&5
9678 eval "ac_cv_header_$ac_safe=no"
9682 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9683 echo "$ac_t""yes" 1>&6
9684 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9685 cat >> confdefs.h
<<EOF
9686 #define $ac_tr_hdr 1
9690 echo "$ac_t""no" 1>&6
9694 for ac_hdr
in langinfo.h
9696 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9697 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9698 echo "configure:9699: checking for $ac_hdr" >&5
9699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9700 echo $ac_n "(cached) $ac_c" 1>&6
9702 cat > conftest.
$ac_ext <<EOF
9703 #line 9704 "configure"
9704 #include "confdefs.h"
9707 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9708 { (eval echo configure
:9709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9709 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9710 if test -z "$ac_err"; then
9712 eval "ac_cv_header_$ac_safe=yes"
9715 echo "configure: failed program was:" >&5
9716 cat conftest.
$ac_ext >&5
9718 eval "ac_cv_header_$ac_safe=no"
9722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9723 echo "$ac_t""yes" 1>&6
9724 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9725 cat >> confdefs.h
<<EOF
9726 #define $ac_tr_hdr 1
9730 echo "$ac_t""no" 1>&6
9735 if test "$wxUSE_GUI" = "yes"; then
9736 if test "$wxUSE_UNIX" = "yes"; then
9737 for ac_hdr
in X
11/XKBlib.h
9739 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9741 echo "configure:9742: checking for $ac_hdr" >&5
9742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9743 echo $ac_n "(cached) $ac_c" 1>&6
9745 cat > conftest.
$ac_ext <<EOF
9746 #line 9747 "configure"
9747 #include "confdefs.h"
9750 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9751 { (eval echo configure
:9752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9752 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9753 if test -z "$ac_err"; then
9755 eval "ac_cv_header_$ac_safe=yes"
9758 echo "configure: failed program was:" >&5
9759 cat conftest.
$ac_ext >&5
9761 eval "ac_cv_header_$ac_safe=no"
9765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9766 echo "$ac_t""yes" 1>&6
9767 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9768 cat >> confdefs.h
<<EOF
9769 #define $ac_tr_hdr 1
9773 echo "$ac_t""no" 1>&6
9781 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9782 echo "configure:9783: checking for ANSI C header files" >&5
9783 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9784 echo $ac_n "(cached) $ac_c" 1>&6
9786 cat > conftest.
$ac_ext <<EOF
9787 #line 9788 "configure"
9788 #include "confdefs.h"
9794 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9795 { (eval echo configure
:9796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9796 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9797 if test -z "$ac_err"; then
9799 ac_cv_header_stdc
=yes
9802 echo "configure: failed program was:" >&5
9803 cat conftest.
$ac_ext >&5
9805 ac_cv_header_stdc
=no
9809 if test $ac_cv_header_stdc = yes; then
9810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9811 cat > conftest.
$ac_ext <<EOF
9812 #line 9813 "configure"
9813 #include "confdefs.h"
9816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9817 egrep "memchr" >/dev
/null
2>&1; then
9821 ac_cv_header_stdc
=no
9827 if test $ac_cv_header_stdc = yes; then
9828 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9829 cat > conftest.
$ac_ext <<EOF
9830 #line 9831 "configure"
9831 #include "confdefs.h"
9834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9835 egrep "free" >/dev
/null
2>&1; then
9839 ac_cv_header_stdc
=no
9845 if test $ac_cv_header_stdc = yes; then
9846 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9847 if test "$cross_compiling" = yes; then
9850 cat > conftest.
$ac_ext <<EOF
9851 #line 9852 "configure"
9852 #include "confdefs.h"
9854 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9855 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9857 int main () { int i; for (i = 0; i < 256; i++)
9858 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9862 if { (eval echo configure
:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9866 echo "configure: failed program was:" >&5
9867 cat conftest.
$ac_ext >&5
9869 ac_cv_header_stdc
=no
9877 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9878 if test $ac_cv_header_stdc = yes; then
9879 cat >> confdefs.h
<<\EOF
9880 #define STDC_HEADERS 1
9885 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9886 echo "configure:9887: checking for mode_t" >&5
9887 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9888 echo $ac_n "(cached) $ac_c" 1>&6
9890 cat > conftest.
$ac_ext <<EOF
9891 #line 9892 "configure"
9892 #include "confdefs.h"
9893 #include <sys/types.h>
9899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9900 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9902 ac_cv_type_mode_t
=yes
9905 ac_cv_type_mode_t
=no
9910 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9911 if test $ac_cv_type_mode_t = no
; then
9912 cat >> confdefs.h
<<\EOF
9918 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9919 echo "configure:9920: checking for off_t" >&5
9920 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9921 echo $ac_n "(cached) $ac_c" 1>&6
9923 cat > conftest.
$ac_ext <<EOF
9924 #line 9925 "configure"
9925 #include "confdefs.h"
9926 #include <sys/types.h>
9932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9933 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9935 ac_cv_type_off_t
=yes
9943 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9944 if test $ac_cv_type_off_t = no
; then
9945 cat >> confdefs.h
<<\EOF
9951 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9952 echo "configure:9953: checking for pid_t" >&5
9953 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9954 echo $ac_n "(cached) $ac_c" 1>&6
9956 cat > conftest.
$ac_ext <<EOF
9957 #line 9958 "configure"
9958 #include "confdefs.h"
9959 #include <sys/types.h>
9965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9966 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9968 ac_cv_type_pid_t
=yes
9976 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9977 if test $ac_cv_type_pid_t = no
; then
9978 cat >> confdefs.h
<<\EOF
9984 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9985 echo "configure:9986: checking for size_t" >&5
9986 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9987 echo $ac_n "(cached) $ac_c" 1>&6
9989 cat > conftest.
$ac_ext <<EOF
9990 #line 9991 "configure"
9991 #include "confdefs.h"
9992 #include <sys/types.h>
9998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9999 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
10001 ac_cv_type_size_t
=yes
10004 ac_cv_type_size_t
=no
10009 echo "$ac_t""$ac_cv_type_size_t" 1>&6
10010 if test $ac_cv_type_size_t = no
; then
10011 cat >> confdefs.h
<<\EOF
10012 #define size_t unsigned
10017 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
10018 echo "configure:10019: checking for uid_t in sys/types.h" >&5
10019 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
10020 echo $ac_n "(cached) $ac_c" 1>&6
10022 cat > conftest.
$ac_ext <<EOF
10023 #line 10024 "configure"
10024 #include "confdefs.h"
10025 #include <sys/types.h>
10027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10028 egrep "uid_t" >/dev
/null
2>&1; then
10030 ac_cv_type_uid_t
=yes
10033 ac_cv_type_uid_t
=no
10039 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
10040 if test $ac_cv_type_uid_t = no
; then
10041 cat >> confdefs.h
<<\EOF
10045 cat >> confdefs.h
<<\EOF
10052 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
10053 echo "configure:10054: checking for wchar_t" >&5
10054 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
10055 echo $ac_n "(cached) $ac_c" 1>&6
10058 cat > conftest.
$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10066 ws = L"Hello, world!";
10070 if { (eval echo configure
:10071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10072 wx_cv_type_wchar_t
=yes
10074 echo "configure: failed program was:" >&5
10075 cat conftest.
$ac_ext >&5
10077 wx_cv_type_wchar_t
=no
10083 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
10084 if test "$wx_cv_type_wchar_t" = yes ; then
10085 cat >> confdefs.h
<<\EOF
10086 #define wxUSE_WCHAR_T 1
10092 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
10093 echo "configure:10094: checking for pw_gecos in struct passwd" >&5
10094 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
10095 echo $ac_n "(cached) $ac_c" 1>&6
10098 cat > conftest.
$ac_ext <<EOF
10099 #line 10100 "configure"
10100 #include "confdefs.h"
10110 if { (eval echo configure
:10111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10113 wx_cv_struct_pw_gecos
=yes
10116 echo "configure: failed program was:" >&5
10117 cat conftest.
$ac_ext >&5
10120 wx_cv_struct_pw_gecos
=no
10129 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
10131 if test "$wx_cv_struct_pw_gecos" = "yes"; then
10132 cat >> confdefs.h
<<\EOF
10133 #define HAVE_PW_GECOS 1
10139 echo $ac_n "checking for working const""... $ac_c" 1>&6
10140 echo "configure:10141: checking for working const" >&5
10141 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10142 echo $ac_n "(cached) $ac_c" 1>&6
10144 cat > conftest.
$ac_ext <<EOF
10145 #line 10146 "configure"
10146 #include "confdefs.h"
10150 /* Ultrix mips cc rejects this. */
10151 typedef int charset[2]; const charset x;
10152 /* SunOS 4.1.1 cc rejects this. */
10153 char const *const *ccp;
10155 /* NEC SVR4.0.2 mips cc rejects this. */
10156 struct point {int x, y;};
10157 static struct point const zero = {0,0};
10158 /* AIX XL C 1.02.0.0 rejects this.
10159 It does not let you subtract one const X* pointer from another in an arm
10160 of an if-expression whose if-part is not a constant expression */
10161 const char *g = "string";
10162 ccp = &g + (g ? g-g : 0);
10163 /* HPUX 7.0 cc rejects these. */
10166 ccp = (char const *const *) p;
10167 { /* SCO 3.2v4 cc rejects this. */
10169 char const *s = 0 ? (char *) 0 : (char const *) 0;
10173 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10174 int x[] = {25, 17};
10175 const int *foo = &x[0];
10178 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10179 typedef const int *iptr;
10183 { /* AIX XL C 1.02.0.0 rejects this saying
10184 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10185 struct s { int j; const int *ap[3]; };
10186 struct s *b; b->j = 5;
10188 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10189 const int foo = 10;
10194 if { (eval echo configure
:10195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10198 echo "configure: failed program was:" >&5
10199 cat conftest.
$ac_ext >&5
10206 echo "$ac_t""$ac_cv_c_const" 1>&6
10207 if test $ac_cv_c_const = no
; then
10208 cat >> confdefs.h
<<\EOF
10214 echo $ac_n "checking for inline""... $ac_c" 1>&6
10215 echo "configure:10216: checking for inline" >&5
10216 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10217 echo $ac_n "(cached) $ac_c" 1>&6
10220 for ac_kw
in inline __inline__ __inline
; do
10221 cat > conftest.
$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10229 if { (eval echo configure
:10230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10231 ac_cv_c_inline
=$ac_kw; break
10233 echo "configure: failed program was:" >&5
10234 cat conftest.
$ac_ext >&5
10241 echo "$ac_t""$ac_cv_c_inline" 1>&6
10242 case "$ac_cv_c_inline" in
10244 no
) cat >> confdefs.h
<<\EOF
10248 *) cat >> confdefs.h
<<EOF
10249 #define inline $ac_cv_c_inline
10255 echo $ac_n "checking size of char""... $ac_c" 1>&6
10256 echo "configure:10257: checking size of char" >&5
10257 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10258 echo $ac_n "(cached) $ac_c" 1>&6
10260 if test "$cross_compiling" = yes; then
10261 ac_cv_sizeof_char
=1
10263 cat > conftest.
$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10269 FILE *f=fopen("conftestval", "w");
10271 fprintf(f, "%d\n", sizeof(char));
10275 if { (eval echo configure
:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10277 ac_cv_sizeof_char
=`cat conftestval`
10279 echo "configure: failed program was:" >&5
10280 cat conftest.
$ac_ext >&5
10282 ac_cv_sizeof_char
=0
10288 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10289 cat >> confdefs.h
<<EOF
10290 #define SIZEOF_CHAR $ac_cv_sizeof_char
10294 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10295 echo "configure:10296: checking size of wchar_t" >&5
10296 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10297 echo $ac_n "(cached) $ac_c" 1>&6
10299 if test "$cross_compiling" = yes; then
10300 ac_cv_sizeof_wchar_t
=4
10302 cat > conftest.
$ac_ext <<EOF
10303 #line 10304 "configure"
10304 #include "confdefs.h"
10308 FILE *f=fopen("conftestval", "w");
10310 fprintf(f, "%d\n", sizeof(wchar_t));
10314 if { (eval echo configure
:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10316 ac_cv_sizeof_wchar_t
=`cat conftestval`
10318 echo "configure: failed program was:" >&5
10319 cat conftest.
$ac_ext >&5
10321 ac_cv_sizeof_wchar_t
=0
10327 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10328 cat >> confdefs.h
<<EOF
10329 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10333 echo $ac_n "checking size of short""... $ac_c" 1>&6
10334 echo "configure:10335: checking size of short" >&5
10335 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10336 echo $ac_n "(cached) $ac_c" 1>&6
10338 if test "$cross_compiling" = yes; then
10339 ac_cv_sizeof_short
=2
10341 cat > conftest.
$ac_ext <<EOF
10342 #line 10343 "configure"
10343 #include "confdefs.h"
10347 FILE *f=fopen("conftestval", "w");
10349 fprintf(f, "%d\n", sizeof(short));
10353 if { (eval echo configure
:10354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10355 ac_cv_sizeof_short
=`cat conftestval`
10357 echo "configure: failed program was:" >&5
10358 cat conftest.
$ac_ext >&5
10360 ac_cv_sizeof_short
=0
10366 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10367 cat >> confdefs.h
<<EOF
10368 #define SIZEOF_SHORT $ac_cv_sizeof_short
10372 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10373 echo "configure:10374: checking size of int *" >&5
10374 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10375 echo $ac_n "(cached) $ac_c" 1>&6
10377 if test "$cross_compiling" = yes; then
10378 ac_cv_sizeof_int_p
=4
10380 cat > conftest.
$ac_ext <<EOF
10381 #line 10382 "configure"
10382 #include "confdefs.h"
10386 FILE *f=fopen("conftestval", "w");
10388 fprintf(f, "%d\n", sizeof(int *));
10392 if { (eval echo configure
:10393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10394 ac_cv_sizeof_int_p
=`cat conftestval`
10396 echo "configure: failed program was:" >&5
10397 cat conftest.
$ac_ext >&5
10399 ac_cv_sizeof_int_p
=0
10405 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10406 cat >> confdefs.h
<<EOF
10407 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10411 echo $ac_n "checking size of int""... $ac_c" 1>&6
10412 echo "configure:10413: checking size of int" >&5
10413 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10414 echo $ac_n "(cached) $ac_c" 1>&6
10416 if test "$cross_compiling" = yes; then
10419 cat > conftest.
$ac_ext <<EOF
10420 #line 10421 "configure"
10421 #include "confdefs.h"
10425 FILE *f=fopen("conftestval", "w");
10427 fprintf(f, "%d\n", sizeof(int));
10431 if { (eval echo configure
:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10433 ac_cv_sizeof_int
=`cat conftestval`
10435 echo "configure: failed program was:" >&5
10436 cat conftest.
$ac_ext >&5
10444 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10445 cat >> confdefs.h
<<EOF
10446 #define SIZEOF_INT $ac_cv_sizeof_int
10450 echo $ac_n "checking size of long""... $ac_c" 1>&6
10451 echo "configure:10452: checking size of long" >&5
10452 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10453 echo $ac_n "(cached) $ac_c" 1>&6
10455 if test "$cross_compiling" = yes; then
10456 ac_cv_sizeof_long
=4
10458 cat > conftest.
$ac_ext <<EOF
10459 #line 10460 "configure"
10460 #include "confdefs.h"
10464 FILE *f=fopen("conftestval", "w");
10466 fprintf(f, "%d\n", sizeof(long));
10470 if { (eval echo configure
:10471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10472 ac_cv_sizeof_long
=`cat conftestval`
10474 echo "configure: failed program was:" >&5
10475 cat conftest.
$ac_ext >&5
10477 ac_cv_sizeof_long
=0
10483 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10484 cat >> confdefs.h
<<EOF
10485 #define SIZEOF_LONG $ac_cv_sizeof_long
10489 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10490 echo "configure:10491: checking size of long long" >&5
10491 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10492 echo $ac_n "(cached) $ac_c" 1>&6
10494 if test "$cross_compiling" = yes; then
10495 ac_cv_sizeof_long_long
=0
10497 cat > conftest.
$ac_ext <<EOF
10498 #line 10499 "configure"
10499 #include "confdefs.h"
10503 FILE *f=fopen("conftestval", "w");
10505 fprintf(f, "%d\n", sizeof(long long));
10509 if { (eval echo configure
:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10511 ac_cv_sizeof_long_long
=`cat conftestval`
10513 echo "configure: failed program was:" >&5
10514 cat conftest.
$ac_ext >&5
10516 ac_cv_sizeof_long_long
=0
10522 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10523 cat >> confdefs.h
<<EOF
10524 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10529 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10530 echo "configure:10531: checking whether byte ordering is bigendian" >&5
10531 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10532 echo $ac_n "(cached) $ac_c" 1>&6
10534 ac_cv_c_bigendian
=unknown
10535 # See if sys/param.h defines the BYTE_ORDER macro.
10536 cat > conftest.
$ac_ext <<EOF
10537 #line 10538 "configure"
10538 #include "confdefs.h"
10539 #include <sys/types.h>
10540 #include <sys/param.h>
10543 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10544 bogus endian macros
10548 if { (eval echo configure
:10549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10550 # It does; now see whether it defined to BIG_ENDIAN or not.
10551 cat > conftest.
$ac_ext <<EOF
10552 #line 10553 "configure"
10553 #include "confdefs.h"
10554 #include <sys/types.h>
10555 #include <sys/param.h>
10558 #if BYTE_ORDER != BIG_ENDIAN
10563 if { (eval echo configure
:10564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10565 ac_cv_c_bigendian
=yes
10567 echo "configure: failed program was:" >&5
10568 cat conftest.
$ac_ext >&5
10570 ac_cv_c_bigendian
=no
10574 echo "configure: failed program was:" >&5
10575 cat conftest.
$ac_ext >&5
10578 if test $ac_cv_c_bigendian = unknown
; then
10579 if test "$cross_compiling" = yes; then
10580 ac_cv_c_bigendian
=unknown
10582 cat > conftest.
$ac_ext <<EOF
10583 #line 10584 "configure"
10584 #include "confdefs.h"
10586 /* Are we little or big endian? From Harbison&Steele. */
10590 char c[sizeof (long)];
10593 exit (u.c[sizeof (long) - 1] == 1);
10596 if { (eval echo configure
:10597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10598 ac_cv_c_bigendian
=no
10600 echo "configure: failed program was:" >&5
10601 cat conftest.
$ac_ext >&5
10603 ac_cv_c_bigendian
=yes
10611 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10612 if test $ac_cv_c_bigendian = unknown
; then
10613 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
10615 if test $ac_cv_c_bigendian = yes; then
10616 cat >> confdefs.h
<<\EOF
10617 #define WORDS_BIGENDIAN 1
10624 if test "$cross_compiling" = "yes"; then
10625 cat >> confdefs.h
<<\EOF
10626 #define wxUSE_IOSTREAMH 1
10632 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10633 ac_cpp
='$CXXCPP $CPPFLAGS'
10634 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10635 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10636 cross_compiling
=$ac_cv_prog_cxx_cross
10639 for ac_hdr
in iostream
10641 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10642 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10643 echo "configure:10644: checking for $ac_hdr" >&5
10644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10645 echo $ac_n "(cached) $ac_c" 1>&6
10647 cat > conftest.
$ac_ext <<EOF
10648 #line 10649 "configure"
10649 #include "confdefs.h"
10652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10653 { (eval echo configure
:10654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10655 if test -z "$ac_err"; then
10657 eval "ac_cv_header_$ac_safe=yes"
10660 echo "configure: failed program was:" >&5
10661 cat conftest.
$ac_ext >&5
10663 eval "ac_cv_header_$ac_safe=no"
10667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10668 echo "$ac_t""yes" 1>&6
10669 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10670 cat >> confdefs.h
<<EOF
10671 #define $ac_tr_hdr 1
10675 echo "$ac_t""no" 1>&6
10680 if test "x$HAVE_IOSTREAM" = x
; then
10681 cat >> confdefs.h
<<\EOF
10682 #define wxUSE_IOSTREAMH 1
10690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10691 ac_cpp
='$CPP $CPPFLAGS'
10692 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10693 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10694 cross_compiling
=$ac_cv_prog_cc_cross
10700 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10701 echo "configure:10702: checking if C++ compiler supports bool" >&5
10702 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10703 echo $ac_n "(cached) $ac_c" 1>&6
10708 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10709 ac_cpp
='$CXXCPP $CPPFLAGS'
10710 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10711 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10712 cross_compiling
=$ac_cv_prog_cxx_cross
10715 cat > conftest.
$ac_ext <<EOF
10716 #line 10717 "configure"
10717 #include "confdefs.h"
10728 if { (eval echo configure
:10729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10731 cat >> confdefs.h
<<\EOF
10732 #define HAVE_BOOL 1
10738 echo "configure: failed program was:" >&5
10739 cat conftest.
$ac_ext >&5
10749 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10750 ac_cpp
='$CPP $CPPFLAGS'
10751 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10752 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10753 cross_compiling
=$ac_cv_prog_cc_cross
10758 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10760 if test "$wx_cv_cpp_bool" = "yes"; then
10761 cat >> confdefs.h
<<\EOF
10762 #define HAVE_BOOL 1
10769 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10770 echo "configure:10771: checking if you need GNU extensions" >&5
10771 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10772 echo $ac_n "(cached) $ac_c" 1>&6
10775 cat > conftest.
$ac_ext <<EOF
10776 #line 10777 "configure"
10777 #include "confdefs.h"
10778 #include <features.h>
10782 #ifndef __GNU_LIBRARY__
10783 Compile error wanted
10789 if { (eval echo configure
:10790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10791 wx_cv_gnu_extensions
=yes
10793 echo "configure: failed program was:" >&5
10794 cat conftest.
$ac_ext >&5
10796 wx_cv_gnu_extensions
=no
10803 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10804 if test "$wx_cv_gnu_extensions" = "yes"; then
10805 cat >> confdefs.h
<<EOF
10806 #define _GNU_SOURCE 1
10813 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10814 echo "configure:10815: checking for wcslen in -lc" >&5
10815 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10817 echo $ac_n "(cached) $ac_c" 1>&6
10819 ac_save_LIBS
="$LIBS"
10821 cat > conftest.
$ac_ext <<EOF
10822 #line 10823 "configure"
10823 #include "confdefs.h"
10824 /* Override any gcc2 internal prototype to avoid an error. */
10825 /* We use char because int might match the return type of a gcc2
10826 builtin and then its argument prototype would still apply. */
10833 if { (eval echo configure
:10834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10835 eval "ac_cv_lib_$ac_lib_var=yes"
10837 echo "configure: failed program was:" >&5
10838 cat conftest.
$ac_ext >&5
10840 eval "ac_cv_lib_$ac_lib_var=no"
10843 LIBS
="$ac_save_LIBS"
10846 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10847 echo "$ac_t""yes" 1>&6
10849 cat >> confdefs.h
<<\EOF
10850 #define HAVE_WCSLEN 1
10856 echo "$ac_t""no" 1>&6
10858 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10859 echo "configure:10860: checking for wcslen in -lw" >&5
10860 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10862 echo $ac_n "(cached) $ac_c" 1>&6
10864 ac_save_LIBS
="$LIBS"
10866 cat > conftest.
$ac_ext <<EOF
10867 #line 10868 "configure"
10868 #include "confdefs.h"
10869 /* Override any gcc2 internal prototype to avoid an error. */
10870 /* We use char because int might match the return type of a gcc2
10871 builtin and then its argument prototype would still apply. */
10878 if { (eval echo configure
:10879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10880 eval "ac_cv_lib_$ac_lib_var=yes"
10882 echo "configure: failed program was:" >&5
10883 cat conftest.
$ac_ext >&5
10885 eval "ac_cv_lib_$ac_lib_var=no"
10888 LIBS
="$ac_save_LIBS"
10891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10892 echo "$ac_t""yes" 1>&6
10894 cat >> confdefs.h
<<\EOF
10895 #define HAVE_WCSLEN 1
10901 echo "$ac_t""no" 1>&6
10908 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10909 echo "configure:10910: checking for vprintf" >&5
10910 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10911 echo $ac_n "(cached) $ac_c" 1>&6
10913 cat > conftest.
$ac_ext <<EOF
10914 #line 10915 "configure"
10915 #include "confdefs.h"
10916 /* System header to define __stub macros and hopefully few prototypes,
10917 which can conflict with char vprintf(); below. */
10918 #include <assert.h>
10919 /* Override any gcc2 internal prototype to avoid an error. */
10920 /* We use char because int might match the return type of a gcc2
10921 builtin and then its argument prototype would still apply. */
10926 /* The GNU C library defines this for functions which it implements
10927 to always fail with ENOSYS. Some functions are actually named
10928 something starting with __ and the normal name is an alias. */
10929 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10937 if { (eval echo configure
:10938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10939 eval "ac_cv_func_vprintf=yes"
10941 echo "configure: failed program was:" >&5
10942 cat conftest.
$ac_ext >&5
10944 eval "ac_cv_func_vprintf=no"
10949 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10950 echo "$ac_t""yes" 1>&6
10951 cat >> confdefs.h
<<\EOF
10952 #define HAVE_VPRINTF 1
10956 echo "$ac_t""no" 1>&6
10959 if test "$ac_cv_func_vprintf" != yes; then
10960 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10961 echo "configure:10962: checking for _doprnt" >&5
10962 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10963 echo $ac_n "(cached) $ac_c" 1>&6
10965 cat > conftest.
$ac_ext <<EOF
10966 #line 10967 "configure"
10967 #include "confdefs.h"
10968 /* System header to define __stub macros and hopefully few prototypes,
10969 which can conflict with char _doprnt(); below. */
10970 #include <assert.h>
10971 /* Override any gcc2 internal prototype to avoid an error. */
10972 /* We use char because int might match the return type of a gcc2
10973 builtin and then its argument prototype would still apply. */
10978 /* The GNU C library defines this for functions which it implements
10979 to always fail with ENOSYS. Some functions are actually named
10980 something starting with __ and the normal name is an alias. */
10981 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10989 if { (eval echo configure
:10990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10991 eval "ac_cv_func__doprnt=yes"
10993 echo "configure: failed program was:" >&5
10994 cat conftest.
$ac_ext >&5
10996 eval "ac_cv_func__doprnt=no"
11001 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
11002 echo "$ac_t""yes" 1>&6
11003 cat >> confdefs.h
<<\EOF
11004 #define HAVE_DOPRNT 1
11008 echo "$ac_t""no" 1>&6
11019 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
11020 echo "configure:11021: checking for vsnprintf" >&5
11021 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
11022 echo $ac_n "(cached) $ac_c" 1>&6
11025 cat > conftest.
$ac_ext <<EOF
11026 #line 11027 "configure"
11027 #include "confdefs.h"
11030 #include <stdarg.h>
11034 int wx_test_vsnprintf(const char *, ...);
11036 wx_test_vsnprintf("%s");
11040 int wx_test_vsnprintf(const char *fmt, ...)
11045 va_start(argp, fmt);
11046 vsnprintf(s, 42, fmt, argp);
11051 if { (eval echo configure
:11052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11054 wx_cv_func_vsnprintf
=yes
11057 echo "configure: failed program was:" >&5
11058 cat conftest.
$ac_ext >&5
11061 cat > conftest.
$ac_ext <<EOF
11062 #line 11063 "configure"
11063 #include "confdefs.h"
11066 #include <stdarg.h>
11070 int wx_test_vsnprintf(const char *, ...);
11072 wx_test_vsnprintf("%s");
11076 int wx_test_vsnprintf(const char *fmt, ...)
11081 va_start(argp, fmt);
11082 _vsnprintf(s, 42, fmt, argp);
11087 if { (eval echo configure
:11088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11090 wx_cv_func_vsnprintf
=yes
11093 echo "configure: failed program was:" >&5
11094 cat conftest.
$ac_ext >&5
11097 wx_cv_func_vsnprintf
=no
11107 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
11109 if test "$wx_cv_func_vsnprintf" = yes; then
11110 cat >> confdefs.h
<<\EOF
11111 #define HAVE_VSNPRINTF 1
11115 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
11118 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
11119 echo "configure:11120: checking for vsscanf" >&5
11120 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
11121 echo $ac_n "(cached) $ac_c" 1>&6
11124 cat > conftest.
$ac_ext <<EOF
11125 #line 11126 "configure"
11126 #include "confdefs.h"
11129 #include <stdarg.h>
11133 int wx_test_vsscanf(const char *, ...);
11135 wx_test_vsscanf("%d");
11139 int wx_test_vsscanf(const char *fmt, ...)
11142 va_start(argp, fmt);
11143 vsscanf("42", fmt, argp);
11148 if { (eval echo configure
:11149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11151 wx_cv_func_vsscanf
=yes
11154 echo "configure: failed program was:" >&5
11155 cat conftest.
$ac_ext >&5
11158 wx_cv_func_vsscanf
=no
11165 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
11167 if test "$wx_cv_func_vsscanf" = yes; then
11168 cat >> confdefs.h
<<\EOF
11169 #define HAVE_VSSCANF 1
11176 if test "$TOOLKIT" != "MSW"; then
11181 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11182 ac_cpp
='$CXXCPP $CPPFLAGS'
11183 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11184 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11185 cross_compiling
=$ac_cv_prog_cxx_cross
11187 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
11188 echo "configure:11189: checking if iconv() takes char**" >&5
11189 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11193 cat > conftest.
$ac_ext <<EOF
11194 #line 11195 "configure"
11195 #include "confdefs.h"
11199 char **inbuf, **outbuf;
11201 size_t insz, outsz;
11202 iconv(cd, inbuf, &insz, outbuf, &outsz);
11206 if { (eval echo configure
:11207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11208 wx_cv_iconv_takes_char
=yes
11210 echo "configure: failed program was:" >&5
11211 cat conftest.
$ac_ext >&5
11213 wx_cv_iconv_takes_char
=no
11219 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
11221 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11222 ac_cpp
='$CPP $CPPFLAGS'
11223 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11224 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11225 cross_compiling
=$ac_cv_prog_cc_cross
11227 if test "$wx_cv_iconv_takes_char" = yes ; then
11228 cat >> confdefs.h
<<\EOF
11229 #define WX_ICONV_TAKES_CHAR 1
11235 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
11236 for ac_func
in sigaction
11238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11239 echo "configure:11240: checking for $ac_func" >&5
11240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11243 cat > conftest.
$ac_ext <<EOF
11244 #line 11245 "configure"
11245 #include "confdefs.h"
11246 /* System header to define __stub macros and hopefully few prototypes,
11247 which can conflict with char $ac_func(); below. */
11248 #include <assert.h>
11249 /* Override any gcc2 internal prototype to avoid an error. */
11250 /* We use char because int might match the return type of a gcc2
11251 builtin and then its argument prototype would still apply. */
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11267 if { (eval echo configure
:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11269 eval "ac_cv_func_$ac_func=yes"
11271 echo "configure: failed program was:" >&5
11272 cat conftest.
$ac_ext >&5
11274 eval "ac_cv_func_$ac_func=no"
11279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11280 echo "$ac_t""yes" 1>&6
11281 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11282 cat >> confdefs.h
<<EOF
11283 #define $ac_tr_func 1
11287 echo "$ac_t""no" 1>&6
11292 if test "$ac_cv_func_sigaction" = "no"; then
11293 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11294 wxUSE_ON_FATAL_EXCEPTION
=no
11297 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11301 ac_cpp
='$CXXCPP $CPPFLAGS'
11302 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11303 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11304 cross_compiling
=$ac_cv_prog_cxx_cross
11307 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11308 echo "configure:11309: checking for sa_handler type" >&5
11309 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11310 echo $ac_n "(cached) $ac_c" 1>&6
11313 cat > conftest.
$ac_ext <<EOF
11314 #line 11315 "configure"
11315 #include "confdefs.h"
11316 #include <signal.h>
11319 extern void testSigHandler(int);
11321 struct sigaction sa;
11322 sa.sa_handler = testSigHandler;
11326 if { (eval echo configure
:11327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11329 wx_cv_type_sa_handler
=int
11332 echo "configure: failed program was:" >&5
11333 cat conftest.
$ac_ext >&5
11336 wx_cv_type_sa_handler
=void
11343 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11347 ac_cpp
='$CPP $CPPFLAGS'
11348 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11349 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11350 cross_compiling
=$ac_cv_prog_cc_cross
11353 cat >> confdefs.h
<<EOF
11354 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11360 for ac_func
in vfork
11362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11363 echo "configure:11364: checking for $ac_func" >&5
11364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11365 echo $ac_n "(cached) $ac_c" 1>&6
11367 cat > conftest.
$ac_ext <<EOF
11368 #line 11369 "configure"
11369 #include "confdefs.h"
11370 /* System header to define __stub macros and hopefully few prototypes,
11371 which can conflict with char $ac_func(); below. */
11372 #include <assert.h>
11373 /* Override any gcc2 internal prototype to avoid an error. */
11374 /* We use char because int might match the return type of a gcc2
11375 builtin and then its argument prototype would still apply. */
11380 /* The GNU C library defines this for functions which it implements
11381 to always fail with ENOSYS. Some functions are actually named
11382 something starting with __ and the normal name is an alias. */
11383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11391 if { (eval echo configure
:11392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11393 eval "ac_cv_func_$ac_func=yes"
11395 echo "configure: failed program was:" >&5
11396 cat conftest.
$ac_ext >&5
11398 eval "ac_cv_func_$ac_func=no"
11403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11404 echo "$ac_t""yes" 1>&6
11405 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11406 cat >> confdefs.h
<<EOF
11407 #define $ac_tr_func 1
11411 echo "$ac_t""no" 1>&6
11416 for ac_func
in timegm
11418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11419 echo "configure:11420: checking for $ac_func" >&5
11420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11421 echo $ac_n "(cached) $ac_c" 1>&6
11423 cat > conftest.
$ac_ext <<EOF
11424 #line 11425 "configure"
11425 #include "confdefs.h"
11426 /* System header to define __stub macros and hopefully few prototypes,
11427 which can conflict with char $ac_func(); below. */
11428 #include <assert.h>
11429 /* Override any gcc2 internal prototype to avoid an error. */
11430 /* We use char because int might match the return type of a gcc2
11431 builtin and then its argument prototype would still apply. */
11436 /* The GNU C library defines this for functions which it implements
11437 to always fail with ENOSYS. Some functions are actually named
11438 something starting with __ and the normal name is an alias. */
11439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11447 if { (eval echo configure
:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11449 eval "ac_cv_func_$ac_func=yes"
11451 echo "configure: failed program was:" >&5
11452 cat conftest.
$ac_ext >&5
11454 eval "ac_cv_func_$ac_func=no"
11459 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11460 echo "$ac_t""yes" 1>&6
11461 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11462 cat >> confdefs.h
<<EOF
11463 #define $ac_tr_func 1
11467 echo "$ac_t""no" 1>&6
11472 for ac_func
in putenv setenv
11474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11475 echo "configure:11476: checking for $ac_func" >&5
11476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11477 echo $ac_n "(cached) $ac_c" 1>&6
11479 cat > conftest.
$ac_ext <<EOF
11480 #line 11481 "configure"
11481 #include "confdefs.h"
11482 /* System header to define __stub macros and hopefully few prototypes,
11483 which can conflict with char $ac_func(); below. */
11484 #include <assert.h>
11485 /* Override any gcc2 internal prototype to avoid an error. */
11486 /* We use char because int might match the return type of a gcc2
11487 builtin and then its argument prototype would still apply. */
11492 /* The GNU C library defines this for functions which it implements
11493 to always fail with ENOSYS. Some functions are actually named
11494 something starting with __ and the normal name is an alias. */
11495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11503 if { (eval echo configure
:11504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11505 eval "ac_cv_func_$ac_func=yes"
11507 echo "configure: failed program was:" >&5
11508 cat conftest.
$ac_ext >&5
11510 eval "ac_cv_func_$ac_func=no"
11515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11516 echo "$ac_t""yes" 1>&6
11517 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11518 cat >> confdefs.h
<<EOF
11519 #define $ac_tr_func 1
11523 echo "$ac_t""no" 1>&6
11528 HAVE_SOME_SLEEP_FUNC
=0
11529 if test "$USE_BEOS" = 1; then
11530 cat >> confdefs.h
<<\EOF
11531 #define HAVE_SLEEP 1
11534 HAVE_SOME_SLEEP_FUNC
=1
11537 if test "$USE_MAC" = 1; then
11538 cat >> confdefs.h
<<\EOF
11539 #define HAVE_USLEEP 1
11542 HAVE_SOME_SLEEP_FUNC
=1
11545 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11547 for ac_func
in nanosleep
11549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11550 echo "configure:11551: checking for $ac_func" >&5
11551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11552 echo $ac_n "(cached) $ac_c" 1>&6
11554 cat > conftest.
$ac_ext <<EOF
11555 #line 11556 "configure"
11556 #include "confdefs.h"
11557 /* System header to define __stub macros and hopefully few prototypes,
11558 which can conflict with char $ac_func(); below. */
11559 #include <assert.h>
11560 /* Override any gcc2 internal prototype to avoid an error. */
11561 /* We use char because int might match the return type of a gcc2
11562 builtin and then its argument prototype would still apply. */
11567 /* The GNU C library defines this for functions which it implements
11568 to always fail with ENOSYS. Some functions are actually named
11569 something starting with __ and the normal name is an alias. */
11570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11578 if { (eval echo configure
:11579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11580 eval "ac_cv_func_$ac_func=yes"
11582 echo "configure: failed program was:" >&5
11583 cat conftest.
$ac_ext >&5
11585 eval "ac_cv_func_$ac_func=no"
11590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11591 echo "$ac_t""yes" 1>&6
11592 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11593 cat >> confdefs.h
<<EOF
11594 #define $ac_tr_func 1
11596 cat >> confdefs.h
<<\EOF
11597 #define HAVE_NANOSLEEP 1
11601 echo "$ac_t""no" 1>&6
11602 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11603 echo "configure:11604: checking for nanosleep in -lposix4" >&5
11604 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11606 echo $ac_n "(cached) $ac_c" 1>&6
11608 ac_save_LIBS
="$LIBS"
11609 LIBS
="-lposix4 $LIBS"
11610 cat > conftest.
$ac_ext <<EOF
11611 #line 11612 "configure"
11612 #include "confdefs.h"
11613 /* Override any gcc2 internal prototype to avoid an error. */
11614 /* We use char because int might match the return type of a gcc2
11615 builtin and then its argument prototype would still apply. */
11622 if { (eval echo configure
:11623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11624 eval "ac_cv_lib_$ac_lib_var=yes"
11626 echo "configure: failed program was:" >&5
11627 cat conftest.
$ac_ext >&5
11629 eval "ac_cv_lib_$ac_lib_var=no"
11632 LIBS
="$ac_save_LIBS"
11635 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11636 echo "$ac_t""yes" 1>&6
11638 cat >> confdefs.h
<<\EOF
11639 #define HAVE_NANOSLEEP 1
11642 POSIX4_LINK
="-lposix4"
11645 echo "$ac_t""no" 1>&6
11647 for ac_func
in usleep
11649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11650 echo "configure:11651: checking for $ac_func" >&5
11651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11652 echo $ac_n "(cached) $ac_c" 1>&6
11654 cat > conftest.
$ac_ext <<EOF
11655 #line 11656 "configure"
11656 #include "confdefs.h"
11657 /* System header to define __stub macros and hopefully few prototypes,
11658 which can conflict with char $ac_func(); below. */
11659 #include <assert.h>
11660 /* Override any gcc2 internal prototype to avoid an error. */
11661 /* We use char because int might match the return type of a gcc2
11662 builtin and then its argument prototype would still apply. */
11667 /* The GNU C library defines this for functions which it implements
11668 to always fail with ENOSYS. Some functions are actually named
11669 something starting with __ and the normal name is an alias. */
11670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11678 if { (eval echo configure
:11679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11680 eval "ac_cv_func_$ac_func=yes"
11682 echo "configure: failed program was:" >&5
11683 cat conftest.
$ac_ext >&5
11685 eval "ac_cv_func_$ac_func=no"
11690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11691 echo "$ac_t""yes" 1>&6
11692 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11693 cat >> confdefs.h
<<EOF
11694 #define $ac_tr_func 1
11696 cat >> confdefs.h
<<\EOF
11697 #define HAVE_USLEEP 1
11701 echo "$ac_t""no" 1>&6
11705 echo "configure: warning: wxSleep() function will not work" 1>&2
11717 for ac_func
in uname gethostname
11719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11720 echo "configure:11721: checking for $ac_func" >&5
11721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11722 echo $ac_n "(cached) $ac_c" 1>&6
11724 cat > conftest.
$ac_ext <<EOF
11725 #line 11726 "configure"
11726 #include "confdefs.h"
11727 /* System header to define __stub macros and hopefully few prototypes,
11728 which can conflict with char $ac_func(); below. */
11729 #include <assert.h>
11730 /* Override any gcc2 internal prototype to avoid an error. */
11731 /* We use char because int might match the return type of a gcc2
11732 builtin and then its argument prototype would still apply. */
11737 /* The GNU C library defines this for functions which it implements
11738 to always fail with ENOSYS. Some functions are actually named
11739 something starting with __ and the normal name is an alias. */
11740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11748 if { (eval echo configure
:11749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11750 eval "ac_cv_func_$ac_func=yes"
11752 echo "configure: failed program was:" >&5
11753 cat conftest.
$ac_ext >&5
11755 eval "ac_cv_func_$ac_func=no"
11760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11761 echo "$ac_t""yes" 1>&6
11762 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11763 cat >> confdefs.h
<<EOF
11764 #define $ac_tr_func 1
11768 echo "$ac_t""no" 1>&6
11775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11776 ac_cpp
='$CXXCPP $CPPFLAGS'
11777 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11778 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11779 cross_compiling
=$ac_cv_prog_cxx_cross
11782 for ac_func
in strtok_r
11784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11785 echo "configure:11786: checking for $ac_func" >&5
11786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11787 echo $ac_n "(cached) $ac_c" 1>&6
11789 cat > conftest.
$ac_ext <<EOF
11790 #line 11791 "configure"
11791 #include "confdefs.h"
11792 /* System header to define __stub macros and hopefully few prototypes,
11793 which can conflict with char $ac_func(); below. */
11794 #include <assert.h>
11795 /* Override any gcc2 internal prototype to avoid an error. */
11799 /* We use char because int might match the return type of a gcc2
11800 builtin and then its argument prototype would still apply. */
11805 /* The GNU C library defines this for functions which it implements
11806 to always fail with ENOSYS. Some functions are actually named
11807 something starting with __ and the normal name is an alias. */
11808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11816 if { (eval echo configure
:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11818 eval "ac_cv_func_$ac_func=yes"
11820 echo "configure: failed program was:" >&5
11821 cat conftest.
$ac_ext >&5
11823 eval "ac_cv_func_$ac_func=no"
11828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11829 echo "$ac_t""yes" 1>&6
11830 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11831 cat >> confdefs.h
<<EOF
11832 #define $ac_tr_func 1
11836 echo "$ac_t""no" 1>&6
11842 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11843 ac_cpp
='$CPP $CPPFLAGS'
11844 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11845 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11846 cross_compiling
=$ac_cv_prog_cc_cross
11850 for ac_func
in inet_addr
11852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11853 echo "configure:11854: checking for $ac_func" >&5
11854 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11855 echo $ac_n "(cached) $ac_c" 1>&6
11857 cat > conftest.
$ac_ext <<EOF
11858 #line 11859 "configure"
11859 #include "confdefs.h"
11860 /* System header to define __stub macros and hopefully few prototypes,
11861 which can conflict with char $ac_func(); below. */
11862 #include <assert.h>
11863 /* Override any gcc2 internal prototype to avoid an error. */
11864 /* We use char because int might match the return type of a gcc2
11865 builtin and then its argument prototype would still apply. */
11870 /* The GNU C library defines this for functions which it implements
11871 to always fail with ENOSYS. Some functions are actually named
11872 something starting with __ and the normal name is an alias. */
11873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11881 if { (eval echo configure
:11882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11883 eval "ac_cv_func_$ac_func=yes"
11885 echo "configure: failed program was:" >&5
11886 cat conftest.
$ac_ext >&5
11888 eval "ac_cv_func_$ac_func=no"
11893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11894 echo "$ac_t""yes" 1>&6
11895 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11896 cat >> confdefs.h
<<EOF
11897 #define $ac_tr_func 1
11899 cat >> confdefs.h
<<\EOF
11900 #define HAVE_INET_ADDR 1
11904 echo "$ac_t""no" 1>&6
11905 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11906 echo "configure:11907: checking for inet_addr in -lnsl" >&5
11907 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11909 echo $ac_n "(cached) $ac_c" 1>&6
11911 ac_save_LIBS
="$LIBS"
11913 cat > conftest.
$ac_ext <<EOF
11914 #line 11915 "configure"
11915 #include "confdefs.h"
11916 /* Override any gcc2 internal prototype to avoid an error. */
11917 /* We use char because int might match the return type of a gcc2
11918 builtin and then its argument prototype would still apply. */
11925 if { (eval echo configure
:11926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11927 eval "ac_cv_lib_$ac_lib_var=yes"
11929 echo "configure: failed program was:" >&5
11930 cat conftest.
$ac_ext >&5
11932 eval "ac_cv_lib_$ac_lib_var=no"
11935 LIBS
="$ac_save_LIBS"
11938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11939 echo "$ac_t""yes" 1>&6
11942 echo "$ac_t""no" 1>&6
11943 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11944 echo "configure:11945: checking for inet_addr in -lresolv" >&5
11945 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11947 echo $ac_n "(cached) $ac_c" 1>&6
11949 ac_save_LIBS
="$LIBS"
11950 LIBS
="-lresolv $LIBS"
11951 cat > conftest.
$ac_ext <<EOF
11952 #line 11953 "configure"
11953 #include "confdefs.h"
11954 /* Override any gcc2 internal prototype to avoid an error. */
11955 /* We use char because int might match the return type of a gcc2
11956 builtin and then its argument prototype would still apply. */
11963 if { (eval echo configure
:11964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11965 eval "ac_cv_lib_$ac_lib_var=yes"
11967 echo "configure: failed program was:" >&5
11968 cat conftest.
$ac_ext >&5
11970 eval "ac_cv_lib_$ac_lib_var=no"
11973 LIBS
="$ac_save_LIBS"
11976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11977 echo "$ac_t""yes" 1>&6
11981 echo "$ac_t""no" 1>&6
11993 for ac_func
in inet_aton
11995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11996 echo "configure:11997: checking for $ac_func" >&5
11997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11998 echo $ac_n "(cached) $ac_c" 1>&6
12000 cat > conftest.
$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12003 /* System header to define __stub macros and hopefully few prototypes,
12004 which can conflict with char $ac_func(); below. */
12005 #include <assert.h>
12006 /* Override any gcc2 internal prototype to avoid an error. */
12007 /* We use char because int might match the return type of a gcc2
12008 builtin and then its argument prototype would still apply. */
12013 /* The GNU C library defines this for functions which it implements
12014 to always fail with ENOSYS. Some functions are actually named
12015 something starting with __ and the normal name is an alias. */
12016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12024 if { (eval echo configure
:12025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12026 eval "ac_cv_func_$ac_func=yes"
12028 echo "configure: failed program was:" >&5
12029 cat conftest.
$ac_ext >&5
12031 eval "ac_cv_func_$ac_func=no"
12036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12037 echo "$ac_t""yes" 1>&6
12038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12039 cat >> confdefs.h
<<EOF
12040 #define $ac_tr_func 1
12042 cat >> confdefs.h
<<\EOF
12043 #define HAVE_INET_ATON 1
12047 echo "$ac_t""no" 1>&6
12048 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
12049 echo "configure:12050: checking for inet_aton in -l$INET_LINK" >&5
12050 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
12051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12052 echo $ac_n "(cached) $ac_c" 1>&6
12054 ac_save_LIBS
="$LIBS"
12055 LIBS
="-l$INET_LINK $LIBS"
12056 cat > conftest.
$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12059 /* Override any gcc2 internal prototype to avoid an error. */
12060 /* We use char because int might match the return type of a gcc2
12061 builtin and then its argument prototype would still apply. */
12068 if { (eval echo configure
:12069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12070 eval "ac_cv_lib_$ac_lib_var=yes"
12072 echo "configure: failed program was:" >&5
12073 cat conftest.
$ac_ext >&5
12075 eval "ac_cv_lib_$ac_lib_var=no"
12078 LIBS
="$ac_save_LIBS"
12081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12082 echo "$ac_t""yes" 1>&6
12083 cat >> confdefs.h
<<\EOF
12084 #define HAVE_INET_ATON 1
12088 echo "$ac_t""no" 1>&6
12096 if test "x$INET_LINK" != "x"; then
12097 cat >> confdefs.h
<<\EOF
12098 #define HAVE_INET_ADDR 1
12101 INET_LINK
="-l$INET_LINK"
12107 cat > confcache
<<\EOF
12108 # This file is a shell script that caches the results of configure
12109 # tests run on this system so they can be shared between configure
12110 # scripts and configure runs. It is not useful on other systems.
12111 # If it contains results you don't want to keep, you may remove or edit it.
12113 # By default, configure uses ./config.cache as the cache file,
12114 # creating it if it does not exist already. You can give configure
12115 # the --cache-file=FILE option to use a different cache file; that is
12116 # what configure does when it calls configure scripts in
12117 # subdirectories, so they share the cache.
12118 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12119 # config.status only pays attention to the cache file if you give it the
12120 # --recheck option to rerun configure.
12123 # The following way of writing the cache mishandles newlines in values,
12124 # but we know of no workaround that is simple, portable, and efficient.
12125 # So, don't put newlines in cache variables' values.
12126 # Ultrix sh set writes to stderr and can't be redirected directly,
12127 # and sets the high bit in the cache file unless we assign to the vars.
12129 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12131 # `set' does not quote correctly, so add quotes (double-quote substitution
12132 # turns \\\\ into \\, and sed turns \\ into \).
12134 -e "s/'/'\\\\''/g" \
12135 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12138 # `set' quotes correctly as required by POSIX, so do not add quotes.
12139 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12142 if cmp -s $cache_file confcache
; then
12145 if test -w $cache_file; then
12146 echo "updating cache $cache_file"
12147 cat confcache
> $cache_file
12149 echo "not updating unwritable cache $cache_file"
12156 if test "$TOOLKIT" != "MSW"; then
12162 if test "$wxUSE_THREADS" = "yes" ; then
12163 if test "$wxUSE_WINE" = 1 ; then
12164 echo "configure: warning: Threads are not supported under WINE" 1>&2
12166 elif test "$USE_BEOS" = 1; then
12167 echo "configure: warning: BeOS threads are not yet supported" 1>&2
12172 if test "$wxUSE_THREADS" = "yes" ; then
12174 if test "$USE_AIX" = 1; then
12175 THREADS_LIB
=pthreads
12176 elif test "$USE_MAC" = 1; then
12177 THREADS_LIB
=cc_dynamic
12179 THREADS_LIB
=pthread
12182 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
12183 echo "configure:12184: checking for pthread_create in -l$THREADS_LIB" >&5
12184 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
12185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12186 echo $ac_n "(cached) $ac_c" 1>&6
12188 ac_save_LIBS
="$LIBS"
12189 LIBS
="-l$THREADS_LIB $LIBS"
12190 cat > conftest.
$ac_ext <<EOF
12191 #line 12192 "configure"
12192 #include "confdefs.h"
12193 /* Override any gcc2 internal prototype to avoid an error. */
12194 /* We use char because int might match the return type of a gcc2
12195 builtin and then its argument prototype would still apply. */
12196 char pthread_create();
12202 if { (eval echo configure
:12203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12204 eval "ac_cv_lib_$ac_lib_var=yes"
12206 echo "configure: failed program was:" >&5
12207 cat conftest.
$ac_ext >&5
12209 eval "ac_cv_lib_$ac_lib_var=no"
12212 LIBS
="$ac_save_LIBS"
12215 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12216 echo "$ac_t""yes" 1>&6
12218 THREADS_OBJ
="threadpsx.lo"
12219 THREADS_LINK
=$THREADS_LIB
12222 echo "$ac_t""no" 1>&6
12224 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
12225 echo "configure:12226: checking for pthread_create in -lc_r" >&5
12226 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12228 echo $ac_n "(cached) $ac_c" 1>&6
12230 ac_save_LIBS
="$LIBS"
12232 cat > conftest.
$ac_ext <<EOF
12233 #line 12234 "configure"
12234 #include "confdefs.h"
12235 /* Override any gcc2 internal prototype to avoid an error. */
12236 /* We use char because int might match the return type of a gcc2
12237 builtin and then its argument prototype would still apply. */
12238 char pthread_create();
12244 if { (eval echo configure
:12245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12246 eval "ac_cv_lib_$ac_lib_var=yes"
12248 echo "configure: failed program was:" >&5
12249 cat conftest.
$ac_ext >&5
12251 eval "ac_cv_lib_$ac_lib_var=no"
12254 LIBS
="$ac_save_LIBS"
12257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12258 echo "$ac_t""yes" 1>&6
12260 THREADS_OBJ
="threadpsx.lo"
12264 echo "$ac_t""no" 1>&6
12266 echo $ac_n "checking for pthread_create in -lcc_dynamic""... $ac_c" 1>&6
12267 echo "configure:12268: checking for pthread_create in -lcc_dynamic" >&5
12268 ac_lib_var
=`echo cc_dynamic'_'pthread_create | sed 'y%./+-%__p_%'`
12269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12270 echo $ac_n "(cached) $ac_c" 1>&6
12272 ac_save_LIBS
="$LIBS"
12273 LIBS
="-lcc_dynamic $LIBS"
12274 cat > conftest.
$ac_ext <<EOF
12275 #line 12276 "configure"
12276 #include "confdefs.h"
12277 /* Override any gcc2 internal prototype to avoid an error. */
12278 /* We use char because int might match the return type of a gcc2
12279 builtin and then its argument prototype would still apply. */
12280 char pthread_create();
12286 if { (eval echo configure
:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12288 eval "ac_cv_lib_$ac_lib_var=yes"
12290 echo "configure: failed program was:" >&5
12291 cat conftest.
$ac_ext >&5
12293 eval "ac_cv_lib_$ac_lib_var=no"
12296 LIBS
="$ac_save_LIBS"
12299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12300 echo "$ac_t""yes" 1>&6
12302 THREADS_OBJ
="threadpsx.lo"
12303 THREADS_LINK
="cc_dynamic"
12306 echo "$ac_t""no" 1>&6
12308 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
12309 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
12310 echo "configure:12311: checking for sys/prctl.h" >&5
12311 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12312 echo $ac_n "(cached) $ac_c" 1>&6
12314 cat > conftest.
$ac_ext <<EOF
12315 #line 12316 "configure"
12316 #include "confdefs.h"
12317 #include <sys/prctl.h>
12319 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12320 { (eval echo configure
:12321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12321 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12322 if test -z "$ac_err"; then
12324 eval "ac_cv_header_$ac_safe=yes"
12327 echo "configure: failed program was:" >&5
12328 cat conftest.
$ac_ext >&5
12330 eval "ac_cv_header_$ac_safe=no"
12334 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12335 echo "$ac_t""yes" 1>&6
12337 THREADS_OBJ
="threadsgi.lo"
12340 echo "$ac_t""no" 1>&6
12353 if test -z "$THREADS_OBJ" ; then
12355 echo "configure: warning: No thread support on this system" 1>&2
12359 if test "$wxUSE_THREADS" = "yes" ; then
12360 for ac_func
in thr_setconcurrency
12362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12363 echo "configure:12364: checking for $ac_func" >&5
12364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12365 echo $ac_n "(cached) $ac_c" 1>&6
12367 cat > conftest.
$ac_ext <<EOF
12368 #line 12369 "configure"
12369 #include "confdefs.h"
12370 /* System header to define __stub macros and hopefully few prototypes,
12371 which can conflict with char $ac_func(); below. */
12372 #include <assert.h>
12373 /* Override any gcc2 internal prototype to avoid an error. */
12374 /* We use char because int might match the return type of a gcc2
12375 builtin and then its argument prototype would still apply. */
12380 /* The GNU C library defines this for functions which it implements
12381 to always fail with ENOSYS. Some functions are actually named
12382 something starting with __ and the normal name is an alias. */
12383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12391 if { (eval echo configure
:12392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12393 eval "ac_cv_func_$ac_func=yes"
12395 echo "configure: failed program was:" >&5
12396 cat conftest.
$ac_ext >&5
12398 eval "ac_cv_func_$ac_func=no"
12403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12404 echo "$ac_t""yes" 1>&6
12405 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12406 cat >> confdefs.h
<<EOF
12407 #define $ac_tr_func 1
12411 echo "$ac_t""no" 1>&6
12417 for ac_hdr
in sched.h
12419 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12420 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12421 echo "configure:12422: checking for $ac_hdr" >&5
12422 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12423 echo $ac_n "(cached) $ac_c" 1>&6
12425 cat > conftest.
$ac_ext <<EOF
12426 #line 12427 "configure"
12427 #include "confdefs.h"
12430 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12431 { (eval echo configure
:12432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12432 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12433 if test -z "$ac_err"; then
12435 eval "ac_cv_header_$ac_safe=yes"
12438 echo "configure: failed program was:" >&5
12439 cat conftest.
$ac_ext >&5
12441 eval "ac_cv_header_$ac_safe=no"
12445 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12446 echo "$ac_t""yes" 1>&6
12447 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12448 cat >> confdefs.h
<<EOF
12449 #define $ac_tr_hdr 1
12453 echo "$ac_t""no" 1>&6
12458 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12459 echo "configure:12460: checking for sched_yield in -l$THREADS_LINK" >&5
12460 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12461 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12462 echo $ac_n "(cached) $ac_c" 1>&6
12464 ac_save_LIBS
="$LIBS"
12465 LIBS
="-l$THREADS_LINK $LIBS"
12466 cat > conftest.
$ac_ext <<EOF
12467 #line 12468 "configure"
12468 #include "confdefs.h"
12469 /* Override any gcc2 internal prototype to avoid an error. */
12470 /* We use char because int might match the return type of a gcc2
12471 builtin and then its argument prototype would still apply. */
12472 char sched_yield();
12478 if { (eval echo configure
:12479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12480 eval "ac_cv_lib_$ac_lib_var=yes"
12482 echo "configure: failed program was:" >&5
12483 cat conftest.
$ac_ext >&5
12485 eval "ac_cv_lib_$ac_lib_var=no"
12488 LIBS
="$ac_save_LIBS"
12491 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12492 echo "$ac_t""yes" 1>&6
12493 cat >> confdefs.h
<<\EOF
12494 #define HAVE_SCHED_YIELD 1
12498 echo "$ac_t""no" 1>&6
12499 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12500 echo "configure:12501: checking for sched_yield in -l"posix4
"" >&5
12501 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12502 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12503 echo $ac_n "(cached) $ac_c" 1>&6
12505 ac_save_LIBS
="$LIBS"
12506 LIBS
="-l"posix4
" $LIBS"
12507 cat > conftest.
$ac_ext <<EOF
12508 #line 12509 "configure"
12509 #include "confdefs.h"
12510 /* Override any gcc2 internal prototype to avoid an error. */
12511 /* We use char because int might match the return type of a gcc2
12512 builtin and then its argument prototype would still apply. */
12513 char sched_yield();
12519 if { (eval echo configure
:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12521 eval "ac_cv_lib_$ac_lib_var=yes"
12523 echo "configure: failed program was:" >&5
12524 cat conftest.
$ac_ext >&5
12526 eval "ac_cv_lib_$ac_lib_var=no"
12529 LIBS
="$ac_save_LIBS"
12532 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12533 echo "$ac_t""yes" 1>&6
12534 cat >> confdefs.h
<<\EOF
12535 #define HAVE_SCHED_YIELD 1
12537 POSIX4_LINK
="-lposix4"
12539 echo "$ac_t""no" 1>&6
12540 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12549 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12550 echo "configure:12551: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12551 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12553 echo $ac_n "(cached) $ac_c" 1>&6
12555 ac_save_LIBS
="$LIBS"
12556 LIBS
="-l$THREADS_LINK $LIBS"
12557 cat > conftest.
$ac_ext <<EOF
12558 #line 12559 "configure"
12559 #include "confdefs.h"
12560 /* Override any gcc2 internal prototype to avoid an error. */
12561 /* We use char because int might match the return type of a gcc2
12562 builtin and then its argument prototype would still apply. */
12563 char pthread_attr_getschedpolicy();
12566 pthread_attr_getschedpolicy()
12569 if { (eval echo configure
:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12571 eval "ac_cv_lib_$ac_lib_var=yes"
12573 echo "configure: failed program was:" >&5
12574 cat conftest.
$ac_ext >&5
12576 eval "ac_cv_lib_$ac_lib_var=no"
12579 LIBS
="$ac_save_LIBS"
12582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12583 echo "$ac_t""yes" 1>&6
12584 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12585 echo "configure:12586: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12586 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12587 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12588 echo $ac_n "(cached) $ac_c" 1>&6
12590 ac_save_LIBS
="$LIBS"
12591 LIBS
="-l$THREADS_LINK $LIBS"
12592 cat > conftest.
$ac_ext <<EOF
12593 #line 12594 "configure"
12594 #include "confdefs.h"
12595 /* Override any gcc2 internal prototype to avoid an error. */
12596 /* We use char because int might match the return type of a gcc2
12597 builtin and then its argument prototype would still apply. */
12598 char pthread_attr_setschedparam();
12601 pthread_attr_setschedparam()
12604 if { (eval echo configure
:12605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12606 eval "ac_cv_lib_$ac_lib_var=yes"
12608 echo "configure: failed program was:" >&5
12609 cat conftest.
$ac_ext >&5
12611 eval "ac_cv_lib_$ac_lib_var=no"
12614 LIBS
="$ac_save_LIBS"
12617 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12618 echo "$ac_t""yes" 1>&6
12619 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12620 echo "configure:12621: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12621 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12623 echo $ac_n "(cached) $ac_c" 1>&6
12625 ac_save_LIBS
="$LIBS"
12626 LIBS
="-l$THREADS_LINK $LIBS"
12627 cat > conftest.
$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12630 /* Override any gcc2 internal prototype to avoid an error. */
12631 /* We use char because int might match the return type of a gcc2
12632 builtin and then its argument prototype would still apply. */
12633 char sched_get_priority_max();
12636 sched_get_priority_max()
12639 if { (eval echo configure
:12640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12641 eval "ac_cv_lib_$ac_lib_var=yes"
12643 echo "configure: failed program was:" >&5
12644 cat conftest.
$ac_ext >&5
12646 eval "ac_cv_lib_$ac_lib_var=no"
12649 LIBS
="$ac_save_LIBS"
12652 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12653 echo "$ac_t""yes" 1>&6
12656 echo "$ac_t""no" 1>&6
12657 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12658 echo "configure:12659: checking for sched_get_priority_max in -l"posix4
"" >&5
12659 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12660 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12661 echo $ac_n "(cached) $ac_c" 1>&6
12663 ac_save_LIBS
="$LIBS"
12664 LIBS
="-l"posix4
" $LIBS"
12665 cat > conftest.
$ac_ext <<EOF
12666 #line 12667 "configure"
12667 #include "confdefs.h"
12668 /* Override any gcc2 internal prototype to avoid an error. */
12669 /* We use char because int might match the return type of a gcc2
12670 builtin and then its argument prototype would still apply. */
12671 char sched_get_priority_max();
12674 sched_get_priority_max()
12677 if { (eval echo configure
:12678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12679 eval "ac_cv_lib_$ac_lib_var=yes"
12681 echo "configure: failed program was:" >&5
12682 cat conftest.
$ac_ext >&5
12684 eval "ac_cv_lib_$ac_lib_var=no"
12687 LIBS
="$ac_save_LIBS"
12690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12691 echo "$ac_t""yes" 1>&6
12694 POSIX4_LINK
="-lposix4"
12697 echo "$ac_t""no" 1>&6
12705 echo "$ac_t""no" 1>&6
12710 echo "$ac_t""no" 1>&6
12714 if test "$HAVE_PRIOR_FUNCS" = 1; then
12715 cat >> confdefs.h
<<\EOF
12716 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12720 echo "configure: warning: Setting thread priority will not work" 1>&2
12723 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12724 echo "configure:12725: checking for pthread_cancel in -l$THREADS_LINK" >&5
12725 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12727 echo $ac_n "(cached) $ac_c" 1>&6
12729 ac_save_LIBS
="$LIBS"
12730 LIBS
="-l$THREADS_LINK $LIBS"
12731 cat > conftest.
$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12734 /* Override any gcc2 internal prototype to avoid an error. */
12735 /* We use char because int might match the return type of a gcc2
12736 builtin and then its argument prototype would still apply. */
12737 char pthread_cancel();
12743 if { (eval echo configure
:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12745 eval "ac_cv_lib_$ac_lib_var=yes"
12747 echo "configure: failed program was:" >&5
12748 cat conftest.
$ac_ext >&5
12750 eval "ac_cv_lib_$ac_lib_var=no"
12753 LIBS
="$ac_save_LIBS"
12756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12757 echo "$ac_t""yes" 1>&6
12758 cat >> confdefs.h
<<\EOF
12759 #define HAVE_PTHREAD_CANCEL 1
12763 echo "$ac_t""no" 1>&6
12764 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12768 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12769 echo "configure:12770: checking for pthread_cleanup_push/pop" >&5
12770 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12771 echo $ac_n "(cached) $ac_c" 1>&6
12774 cat > conftest.
$ac_ext <<EOF
12775 #line 12776 "configure"
12776 #include "confdefs.h"
12777 #include <pthread.h>
12780 pthread_cleanup_push(NULL, NULL);
12781 pthread_cleanup_pop(0);
12785 if { (eval echo configure
:12786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12788 wx_cv_func_pthread_cleanup_push
=yes
12791 echo "configure: failed program was:" >&5
12792 cat conftest.
$ac_ext >&5
12795 wx_cv_func_pthread_cleanup_push
=no
12802 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12804 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
12805 cat >> confdefs.h
<<\EOF
12806 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12812 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
12813 echo "configure:12814: checking for pthread_mutexattr_t" >&5
12814 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
12815 echo $ac_n "(cached) $ac_c" 1>&6
12818 cat > conftest.
$ac_ext <<EOF
12819 #line 12820 "configure"
12820 #include "confdefs.h"
12821 #include <pthread.h>
12824 pthread_mutexattr_t attr;
12825 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
12829 if { (eval echo configure
:12830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12832 wx_cv_type_pthread_mutexattr_t
=yes
12835 echo "configure: failed program was:" >&5
12836 cat conftest.
$ac_ext >&5
12839 wx_cv_type_pthread_mutexattr_t
=no
12847 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
12849 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
12850 cat >> confdefs.h
<<\EOF
12851 #define HAVE_PTHREAD_MUTEXATTR_T 1
12855 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
12856 echo "configure:12857: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
12857 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
12858 echo $ac_n "(cached) $ac_c" 1>&6
12861 cat > conftest.
$ac_ext <<EOF
12862 #line 12863 "configure"
12863 #include "confdefs.h"
12864 #include <pthread.h>
12867 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
12871 if { (eval echo configure
:12872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12874 wx_cv_type_pthread_rec_mutex_init
=yes
12877 echo "configure: failed program was:" >&5
12878 cat conftest.
$ac_ext >&5
12881 wx_cv_type_pthread_rec_mutex_init
=no
12889 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
12890 if test "$wx_cv_type_pthread_rec_mutex_init"="yes"; then
12891 cat >> confdefs.h
<<\EOF
12892 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
12896 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
12900 THREADS_LINK
="-l$THREADS_LINK"
12902 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12903 CFLAGS
="${CFLAGS} -mt"
12904 CXXFLAGS
="${CXXFLAGS} -mt"
12905 LDFLAGS
="${LDFLAGS} -mt"
12911 if test "$wxUSE_THREADS" = "yes"; then
12912 cat >> confdefs.h
<<\EOF
12913 #define wxUSE_THREADS 1
12917 if test "$wxUSE_MAC" = "0"; then
12918 CFLAGS
="${CFLAGS} -D_REENTRANT"
12919 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12924 if test "$ac_cv_func_strtok_r" = "yes"; then
12925 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12926 echo "configure:12927: checking if -D_REENTRANT is needed" >&5
12927 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12928 CFLAGS
="${CFLAGS} -D_REENTRANT"
12929 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12930 echo "$ac_t""yes" 1>&6
12932 echo "$ac_t""no" 1>&6
12937 if test "$WXGTK20" = 1 ; then
12938 cat >> confdefs.h
<<EOF
12939 #define __WXGTK20__ $WXGTK20
12945 if test "$WXGTK12" = 1 ; then
12946 cat >> confdefs.h
<<EOF
12947 #define __WXGTK12__ $WXGTK12
12952 if test "$WXGTK127" = 1 ; then
12953 cat >> confdefs.h
<<EOF
12954 #define __WXGTK127__ $WXGTK127
12959 if test "$WXWINE" = 1 ; then
12960 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12963 if test "$wxUSE_MAC" = 1 ; then
12964 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
12965 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
12966 CPPFLAGS
="${CPPFLAGS} -fno-common -fpascal-strings"
12969 if test "$wxUSE_CYGWIN" = 1 ; then
12970 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12975 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12980 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12981 wxUSE_DEBUG_INFO
=yes
12985 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12986 cat >> confdefs.h
<<\EOF
12990 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12992 if test "$wxUSE_GTK" = 1 ; then
12993 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12997 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12998 cat >> confdefs.h
<<\EOF
12999 #define wxUSE_MEMORY_TRACING 1
13002 cat >> confdefs.h
<<\EOF
13003 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
13006 cat >> confdefs.h
<<\EOF
13007 #define wxUSE_DEBUG_NEW_ALWAYS 1
13010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
13013 if test "$wxUSE_DMALLOC" = "yes" ; then
13014 DMALLOC_LINK
="-ldmalloc"
13018 if test "$wxUSE_PROFILE" = "yes" ; then
13024 CODE_GEN_FLAGS_CXX
=
13025 if test "$GCC" = yes ; then
13026 if test "$wxUSE_NO_RTTI" = "yes" ; then
13027 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
13029 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
13030 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
13032 if test "$wxUSE_PERMISSIVE" = "yes" ; then
13033 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
13035 if test "$wxUSE_NO_DEPS" = "no" ; then
13036 DEP_INFO_FLAGS
="-MMD"
13041 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
13042 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
13043 if test "$wxUSE_OPTIMISE" = "no" ; then
13046 if test "$GCC" = yes ; then
13049 i586
-*-*|i686
-*-* )
13050 OPTIMISE
="${OPTIMISE} "
13060 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
13061 cat >> confdefs.h
<<\EOF
13062 #define wxUSE_ZLIB 1
13065 if test "$wxUSE_ZLIB" = "yes" ; then
13066 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
13069 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
13070 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
13071 echo "configure:13072: checking for zlib.h" >&5
13072 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13073 echo $ac_n "(cached) $ac_c" 1>&6
13075 cat > conftest.
$ac_ext <<EOF
13076 #line 13077 "configure"
13077 #include "confdefs.h"
13080 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13081 { (eval echo configure
:13082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13082 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13083 if test -z "$ac_err"; then
13085 eval "ac_cv_header_$ac_safe=yes"
13088 echo "configure: failed program was:" >&5
13089 cat conftest.
$ac_ext >&5
13091 eval "ac_cv_header_$ac_safe=no"
13095 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13096 echo "$ac_t""yes" 1>&6
13097 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
13098 echo "configure:13099: checking for deflate in -lz" >&5
13099 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
13100 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13101 echo $ac_n "(cached) $ac_c" 1>&6
13103 ac_save_LIBS
="$LIBS"
13105 cat > conftest.
$ac_ext <<EOF
13106 #line 13107 "configure"
13107 #include "confdefs.h"
13108 /* Override any gcc2 internal prototype to avoid an error. */
13109 /* We use char because int might match the return type of a gcc2
13110 builtin and then its argument prototype would still apply. */
13117 if { (eval echo configure
:13118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13119 eval "ac_cv_lib_$ac_lib_var=yes"
13121 echo "configure: failed program was:" >&5
13122 cat conftest.
$ac_ext >&5
13124 eval "ac_cv_lib_$ac_lib_var=no"
13127 LIBS
="$ac_save_LIBS"
13130 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13131 echo "$ac_t""yes" 1>&6
13134 echo "$ac_t""no" 1>&6
13138 echo "$ac_t""no" 1>&6
13141 if test "x$ZLIB_LINK" = "x" ; then
13142 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
13148 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
13149 cat >> confdefs.h
<<\EOF
13150 #define wxUSE_LIBPNG 1
13153 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
13154 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
13158 if test "$wxUSE_LIBPNG" = "yes" ; then
13159 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
13162 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
13163 echo $ac_n "checking for png.h""... $ac_c" 1>&6
13164 echo "configure:13165: checking for png.h" >&5
13165 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13166 echo $ac_n "(cached) $ac_c" 1>&6
13168 cat > conftest.
$ac_ext <<EOF
13169 #line 13170 "configure"
13170 #include "confdefs.h"
13173 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13174 { (eval echo configure
:13175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13175 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13176 if test -z "$ac_err"; then
13178 eval "ac_cv_header_$ac_safe=yes"
13181 echo "configure: failed program was:" >&5
13182 cat conftest.
$ac_ext >&5
13184 eval "ac_cv_header_$ac_safe=no"
13188 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13189 echo "$ac_t""yes" 1>&6
13190 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
13191 echo "configure:13192: checking for png_check_sig in -lpng" >&5
13192 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
13193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 ac_save_LIBS
="$LIBS"
13197 LIBS
="-lpng -lz -lm $LIBS"
13198 cat > conftest.
$ac_ext <<EOF
13199 #line 13200 "configure"
13200 #include "confdefs.h"
13201 /* Override any gcc2 internal prototype to avoid an error. */
13202 /* We use char because int might match the return type of a gcc2
13203 builtin and then its argument prototype would still apply. */
13204 char png_check_sig();
13210 if { (eval echo configure
:13211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13212 eval "ac_cv_lib_$ac_lib_var=yes"
13214 echo "configure: failed program was:" >&5
13215 cat conftest.
$ac_ext >&5
13217 eval "ac_cv_lib_$ac_lib_var=no"
13220 LIBS
="$ac_save_LIBS"
13223 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13224 echo "$ac_t""yes" 1>&6
13227 echo "$ac_t""no" 1>&6
13232 echo "$ac_t""no" 1>&6
13235 if test "x$PNG_LINK" = "x" ; then
13236 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
13240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
13244 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
13245 cat >> confdefs.h
<<\EOF
13246 #define wxUSE_LIBJPEG 1
13249 if test "$wxUSE_LIBJPEG" = "yes" ; then
13250 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
13253 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
13254 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
13255 echo "configure:13256: checking for jpeglib.h" >&5
13256 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13257 echo $ac_n "(cached) $ac_c" 1>&6
13259 cat > conftest.
$ac_ext <<EOF
13260 #line 13261 "configure"
13261 #include "confdefs.h"
13262 #include <jpeglib.h>
13264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13265 { (eval echo configure
:13266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13267 if test -z "$ac_err"; then
13269 eval "ac_cv_header_$ac_safe=yes"
13272 echo "configure: failed program was:" >&5
13273 cat conftest.
$ac_ext >&5
13275 eval "ac_cv_header_$ac_safe=no"
13279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13280 echo "$ac_t""yes" 1>&6
13281 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
13282 echo "configure:13283: checking for jpeg_read_header in -ljpeg" >&5
13283 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
13284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 ac_save_LIBS
="$LIBS"
13288 LIBS
="-ljpeg $LIBS"
13289 cat > conftest.
$ac_ext <<EOF
13290 #line 13291 "configure"
13291 #include "confdefs.h"
13292 /* Override any gcc2 internal prototype to avoid an error. */
13293 /* We use char because int might match the return type of a gcc2
13294 builtin and then its argument prototype would still apply. */
13295 char jpeg_read_header();
13301 if { (eval echo configure
:13302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13303 eval "ac_cv_lib_$ac_lib_var=yes"
13305 echo "configure: failed program was:" >&5
13306 cat conftest.
$ac_ext >&5
13308 eval "ac_cv_lib_$ac_lib_var=no"
13311 LIBS
="$ac_save_LIBS"
13314 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13315 echo "$ac_t""yes" 1>&6
13318 echo "$ac_t""no" 1>&6
13322 echo "$ac_t""no" 1>&6
13325 if test "x$JPEG_LINK" = "x" ; then
13326 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
13332 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
13333 cat >> confdefs.h
<<\EOF
13334 #define wxUSE_LIBTIFF 1
13337 if test "$wxUSE_LIBTIFF" = "yes" ; then
13338 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
13341 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
13342 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
13343 echo "configure:13344: checking for tiffio.h" >&5
13344 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13345 echo $ac_n "(cached) $ac_c" 1>&6
13347 cat > conftest.
$ac_ext <<EOF
13348 #line 13349 "configure"
13349 #include "confdefs.h"
13350 #include <tiffio.h>
13352 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13353 { (eval echo configure
:13354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13354 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13355 if test -z "$ac_err"; then
13357 eval "ac_cv_header_$ac_safe=yes"
13360 echo "configure: failed program was:" >&5
13361 cat conftest.
$ac_ext >&5
13363 eval "ac_cv_header_$ac_safe=no"
13367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13368 echo "$ac_t""yes" 1>&6
13369 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
13370 echo "configure:13371: checking for TIFFError in -ltiff" >&5
13371 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
13372 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13373 echo $ac_n "(cached) $ac_c" 1>&6
13375 ac_save_LIBS
="$LIBS"
13376 LIBS
="-ltiff -lm $LIBS"
13377 cat > conftest.
$ac_ext <<EOF
13378 #line 13379 "configure"
13379 #include "confdefs.h"
13380 /* Override any gcc2 internal prototype to avoid an error. */
13381 /* We use char because int might match the return type of a gcc2
13382 builtin and then its argument prototype would still apply. */
13389 if { (eval echo configure
:13390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13391 eval "ac_cv_lib_$ac_lib_var=yes"
13393 echo "configure: failed program was:" >&5
13394 cat conftest.
$ac_ext >&5
13396 eval "ac_cv_lib_$ac_lib_var=no"
13399 LIBS
="$ac_save_LIBS"
13402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13403 echo "$ac_t""yes" 1>&6
13406 echo "$ac_t""no" 1>&6
13410 echo "$ac_t""no" 1>&6
13413 if test "x$TIFF_LINK" = "x" ; then
13414 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
13420 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
13421 cat >> confdefs.h
<<\EOF
13422 #define wxUSE_FREETYPE 1
13425 if test "$wxUSE_FREETYPE" = "yes" ; then
13426 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
13429 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13430 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13431 echo "configure:13432: checking for freetype.h" >&5
13432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13433 echo $ac_n "(cached) $ac_c" 1>&6
13435 cat > conftest.
$ac_ext <<EOF
13436 #line 13437 "configure"
13437 #include "confdefs.h"
13438 #include <freetype.h>
13440 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13441 { (eval echo configure
:13442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13442 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13443 if test -z "$ac_err"; then
13445 eval "ac_cv_header_$ac_safe=yes"
13448 echo "configure: failed program was:" >&5
13449 cat conftest.
$ac_ext >&5
13451 eval "ac_cv_header_$ac_safe=no"
13455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13456 echo "$ac_t""yes" 1>&6
13457 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13458 echo "configure:13459: checking for FT_Render_Glyph in -lfreetype" >&5
13459 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13461 echo $ac_n "(cached) $ac_c" 1>&6
13463 ac_save_LIBS
="$LIBS"
13464 LIBS
="-lfreetype -lm $LIBS"
13465 cat > conftest.
$ac_ext <<EOF
13466 #line 13467 "configure"
13467 #include "confdefs.h"
13468 /* Override any gcc2 internal prototype to avoid an error. */
13469 /* We use char because int might match the return type of a gcc2
13470 builtin and then its argument prototype would still apply. */
13471 char FT_Render_Glyph();
13477 if { (eval echo configure
:13478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13479 eval "ac_cv_lib_$ac_lib_var=yes"
13481 echo "configure: failed program was:" >&5
13482 cat conftest.
$ac_ext >&5
13484 eval "ac_cv_lib_$ac_lib_var=no"
13487 LIBS
="$ac_save_LIBS"
13490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13491 echo "$ac_t""yes" 1>&6
13492 FREETYPE_LINK
="-lfreetype"
13494 echo "$ac_t""no" 1>&6
13499 echo "$ac_t""no" 1>&6
13502 if test "x$FREETYPE_LINK" = "x" ; then
13503 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13508 if test "$wxUSE_OPENGL" = "yes"; then
13509 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13510 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13511 echo "configure:13512: checking for GL/gl.h" >&5
13512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13513 echo $ac_n "(cached) $ac_c" 1>&6
13515 cat > conftest.
$ac_ext <<EOF
13516 #line 13517 "configure"
13517 #include "confdefs.h"
13520 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13521 { (eval echo configure
:13522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13522 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13523 if test -z "$ac_err"; then
13525 eval "ac_cv_header_$ac_safe=yes"
13528 echo "configure: failed program was:" >&5
13529 cat conftest.
$ac_ext >&5
13531 eval "ac_cv_header_$ac_safe=no"
13535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13536 echo "$ac_t""yes" 1>&6
13538 cat >> confdefs.h
<<\EOF
13539 #define wxUSE_OPENGL 1
13542 cat >> confdefs.h
<<\EOF
13543 #define wxUSE_GLCANVAS 1
13546 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13547 echo "configure:13548: checking for glFlush in -lGL" >&5
13548 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13550 echo $ac_n "(cached) $ac_c" 1>&6
13552 ac_save_LIBS
="$LIBS"
13554 cat > conftest.
$ac_ext <<EOF
13555 #line 13556 "configure"
13556 #include "confdefs.h"
13557 /* Override any gcc2 internal prototype to avoid an error. */
13558 /* We use char because int might match the return type of a gcc2
13559 builtin and then its argument prototype would still apply. */
13566 if { (eval echo configure
:13567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13568 eval "ac_cv_lib_$ac_lib_var=yes"
13570 echo "configure: failed program was:" >&5
13571 cat conftest.
$ac_ext >&5
13573 eval "ac_cv_lib_$ac_lib_var=no"
13576 LIBS
="$ac_save_LIBS"
13579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13580 echo "$ac_t""yes" 1>&6
13582 OPENGL_LINK
="-lGL -lGLU"
13585 echo "$ac_t""no" 1>&6
13587 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13588 echo "configure:13589: checking for glFlush in -lMesaGL" >&5
13589 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13591 echo $ac_n "(cached) $ac_c" 1>&6
13593 ac_save_LIBS
="$LIBS"
13594 LIBS
="-lMesaGL $LIBS"
13595 cat > conftest.
$ac_ext <<EOF
13596 #line 13597 "configure"
13597 #include "confdefs.h"
13598 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13607 if { (eval echo configure
:13608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13609 eval "ac_cv_lib_$ac_lib_var=yes"
13611 echo "configure: failed program was:" >&5
13612 cat conftest.
$ac_ext >&5
13614 eval "ac_cv_lib_$ac_lib_var=no"
13617 LIBS
="$ac_save_LIBS"
13620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13623 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13626 echo "$ac_t""no" 1>&6
13634 echo "$ac_t""no" 1>&6
13641 if test "$wxUSE_GUI" = "yes"; then
13642 cat >> confdefs.h
<<\EOF
13643 #define wxUSE_GUI 1
13648 cat >> confdefs.h
<<\EOF
13649 #define wxUSE_NOGUI 1
13655 if test "$wxUSE_UNIX" = "yes"; then
13656 cat >> confdefs.h
<<\EOF
13657 #define wxUSE_UNIX 1
13663 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13664 cat >> confdefs.h
<<\EOF
13665 #define wxUSE_APPLE_IEEE 1
13670 if test "$wxUSE_WAVE" = "yes"; then
13671 cat >> confdefs.h
<<\EOF
13672 #define wxUSE_WAVE 1
13677 if test "$wxUSE_FILE" = "yes"; then
13678 cat >> confdefs.h
<<\EOF
13679 #define wxUSE_FILE 1
13684 if test "$wxUSE_FILESYSTEM" = "yes"; then
13685 cat >> confdefs.h
<<\EOF
13686 #define wxUSE_FILESYSTEM 1
13691 if test "$wxUSE_FS_INET" = "yes"; then
13692 cat >> confdefs.h
<<\EOF
13693 #define wxUSE_FS_INET 1
13698 if test "$wxUSE_FS_ZIP" = "yes"; then
13699 cat >> confdefs.h
<<\EOF
13700 #define wxUSE_FS_ZIP 1
13705 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13706 cat >> confdefs.h
<<\EOF
13707 #define wxUSE_ZIPSTREAM 1
13712 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13713 cat >> confdefs.h
<<\EOF
13714 #define wxUSE_ON_FATAL_EXCEPTION 1
13719 if test "$wxUSE_BUSYINFO" = "yes"; then
13720 cat >> confdefs.h
<<\EOF
13721 #define wxUSE_BUSYINFO 1
13726 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13727 cat >> confdefs.h
<<\EOF
13728 #define wxUSE_STD_IOSTREAM 1
13733 if test "$wxUSE_TEXTFILE" = "yes"; then
13734 if test "$wxUSE_FILE" != "yes"; then
13735 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13737 cat >> confdefs.h
<<\EOF
13738 #define wxUSE_TEXTFILE 1
13744 if test "$wxUSE_CONFIG" = "yes" ; then
13745 if test "$wxUSE_TEXTFILE" != "yes"; then
13746 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13748 cat >> confdefs.h
<<\EOF
13749 #define wxUSE_CONFIG 1
13752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13756 if test "$wxUSE_INTL" = "yes" ; then
13757 if test "$wxUSE_FILE" != "yes"; then
13758 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13760 cat >> confdefs.h
<<\EOF
13761 #define wxUSE_INTL 1
13764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13765 GUIDIST
="$GUIDIST INTL_DIST"
13769 if test "$wxUSE_LOG" = "yes"; then
13770 cat >> confdefs.h
<<\EOF
13771 #define wxUSE_LOG 1
13776 if test "$wxUSE_LONGLONG" = "yes"; then
13777 cat >> confdefs.h
<<\EOF
13778 #define wxUSE_LONGLONG 1
13783 if test "$wxUSE_GEOMETRY" = "yes"; then
13784 cat >> confdefs.h
<<\EOF
13785 #define wxUSE_GEOMETRY 1
13790 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13791 cat >> confdefs.h
<<\EOF
13792 #define wxUSE_DIALUP_MANAGER 1
13795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13798 if test "$wxUSE_STREAMS" = "yes" ; then
13799 cat >> confdefs.h
<<\EOF
13800 #define wxUSE_STREAMS 1
13806 if test "$wxUSE_TIMEDATE" = "yes"; then
13807 for ac_func
in strptime
13809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13810 echo "configure:13811: checking for $ac_func" >&5
13811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13814 cat > conftest.
$ac_ext <<EOF
13815 #line 13816 "configure"
13816 #include "confdefs.h"
13817 /* System header to define __stub macros and hopefully few prototypes,
13818 which can conflict with char $ac_func(); below. */
13819 #include <assert.h>
13820 /* Override any gcc2 internal prototype to avoid an error. */
13821 /* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13827 /* The GNU C library defines this for functions which it implements
13828 to always fail with ENOSYS. Some functions are actually named
13829 something starting with __ and the normal name is an alias. */
13830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13838 if { (eval echo configure
:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13840 eval "ac_cv_func_$ac_func=yes"
13842 echo "configure: failed program was:" >&5
13843 cat conftest.
$ac_ext >&5
13845 eval "ac_cv_func_$ac_func=no"
13850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13851 echo "$ac_t""yes" 1>&6
13852 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13853 cat >> confdefs.h
<<EOF
13854 #define $ac_tr_func 1
13858 echo "$ac_t""no" 1>&6
13863 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13864 echo "configure:13865: checking for timezone variable in <time.h>" >&5
13865 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13866 echo $ac_n "(cached) $ac_c" 1>&6
13869 cat > conftest.
$ac_ext <<EOF
13870 #line 13871 "configure"
13871 #include "confdefs.h"
13882 if { (eval echo configure
:13883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13885 wx_cv_var_timezone
=__timezone
13888 echo "configure: failed program was:" >&5
13889 cat conftest.
$ac_ext >&5
13892 cat > conftest.
$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13905 if { (eval echo configure
:13906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13908 wx_cv_var_timezone
=_timezone
13911 echo "configure: failed program was:" >&5
13912 cat conftest.
$ac_ext >&5
13915 cat > conftest.
$ac_ext <<EOF
13916 #line 13917 "configure"
13917 #include "confdefs.h"
13928 if { (eval echo configure
:13929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13931 wx_cv_var_timezone
=timezone
13934 echo "configure: failed program was:" >&5
13935 cat conftest.
$ac_ext >&5
13937 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13953 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13955 cat >> confdefs.h
<<EOF
13956 #define WX_TIMEZONE $wx_cv_var_timezone
13960 for ac_func
in localtime
13962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13963 echo "configure:13964: checking for $ac_func" >&5
13964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13965 echo $ac_n "(cached) $ac_c" 1>&6
13967 cat > conftest.
$ac_ext <<EOF
13968 #line 13969 "configure"
13969 #include "confdefs.h"
13970 /* System header to define __stub macros and hopefully few prototypes,
13971 which can conflict with char $ac_func(); below. */
13972 #include <assert.h>
13973 /* Override any gcc2 internal prototype to avoid an error. */
13974 /* We use char because int might match the return type of a gcc2
13975 builtin and then its argument prototype would still apply. */
13980 /* The GNU C library defines this for functions which it implements
13981 to always fail with ENOSYS. Some functions are actually named
13982 something starting with __ and the normal name is an alias. */
13983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13991 if { (eval echo configure
:13992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13993 eval "ac_cv_func_$ac_func=yes"
13995 echo "configure: failed program was:" >&5
13996 cat conftest.
$ac_ext >&5
13998 eval "ac_cv_func_$ac_func=no"
14003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14004 echo "$ac_t""yes" 1>&6
14005 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14006 cat >> confdefs.h
<<EOF
14007 #define $ac_tr_func 1
14011 echo "$ac_t""no" 1>&6
14016 if test "$ac_cv_func_localtime" = "yes"; then
14017 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
14018 echo "configure:14019: checking for tm_gmtoff in struct tm" >&5
14019 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
14020 echo $ac_n "(cached) $ac_c" 1>&6
14023 cat > conftest.
$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14036 if { (eval echo configure
:14037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14039 wx_cv_struct_tm_has_gmtoff
=yes
14040 cat >> confdefs.h
<<\EOF
14041 #define WX_GMTOFF_IN_TM 1
14046 echo "configure: failed program was:" >&5
14047 cat conftest.
$ac_ext >&5
14049 wx_cv_struct_tm_has_gmtoff
=no
14056 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
14059 for ac_func
in gettimeofday ftime
14061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14062 echo "configure:14063: checking for $ac_func" >&5
14063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14064 echo $ac_n "(cached) $ac_c" 1>&6
14066 cat > conftest.
$ac_ext <<EOF
14067 #line 14068 "configure"
14068 #include "confdefs.h"
14069 /* System header to define __stub macros and hopefully few prototypes,
14070 which can conflict with char $ac_func(); below. */
14071 #include <assert.h>
14072 /* Override any gcc2 internal prototype to avoid an error. */
14073 /* We use char because int might match the return type of a gcc2
14074 builtin and then its argument prototype would still apply. */
14079 /* The GNU C library defines this for functions which it implements
14080 to always fail with ENOSYS. Some functions are actually named
14081 something starting with __ and the normal name is an alias. */
14082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14090 if { (eval echo configure
:14091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14092 eval "ac_cv_func_$ac_func=yes"
14094 echo "configure: failed program was:" >&5
14095 cat conftest.
$ac_ext >&5
14097 eval "ac_cv_func_$ac_func=no"
14102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14103 echo "$ac_t""yes" 1>&6
14104 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14105 cat >> confdefs.h
<<EOF
14106 #define $ac_tr_func 1
14110 echo "$ac_t""no" 1>&6
14115 if test "$ac_cv_func_gettimeofday" = "yes"; then
14116 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
14117 echo "configure:14118: checking whether gettimeofday takes two arguments" >&5
14118 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
14119 echo $ac_n "(cached) $ac_c" 1>&6
14124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14125 ac_cpp
='$CXXCPP $CPPFLAGS'
14126 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14127 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14128 cross_compiling
=$ac_cv_prog_cxx_cross
14131 cat > conftest.
$ac_ext <<EOF
14132 #line 14133 "configure"
14133 #include "confdefs.h"
14135 #include <sys/time.h>
14136 #include <unistd.h>
14141 struct timezone tz;
14142 gettimeofday(&tv, &tz);
14146 if { (eval echo configure
:14147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14148 wx_cv_func_gettimeofday_has_2_args
=yes
14150 echo "configure: failed program was:" >&5
14151 cat conftest.
$ac_ext >&5
14153 cat > conftest.
$ac_ext <<EOF
14154 #line 14155 "configure"
14155 #include "confdefs.h"
14157 #include <sys/time.h>
14158 #include <unistd.h>
14167 if { (eval echo configure
:14168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14169 wx_cv_func_gettimeofday_has_2_args
=no
14171 echo "configure: failed program was:" >&5
14172 cat conftest.
$ac_ext >&5
14174 wx_cv_func_gettimeofday_has_2_args
=unknown
14182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14183 ac_cpp
='$CPP $CPPFLAGS'
14184 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14185 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14186 cross_compiling
=$ac_cv_prog_cc_cross
14191 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
14193 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
14194 cat >> confdefs.h
<<\EOF
14195 #define WX_GETTIMEOFDAY_NO_TZ 1
14201 cat >> confdefs.h
<<\EOF
14202 #define wxUSE_TIMEDATE 1
14205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
14209 if test "$TOOLKIT" != "MSW"; then
14211 if test "$wxUSE_SOCKETS" = "yes"; then
14212 echo $ac_n "checking for socket""... $ac_c" 1>&6
14213 echo "configure:14214: checking for socket" >&5
14214 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
14215 echo $ac_n "(cached) $ac_c" 1>&6
14217 cat > conftest.
$ac_ext <<EOF
14218 #line 14219 "configure"
14219 #include "confdefs.h"
14220 /* System header to define __stub macros and hopefully few prototypes,
14221 which can conflict with char socket(); below. */
14222 #include <assert.h>
14223 /* Override any gcc2 internal prototype to avoid an error. */
14224 /* We use char because int might match the return type of a gcc2
14225 builtin and then its argument prototype would still apply. */
14230 /* The GNU C library defines this for functions which it implements
14231 to always fail with ENOSYS. Some functions are actually named
14232 something starting with __ and the normal name is an alias. */
14233 #if defined (__stub_socket) || defined (__stub___socket)
14241 if { (eval echo configure
:14242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14243 eval "ac_cv_func_socket=yes"
14245 echo "configure: failed program was:" >&5
14246 cat conftest.
$ac_ext >&5
14248 eval "ac_cv_func_socket=no"
14253 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
14254 echo "$ac_t""yes" 1>&6
14257 echo "$ac_t""no" 1>&6
14258 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
14259 echo "configure:14260: checking for socket in -lsocket" >&5
14260 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
14261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14262 echo $ac_n "(cached) $ac_c" 1>&6
14264 ac_save_LIBS
="$LIBS"
14265 LIBS
="-lsocket $LIBS"
14266 cat > conftest.
$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269 /* Override any gcc2 internal prototype to avoid an error. */
14270 /* We use char because int might match the return type of a gcc2
14271 builtin and then its argument prototype would still apply. */
14278 if { (eval echo configure
:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14280 eval "ac_cv_lib_$ac_lib_var=yes"
14282 echo "configure: failed program was:" >&5
14283 cat conftest.
$ac_ext >&5
14285 eval "ac_cv_lib_$ac_lib_var=no"
14288 LIBS
="$ac_save_LIBS"
14291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14292 echo "$ac_t""yes" 1>&6
14293 INET_LINK
="$INET_LINK -lsocket"
14295 echo "$ac_t""no" 1>&6
14297 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
14309 if test "$wxUSE_SOCKETS" = "yes" ; then
14310 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
14311 echo "configure:14312: checking what is the type of the third argument of getsockname" >&5
14312 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
14313 echo $ac_n "(cached) $ac_c" 1>&6
14318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14319 ac_cpp
='$CXXCPP $CPPFLAGS'
14320 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14321 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14322 cross_compiling
=$ac_cv_prog_cxx_cross
14325 cat > conftest.
$ac_ext <<EOF
14326 #line 14327 "configure"
14327 #include "confdefs.h"
14329 #include <sys/types.h>
14330 #include <sys/socket.h>
14335 getsockname(0, 0, &len);
14339 if { (eval echo configure
:14340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14341 wx_cv_type_getsockname3
=socklen_t
14343 echo "configure: failed program was:" >&5
14344 cat conftest.
$ac_ext >&5
14346 cat > conftest.
$ac_ext <<EOF
14347 #line 14348 "configure"
14348 #include "confdefs.h"
14350 #include <sys/types.h>
14351 #include <sys/socket.h>
14356 getsockname(0, 0, &len);
14360 if { (eval echo configure
:14361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14362 wx_cv_type_getsockname3
=size_t
14364 echo "configure: failed program was:" >&5
14365 cat conftest.
$ac_ext >&5
14367 cat > conftest.
$ac_ext <<EOF
14368 #line 14369 "configure"
14369 #include "confdefs.h"
14371 #include <sys/types.h>
14372 #include <sys/socket.h>
14377 getsockname(0, 0, &len);
14381 if { (eval echo configure
:14382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14383 wx_cv_type_getsockname3
=int
14385 echo "configure: failed program was:" >&5
14386 cat conftest.
$ac_ext >&5
14388 wx_cv_type_getsockname3
=unknown
14400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14401 ac_cpp
='$CPP $CPPFLAGS'
14402 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14403 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14404 cross_compiling
=$ac_cv_prog_cc_cross
14409 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
14411 if test "$wx_cv_type_getsockname3" = "unknown"; then
14413 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
14415 cat >> confdefs.h
<<EOF
14416 #define SOCKLEN_T $wx_cv_type_getsockname3
14424 if test "$wxUSE_SOCKETS" = "yes" ; then
14425 cat >> confdefs.h
<<\EOF
14426 #define wxUSE_SOCKETS 1
14429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14430 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14434 if test "$wxUSE_GUI" = "yes"; then
14436 if test "$TOOLKIT" != "MSW"; then
14438 if test "$wxUSE_JOYSTICK" = "yes"; then
14439 for ac_hdr
in linux
/joystick.h
14441 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14442 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14443 echo "configure:14444: checking for $ac_hdr" >&5
14444 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14445 echo $ac_n "(cached) $ac_c" 1>&6
14447 cat > conftest.
$ac_ext <<EOF
14448 #line 14449 "configure"
14449 #include "confdefs.h"
14452 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14453 { (eval echo configure
:14454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14454 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14455 if test -z "$ac_err"; then
14457 eval "ac_cv_header_$ac_safe=yes"
14460 echo "configure: failed program was:" >&5
14461 cat conftest.
$ac_ext >&5
14463 eval "ac_cv_header_$ac_safe=no"
14467 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14468 echo "$ac_t""yes" 1>&6
14469 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14470 cat >> confdefs.h
<<EOF
14471 #define $ac_tr_hdr 1
14475 echo "$ac_t""no" 1>&6
14479 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14481 echo "configure: warning: Joystick not supported by this system" 1>&2
14487 if test "$wxUSE_JOYSTICK" = "yes"; then
14488 cat >> confdefs.h
<<\EOF
14489 #define wxUSE_JOYSTICK 1
14492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14498 if test "$TOOLKIT" != "MSW"; then
14502 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14503 if test "$USE_MAC" = 1; then
14506 for ac_func
in dlopen
14508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14509 echo "configure:14510: checking for $ac_func" >&5
14510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14511 echo $ac_n "(cached) $ac_c" 1>&6
14513 cat > conftest.
$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14516 /* System header to define __stub macros and hopefully few prototypes,
14517 which can conflict with char $ac_func(); below. */
14518 #include <assert.h>
14519 /* Override any gcc2 internal prototype to avoid an error. */
14520 /* We use char because int might match the return type of a gcc2
14521 builtin and then its argument prototype would still apply. */
14526 /* The GNU C library defines this for functions which it implements
14527 to always fail with ENOSYS. Some functions are actually named
14528 something starting with __ and the normal name is an alias. */
14529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14537 if { (eval echo configure
:14538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14539 eval "ac_cv_func_$ac_func=yes"
14541 echo "configure: failed program was:" >&5
14542 cat conftest.
$ac_ext >&5
14544 eval "ac_cv_func_$ac_func=no"
14549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14550 echo "$ac_t""yes" 1>&6
14551 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14552 cat >> confdefs.h
<<EOF
14553 #define $ac_tr_func 1
14556 cat >> confdefs.h
<<\EOF
14557 #define HAVE_DLOPEN 1
14563 echo "$ac_t""no" 1>&6
14564 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14565 echo "configure:14566: checking for dlopen in -ldl" >&5
14566 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14567 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14568 echo $ac_n "(cached) $ac_c" 1>&6
14570 ac_save_LIBS
="$LIBS"
14572 cat > conftest.
$ac_ext <<EOF
14573 #line 14574 "configure"
14574 #include "confdefs.h"
14575 /* Override any gcc2 internal prototype to avoid an error. */
14576 /* We use char because int might match the return type of a gcc2
14577 builtin and then its argument prototype would still apply. */
14584 if { (eval echo configure
:14585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14586 eval "ac_cv_lib_$ac_lib_var=yes"
14588 echo "configure: failed program was:" >&5
14589 cat conftest.
$ac_ext >&5
14591 eval "ac_cv_lib_$ac_lib_var=no"
14594 LIBS
="$ac_save_LIBS"
14597 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14598 echo "$ac_t""yes" 1>&6
14600 cat >> confdefs.h
<<\EOF
14601 #define HAVE_DLOPEN 1
14608 echo "$ac_t""no" 1>&6
14610 for ac_func
in shl_load
14612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14613 echo "configure:14614: checking for $ac_func" >&5
14614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14615 echo $ac_n "(cached) $ac_c" 1>&6
14617 cat > conftest.
$ac_ext <<EOF
14618 #line 14619 "configure"
14619 #include "confdefs.h"
14620 /* System header to define __stub macros and hopefully few prototypes,
14621 which can conflict with char $ac_func(); below. */
14622 #include <assert.h>
14623 /* Override any gcc2 internal prototype to avoid an error. */
14624 /* We use char because int might match the return type of a gcc2
14625 builtin and then its argument prototype would still apply. */
14630 /* The GNU C library defines this for functions which it implements
14631 to always fail with ENOSYS. Some functions are actually named
14632 something starting with __ and the normal name is an alias. */
14633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14641 if { (eval echo configure
:14642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14643 eval "ac_cv_func_$ac_func=yes"
14645 echo "configure: failed program was:" >&5
14646 cat conftest.
$ac_ext >&5
14648 eval "ac_cv_func_$ac_func=no"
14653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14654 echo "$ac_t""yes" 1>&6
14655 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14656 cat >> confdefs.h
<<EOF
14657 #define $ac_tr_func 1
14660 cat >> confdefs.h
<<\EOF
14661 #define HAVE_SHL_LOAD 1
14667 echo "$ac_t""no" 1>&6
14668 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14669 echo "configure:14670: checking for dld in -lshl_load" >&5
14670 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14672 echo $ac_n "(cached) $ac_c" 1>&6
14674 ac_save_LIBS
="$LIBS"
14675 LIBS
="-lshl_load $LIBS"
14676 cat > conftest.
$ac_ext <<EOF
14677 #line 14678 "configure"
14678 #include "confdefs.h"
14679 /* Override any gcc2 internal prototype to avoid an error. */
14680 /* We use char because int might match the return type of a gcc2
14681 builtin and then its argument prototype would still apply. */
14688 if { (eval echo configure
:14689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14690 eval "ac_cv_lib_$ac_lib_var=yes"
14692 echo "configure: failed program was:" >&5
14693 cat conftest.
$ac_ext >&5
14695 eval "ac_cv_lib_$ac_lib_var=no"
14698 LIBS
="$ac_save_LIBS"
14701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14702 echo "$ac_t""yes" 1>&6
14708 echo "$ac_t""no" 1>&6
14723 if test "$HAVE_DL_FUNCS" = 1; then
14724 for ac_func
in dlerror
14726 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14727 echo "configure:14728: checking for $ac_func" >&5
14728 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14729 echo $ac_n "(cached) $ac_c" 1>&6
14731 cat > conftest.
$ac_ext <<EOF
14732 #line 14733 "configure"
14733 #include "confdefs.h"
14734 /* System header to define __stub macros and hopefully few prototypes,
14735 which can conflict with char $ac_func(); below. */
14736 #include <assert.h>
14737 /* Override any gcc2 internal prototype to avoid an error. */
14738 /* We use char because int might match the return type of a gcc2
14739 builtin and then its argument prototype would still apply. */
14744 /* The GNU C library defines this for functions which it implements
14745 to always fail with ENOSYS. Some functions are actually named
14746 something starting with __ and the normal name is an alias. */
14747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14755 if { (eval echo configure
:14756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14757 eval "ac_cv_func_$ac_func=yes"
14759 echo "configure: failed program was:" >&5
14760 cat conftest.
$ac_ext >&5
14762 eval "ac_cv_func_$ac_func=no"
14767 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14768 echo "$ac_t""yes" 1>&6
14769 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14770 cat >> confdefs.h
<<EOF
14771 #define $ac_tr_func 1
14773 cat >> confdefs.h
<<\EOF
14774 #define HAVE_DLERROR 1
14778 echo "$ac_t""no" 1>&6
14779 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14780 echo "configure:14781: checking for dlerror in -ldl" >&5
14781 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14783 echo $ac_n "(cached) $ac_c" 1>&6
14785 ac_save_LIBS
="$LIBS"
14787 cat > conftest.
$ac_ext <<EOF
14788 #line 14789 "configure"
14789 #include "confdefs.h"
14790 /* Override any gcc2 internal prototype to avoid an error. */
14791 /* We use char because int might match the return type of a gcc2
14792 builtin and then its argument prototype would still apply. */
14799 if { (eval echo configure
:14800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14801 eval "ac_cv_lib_$ac_lib_var=yes"
14803 echo "configure: failed program was:" >&5
14804 cat conftest.
$ac_ext >&5
14806 eval "ac_cv_lib_$ac_lib_var=no"
14809 LIBS
="$ac_save_LIBS"
14812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14813 echo "$ac_t""yes" 1>&6
14814 cat >> confdefs.h
<<\EOF
14815 #define HAVE_DLERROR 1
14819 echo "$ac_t""no" 1>&6
14828 if test "$HAVE_DL_FUNCS" = 0; then
14829 if test "$HAVE_SHL_FUNCS" = 0; then
14830 if test "$USE_UNIX" = 1; then
14831 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14832 wxUSE_DYNLIB_CLASS
=no
14834 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14842 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14843 cat >> confdefs.h
<<\EOF
14844 #define wxUSE_DYNLIB_CLASS 1
14853 if test "$wxUSE_UNICODE" = "yes" ; then
14854 cat >> confdefs.h
<<\EOF
14855 #define wxUSE_UNICODE 1
14860 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14861 cat >> confdefs.h
<<\EOF
14862 #define wxUSE_WCSRTOMBS 1
14867 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14868 cat >> confdefs.h
<<\EOF
14869 #define wxUSE_EXPERIMENTAL_PRINTF 1
14875 if test "$wxUSE_SERIAL" = "yes" ; then
14876 cat >> confdefs.h
<<\EOF
14877 #define wxUSE_SERIAL 1
14884 if test "$wxUSE_ODBC" = "yes" ; then
14885 cat >> confdefs.h
<<\EOF
14886 #define wxUSE_ODBC 1
14889 WXODBCFLAG
="-D_IODBC_"
14890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14894 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14895 cat >> confdefs.h
<<\EOF
14896 #define wxUSE_POSTSCRIPT 1
14901 cat >> confdefs.h
<<\EOF
14902 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14906 cat >> confdefs.h
<<\EOF
14907 #define wxUSE_NORMALIZED_PS_FONTS 1
14912 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14913 cat >> confdefs.h
<<\EOF
14914 #define wxUSE_CONSTRAINTS 1
14917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14920 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14921 cat >> confdefs.h
<<\EOF
14922 #define wxUSE_MDI_ARCHITECTURE 1
14925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14928 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14929 cat >> confdefs.h
<<\EOF
14930 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14934 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14939 if test "$wxUSE_HELP" = "yes"; then
14940 cat >> confdefs.h
<<\EOF
14941 #define wxUSE_HELP 1
14944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14947 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14948 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14949 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14951 cat >> confdefs.h
<<\EOF
14952 #define wxUSE_PRINTING_ARCHITECTURE 1
14956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14959 if test "$wxUSE_PROLOGIO" = "yes" ; then
14960 cat >> confdefs.h
<<\EOF
14961 #define wxUSE_PROLOGIO 1
14966 if test "$wxUSE_RESOURCES" = "yes" ; then
14967 if test "$wxUSE_PROLOGIO" = "yes" ; then
14968 cat >> confdefs.h
<<\EOF
14969 #define wxUSE_RESOURCES 1
14972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14974 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14978 if test "$wxUSE_X_RESOURCES" = "yes"; then
14979 cat >> confdefs.h
<<\EOF
14980 #define wxUSE_X_RESOURCES 1
14986 if test "$wxUSE_IPC" = "yes"; then
14987 if test "$wxUSE_SOCKETS" != "yes"; then
14988 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14991 cat >> confdefs.h
<<\EOF
14992 #define wxUSE_IPC 1
14997 if test "$wxUSE_CLIPBOARD" = "yes"; then
14998 cat >> confdefs.h
<<\EOF
14999 #define wxUSE_CLIPBOARD 1
15004 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
15005 if test "$wxUSE_GTK" = 1; then
15006 if test "$WXGTK12" != 1; then
15007 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
15008 wxUSE_DRAG_AND_DROP
=no
15012 if test "$wxUSE_MOTIF" = 1; then
15013 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
15014 wxUSE_DRAG_AND_DROP
=no
15017 if test "$wxUSE_MAC" = 1; then
15018 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
15019 wxUSE_DRAG_AND_DROP
=no
15022 if test "$USE_WIN32" = 1; then
15024 for ac_hdr
in ole2.h
15026 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15028 echo "configure:15029: checking for $ac_hdr" >&5
15029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15030 echo $ac_n "(cached) $ac_c" 1>&6
15032 cat > conftest.
$ac_ext <<EOF
15033 #line 15034 "configure"
15034 #include "confdefs.h"
15037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15038 { (eval echo configure
:15039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15040 if test -z "$ac_err"; then
15042 eval "ac_cv_header_$ac_safe=yes"
15045 echo "configure: failed program was:" >&5
15046 cat conftest.
$ac_ext >&5
15048 eval "ac_cv_header_$ac_safe=no"
15052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15053 echo "$ac_t""yes" 1>&6
15054 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15055 cat >> confdefs.h
<<EOF
15056 #define $ac_tr_hdr 1
15060 echo "$ac_t""no" 1>&6
15065 if test "$ac_cv_header_ole2_h" = "yes" ; then
15066 if test "$GCC" = yes ; then
15067 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
15068 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
15069 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
15070 LIBS
="$LIBS -lole32 -luuid"
15072 if test "$wxUSE_METAFILE" = "yes"; then
15073 cat >> confdefs.h
<<\EOF
15074 #define wxUSE_METAFILE 1
15077 cat >> confdefs.h
<<\EOF
15078 #define wxUSE_ENH_METAFILE 1
15084 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
15085 wxUSE_DRAG_AND_DROP
=no
15089 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
15090 cat >> confdefs.h
<<\EOF
15091 #define wxUSE_DRAG_AND_DROP 1
15094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
15099 if test "$wxUSE_SPLINES" = "yes" ; then
15100 cat >> confdefs.h
<<\EOF
15101 #define wxUSE_SPLINES 1
15107 if test "$wxUSE_ACCEL" = "yes"; then
15108 cat >> confdefs.h
<<\EOF
15109 #define wxUSE_ACCEL 1
15114 if test "$wxUSE_CARET" = "yes"; then
15115 cat >> confdefs.h
<<\EOF
15116 #define wxUSE_CARET 1
15119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
15122 if test "$wxUSE_COMBOBOX" = "yes"; then
15123 cat >> confdefs.h
<<\EOF
15124 #define wxUSE_COMBOBOX 1
15129 if test "$wxUSE_CHOICE" = "yes"; then
15130 cat >> confdefs.h
<<\EOF
15131 #define wxUSE_CHOICE 1
15136 if test "$wxUSE_BMPBUTTON" = "yes"; then
15137 cat >> confdefs.h
<<\EOF
15138 #define wxUSE_BMPBUTTON 1
15143 if test "$wxUSE_CHECKBOX" = "yes"; then
15144 cat >> confdefs.h
<<\EOF
15145 #define wxUSE_CHECKBOX 1
15150 if test "$wxUSE_CHECKLST" = "yes"; then
15151 cat >> confdefs.h
<<\EOF
15152 #define wxUSE_CHECKLISTBOX 1
15155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
15158 if test "$wxUSE_GAUGE" = "yes"; then
15159 cat >> confdefs.h
<<\EOF
15160 #define wxUSE_GAUGE 1
15165 if test "$wxUSE_NEW_GRID" = "yes"; then
15167 cat >> confdefs.h
<<\EOF
15168 #define wxUSE_NEW_GRID 1
15171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
15174 if test "$wxUSE_GRID" = "yes"; then
15175 cat >> confdefs.h
<<\EOF
15176 #define wxUSE_GRID 1
15179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
15182 if test "$wxUSE_IMAGLIST" = "yes"; then
15183 cat >> confdefs.h
<<\EOF
15184 #define wxUSE_IMAGLIST 1
15189 if test "$wxUSE_LISTBOX" = "yes"; then
15190 cat >> confdefs.h
<<\EOF
15191 #define wxUSE_LISTBOX 1
15196 if test "$wxUSE_LISTCTRL" = "yes"; then
15197 if test "$wxUSE_IMAGLIST" = "yes"; then
15198 cat >> confdefs.h
<<\EOF
15199 #define wxUSE_LISTCTRL 1
15202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
15204 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
15208 if test "$wxUSE_NOTEBOOK" = "yes"; then
15209 cat >> confdefs.h
<<\EOF
15210 #define wxUSE_NOTEBOOK 1
15213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
15216 if test "$wxUSE_RADIOBOX" = "yes"; then
15217 cat >> confdefs.h
<<\EOF
15218 #define wxUSE_RADIOBOX 1
15223 if test "$wxUSE_RADIOBTN" = "yes"; then
15224 cat >> confdefs.h
<<\EOF
15225 #define wxUSE_RADIOBTN 1
15230 if test "$wxUSE_SASH" = "yes"; then
15231 cat >> confdefs.h
<<\EOF
15232 #define wxUSE_SASH 1
15235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
15238 if test "$wxUSE_SCROLLBAR" = "yes"; then
15239 cat >> confdefs.h
<<\EOF
15240 #define wxUSE_SCROLLBAR 1
15243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
15246 if test "$wxUSE_SLIDER" = "yes"; then
15247 cat >> confdefs.h
<<\EOF
15248 #define wxUSE_SLIDER 1
15253 if test "$wxUSE_SPINBTN" = "yes"; then
15254 cat >> confdefs.h
<<\EOF
15255 #define wxUSE_SPINBTN 1
15260 if test "$wxUSE_SPINCTRL" = "yes"; then
15261 cat >> confdefs.h
<<\EOF
15262 #define wxUSE_SPINCTRL 1
15267 if test "$wxUSE_SPLITTER" = "yes"; then
15268 cat >> confdefs.h
<<\EOF
15269 #define wxUSE_SPLITTER 1
15272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
15275 if test "$wxUSE_STATBMP" = "yes"; then
15276 cat >> confdefs.h
<<\EOF
15277 #define wxUSE_STATBMP 1
15282 if test "$wxUSE_STATBOX" = "yes"; then
15283 cat >> confdefs.h
<<\EOF
15284 #define wxUSE_STATBOX 1
15289 if test "$wxUSE_STATLINE" = "yes"; then
15290 if test "$wxUSE_WINE" = 1 ; then
15291 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
15293 cat >> confdefs.h
<<\EOF
15294 #define wxUSE_STATLINE 1
15300 if test "$wxUSE_STATUSBAR" = "yes"; then
15301 cat >> confdefs.h
<<\EOF
15302 #define wxUSE_STATUSBAR 1
15306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
15309 if test "$wxUSE_TABDIALOG" = "yes"; then
15310 cat >> confdefs.h
<<\EOF
15311 #define wxUSE_TAB_DIALOG 1
15314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
15317 if test "$wxUSE_TOGGLEBTN" = "yes"; then
15318 cat >> confdefs.h
<<\EOF
15319 #define wxUSE_TOGGLEBTN 1
15324 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
15325 cat >> confdefs.h
<<\EOF
15326 #define wxUSE_TOOLBAR_SIMPLE 1
15329 wxUSE_TOOLBAR
="yes"
15332 if test "$wxUSE_TOOLBAR" = "yes"; then
15333 cat >> confdefs.h
<<\EOF
15334 #define wxUSE_TOOLBAR 1
15338 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
15339 wxUSE_TOOLBAR_NATIVE
="yes"
15342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
15345 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
15346 cat >> confdefs.h
<<\EOF
15347 #define wxUSE_TOOLBAR_NATIVE 1
15352 if test "$wxUSE_TOOLTIPS" = "yes"; then
15353 if test "$wxUSE_MOTIF" = 1; then
15354 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
15356 if test "$wxUSE_WINE" = 1; then
15357 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
15359 cat >> confdefs.h
<<\EOF
15360 #define wxUSE_TOOLTIPS 1
15367 if test "$wxUSE_TREECTRL" = "yes"; then
15368 if test "$wxUSE_IMAGLIST" = "yes"; then
15369 cat >> confdefs.h
<<\EOF
15370 #define wxUSE_TREECTRL 1
15373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
15375 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
15381 if test "$wxUSE_DIRDLG" = "yes"; then
15382 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15383 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
15385 if test "$wxUSE_TREECTRL" != "yes"; then
15386 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
15388 cat >> confdefs.h
<<\EOF
15389 #define wxUSE_DIRDLG 1
15396 if test "$wxUSE_TEXTDLG" = "yes"; then
15397 cat >> confdefs.h
<<\EOF
15398 #define wxUSE_TEXTDLG 1
15403 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
15404 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15405 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
15407 cat >> confdefs.h
<<\EOF
15408 #define wxUSE_STARTUP_TIPS 1
15414 if test "$wxUSE_PROGRESSDLG" = "yes"; then
15415 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15416 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
15418 cat >> confdefs.h
<<\EOF
15419 #define wxUSE_PROGRESSDLG 1
15425 if test "$wxUSE_MINIFRAME" = "yes"; then
15426 cat >> confdefs.h
<<\EOF
15427 #define wxUSE_MINIFRAME 1
15430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
15433 if test "$wxUSE_HTML" = "yes"; then
15434 cat >> confdefs.h
<<\EOF
15435 #define wxUSE_HTML 1
15438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
15439 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
15442 if test "$wxUSE_VALIDATORS" = "yes"; then
15443 cat >> confdefs.h
<<\EOF
15444 #define wxUSE_VALIDATORS 1
15447 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15450 if test "$wxUSE_IMAGE" = "yes" ; then
15451 cat >> confdefs.h
<<\EOF
15452 #define wxUSE_IMAGE 1
15457 if test "$wxUSE_GIF" = "yes" ; then
15458 cat >> confdefs.h
<<\EOF
15459 #define wxUSE_GIF 1
15464 if test "$wxUSE_PCX" = "yes" ; then
15465 cat >> confdefs.h
<<\EOF
15466 #define wxUSE_PCX 1
15471 if test "$wxUSE_PNM" = "yes" ; then
15472 cat >> confdefs.h
<<\EOF
15473 #define wxUSE_PNM 1
15478 if test "$wxUSE_XPM" = "yes" ; then
15479 cat >> confdefs.h
<<\EOF
15480 #define wxUSE_XPM 1
15486 if test "$cross_compiling" = "yes"; then
15489 OSINFO
=`uname -s -r -m`
15490 OSINFO
="\"$OSINFO\""
15493 cat >> confdefs.h
<<EOF
15494 #define WXWIN_OS_DESCRIPTION $OSINFO
15499 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15500 OPENGL_LIBS
="$OPENGL_LINK"
15502 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15503 if test "$USE_MAC" = 1 ; then
15504 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
15506 if test "$wxUSE_GUI" = "yes"; then
15507 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15510 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15512 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15514 if test "$wxUSE_GTK" = 1; then
15515 WXCONFIG_INCLUDE
=""
15517 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15520 if test "$GXX" = yes ; then
15521 CXXWARNINGS
="-Wall"
15523 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15525 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15526 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15528 LDFLAGS
="$LDFLAGS $PROFILE"
15530 if test "$wxUSE_GUI" = "yes"; then
15532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
15533 drawing dynamic event font fractal image menu \
15536 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15541 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15628 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15629 echo "configure:15630: checking whether ${MAKE-make} sets \${MAKE}" >&5
15630 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15631 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15634 cat > conftestmake
<<\EOF
15636 @
echo 'ac_maketemp="${MAKE}"'
15638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15639 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15640 if test -n "$ac_maketemp"; then
15641 eval ac_cv_prog_make_
${ac_make}_set
=yes
15643 eval ac_cv_prog_make_
${ac_make}_set
=no
15647 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15648 echo "$ac_t""yes" 1>&6
15651 echo "$ac_t""no" 1>&6
15652 SET_MAKE
="MAKE=${MAKE-make}"
15656 if test -d include
; then
15657 if test -d include
/wx
; then
15658 if test -d include
/wx
/${TOOLKIT_DIR}; then
15659 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15660 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15668 if test "$wxUSE_GUI" = "yes"; then
15669 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15670 wx_cv_path_ifs
=$PATH_IFS
15671 wx_cv_program_ext
=$PROGRAM_EXT
15672 wx_cv_target_library
=$WX_TARGET_LIBRARY
15673 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15674 subdirs
="demos samples utils contrib"
15679 cat > confcache
<<\EOF
15680 # This file is a shell script that caches the results of configure
15681 # tests run on this system so they can be shared between configure
15682 # scripts and configure runs. It is not useful on other systems.
15683 # If it contains results you don't want to keep, you may remove or edit it.
15685 # By default, configure uses ./config.cache as the cache file,
15686 # creating it if it does not exist already. You can give configure
15687 # the --cache-file=FILE option to use a different cache file; that is
15688 # what configure does when it calls configure scripts in
15689 # subdirectories, so they share the cache.
15690 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15691 # config.status only pays attention to the cache file if you give it the
15692 # --recheck option to rerun configure.
15695 # The following way of writing the cache mishandles newlines in values,
15696 # but we know of no workaround that is simple, portable, and efficient.
15697 # So, don't put newlines in cache variables' values.
15698 # Ultrix sh set writes to stderr and can't be redirected directly,
15699 # and sets the high bit in the cache file unless we assign to the vars.
15701 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15703 # `set' does not quote correctly, so add quotes (double-quote substitution
15704 # turns \\\\ into \\, and sed turns \\ into \).
15706 -e "s/'/'\\\\''/g" \
15707 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15710 # `set' quotes correctly as required by POSIX, so do not add quotes.
15711 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15714 if cmp -s $cache_file confcache
; then
15717 if test -w $cache_file; then
15718 echo "updating cache $cache_file"
15719 cat confcache
> $cache_file
15721 echo "not updating unwritable cache $cache_file"
15726 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15728 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15729 # Let make expand exec_prefix.
15730 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15732 # Any assignment to VPATH causes Sun make to only execute
15733 # the first set of double-colon rules, so remove it if not needed.
15734 # If there is a colon in the path, we need to keep it.
15735 if test "x$srcdir" = x.
; then
15736 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15739 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15741 DEFS
=-DHAVE_CONFIG_H
15743 # Without the "./", some shells look in PATH for config.status.
15744 : ${CONFIG_STATUS=./config.status}
15746 echo creating
$CONFIG_STATUS
15747 rm -f $CONFIG_STATUS
15748 cat > $CONFIG_STATUS <<EOF
15750 # Generated automatically by configure.
15751 # Run this file to recreate the current configuration.
15752 # This directory was configured as follows,
15753 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15755 # $0 $ac_configure_args
15757 # Compiler output produced by configure, useful for debugging
15758 # configure, is in ./config.log if it exists.
15760 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15763 case "\$ac_option" in
15764 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15765 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15766 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15767 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15768 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15770 -help | --help | --hel | --he | --h)
15771 echo "\$ac_cs_usage"; exit 0 ;;
15772 *) echo "\$ac_cs_usage"; exit 1 ;;
15776 ac_given_srcdir=$srcdir
15777 ac_given_INSTALL="$INSTALL"
15779 trap 'rm -fr `echo "
15785 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15787 cat >> $CONFIG_STATUS <<EOF
15789 # Protect against being on the right side of a sed subst in config.status.
15790 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15791 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15795 s%@CFLAGS@%$CFLAGS%g
15796 s%@CPPFLAGS@%$CPPFLAGS%g
15797 s%@CXXFLAGS@%$CXXFLAGS%g
15798 s%@FFLAGS@%$FFLAGS%g
15800 s%@LDFLAGS@%$LDFLAGS%g
15802 s%@exec_prefix@%$exec_prefix%g
15803 s%@prefix@%$prefix%g
15804 s%@program_transform_name@%$program_transform_name%g
15805 s%@bindir@%$bindir%g
15806 s%@sbindir@%$sbindir%g
15807 s%@libexecdir@%$libexecdir%g
15808 s%@datadir@%$datadir%g
15809 s%@sysconfdir@%$sysconfdir%g
15810 s%@sharedstatedir@%$sharedstatedir%g
15811 s%@localstatedir@%$localstatedir%g
15812 s%@libdir@%$libdir%g
15813 s%@includedir@%$includedir%g
15814 s%@oldincludedir@%$oldincludedir%g
15815 s%@infodir@%$infodir%g
15816 s%@mandir@%$mandir%g
15818 s%@host_alias@%$host_alias%g
15819 s%@host_cpu@%$host_cpu%g
15820 s%@host_vendor@%$host_vendor%g
15821 s%@host_os@%$host_os%g
15822 s%@target@%$target%g
15823 s%@target_alias@%$target_alias%g
15824 s%@target_cpu@%$target_cpu%g
15825 s%@target_vendor@%$target_vendor%g
15826 s%@target_os@%$target_os%g
15828 s%@build_alias@%$build_alias%g
15829 s%@build_cpu@%$build_cpu%g
15830 s%@build_vendor@%$build_vendor%g
15831 s%@build_os@%$build_os%g
15835 s%@CXXCPP@%$CXXCPP%g
15836 s%@RANLIB@%$RANLIB%g
15838 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15839 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15840 s%@INSTALL_DATA@%$INSTALL_DATA%g
15844 s%@LEXLIB@%$LEXLIB%g
15846 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15847 s%@GTK_CONFIG@%$GTK_CONFIG%g
15848 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15849 s%@GTK_LIBS@%$GTK_LIBS%g
15850 s%@X_CFLAGS@%$X_CFLAGS%g
15851 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15852 s%@X_LIBS@%$X_LIBS%g
15853 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15854 s%@LEX_STEM@%$LEX_STEM%g
15855 s%@PATH_IFS@%$PATH_IFS%g
15856 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15857 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15858 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15859 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15860 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15861 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15862 s%@WX_LIBRARY@%$WX_LIBRARY%g
15863 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15864 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15865 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15866 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15867 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15868 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15869 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15870 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15871 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15872 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15873 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15874 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15875 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15876 s%@WX_ALL@%$WX_ALL%g
15877 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15878 s%@SHARED_LD@%$SHARED_LD%g
15879 s%@PIC_FLAG@%$PIC_FLAG%g
15880 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15881 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15882 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
15883 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15884 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15885 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15886 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15887 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15888 s%@USE_GUI@%$USE_GUI%g
15889 s%@AFMINSTALL@%$AFMINSTALL%g
15890 s%@TOOLKIT@%$TOOLKIT%g
15891 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15892 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15893 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15894 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15895 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15896 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15897 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15898 s%@GUIDIST@%$GUIDIST%g
15899 s%@PORT_FILES@%$PORT_FILES%g
15900 s%@DISTDIR@%$DISTDIR%g
15901 s%@RPM_SPEC@%$RPM_SPEC%g
15902 s%@RPM_FILES@%$RPM_FILES%g
15903 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15904 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15905 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15906 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15907 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15908 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15909 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15910 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15911 s%@EXTRADEFS@%$EXTRADEFS%g
15912 s%@LD_LIBS@%$LD_LIBS%g
15913 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15914 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15915 s%@RESPROGRAM@%$RESPROGRAM%g
15916 s%@RESCOMP@%$RESCOMP%g
15917 s%@RESFLAGS@%$RESFLAGS%g
15918 s%@DLLTOOL@%$DLLTOOL%g
15922 s%@MAKEINFO@%$MAKEINFO%g
15923 s%@SET_MAKE@%$SET_MAKE%g
15924 s%@subdirs@%$subdirs%g
15929 cat >> $CONFIG_STATUS <<\EOF
15931 # Split the substitutions into bite-sized pieces for seds with
15932 # small command number limits, like on Digital OSF/1 and HP-UX.
15933 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15934 ac_file
=1 # Number of current file.
15935 ac_beg
=1 # First line for current file.
15936 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15939 while $ac_more_lines; do
15940 if test $ac_beg -gt 1; then
15941 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15943 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15945 if test ! -s conftest.s
$ac_file; then
15946 ac_more_lines
=false
15947 rm -f conftest.s
$ac_file
15949 if test -z "$ac_sed_cmds"; then
15950 ac_sed_cmds
="sed -f conftest.s$ac_file"
15952 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15954 ac_file
=`expr $ac_file + 1`
15956 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15959 if test -z "$ac_sed_cmds"; then
15964 cat >> $CONFIG_STATUS <<EOF
15966 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15973 cat >> $CONFIG_STATUS <<\EOF
15974 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15975 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15977 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15978 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15979 *) ac_file_in
="${ac_file}.in" ;;
15982 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15984 # Remove last slash and all that follows it. Not all systems have dirname.
15985 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15986 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15987 # The file is in a subdirectory.
15988 test ! -d "$ac_dir" && mkdir "$ac_dir"
15989 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15990 # A "../" for each directory in $ac_dir_suffix.
15991 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15993 ac_dir_suffix
= ac_dots
=
15996 case "$ac_given_srcdir" in
15998 if test -z "$ac_dots"; then top_srcdir
=.
15999 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16000 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
16001 *) # Relative path.
16002 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16003 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16006 case "$ac_given_INSTALL" in
16007 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
16008 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
16011 echo creating
"$ac_file"
16013 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16015 *Makefile
*) ac_comsub
="1i\\
16016 # $configure_input" ;;
16020 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16022 s%@configure_input@%$configure_input%g
16023 s%@srcdir@%$srcdir%g
16024 s%@top_srcdir@%$top_srcdir%g
16025 s%@INSTALL@%$INSTALL%g
16026 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16030 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16031 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16033 # ac_d sets the value in "#define NAME VALUE" lines.
16034 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16035 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
16038 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16039 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16040 ac_uB
='\([ ]\)%\1#\2define\3'
16043 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16044 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16045 ac_eB
='$%\1#\2define\3'
16049 if test "${CONFIG_HEADERS+set}" != set; then
16051 cat >> $CONFIG_STATUS <<EOF
16052 CONFIG_HEADERS="setup.h:setup.h.in"
16054 cat >> $CONFIG_STATUS <<\EOF
16056 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
16057 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16059 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16060 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16061 *) ac_file_in
="${ac_file}.in" ;;
16064 echo creating
$ac_file
16066 rm -f conftest.frag conftest.
in conftest.out
16067 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16068 cat $ac_file_inputs > conftest.
in
16072 # Transform confdefs.h into a sed script conftest.vals that substitutes
16073 # the proper values into config.h.in to produce config.h. And first:
16074 # Protect against being on the right side of a sed subst in config.status.
16075 # Protect against being in an unquoted here document in config.status.
16076 rm -f conftest.vals
16077 cat > conftest.hdr
<<\EOF
16080 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16084 sed -n -f conftest.hdr confdefs.h > conftest.vals
16087 # This sed command replaces #undef with comments. This is necessary, for
16088 # example, in the case of _POSIX_SOURCE, which is predefined and required
16089 # on some systems where configure will not decide to define it.
16090 cat >> conftest.vals <<\EOF
16091 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16094 # Break up conftest.vals because some shells have a limit on
16095 # the size of here documents, and old seds have small limits too.
16097 rm -f conftest.tail
16100 ac_lines=`grep -c . conftest.vals
`
16101 # grep -c gives empty output for an empty file on some AIX systems.
16102 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16103 # Write a limited-size here document to conftest.frag.
16104 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16105 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16107 sed -f conftest.frag conftest.in > conftest.out
16109 mv conftest.out conftest.in
16110 ' >> $CONFIG_STATUS
16111 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16112 rm -f conftest.vals
16113 mv conftest.tail conftest.vals
16115 rm -f conftest.vals
16117 cat >> $CONFIG_STATUS <<\EOF
16118 rm -f conftest.frag conftest.h
16119 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16120 cat conftest.in >> conftest.h
16122 if cmp -s $ac_file conftest.h 2>/dev/null; then
16123 echo "$ac_file is unchanged"
16126 # Remove last slash and all that follows it. Not all systems have dirname.
16127 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16128 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16129 # The file is in a subdirectory.
16130 test ! -d "$ac_dir" && mkdir "$ac_dir"
16133 mv conftest.h $ac_file
16138 cat >> $CONFIG_STATUS <<EOF
16140 TOOLKIT_DIR="${TOOLKIT_DIR}"
16141 TOOLKIT_NAME="${TOOLKIT_NAME}"
16146 cat >> $CONFIG_STATUS <<\EOF
16149 mv wx-config wx${TOOLKIT_NAME}-config
16150 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
16153 if test ! -d lib; then
16156 if test ! -d lib/wx; then
16159 if test ! -d lib/wx/include; then
16160 mkdir lib/wx/include
16162 if test ! -d lib/wx/include/wx; then
16163 mkdir lib/wx/include/wx
16165 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
16166 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
16168 if test -f setup.h; then
16169 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
16173 if test ! -d include; then
16176 if test ! -d include/wx; then
16179 if test ! -d include/wx/${TOOLKIT_DIR}; then
16180 mkdir include/wx/${TOOLKIT_DIR}
16182 if test -f setup.h; then
16183 cp -fp setup.h include/wx/${TOOLKIT_DIR}/setup.h
16189 chmod +x $CONFIG_STATUS
16190 rm -fr confdefs* $ac_clean_files
16191 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16193 if test "$no_recursion" != yes; then
16195 # Remove --cache-file and --srcdir arguments so they do not pile up.
16196 ac_sub_configure_args=
16198 for ac_arg in $ac_configure_args; do
16199 if test -n "$ac_prev"; then
16204 -cache-file | --cache-file | --cache-fil | --cache-fi \
16205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16206 ac_prev=cache_file ;;
16207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
16210 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16212 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16214 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
16218 for ac_config_dir in demos samples utils contrib; do
16220 # Do not complain, so a configure script can configure whichever
16221 # parts of a large source tree are present.
16222 if test ! -d $srcdir/$ac_config_dir; then
16226 echo configuring in $ac_config_dir
16231 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
16233 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
16241 # A "../" for each directory in /$ac_config_dir.
16242 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
16245 .) # No --srcdir option. We are building in place.
16246 ac_sub_srcdir=$srcdir ;;
16247 /*) # Absolute path.
16248 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
16249 *) # Relative path.
16250 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
16253 # Check for guested configure; otherwise get Cygnus style configure.
16254 if test -f $ac_sub_srcdir/configure; then
16255 ac_sub_configure=$ac_sub_srcdir/configure
16256 elif test -f $ac_sub_srcdir/configure.in; then
16257 ac_sub_configure=$ac_configure
16259 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
16263 # The recursion is here.
16264 if test -n "$ac_sub_configure"; then
16266 # Make the cache file name correct relative to the subdirectory.
16267 case "$cache_file" in
16268 /*) ac_sub_cache_file=$cache_file ;;
16269 *) # Relative path.
16270 ac_sub_cache_file="$ac_dots$cache_file" ;;
16272 case "$ac_given_INSTALL" in
16273 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16274 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16277 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
16278 # The eval makes quoting arguments work.
16279 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
16282 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }