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-snglinst use wxSingleInstanceChecker class"
174 --enable-threads use threads"
176 --enable-serial use class serialization"
178 --enable-docview use document view architecture"
180 --enable-help use help (using external browser at present)"
182 --enable-constraints use layout-constraints system"
184 --enable-printarch use printing architecture"
186 --enable-mdi use multiple document interface architecture"
188 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
190 --enable-prologio use Prolog IO library"
192 --enable-resources use wxWindows resources"
194 --enable-xresources use X resources for save (default for gtk+)"
196 --enable-clipboard use wxClipboard classes"
198 --enable-dnd use Drag'n'Drop classes"
200 --enable-metafile use win32 metafiles"
202 --enable-wxtree make wxTree library"
204 --enable-controls use all usual controls"
206 --enable-accel use accelerators"
208 --enable-caret use wxCaret class"
210 --enable-bmpbutton use wxBitmapButton class"
212 --enable-checkbox use wxCheckBox class"
214 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
216 --enable-choice use wxChoice class"
218 --enable-combobox use wxComboBox classes"
220 --enable-gauge use wxGauge class"
222 --enable-grid use wxGrid class"
224 --enable-newgrid use new wxGrid class"
226 --enable-imaglist use wxImageList class"
228 --enable-listbox use wxListBox class"
230 --enable-listctrl use wxListCtrl class"
232 --enable-notebook use wxNotebook class"
234 --enable-radiobox use wxRadioBox class"
236 --enable-radiobtn use wxRadioButton class"
238 --enable-sash use wxSashWindow class"
240 --enable-scrollbar use wxScrollBar class and scrollable windows"
242 --enable-slider use wxSlider class"
244 --enable-spinbtn use wxSpinButton class"
246 --enable-spinctrl use wxSpinCtrl class"
248 --enable-splitter use wxSplitterWindow class"
250 --enable-statbmp use wxStaticBitmap class"
252 --enable-statbox use wxStaticBox class"
254 --enable-statline use wxStaticLine class"
256 --enable-statusbar use wxStatusBar class"
258 --enable-tabdialog use wxTabControl class"
260 --enable-togglebtn use wxToggleButton class"
262 --enable-toolbar use wxToolBar class"
264 --enable-tbarnative use native wxToolBar class"
266 --enable-tbarsmpl use wxToolBarSimple class"
268 --enable-treectrl use wxTreeCtrl class"
270 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
272 --enable-dirdlg use wxDirDialog"
274 --enable-textdlg use wxTextDialog"
276 --enable-tipdlg use startup tips"
278 --enable-progressdlg use wxProgressDialog"
280 --enable-miniframe use wxMiniFrame class"
282 --enable-html use wxHTML sub-library"
284 --enable-tooltips use wxToolTip class"
286 --enable-splines use spline drawing code"
288 --enable-validators use wxValidator and derived classes"
290 --enable-busyinfo use wxBusyInfo"
292 --enable-joystick compile in joystick support (Linux only)"
294 --enable-image use wxImage class"
296 --enable-gif use gif images (GIF file format)"
298 --enable-pcx use pcx images (PCX file format)"
300 --enable-pnm use pnm images (PNM file format)"
302 --enable-xpm use xpm images (XPM file format)"
304 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
306 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
308 --disable-gtktest Do not try to compile and run a test GTK program"
310 --with-x use the X Window System"
312 # Initialize some variables set by options.
313 # The variables have the same names as the options, with
314 # dashes changed to underlines.
316 cache_file
=.
/config.cache
325 program_transform_name
=s
,x
,x
,
333 bindir
='${exec_prefix}/bin'
334 sbindir
='${exec_prefix}/sbin'
335 libexecdir
='${exec_prefix}/libexec'
336 datadir
='${prefix}/share'
337 sysconfdir
='${prefix}/etc'
338 sharedstatedir
='${prefix}/com'
339 localstatedir
='${prefix}/var'
340 libdir
='${exec_prefix}/lib'
341 includedir
='${prefix}/include'
342 oldincludedir
='/usr/include'
343 infodir
='${prefix}/info'
344 mandir
='${prefix}/man'
346 # Initialize some other variables.
349 SHELL
=${CONFIG_SHELL-/bin/sh}
350 # Maximum number of lines to put in a shell here document.
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
365 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir
="$ac_optarg" ;;
378 -build | --build | --buil | --bui | --bu)
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build
="$ac_optarg" ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
="$ac_optarg" ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir
="$ac_optarg" ;;
396 -disable-* | --disable-*)
397 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
398 # Reject names that are not valid shell variable names.
399 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
400 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
402 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
403 eval "enable_${ac_feature}=no" ;;
405 -enable-* | --enable-*)
406 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
407 # Reject names that are not valid shell variable names.
408 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
409 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
411 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
416 eval "enable_${ac_feature}='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix
="$ac_optarg" ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he)
432 # Omit some internal or obsolete options to make the list less imposing.
433 # This message is too long to be a string in the A/UX 3.1 sh.
435 Usage: configure [options] [host]
436 Options: [defaults in brackets after descriptions]
438 --cache-file=FILE cache test results in FILE
439 --help print this message
440 --no-create do not create output files
441 --quiet, --silent do not print \`checking...' messages
442 --version print the version of autoconf that created configure
443 Directory and file names:
444 --prefix=PREFIX install architecture-independent files in PREFIX
446 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
448 --bindir=DIR user executables in DIR [EPREFIX/bin]
449 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
450 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
451 --datadir=DIR read-only architecture-independent data in DIR
453 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
454 --sharedstatedir=DIR modifiable architecture-independent data in DIR
456 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
457 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
458 --includedir=DIR C header files in DIR [PREFIX/include]
459 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
460 --infodir=DIR info documentation in DIR [PREFIX/info]
461 --mandir=DIR man documentation in DIR [PREFIX/man]
462 --srcdir=DIR find the sources in DIR [configure dir or ..]
463 --program-prefix=PREFIX prepend PREFIX to installed program names
464 --program-suffix=SUFFIX append SUFFIX to installed program names
465 --program-transform-name=PROGRAM
466 run sed PROGRAM on installed program names
470 --build=BUILD configure for building on BUILD [BUILD=HOST]
471 --host=HOST configure for HOST [guessed]
472 --target=TARGET configure for TARGET [TARGET=HOST]
473 Features and packages:
474 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
475 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
476 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
477 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
478 --x-includes=DIR X include files are in DIR
479 --x-libraries=DIR X library files are in DIR
481 if test -n "$ac_help"; then
482 echo "--enable and --with options recognized:$ac_help"
486 -host | --host | --hos | --ho)
488 -host=* | --host=* | --hos=* | --ho=*)
491 -includedir | --includedir | --includedi | --included | --include \
492 | --includ | --inclu | --incl | --inc)
493 ac_prev
=includedir
;;
494 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
495 | --includ=* | --inclu=* | --incl=* | --inc=*)
496 includedir
="$ac_optarg" ;;
498 -infodir | --infodir | --infodi | --infod | --info | --inf)
500 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
501 infodir
="$ac_optarg" ;;
503 -libdir | --libdir | --libdi | --libd)
505 -libdir=* | --libdir=* | --libdi=* | --libd=*)
506 libdir
="$ac_optarg" ;;
508 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
509 | --libexe | --libex | --libe)
510 ac_prev
=libexecdir
;;
511 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
512 | --libexe=* | --libex=* | --libe=*)
513 libexecdir
="$ac_optarg" ;;
515 -localstatedir | --localstatedir | --localstatedi | --localstated \
516 | --localstate | --localstat | --localsta | --localst \
517 | --locals | --local | --loca | --loc | --lo)
518 ac_prev
=localstatedir
;;
519 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
520 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
521 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
522 localstatedir
="$ac_optarg" ;;
524 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
526 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
527 mandir
="$ac_optarg" ;;
530 # Obsolete; use --without-fp.
533 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
537 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
538 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
541 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
542 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
543 | --oldin | --oldi | --old | --ol | --o)
544 ac_prev
=oldincludedir
;;
545 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
546 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
547 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
548 oldincludedir
="$ac_optarg" ;;
550 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
552 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
553 prefix
="$ac_optarg" ;;
555 -program-prefix | --program-prefix | --program-prefi | --program-pref \
556 | --program-pre | --program-pr | --program-p)
557 ac_prev
=program_prefix
;;
558 -program-prefix=* | --program-prefix=* | --program-prefi=* \
559 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
560 program_prefix
="$ac_optarg" ;;
562 -program-suffix | --program-suffix | --program-suffi | --program-suff \
563 | --program-suf | --program-su | --program-s)
564 ac_prev
=program_suffix
;;
565 -program-suffix=* | --program-suffix=* | --program-suffi=* \
566 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
567 program_suffix
="$ac_optarg" ;;
569 -program-transform-name | --program-transform-name \
570 | --program-transform-nam | --program-transform-na \
571 | --program-transform-n | --program-transform- \
572 | --program-transform | --program-transfor \
573 | --program-transfo | --program-transf \
574 | --program-trans | --program-tran \
575 | --progr-tra | --program-tr | --program-t)
576 ac_prev
=program_transform_name
;;
577 -program-transform-name=* | --program-transform-name=* \
578 | --program-transform-nam=* | --program-transform-na=* \
579 | --program-transform-n=* | --program-transform-=* \
580 | --program-transform=* | --program-transfor=* \
581 | --program-transfo=* | --program-transf=* \
582 | --program-trans=* | --program-tran=* \
583 | --progr-tra=* | --program-tr=* | --program-t=*)
584 program_transform_name
="$ac_optarg" ;;
586 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
587 | -silent | --silent | --silen | --sile | --sil)
590 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
592 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
594 sbindir
="$ac_optarg" ;;
596 -sharedstatedir | --sharedstatedir | --sharedstatedi \
597 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
598 | --sharedst | --shareds | --shared | --share | --shar \
600 ac_prev
=sharedstatedir
;;
601 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
602 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
603 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
605 sharedstatedir
="$ac_optarg" ;;
607 -site | --site | --sit)
609 -site=* | --site=* | --sit=*)
612 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
614 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
615 srcdir
="$ac_optarg" ;;
617 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
618 | --syscon | --sysco | --sysc | --sys | --sy)
619 ac_prev
=sysconfdir
;;
620 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
621 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
622 sysconfdir
="$ac_optarg" ;;
624 -target | --target | --targe | --targ | --tar | --ta | --t)
626 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
627 target
="$ac_optarg" ;;
629 -v | -verbose | --verbose | --verbos | --verbo | --verb)
632 -version | --version | --versio | --versi | --vers)
633 echo "configure generated by autoconf version 2.13"
637 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
638 # Reject names that are not valid shell variable names.
639 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
640 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
642 ac_package
=`echo $ac_package| sed 's/-/_/g'`
647 eval "with_${ac_package}='$ac_optarg'" ;;
649 -without-* | --without-*)
650 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
651 # Reject names that are not valid shell variable names.
652 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
653 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
655 ac_package
=`echo $ac_package| sed 's/-/_/g'`
656 eval "with_${ac_package}=no" ;;
659 # Obsolete; use --with-x.
662 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
663 | --x-incl | --x-inc | --x-in | --x-i)
664 ac_prev
=x_includes
;;
665 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
666 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
667 x_includes
="$ac_optarg" ;;
669 -x-libraries | --x-libraries | --x-librarie | --x-librari \
670 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
671 ac_prev
=x_libraries
;;
672 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
673 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
674 x_libraries
="$ac_optarg" ;;
676 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
680 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
681 echo "configure: warning: $ac_option: invalid host type" 1>&2
683 if test "x$nonopt" != xNONE
; then
684 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
692 if test -n "$ac_prev"; then
693 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
696 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
698 # File descriptor usage:
701 # 2 errors and warnings
702 # 3 some systems may open it to /dev/tty
703 # 4 used on the Kubota Titan
704 # 6 checking for... messages and results
705 # 5 compiler messages saved in config.log
706 if test "$silent" = yes; then
714 This file contains any messages produced by compilers while
715 running configure, to aid debugging if configure makes a mistake.
718 # Strip out --no-create and --no-recursion so they do not pile up.
719 # Also quote any args containing shell metacharacters.
724 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
725 | --no-cr | --no-c) ;;
726 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
727 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
728 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
729 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
730 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
735 # Only set these to C if already set. These must not be set unconditionally
736 # because not all systems understand e.g. LANG=C (notably SCO).
737 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
738 # Non-C LC_CTYPE values break the ctype check.
739 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
740 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
741 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
742 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
744 # confdefs.h avoids OS command line length limits that DEFS can exceed.
745 rm -rf conftest
* confdefs.h
746 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
749 # A filename unique to this package, relative to the directory that
750 # configure is in, which we can look for to find out if srcdir is correct.
751 ac_unique_file
=wx
-config.
in
753 # Find the source files, if location was not specified.
754 if test -z "$srcdir"; then
755 ac_srcdir_defaulted
=yes
756 # Try the directory containing this script, then its parent.
758 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
759 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
761 if test ! -r $srcdir/$ac_unique_file; then
765 ac_srcdir_defaulted
=no
767 if test ! -r $srcdir/$ac_unique_file; then
768 if test "$ac_srcdir_defaulted" = yes; then
769 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
771 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
774 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
776 # Prefer explicitly selected file to automatically selected ones.
777 if test -z "$CONFIG_SITE"; then
778 if test "x$prefix" != xNONE
; then
779 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
781 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
784 for ac_site_file
in $CONFIG_SITE; do
785 if test -r "$ac_site_file"; then
786 echo "loading site script $ac_site_file"
791 if test -r "$cache_file"; then
792 echo "loading cache $cache_file"
795 echo "creating cache $cache_file"
800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
801 ac_cpp
='$CPP $CPPFLAGS'
802 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
803 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
804 cross_compiling
=$ac_cv_prog_cc_cross
808 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
809 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
810 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
817 ac_n
= ac_c
='\c' ac_t
=
823 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
824 if test -f $ac_dir/install-sh; then
826 ac_install_sh
="$ac_aux_dir/install-sh -c"
828 elif test -f $ac_dir/install.sh
; then
830 ac_install_sh
="$ac_aux_dir/install.sh -c"
834 if test -z "$ac_aux_dir"; then
835 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
837 ac_config_guess
=$ac_aux_dir/config.guess
838 ac_config_sub
=$ac_aux_dir/config.sub
839 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
842 # Do some error checking and defaulting for the host and target type.
844 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
847 # 1. You are not allowed to specify --host, --target, and nonopt at the
849 # 2. Host defaults to nonopt.
850 # 3. If nonopt is not specified, then host defaults to the current host,
851 # as determined by config.guess.
852 # 4. Target and build default to nonopt.
853 # 5. If nonopt is not specified, then target and build default to host.
855 # The aliases save the names the user supplied, while $host etc.
856 # will get canonicalized.
857 case $host---$target---$nonopt in
858 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
859 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
863 # Make sure we can run config.sub.
864 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
865 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
868 echo $ac_n "checking host system type""... $ac_c" 1>&6
869 echo "configure:870: checking host system type" >&5
872 case "$host_alias" in
876 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
877 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
879 *) host_alias
=$nonopt ;;
883 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
884 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
885 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
886 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
887 echo "$ac_t""$host" 1>&6
889 echo $ac_n "checking target system type""... $ac_c" 1>&6
890 echo "configure:891: checking target system type" >&5
893 case "$target_alias" in
896 NONE
) target_alias
=$host_alias ;;
897 *) target_alias
=$nonopt ;;
901 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
902 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
903 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
904 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
905 echo "$ac_t""$target" 1>&6
907 echo $ac_n "checking build system type""... $ac_c" 1>&6
908 echo "configure:909: checking build system type" >&5
911 case "$build_alias" in
914 NONE
) build_alias
=$host_alias ;;
915 *) build_alias
=$nonopt ;;
919 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
920 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
921 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
922 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
923 echo "$ac_t""$build" 1>&6
925 test "$host_alias" != "$target_alias" &&
926 test "$program_prefix$program_suffix$program_transform_name" = \
928 program_prefix
=${target_alias}-
932 WX_MAJOR_VERSION_NUMBER
=2
933 WX_MINOR_VERSION_NUMBER
=3
936 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
937 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
971 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
973 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF MAC WINE PM"
976 DEFAULT_wxUSE_MOTIF
=0
982 DEFAULT_DEFAULT_wxUSE_GTK
=0
983 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
984 DEFAULT_DEFAULT_wxUSE_MSW
=0
985 DEFAULT_DEFAULT_wxUSE_MAC
=0
986 DEFAULT_DEFAULT_wxUSE_WINE
=0
987 DEFAULT_DEFAULT_wxUSE_PM
=0
994 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
995 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
996 cat >> confdefs.h
<<\EOF
1003 cat >> confdefs.h
<<\EOF
1008 if test "x$TMP" = "xalpha"; then
1010 cat >> confdefs.h
<<\EOF
1015 DEFAULT_DEFAULT_wxUSE_GTK
=1
1017 *-*-irix5* | *-*-irix6* )
1020 cat >> confdefs.h
<<\EOF
1024 cat >> confdefs.h
<<\EOF
1028 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1034 cat >> confdefs.h
<<\EOF
1038 cat >> confdefs.h
<<\EOF
1039 #define __SOLARIS__ 1
1042 cat >> confdefs.h
<<\EOF
1046 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1047 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1053 cat >> confdefs.h
<<\EOF
1057 cat >> confdefs.h
<<\EOF
1061 cat >> confdefs.h
<<\EOF
1065 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 cat >> confdefs.h
<<\EOF
1071 #define __FREEBSD__ 1
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_GTK
=1
1083 cat >> confdefs.h
<<\EOF
1084 #define __FREEBSD__ 1
1087 cat >> confdefs.h
<<\EOF
1088 #define __OPENBSD__ 1
1091 DEFAULT_DEFAULT_wxUSE_GTK
=1
1096 cat >> confdefs.h
<<\EOF
1097 #define __FREEBSD__ 1
1100 cat >> confdefs.h
<<\EOF
1101 #define __NETBSD__ 1
1104 DEFAULT_DEFAULT_wxUSE_GTK
=1
1109 cat >> confdefs.h
<<\EOF
1113 cat >> confdefs.h
<<\EOF
1117 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1118 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1123 cat >> confdefs.h
<<\EOF
1127 cat >> confdefs.h
<<\EOF
1131 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1136 cat >> confdefs.h
<<\EOF
1140 cat >> confdefs.h
<<\EOF
1144 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1150 cat >> confdefs.h
<<\EOF
1154 cat >> confdefs.h
<<\EOF
1158 cat >> confdefs.h
<<\EOF
1162 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1165 *-*-cygwin* | *-*-mingw32* )
1168 cat >> confdefs.h
<<\EOF
1172 cat >> confdefs.h
<<\EOF
1176 cat >> confdefs.h
<<\EOF
1177 #define __WINDOWS__ 1
1180 cat >> confdefs.h
<<\EOF
1181 #define __GNUWIN32__ 1
1184 cat >> confdefs.h
<<\EOF
1188 cat >> confdefs.h
<<\EOF
1189 #define WINVER 0x0400
1193 DEFAULT_DEFAULT_wxUSE_MSW
=1
1197 cat >> confdefs.h
<<\EOF
1202 DEFAULT_DEFAULT_wxUSE_PM
=1
1208 cat >> confdefs.h
<<\EOF
1212 cat >> confdefs.h
<<\EOF
1216 cat >> confdefs.h
<<\EOF
1220 DEFAULT_DEFAULT_wxUSE_MAC
=1
1225 cat >> confdefs.h
<<\EOF
1232 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1235 if test "$USE_UNIX" = 1 ; then
1237 cat >> confdefs.h
<<\EOF
1242 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1243 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1246 if test "$USE_BEOS" = 1; then
1247 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1248 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1251 if test "$USE_LINUX" = 1; then
1252 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1253 echo "configure:1254: checking for gettext in -lc" >&5
1254 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1256 echo $ac_n "(cached) $ac_c" 1>&6
1258 ac_save_LIBS
="$LIBS"
1260 cat > conftest.
$ac_ext <<EOF
1261 #line 1262 "configure"
1262 #include "confdefs.h"
1263 /* Override any gcc2 internal prototype to avoid an error. */
1264 /* We use char because int might match the return type of a gcc2
1265 builtin and then its argument prototype would still apply. */
1272 if { (eval echo configure
:1273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1274 eval "ac_cv_lib_$ac_lib_var=yes"
1276 echo "configure: failed program was:" >&5
1277 cat conftest.
$ac_ext >&5
1279 eval "ac_cv_lib_$ac_lib_var=no"
1282 LIBS
="$ac_save_LIBS"
1285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1286 echo "$ac_t""yes" 1>&6
1287 cat >> confdefs.h
<<\EOF
1288 #define wxHAVE_GLIBC2 1
1292 echo "$ac_t""no" 1>&6
1300 wx_arg_cache_file
="configarg.cache"
1301 echo "loading argument cache $wx_arg_cache_file"
1302 rm -f ${wx_arg_cache_file}.tmp
1303 touch ${wx_arg_cache_file}.tmp
1304 touch ${wx_arg_cache_file}
1308 if test $DEBUG_CONFIGURE = 1; then
1309 DEFAULT_wxUSE_THREADS
=yes
1311 DEFAULT_wxUSE_SHARED
=yes
1312 DEFAULT_wxUSE_BURNT_NAME
=no
1313 DEFAULT_wxUSE_OPTIMISE
=yes
1314 DEFAULT_wxUSE_PROFILE
=no
1315 DEFAULT_wxUSE_NO_DEPS
=no
1316 DEFAULT_wxUSE_NO_RTTI
=no
1317 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1318 DEFAULT_wxUSE_PERMISSIVE
=no
1319 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1320 DEFAULT_wxUSE_DEBUG_INFO
=yes
1321 DEFAULT_wxUSE_DEBUG_GDB
=yes
1322 DEFAULT_wxUSE_MEM_TRACING
=no
1323 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1324 DEFAULT_wxUSE_DMALLOC
=no
1325 DEFAULT_wxUSE_APPLE_IEEE
=no
1327 DEFAULT_wxUSE_LOG
=yes
1329 DEFAULT_wxUSE_GUI
=yes
1331 DEFAULT_wxUSE_ZLIB
=no
1332 DEFAULT_wxUSE_LIBPNG
=no
1333 DEFAULT_wxUSE_LIBJPEG
=no
1334 DEFAULT_wxUSE_LIBTIFF
=no
1335 DEFAULT_wxUSE_ODBC
=no
1336 DEFAULT_wxUSE_FREETYPE
=no
1337 DEFAULT_wxUSE_OPENGL
=no
1339 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1340 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1341 DEFAULT_wxUSE_STD_IOSTREAM
=no
1342 DEFAULT_wxUSE_FILE
=no
1343 DEFAULT_wxUSE_TEXTFILE
=no
1344 DEFAULT_wxUSE_TIMEDATE
=no
1345 DEFAULT_wxUSE_WAVE
=no
1346 DEFAULT_wxUSE_INTL
=no
1347 DEFAULT_wxUSE_CONFIG
=no
1348 DEFAULT_wxUSE_STREAMS
=no
1349 DEFAULT_wxUSE_SOCKETS
=no
1350 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1351 DEFAULT_wxUSE_SERIAL
=no
1352 DEFAULT_wxUSE_JOYSTICK
=no
1353 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1354 DEFAULT_wxUSE_LONGLONG
=no
1355 DEFAULT_wxUSE_GEOMETRY
=no
1357 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1358 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1359 DEFAULT_wxUSE_POSTSCRIPT
=no
1361 DEFAULT_wxUSE_X_RESOURCES
=no
1362 DEFAULT_wxUSE_CLIPBOARD
=no
1363 DEFAULT_wxUSE_TOOLTIPS
=no
1364 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1365 DEFAULT_wxUSE_SPLINES
=no
1367 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1368 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1369 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1371 DEFAULT_wxUSE_PROLOGIO
=no
1372 DEFAULT_wxUSE_RESOURCES
=no
1373 DEFAULT_wxUSE_CONSTRAINTS
=no
1374 DEFAULT_wxUSE_IPC
=no
1375 DEFAULT_wxUSE_HELP
=no
1376 DEFAULT_wxUSE_WXTREE
=no
1377 DEFAULT_wxUSE_METAFILE
=no
1379 DEFAULT_wxUSE_COMMONDLGS
=no
1380 DEFAULT_wxUSE_DIRDLG
=no
1381 DEFAULT_wxUSE_TEXTDLG
=no
1382 DEFAULT_wxUSE_STARTUP_TIPS
=no
1383 DEFAULT_wxUSE_PROGRESSDLG
=no
1384 DEFAULT_wxUSE_MINIFRAME
=no
1385 DEFAULT_wxUSE_HTML
=no
1386 DEFAULT_wxUSE_FILESYSTEM
=no
1387 DEFAULT_wxUSE_FS_INET
=no
1388 DEFAULT_wxUSE_FS_ZIP
=no
1389 DEFAULT_wxUSE_BUSYINFO
=no
1390 DEFAULT_wxUSE_ZIPSTREAM
=no
1391 DEFAULT_wxUSE_VALIDATORS
=yes
1393 DEFAULT_wxUSE_ACCEL
=no
1394 DEFAULT_wxUSE_CARET
=no
1395 DEFAULT_wxUSE_BMPBUTTON
=no
1396 DEFAULT_wxUSE_CHECKBOX
=no
1397 DEFAULT_wxUSE_CHECKLST
=no
1398 DEFAULT_wxUSE_CHOICE
=yes
1399 DEFAULT_wxUSE_COMBOBOX
=no
1400 DEFAULT_wxUSE_GAUGE
=no
1401 DEFAULT_wxUSE_GRID
=no
1402 DEFAULT_wxUSE_NEW_GRID
=no
1403 DEFAULT_wxUSE_IMAGLIST
=no
1404 DEFAULT_wxUSE_LISTBOX
=no
1405 DEFAULT_wxUSE_LISTCTRL
=no
1406 DEFAULT_wxUSE_NOTEBOOK
=no
1407 DEFAULT_wxUSE_RADIOBOX
=no
1408 DEFAULT_wxUSE_RADIOBTN
=no
1409 DEFAULT_wxUSE_SASH
=no
1410 DEFAULT_wxUSE_SCROLLBAR
=no
1411 DEFAULT_wxUSE_SLIDER
=no
1412 DEFAULT_wxUSE_SPINBTN
=no
1413 DEFAULT_wxUSE_SPINCTRL
=no
1414 DEFAULT_wxUSE_SPLITTER
=no
1415 DEFAULT_wxUSE_STATBMP
=no
1416 DEFAULT_wxUSE_STATBOX
=no
1417 DEFAULT_wxUSE_STATLINE
=no
1418 DEFAULT_wxUSE_STATUSBAR
=yes
1419 DEFAULT_wxUSE_TABDIALOG
=no
1420 DEFAULT_wxUSE_TOGGLEBTN
=no
1421 DEFAULT_wxUSE_TOOLBAR
=no
1422 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1423 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1424 DEFAULT_wxUSE_TREECTRL
=no
1426 DEFAULT_wxUSE_UNICODE
=no
1427 DEFAULT_wxUSE_WCSRTOMBS
=no
1429 DEFAULT_wxUSE_IMAGE
=no
1430 DEFAULT_wxUSE_GIF
=no
1431 DEFAULT_wxUSE_PCX
=no
1432 DEFAULT_wxUSE_PNM
=no
1433 DEFAULT_wxUSE_XPM
=no
1435 DEFAULT_wxUSE_THREADS
=yes
1437 DEFAULT_wxUSE_SHARED
=yes
1438 DEFAULT_wxUSE_BURNT_NAME
=no
1439 DEFAULT_wxUSE_OPTIMISE
=yes
1440 DEFAULT_wxUSE_PROFILE
=no
1441 DEFAULT_wxUSE_NO_DEPS
=no
1442 DEFAULT_wxUSE_NO_RTTI
=no
1443 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1444 DEFAULT_wxUSE_PERMISSIVE
=no
1445 DEFAULT_wxUSE_DEBUG_FLAG
=no
1446 DEFAULT_wxUSE_DEBUG_INFO
=no
1447 DEFAULT_wxUSE_DEBUG_GDB
=no
1448 DEFAULT_wxUSE_MEM_TRACING
=no
1449 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1450 DEFAULT_wxUSE_DMALLOC
=no
1451 DEFAULT_wxUSE_APPLE_IEEE
=yes
1453 DEFAULT_wxUSE_LOG
=yes
1455 DEFAULT_wxUSE_GUI
=yes
1457 DEFAULT_wxUSE_ZLIB
=yes
1458 DEFAULT_wxUSE_LIBPNG
=yes
1459 DEFAULT_wxUSE_LIBJPEG
=yes
1460 DEFAULT_wxUSE_LIBTIFF
=yes
1461 DEFAULT_wxUSE_ODBC
=no
1462 DEFAULT_wxUSE_FREETYPE
=no
1463 DEFAULT_wxUSE_OPENGL
=no
1465 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1466 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1467 DEFAULT_wxUSE_STD_IOSTREAM
=no
1468 DEFAULT_wxUSE_FILE
=yes
1469 DEFAULT_wxUSE_TEXTFILE
=yes
1470 DEFAULT_wxUSE_TIMEDATE
=yes
1471 DEFAULT_wxUSE_WAVE
=no
1472 DEFAULT_wxUSE_INTL
=yes
1473 DEFAULT_wxUSE_CONFIG
=yes
1474 DEFAULT_wxUSE_STREAMS
=yes
1475 DEFAULT_wxUSE_SOCKETS
=yes
1476 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1477 DEFAULT_wxUSE_SERIAL
=yes
1478 DEFAULT_wxUSE_JOYSTICK
=yes
1479 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1480 DEFAULT_wxUSE_LONGLONG
=yes
1481 DEFAULT_wxUSE_GEOMETRY
=yes
1483 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1484 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1485 DEFAULT_wxUSE_POSTSCRIPT
=yes
1487 DEFAULT_wxUSE_X_RESOURCES
=no
1488 DEFAULT_wxUSE_CLIPBOARD
=yes
1489 DEFAULT_wxUSE_TOOLTIPS
=yes
1490 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1491 DEFAULT_wxUSE_SPLINES
=yes
1493 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1494 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1495 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1497 DEFAULT_wxUSE_PROLOGIO
=yes
1498 DEFAULT_wxUSE_RESOURCES
=yes
1499 DEFAULT_wxUSE_CONSTRAINTS
=yes
1500 DEFAULT_wxUSE_IPC
=yes
1501 DEFAULT_wxUSE_HELP
=yes
1502 DEFAULT_wxUSE_WXTREE
=yes
1503 DEFAULT_wxUSE_METAFILE
=yes
1505 DEFAULT_wxUSE_COMMONDLGS
=yes
1506 DEFAULT_wxUSE_DIRDLG
=yes
1507 DEFAULT_wxUSE_TEXTDLG
=yes
1508 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1509 DEFAULT_wxUSE_PROGRESSDLG
=yes
1510 DEFAULT_wxUSE_MINIFRAME
=yes
1511 DEFAULT_wxUSE_HTML
=yes
1512 DEFAULT_wxUSE_FILESYSTEM
=yes
1513 DEFAULT_wxUSE_FS_INET
=yes
1514 DEFAULT_wxUSE_FS_ZIP
=yes
1515 DEFAULT_wxUSE_BUSYINFO
=yes
1516 DEFAULT_wxUSE_ZIPSTREAM
=yes
1517 DEFAULT_wxUSE_VALIDATORS
=yes
1519 DEFAULT_wxUSE_ACCEL
=yes
1520 DEFAULT_wxUSE_CARET
=yes
1521 DEFAULT_wxUSE_BMPBUTTON
=yes
1522 DEFAULT_wxUSE_CHECKBOX
=yes
1523 DEFAULT_wxUSE_CHECKLST
=yes
1524 DEFAULT_wxUSE_CHOICE
=yes
1525 DEFAULT_wxUSE_COMBOBOX
=yes
1526 DEFAULT_wxUSE_GAUGE
=yes
1527 DEFAULT_wxUSE_GRID
=yes
1528 DEFAULT_wxUSE_NEW_GRID
=yes
1529 DEFAULT_wxUSE_IMAGLIST
=yes
1530 DEFAULT_wxUSE_LISTBOX
=yes
1531 DEFAULT_wxUSE_LISTCTRL
=yes
1532 DEFAULT_wxUSE_NOTEBOOK
=yes
1533 DEFAULT_wxUSE_RADIOBOX
=yes
1534 DEFAULT_wxUSE_RADIOBTN
=yes
1535 DEFAULT_wxUSE_SASH
=yes
1536 DEFAULT_wxUSE_SCROLLBAR
=yes
1537 DEFAULT_wxUSE_SLIDER
=yes
1538 DEFAULT_wxUSE_SPINBTN
=yes
1539 DEFAULT_wxUSE_SPINCTRL
=yes
1540 DEFAULT_wxUSE_SPLITTER
=yes
1541 DEFAULT_wxUSE_STATBMP
=yes
1542 DEFAULT_wxUSE_STATBOX
=yes
1543 DEFAULT_wxUSE_STATLINE
=yes
1544 DEFAULT_wxUSE_STATUSBAR
=yes
1545 DEFAULT_wxUSE_TABDIALOG
=no
1546 DEFAULT_wxUSE_TOGGLEBTN
=yes
1547 DEFAULT_wxUSE_TOOLBAR
=yes
1548 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1549 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1550 DEFAULT_wxUSE_TREECTRL
=yes
1552 DEFAULT_wxUSE_UNICODE
=no
1553 DEFAULT_wxUSE_WCSRTOMBS
=no
1555 DEFAULT_wxUSE_IMAGE
=yes
1556 DEFAULT_wxUSE_GIF
=yes
1557 DEFAULT_wxUSE_PCX
=yes
1558 DEFAULT_wxUSE_PNM
=yes
1559 DEFAULT_wxUSE_XPM
=yes
1564 for toolkit
in `echo $ALL_TOOLKITS`; do
1565 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1566 if test "x$LINE" != x
; then
1567 has_toolkit_in_cache
=1
1568 eval "DEFAULT_$LINE"
1569 eval "CACHE_$toolkit=1"
1575 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1576 echo "configure:1577: checking for --enable-gui" >&5
1578 # Check whether --enable-gui or --disable-gui was given.
1579 if test "${enable_gui+set}" = set; then
1580 enableval
="$enable_gui"
1582 if test "$enableval" = yes; then
1583 ac_cv_use_gui
='wxUSE_GUI=yes'
1585 ac_cv_use_gui
='wxUSE_GUI=no'
1590 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1591 if test "x$LINE" != x
; then
1592 eval "DEFAULT_$LINE"
1597 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1602 eval "$ac_cv_use_gui"
1603 if test "$no_cache" != 1; then
1604 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1607 if test "$wxUSE_GUI" = yes; then
1608 echo "$ac_t""yes" 1>&6
1610 echo "$ac_t""no" 1>&6
1614 if test "$wxUSE_GUI" = "yes"; then
1616 # Check whether --with-gtk or --without-gtk was given.
1617 if test "${with_gtk+set}" = set; then
1619 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1622 # Check whether --with-motif or --without-motif was given.
1623 if test "${with_motif+set}" = set; then
1624 withval
="$with_motif"
1625 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1628 # Check whether --with-mac or --without-mac was given.
1629 if test "${with_mac+set}" = set; then
1631 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1634 # Check whether --with-wine or --without-wine was given.
1635 if test "${with_wine+set}" = set; then
1636 withval
="$with_wine"
1637 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1640 # Check whether --with-cygwin or --without-cygwin was given.
1641 if test "${with_cygwin+set}" = set; then
1642 withval
="$with_cygwin"
1643 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1646 # Check whether --with-mingw or --without-mingw was given.
1647 if test "${with_mingw+set}" = set; then
1648 withval
="$with_mingw"
1649 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1652 # Check whether --with-pm or --without-pm was given.
1653 if test "${with_pm+set}" = set; then
1655 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1659 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1660 if test "${with_gtk_prefix+set}" = set; then
1661 withval
="$with_gtk_prefix"
1662 gtk_config_prefix
="$withval"
1664 gtk_config_prefix
=""
1667 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1668 if test "${with_gtk_exec_prefix+set}" = set; then
1669 withval
="$with_gtk_exec_prefix"
1670 gtk_config_exec_prefix
="$withval"
1672 gtk_config_exec_prefix
=""
1677 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1678 echo "configure:1679: checking for --with-libpng" >&5
1680 # Check whether --with-libpng or --without-libpng was given.
1681 if test "${with_libpng+set}" = set; then
1682 withval
="$with_libpng"
1684 if test "$withval" = yes; then
1685 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1686 elif test "$withval" = no
; then
1687 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1688 elif test "$withval" = sys
; then
1689 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1691 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1696 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1697 if test "x$LINE" != x
; then
1698 eval "DEFAULT_$LINE"
1703 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1708 eval "$ac_cv_use_libpng"
1709 if test "$no_cache" != 1; then
1710 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1713 if test "$wxUSE_LIBPNG" = yes; then
1714 echo "$ac_t""yes" 1>&6
1715 elif test "$wxUSE_LIBPNG" = no
; then
1716 echo "$ac_t""no" 1>&6
1717 elif test "$wxUSE_LIBPNG" = sys
; then
1718 echo "$ac_t""system version" 1>&6
1720 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1724 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1725 echo "configure:1726: checking for --with-libjpeg" >&5
1727 # Check whether --with-libjpeg or --without-libjpeg was given.
1728 if test "${with_libjpeg+set}" = set; then
1729 withval
="$with_libjpeg"
1731 if test "$withval" = yes; then
1732 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1733 elif test "$withval" = no
; then
1734 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1735 elif test "$withval" = sys
; then
1736 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1738 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1743 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1744 if test "x$LINE" != x
; then
1745 eval "DEFAULT_$LINE"
1750 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1755 eval "$ac_cv_use_libjpeg"
1756 if test "$no_cache" != 1; then
1757 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1760 if test "$wxUSE_LIBJPEG" = yes; then
1761 echo "$ac_t""yes" 1>&6
1762 elif test "$wxUSE_LIBJPEG" = no
; then
1763 echo "$ac_t""no" 1>&6
1764 elif test "$wxUSE_LIBJPEG" = sys
; then
1765 echo "$ac_t""system version" 1>&6
1767 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1771 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1772 echo "configure:1773: checking for --with-libtiff" >&5
1774 # Check whether --with-libtiff or --without-libtiff was given.
1775 if test "${with_libtiff+set}" = set; then
1776 withval
="$with_libtiff"
1778 if test "$withval" = yes; then
1779 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1780 elif test "$withval" = no
; then
1781 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1782 elif test "$withval" = sys
; then
1783 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1785 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1790 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1791 if test "x$LINE" != x
; then
1792 eval "DEFAULT_$LINE"
1797 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1802 eval "$ac_cv_use_libtiff"
1803 if test "$no_cache" != 1; then
1804 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1807 if test "$wxUSE_LIBTIFF" = yes; then
1808 echo "$ac_t""yes" 1>&6
1809 elif test "$wxUSE_LIBTIFF" = no
; then
1810 echo "$ac_t""no" 1>&6
1811 elif test "$wxUSE_LIBTIFF" = sys
; then
1812 echo "$ac_t""system version" 1>&6
1814 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1818 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1819 echo "configure:1820: checking for --with-freetype" >&5
1821 # Check whether --with-freetype or --without-freetype was given.
1822 if test "${with_freetype+set}" = set; then
1823 withval
="$with_freetype"
1825 if test "$withval" = yes; then
1826 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1827 elif test "$withval" = no
; then
1828 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1829 elif test "$withval" = sys
; then
1830 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1832 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1837 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1838 if test "x$LINE" != x
; then
1839 eval "DEFAULT_$LINE"
1844 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1849 eval "$ac_cv_use_freetype"
1850 if test "$no_cache" != 1; then
1851 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1854 if test "$wxUSE_FREETYPE" = yes; then
1855 echo "$ac_t""yes" 1>&6
1856 elif test "$wxUSE_FREETYPE" = no
; then
1857 echo "$ac_t""no" 1>&6
1858 elif test "$wxUSE_FREETYPE" = sys
; then
1859 echo "$ac_t""system version" 1>&6
1861 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1865 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
1866 echo "configure:1867: checking for --with-opengl" >&5
1868 # Check whether --with-opengl or --without-opengl was given.
1869 if test "${with_opengl+set}" = set; then
1870 withval
="$with_opengl"
1872 if test "$withval" = yes; then
1873 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1875 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1880 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x
; then
1882 eval "DEFAULT_$LINE"
1887 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1892 eval "$ac_cv_use_opengl"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1897 if test "$wxUSE_OPENGL" = yes; then
1898 echo "$ac_t""yes" 1>&6
1900 echo "$ac_t""no" 1>&6
1907 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
1908 echo "configure:1909: checking for --with-dmalloc" >&5
1910 # Check whether --with-dmalloc or --without-dmalloc was given.
1911 if test "${with_dmalloc+set}" = set; then
1912 withval
="$with_dmalloc"
1914 if test "$withval" = yes; then
1915 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1917 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1922 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1923 if test "x$LINE" != x
; then
1924 eval "DEFAULT_$LINE"
1929 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1934 eval "$ac_cv_use_dmalloc"
1935 if test "$no_cache" != 1; then
1936 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1939 if test "$wxUSE_DMALLOC" = yes; then
1940 echo "$ac_t""yes" 1>&6
1942 echo "$ac_t""no" 1>&6
1946 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
1947 echo "configure:1948: checking for --with-zlib" >&5
1949 # Check whether --with-zlib or --without-zlib was given.
1950 if test "${with_zlib+set}" = set; then
1951 withval
="$with_zlib"
1953 if test "$withval" = yes; then
1954 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1955 elif test "$withval" = no
; then
1956 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1957 elif test "$withval" = sys
; then
1958 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1960 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1965 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1966 if test "x$LINE" != x
; then
1967 eval "DEFAULT_$LINE"
1972 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1977 eval "$ac_cv_use_zlib"
1978 if test "$no_cache" != 1; then
1979 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1982 if test "$wxUSE_ZLIB" = yes; then
1983 echo "$ac_t""yes" 1>&6
1984 elif test "$wxUSE_ZLIB" = no
; then
1985 echo "$ac_t""no" 1>&6
1986 elif test "$wxUSE_ZLIB" = sys
; then
1987 echo "$ac_t""system version" 1>&6
1989 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1993 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
1994 echo "configure:1995: checking for --with-odbc" >&5
1996 # Check whether --with-odbc or --without-odbc was given.
1997 if test "${with_odbc+set}" = set; then
1998 withval
="$with_odbc"
2000 if test "$withval" = yes; then
2001 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2003 ac_cv_use_odbc
='wxUSE_ODBC=no'
2008 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2009 if test "x$LINE" != x
; then
2010 eval "DEFAULT_$LINE"
2015 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2020 eval "$ac_cv_use_odbc"
2021 if test "$no_cache" != 1; then
2022 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2025 if test "$wxUSE_ODBC" = yes; then
2026 echo "$ac_t""yes" 1>&6
2028 echo "$ac_t""no" 1>&6
2035 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2036 echo "configure:2037: checking for --enable-shared" >&5
2038 # Check whether --enable-shared or --disable-shared was given.
2039 if test "${enable_shared+set}" = set; then
2040 enableval
="$enable_shared"
2042 if test "$enableval" = yes; then
2043 ac_cv_use_shared
='wxUSE_SHARED=yes'
2045 ac_cv_use_shared
='wxUSE_SHARED=no'
2050 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2051 if test "x$LINE" != x
; then
2052 eval "DEFAULT_$LINE"
2057 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2062 eval "$ac_cv_use_shared"
2063 if test "$no_cache" != 1; then
2064 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2067 if test "$wxUSE_SHARED" = yes; then
2068 echo "$ac_t""yes" 1>&6
2070 echo "$ac_t""no" 1>&6
2074 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2075 echo "configure:2076: checking for --enable-burnt_name" >&5
2077 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2078 if test "${enable_burnt_name+set}" = set; then
2079 enableval
="$enable_burnt_name"
2081 if test "$enableval" = yes; then
2082 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2084 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2089 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2090 if test "x$LINE" != x
; then
2091 eval "DEFAULT_$LINE"
2096 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2101 eval "$ac_cv_use_burnt_name"
2102 if test "$no_cache" != 1; then
2103 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2106 if test "$wxUSE_BURNT_NAME" = yes; then
2107 echo "$ac_t""yes" 1>&6
2109 echo "$ac_t""no" 1>&6
2113 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2114 echo "configure:2115: checking for --enable-optimise" >&5
2116 # Check whether --enable-optimise or --disable-optimise was given.
2117 if test "${enable_optimise+set}" = set; then
2118 enableval
="$enable_optimise"
2120 if test "$enableval" = yes; then
2121 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2123 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2128 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2129 if test "x$LINE" != x
; then
2130 eval "DEFAULT_$LINE"
2135 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2140 eval "$ac_cv_use_optimise"
2141 if test "$no_cache" != 1; then
2142 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2145 if test "$wxUSE_OPTIMISE" = yes; then
2146 echo "$ac_t""yes" 1>&6
2148 echo "$ac_t""no" 1>&6
2152 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2153 echo "configure:2154: checking for --enable-debug" >&5
2155 # Check whether --enable-debug or --disable-debug was given.
2156 if test "${enable_debug+set}" = set; then
2157 enableval
="$enable_debug"
2159 if test "$enableval" = yes; then
2160 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2162 ac_cv_use_debug
='wxUSE_DEBUG=no'
2167 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2168 if test "x$LINE" != x
; then
2169 eval "DEFAULT_$LINE"
2174 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2179 eval "$ac_cv_use_debug"
2180 if test "$no_cache" != 1; then
2181 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2184 if test "$wxUSE_DEBUG" = yes; then
2185 echo "$ac_t""yes" 1>&6
2187 echo "$ac_t""no" 1>&6
2191 if test "$wxUSE_DEBUG" = "yes"; then
2192 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2193 DEFAULT_wxUSE_DEBUG_INFO
=yes
2194 elif test "$wxUSE_DEBUG" = "no"; then
2195 DEFAULT_wxUSE_DEBUG_FLAG
=no
2196 DEFAULT_wxUSE_DEBUG_INFO
=no
2200 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2201 echo "configure:2202: checking for --enable-debug_flag" >&5
2203 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2204 if test "${enable_debug_flag+set}" = set; then
2205 enableval
="$enable_debug_flag"
2207 if test "$enableval" = yes; then
2208 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2210 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2215 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2216 if test "x$LINE" != x
; then
2217 eval "DEFAULT_$LINE"
2222 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2227 eval "$ac_cv_use_debug_flag"
2228 if test "$no_cache" != 1; then
2229 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2232 if test "$wxUSE_DEBUG_FLAG" = yes; then
2233 echo "$ac_t""yes" 1>&6
2235 echo "$ac_t""no" 1>&6
2239 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2240 echo "configure:2241: checking for --enable-debug_info" >&5
2242 # Check whether --enable-debug_info or --disable-debug_info was given.
2243 if test "${enable_debug_info+set}" = set; then
2244 enableval
="$enable_debug_info"
2246 if test "$enableval" = yes; then
2247 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2249 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2254 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2255 if test "x$LINE" != x
; then
2256 eval "DEFAULT_$LINE"
2261 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2266 eval "$ac_cv_use_debug_info"
2267 if test "$no_cache" != 1; then
2268 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2271 if test "$wxUSE_DEBUG_INFO" = yes; then
2272 echo "$ac_t""yes" 1>&6
2274 echo "$ac_t""no" 1>&6
2278 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2279 echo "configure:2280: checking for --enable-debug_gdb" >&5
2281 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2282 if test "${enable_debug_gdb+set}" = set; then
2283 enableval
="$enable_debug_gdb"
2285 if test "$enableval" = yes; then
2286 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2288 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2293 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2294 if test "x$LINE" != x
; then
2295 eval "DEFAULT_$LINE"
2300 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2305 eval "$ac_cv_use_debug_gdb"
2306 if test "$no_cache" != 1; then
2307 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2310 if test "$wxUSE_DEBUG_GDB" = yes; then
2311 echo "$ac_t""yes" 1>&6
2313 echo "$ac_t""no" 1>&6
2317 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2318 echo "configure:2319: checking for --enable-debug_cntxt" >&5
2320 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2321 if test "${enable_debug_cntxt+set}" = set; then
2322 enableval
="$enable_debug_cntxt"
2324 if test "$enableval" = yes; then
2325 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2327 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2332 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2333 if test "x$LINE" != x
; then
2334 eval "DEFAULT_$LINE"
2339 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2344 eval "$ac_cv_use_debug_cntxt"
2345 if test "$no_cache" != 1; then
2346 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2349 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2350 echo "$ac_t""yes" 1>&6
2352 echo "$ac_t""no" 1>&6
2356 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2357 echo "configure:2358: checking for --enable-mem_tracing" >&5
2359 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2360 if test "${enable_mem_tracing+set}" = set; then
2361 enableval
="$enable_mem_tracing"
2363 if test "$enableval" = yes; then
2364 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2366 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2371 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x
; then
2373 eval "DEFAULT_$LINE"
2378 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2383 eval "$ac_cv_use_mem_tracing"
2384 if test "$no_cache" != 1; then
2385 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2388 if test "$wxUSE_MEM_TRACING" = yes; then
2389 echo "$ac_t""yes" 1>&6
2391 echo "$ac_t""no" 1>&6
2395 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2396 echo "configure:2397: checking for --enable-profile" >&5
2398 # Check whether --enable-profile or --disable-profile was given.
2399 if test "${enable_profile+set}" = set; then
2400 enableval
="$enable_profile"
2402 if test "$enableval" = yes; then
2403 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2405 ac_cv_use_profile
='wxUSE_PROFILE=no'
2410 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x
; then
2412 eval "DEFAULT_$LINE"
2417 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2422 eval "$ac_cv_use_profile"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2427 if test "$wxUSE_PROFILE" = yes; then
2428 echo "$ac_t""yes" 1>&6
2430 echo "$ac_t""no" 1>&6
2434 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2435 echo "configure:2436: checking for --enable-no_rtti" >&5
2437 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2438 if test "${enable_no_rtti+set}" = set; then
2439 enableval
="$enable_no_rtti"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2444 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2449 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2461 eval "$ac_cv_use_no_rtti"
2462 if test "$no_cache" != 1; then
2463 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2466 if test "$wxUSE_NO_RTTI" = yes; then
2467 echo "$ac_t""yes" 1>&6
2469 echo "$ac_t""no" 1>&6
2473 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2474 echo "configure:2475: checking for --enable-no_exceptions" >&5
2476 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2477 if test "${enable_no_exceptions+set}" = set; then
2478 enableval
="$enable_no_exceptions"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2483 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2488 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2500 eval "$ac_cv_use_no_exceptions"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2505 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2506 echo "$ac_t""yes" 1>&6
2508 echo "$ac_t""no" 1>&6
2512 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2513 echo "configure:2514: checking for --enable-permissive" >&5
2515 # Check whether --enable-permissive or --disable-permissive was given.
2516 if test "${enable_permissive+set}" = set; then
2517 enableval
="$enable_permissive"
2519 if test "$enableval" = yes; then
2520 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2522 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2527 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2528 if test "x$LINE" != x
; then
2529 eval "DEFAULT_$LINE"
2534 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2539 eval "$ac_cv_use_permissive"
2540 if test "$no_cache" != 1; then
2541 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2544 if test "$wxUSE_PERMISSIVE" = yes; then
2545 echo "$ac_t""yes" 1>&6
2547 echo "$ac_t""no" 1>&6
2551 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2552 echo "configure:2553: checking for --enable-no_deps" >&5
2554 # Check whether --enable-no_deps or --disable-no_deps was given.
2555 if test "${enable_no_deps+set}" = set; then
2556 enableval
="$enable_no_deps"
2558 if test "$enableval" = yes; then
2559 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2561 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2566 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2567 if test "x$LINE" != x
; then
2568 eval "DEFAULT_$LINE"
2573 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2578 eval "$ac_cv_use_no_deps"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_NO_DEPS" = yes; then
2584 echo "$ac_t""yes" 1>&6
2586 echo "$ac_t""no" 1>&6
2592 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2593 echo "configure:2594: checking for --enable-intl" >&5
2595 # Check whether --enable-intl or --disable-intl was given.
2596 if test "${enable_intl+set}" = set; then
2597 enableval
="$enable_intl"
2599 if test "$enableval" = yes; then
2600 ac_cv_use_intl
='wxUSE_INTL=yes'
2602 ac_cv_use_intl
='wxUSE_INTL=no'
2607 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2608 if test "x$LINE" != x
; then
2609 eval "DEFAULT_$LINE"
2614 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2619 eval "$ac_cv_use_intl"
2620 if test "$no_cache" != 1; then
2621 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2624 if test "$wxUSE_INTL" = yes; then
2625 echo "$ac_t""yes" 1>&6
2627 echo "$ac_t""no" 1>&6
2631 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2632 echo "configure:2633: checking for --enable-config" >&5
2634 # Check whether --enable-config or --disable-config was given.
2635 if test "${enable_config+set}" = set; then
2636 enableval
="$enable_config"
2638 if test "$enableval" = yes; then
2639 ac_cv_use_config
='wxUSE_CONFIG=yes'
2641 ac_cv_use_config
='wxUSE_CONFIG=no'
2646 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2647 if test "x$LINE" != x
; then
2648 eval "DEFAULT_$LINE"
2653 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2658 eval "$ac_cv_use_config"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_CONFIG" = yes; then
2664 echo "$ac_t""yes" 1>&6
2666 echo "$ac_t""no" 1>&6
2671 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2672 echo "configure:2673: checking for --enable-sockets" >&5
2674 # Check whether --enable-sockets or --disable-sockets was given.
2675 if test "${enable_sockets+set}" = set; then
2676 enableval
="$enable_sockets"
2678 if test "$enableval" = yes; then
2679 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2681 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2686 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x
; then
2688 eval "DEFAULT_$LINE"
2693 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2698 eval "$ac_cv_use_sockets"
2699 if test "$no_cache" != 1; then
2700 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2703 if test "$wxUSE_SOCKETS" = yes; then
2704 echo "$ac_t""yes" 1>&6
2706 echo "$ac_t""no" 1>&6
2711 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2712 echo "configure:2713: checking for --enable-ipc" >&5
2714 # Check whether --enable-ipc or --disable-ipc was given.
2715 if test "${enable_ipc+set}" = set; then
2716 enableval
="$enable_ipc"
2718 if test "$enableval" = yes; then
2719 ac_cv_use_ipc
='wxUSE_IPC=yes'
2721 ac_cv_use_ipc
='wxUSE_IPC=no'
2726 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x
; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2738 eval "$ac_cv_use_ipc"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_IPC" = yes; then
2744 echo "$ac_t""yes" 1>&6
2746 echo "$ac_t""no" 1>&6
2751 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
2752 echo "configure:2753: checking for --enable-dialupman" >&5
2754 # Check whether --enable-dialupman or --disable-dialupman was given.
2755 if test "${enable_dialupman+set}" = set; then
2756 enableval
="$enable_dialupman"
2758 if test "$enableval" = yes; then
2759 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2761 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2766 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x
; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2778 eval "$ac_cv_use_dialupman"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2784 echo "$ac_t""yes" 1>&6
2786 echo "$ac_t""no" 1>&6
2790 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
2791 echo "configure:2792: checking for --enable-apple_ieee" >&5
2793 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2794 if test "${enable_apple_ieee+set}" = set; then
2795 enableval
="$enable_apple_ieee"
2797 if test "$enableval" = yes; then
2798 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2800 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2805 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x
; then
2807 eval "DEFAULT_$LINE"
2812 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2817 eval "$ac_cv_use_apple_ieee"
2818 if test "$no_cache" != 1; then
2819 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2822 if test "$wxUSE_APPLE_IEEE" = yes; then
2823 echo "$ac_t""yes" 1>&6
2825 echo "$ac_t""no" 1>&6
2829 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
2830 echo "configure:2831: checking for --enable-timedate" >&5
2832 # Check whether --enable-timedate or --disable-timedate was given.
2833 if test "${enable_timedate+set}" = set; then
2834 enableval
="$enable_timedate"
2836 if test "$enableval" = yes; then
2837 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2839 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2844 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x
; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2856 eval "$ac_cv_use_timedate"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2861 if test "$wxUSE_TIMEDATE" = yes; then
2862 echo "$ac_t""yes" 1>&6
2864 echo "$ac_t""no" 1>&6
2868 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
2869 echo "configure:2870: checking for --enable-wave" >&5
2871 # Check whether --enable-wave or --disable-wave was given.
2872 if test "${enable_wave+set}" = set; then
2873 enableval
="$enable_wave"
2875 if test "$enableval" = yes; then
2876 ac_cv_use_wave
='wxUSE_WAVE=yes'
2878 ac_cv_use_wave
='wxUSE_WAVE=no'
2883 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2884 if test "x$LINE" != x
; then
2885 eval "DEFAULT_$LINE"
2890 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2895 eval "$ac_cv_use_wave"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_WAVE" = yes; then
2901 echo "$ac_t""yes" 1>&6
2903 echo "$ac_t""no" 1>&6
2907 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
2908 echo "configure:2909: checking for --enable-fraction" >&5
2910 # Check whether --enable-fraction or --disable-fraction was given.
2911 if test "${enable_fraction+set}" = set; then
2912 enableval
="$enable_fraction"
2914 if test "$enableval" = yes; then
2915 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2917 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2922 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x
; then
2924 eval "DEFAULT_$LINE"
2929 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2934 eval "$ac_cv_use_fraction"
2935 if test "$no_cache" != 1; then
2936 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2939 if test "$wxUSE_FRACTION" = yes; then
2940 echo "$ac_t""yes" 1>&6
2942 echo "$ac_t""no" 1>&6
2946 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
2947 echo "configure:2948: checking for --enable-dynlib" >&5
2949 # Check whether --enable-dynlib or --disable-dynlib was given.
2950 if test "${enable_dynlib+set}" = set; then
2951 enableval
="$enable_dynlib"
2953 if test "$enableval" = yes; then
2954 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2956 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2961 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x
; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2973 eval "$ac_cv_use_dynlib"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2979 echo "$ac_t""yes" 1>&6
2981 echo "$ac_t""no" 1>&6
2985 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
2986 echo "configure:2987: checking for --enable-longlong" >&5
2988 # Check whether --enable-longlong or --disable-longlong was given.
2989 if test "${enable_longlong+set}" = set; then
2990 enableval
="$enable_longlong"
2992 if test "$enableval" = yes; then
2993 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2995 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3000 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x
; then
3002 eval "DEFAULT_$LINE"
3007 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3012 eval "$ac_cv_use_longlong"
3013 if test "$no_cache" != 1; then
3014 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3017 if test "$wxUSE_LONGLONG" = yes; then
3018 echo "$ac_t""yes" 1>&6
3020 echo "$ac_t""no" 1>&6
3024 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3025 echo "configure:3026: checking for --enable-geometry" >&5
3027 # Check whether --enable-geometry or --disable-geometry was given.
3028 if test "${enable_geometry+set}" = set; then
3029 enableval
="$enable_geometry"
3031 if test "$enableval" = yes; then
3032 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3034 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3039 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x
; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3051 eval "$ac_cv_use_geometry"
3052 if test "$no_cache" != 1; then
3053 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3056 if test "$wxUSE_GEOMETRY" = yes; then
3057 echo "$ac_t""yes" 1>&6
3059 echo "$ac_t""no" 1>&6
3063 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3064 echo "configure:3065: checking for --enable-log" >&5
3066 # Check whether --enable-log or --disable-log was given.
3067 if test "${enable_log+set}" = set; then
3068 enableval
="$enable_log"
3070 if test "$enableval" = yes; then
3071 ac_cv_use_log
='wxUSE_LOG=yes'
3073 ac_cv_use_log
='wxUSE_LOG=no'
3078 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x
; then
3080 eval "DEFAULT_$LINE"
3085 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3090 eval "$ac_cv_use_log"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3095 if test "$wxUSE_LOG" = yes; then
3096 echo "$ac_t""yes" 1>&6
3098 echo "$ac_t""no" 1>&6
3102 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3103 echo "configure:3104: checking for --enable-streams" >&5
3105 # Check whether --enable-streams or --disable-streams was given.
3106 if test "${enable_streams+set}" = set; then
3107 enableval
="$enable_streams"
3109 if test "$enableval" = yes; then
3110 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3112 ac_cv_use_streams
='wxUSE_STREAMS=no'
3117 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x
; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3129 eval "$ac_cv_use_streams"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3134 if test "$wxUSE_STREAMS" = yes; then
3135 echo "$ac_t""yes" 1>&6
3137 echo "$ac_t""no" 1>&6
3141 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3142 echo "configure:3143: checking for --enable-file" >&5
3144 # Check whether --enable-file or --disable-file was given.
3145 if test "${enable_file+set}" = set; then
3146 enableval
="$enable_file"
3148 if test "$enableval" = yes; then
3149 ac_cv_use_file
='wxUSE_FILE=yes'
3151 ac_cv_use_file
='wxUSE_FILE=no'
3156 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x
; then
3158 eval "DEFAULT_$LINE"
3163 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3168 eval "$ac_cv_use_file"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_FILE" = yes; then
3174 echo "$ac_t""yes" 1>&6
3176 echo "$ac_t""no" 1>&6
3180 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3181 echo "configure:3182: checking for --enable-textfile" >&5
3183 # Check whether --enable-textfile or --disable-textfile was given.
3184 if test "${enable_textfile+set}" = set; then
3185 enableval
="$enable_textfile"
3187 if test "$enableval" = yes; then
3188 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3190 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3195 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x
; then
3197 eval "DEFAULT_$LINE"
3202 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3207 eval "$ac_cv_use_textfile"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_TEXTFILE" = yes; then
3213 echo "$ac_t""yes" 1>&6
3215 echo "$ac_t""no" 1>&6
3219 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3220 echo "configure:3221: checking for --enable-unicode" >&5
3222 # Check whether --enable-unicode or --disable-unicode was given.
3223 if test "${enable_unicode+set}" = set; then
3224 enableval
="$enable_unicode"
3226 if test "$enableval" = yes; then
3227 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3229 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3234 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x
; then
3236 eval "DEFAULT_$LINE"
3241 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3246 eval "$ac_cv_use_unicode"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_UNICODE" = yes; then
3252 echo "$ac_t""yes" 1>&6
3254 echo "$ac_t""no" 1>&6
3258 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3259 echo "configure:3260: checking for --enable-wcsrtombs" >&5
3261 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3262 if test "${enable_wcsrtombs+set}" = set; then
3263 enableval
="$enable_wcsrtombs"
3265 if test "$enableval" = yes; then
3266 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3268 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3273 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x
; then
3275 eval "DEFAULT_$LINE"
3280 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3285 eval "$ac_cv_use_wcsrtombs"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_WCSRTOMBS" = yes; then
3291 echo "$ac_t""yes" 1>&6
3293 echo "$ac_t""no" 1>&6
3297 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3298 echo "configure:3299: checking for --enable-wxprintfv" >&5
3300 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3301 if test "${enable_wxprintfv+set}" = set; then
3302 enableval
="$enable_wxprintfv"
3304 if test "$enableval" = yes; then
3305 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3307 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3312 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3324 eval "$ac_cv_use_wxprintfv"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3329 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3330 echo "$ac_t""yes" 1>&6
3332 echo "$ac_t""no" 1>&6
3336 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3337 echo "configure:3338: checking for --enable-std_iostreams" >&5
3339 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3340 if test "${enable_std_iostreams+set}" = set; then
3341 enableval
="$enable_std_iostreams"
3343 if test "$enableval" = yes; then
3344 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3346 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3351 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x
; then
3353 eval "DEFAULT_$LINE"
3358 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3363 eval "$ac_cv_use_std_iostreams"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_STD_IOSTREAM" = yes; then
3369 echo "$ac_t""yes" 1>&6
3371 echo "$ac_t""no" 1>&6
3375 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3376 echo "configure:3377: checking for --enable-filesystem" >&5
3378 # Check whether --enable-filesystem or --disable-filesystem was given.
3379 if test "${enable_filesystem+set}" = set; then
3380 enableval
="$enable_filesystem"
3382 if test "$enableval" = yes; then
3383 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3385 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3390 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x
; then
3392 eval "DEFAULT_$LINE"
3397 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3402 eval "$ac_cv_use_filesystem"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3407 if test "$wxUSE_FILESYSTEM" = yes; then
3408 echo "$ac_t""yes" 1>&6
3410 echo "$ac_t""no" 1>&6
3414 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3415 echo "configure:3416: checking for --enable-fs_inet" >&5
3417 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3418 if test "${enable_fs_inet+set}" = set; then
3419 enableval
="$enable_fs_inet"
3421 if test "$enableval" = yes; then
3422 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3424 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3429 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x
; then
3431 eval "DEFAULT_$LINE"
3436 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3441 eval "$ac_cv_use_fs_inet"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_FS_INET" = yes; then
3447 echo "$ac_t""yes" 1>&6
3449 echo "$ac_t""no" 1>&6
3453 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3454 echo "configure:3455: checking for --enable-fs_zip" >&5
3456 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3457 if test "${enable_fs_zip+set}" = set; then
3458 enableval
="$enable_fs_zip"
3460 if test "$enableval" = yes; then
3461 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3463 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3468 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x
; then
3470 eval "DEFAULT_$LINE"
3475 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3480 eval "$ac_cv_use_fs_zip"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3485 if test "$wxUSE_FS_ZIP" = yes; then
3486 echo "$ac_t""yes" 1>&6
3488 echo "$ac_t""no" 1>&6
3492 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3493 echo "configure:3494: checking for --enable-zipstream" >&5
3495 # Check whether --enable-zipstream or --disable-zipstream was given.
3496 if test "${enable_zipstream+set}" = set; then
3497 enableval
="$enable_zipstream"
3499 if test "$enableval" = yes; then
3500 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3502 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3507 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x
; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3519 eval "$ac_cv_use_zipstream"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3524 if test "$wxUSE_ZIPSTREAM" = yes; then
3525 echo "$ac_t""yes" 1>&6
3527 echo "$ac_t""no" 1>&6
3532 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3533 echo "configure:3534: checking for --enable-catch_segvs" >&5
3535 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3536 if test "${enable_catch_segvs+set}" = set; then
3537 enableval
="$enable_catch_segvs"
3539 if test "$enableval" = yes; then
3540 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3542 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3547 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x
; then
3549 eval "DEFAULT_$LINE"
3554 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3559 eval "$ac_cv_use_catch_segvs"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3565 echo "$ac_t""yes" 1>&6
3567 echo "$ac_t""no" 1>&6
3571 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
3572 echo "configure:3573: checking for --enable-snglinst" >&5
3574 # Check whether --enable-snglinst or --disable-snglinst was given.
3575 if test "${enable_snglinst+set}" = set; then
3576 enableval
="$enable_snglinst"
3578 if test "$enableval" = yes; then
3579 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
3581 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
3586 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
3587 if test "x$LINE" != x
; then
3588 eval "DEFAULT_$LINE"
3593 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
3598 eval "$ac_cv_use_snglinst"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
3603 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
3604 echo "$ac_t""yes" 1>&6
3606 echo "$ac_t""no" 1>&6
3612 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
3613 echo "configure:3614: checking for --enable-threads" >&5
3615 # Check whether --enable-threads or --disable-threads was given.
3616 if test "${enable_threads+set}" = set; then
3617 enableval
="$enable_threads"
3619 if test "$enableval" = yes; then
3620 ac_cv_use_threads
='wxUSE_THREADS=yes'
3622 ac_cv_use_threads
='wxUSE_THREADS=no'
3627 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3628 if test "x$LINE" != x
; then
3629 eval "DEFAULT_$LINE"
3634 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3639 eval "$ac_cv_use_threads"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3644 if test "$wxUSE_THREADS" = yes; then
3645 echo "$ac_t""yes" 1>&6
3647 echo "$ac_t""no" 1>&6
3651 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
3652 echo "configure:3653: checking for --enable-serial" >&5
3654 # Check whether --enable-serial or --disable-serial was given.
3655 if test "${enable_serial+set}" = set; then
3656 enableval
="$enable_serial"
3658 if test "$enableval" = yes; then
3659 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3661 ac_cv_use_serial
='wxUSE_SERIAL=no'
3666 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x
; then
3668 eval "DEFAULT_$LINE"
3673 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3678 eval "$ac_cv_use_serial"
3679 if test "$no_cache" != 1; then
3680 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3683 if test "$wxUSE_SERIAL" = yes; then
3684 echo "$ac_t""yes" 1>&6
3686 echo "$ac_t""no" 1>&6
3690 if test "$wxUSE_GUI" = "yes"; then
3694 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
3695 echo "configure:3696: checking for --enable-docview" >&5
3697 # Check whether --enable-docview or --disable-docview was given.
3698 if test "${enable_docview+set}" = set; then
3699 enableval
="$enable_docview"
3701 if test "$enableval" = yes; then
3702 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3704 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3709 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3710 if test "x$LINE" != x
; then
3711 eval "DEFAULT_$LINE"
3716 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3721 eval "$ac_cv_use_docview"
3722 if test "$no_cache" != 1; then
3723 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3726 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3727 echo "$ac_t""yes" 1>&6
3729 echo "$ac_t""no" 1>&6
3733 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
3734 echo "configure:3735: checking for --enable-help" >&5
3736 # Check whether --enable-help or --disable-help was given.
3737 if test "${enable_help+set}" = set; then
3738 enableval
="$enable_help"
3740 if test "$enableval" = yes; then
3741 ac_cv_use_help
='wxUSE_HELP=yes'
3743 ac_cv_use_help
='wxUSE_HELP=no'
3748 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x
; then
3750 eval "DEFAULT_$LINE"
3755 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3760 eval "$ac_cv_use_help"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3765 if test "$wxUSE_HELP" = yes; then
3766 echo "$ac_t""yes" 1>&6
3768 echo "$ac_t""no" 1>&6
3772 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
3773 echo "configure:3774: checking for --enable-constraints" >&5
3775 # Check whether --enable-constraints or --disable-constraints was given.
3776 if test "${enable_constraints+set}" = set; then
3777 enableval
="$enable_constraints"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3782 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3787 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3799 eval "$ac_cv_use_constraints"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_CONSTRAINTS" = yes; then
3805 echo "$ac_t""yes" 1>&6
3807 echo "$ac_t""no" 1>&6
3811 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
3812 echo "configure:3813: checking for --enable-printarch" >&5
3814 # Check whether --enable-printarch or --disable-printarch was given.
3815 if test "${enable_printarch+set}" = set; then
3816 enableval
="$enable_printarch"
3818 if test "$enableval" = yes; then
3819 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3821 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3826 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3827 if test "x$LINE" != x
; then
3828 eval "DEFAULT_$LINE"
3833 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3838 eval "$ac_cv_use_printarch"
3839 if test "$no_cache" != 1; then
3840 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3843 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3844 echo "$ac_t""yes" 1>&6
3846 echo "$ac_t""no" 1>&6
3850 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
3851 echo "configure:3852: checking for --enable-mdi" >&5
3853 # Check whether --enable-mdi or --disable-mdi was given.
3854 if test "${enable_mdi+set}" = set; then
3855 enableval
="$enable_mdi"
3857 if test "$enableval" = yes; then
3858 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3860 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3865 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x
; then
3867 eval "DEFAULT_$LINE"
3872 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3877 eval "$ac_cv_use_mdi"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3882 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3883 echo "$ac_t""yes" 1>&6
3885 echo "$ac_t""no" 1>&6
3890 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
3891 echo "configure:3892: checking for --enable-postscript" >&5
3893 # Check whether --enable-postscript or --disable-postscript was given.
3894 if test "${enable_postscript+set}" = set; then
3895 enableval
="$enable_postscript"
3897 if test "$enableval" = yes; then
3898 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3900 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3905 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x
; then
3907 eval "DEFAULT_$LINE"
3912 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3917 eval "$ac_cv_use_postscript"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3922 if test "$wxUSE_POSTSCRIPT" = yes; then
3923 echo "$ac_t""yes" 1>&6
3925 echo "$ac_t""no" 1>&6
3931 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
3932 echo "configure:3933: checking for --enable-prologio" >&5
3934 # Check whether --enable-prologio or --disable-prologio was given.
3935 if test "${enable_prologio+set}" = set; then
3936 enableval
="$enable_prologio"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3941 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3946 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x
; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3958 eval "$ac_cv_use_prologio"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_PROLOGIO" = yes; then
3964 echo "$ac_t""yes" 1>&6
3966 echo "$ac_t""no" 1>&6
3970 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
3971 echo "configure:3972: checking for --enable-resources" >&5
3973 # Check whether --enable-resources or --disable-resources was given.
3974 if test "${enable_resources+set}" = set; then
3975 enableval
="$enable_resources"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3980 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3985 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x
; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3997 eval "$ac_cv_use_resources"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_RESOURCES" = yes; then
4003 echo "$ac_t""yes" 1>&6
4005 echo "$ac_t""no" 1>&6
4010 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4011 echo "configure:4012: checking for --enable-xresources" >&5
4013 # Check whether --enable-xresources or --disable-xresources was given.
4014 if test "${enable_xresources+set}" = set; then
4015 enableval
="$enable_xresources"
4017 if test "$enableval" = yes; then
4018 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4020 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4025 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x
; then
4027 eval "DEFAULT_$LINE"
4032 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4037 eval "$ac_cv_use_xresources"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4042 if test "$wxUSE_X_RESOURCES" = yes; then
4043 echo "$ac_t""yes" 1>&6
4045 echo "$ac_t""no" 1>&6
4051 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4052 echo "configure:4053: checking for --enable-clipboard" >&5
4054 # Check whether --enable-clipboard or --disable-clipboard was given.
4055 if test "${enable_clipboard+set}" = set; then
4056 enableval
="$enable_clipboard"
4058 if test "$enableval" = yes; then
4059 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4061 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4066 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4067 if test "x$LINE" != x
; then
4068 eval "DEFAULT_$LINE"
4073 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4078 eval "$ac_cv_use_clipboard"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4083 if test "$wxUSE_CLIPBOARD" = yes; then
4084 echo "$ac_t""yes" 1>&6
4086 echo "$ac_t""no" 1>&6
4090 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4091 echo "configure:4092: checking for --enable-dnd" >&5
4093 # Check whether --enable-dnd or --disable-dnd was given.
4094 if test "${enable_dnd+set}" = set; then
4095 enableval
="$enable_dnd"
4097 if test "$enableval" = yes; then
4098 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4100 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4105 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4106 if test "x$LINE" != x
; then
4107 eval "DEFAULT_$LINE"
4112 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4117 eval "$ac_cv_use_dnd"
4118 if test "$no_cache" != 1; then
4119 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4122 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4123 echo "$ac_t""yes" 1>&6
4125 echo "$ac_t""no" 1>&6
4129 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4130 echo "configure:4131: checking for --enable-metafile" >&5
4132 # Check whether --enable-metafile or --disable-metafile was given.
4133 if test "${enable_metafile+set}" = set; then
4134 enableval
="$enable_metafile"
4136 if test "$enableval" = yes; then
4137 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4139 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4144 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x
; then
4146 eval "DEFAULT_$LINE"
4151 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4156 eval "$ac_cv_use_metafile"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_METAFILE" = yes; then
4162 echo "$ac_t""yes" 1>&6
4164 echo "$ac_t""no" 1>&6
4169 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4170 echo "configure:4171: checking for --enable-wxtree" >&5
4172 # Check whether --enable-wxtree or --disable-wxtree was given.
4173 if test "${enable_wxtree+set}" = set; then
4174 enableval
="$enable_wxtree"
4176 if test "$enableval" = yes; then
4177 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4179 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4184 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x
; then
4186 eval "DEFAULT_$LINE"
4191 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4196 eval "$ac_cv_use_wxtree"
4197 if test "$no_cache" != 1; then
4198 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4201 if test "$wxUSE_WXTREE" = yes; then
4202 echo "$ac_t""yes" 1>&6
4204 echo "$ac_t""no" 1>&6
4210 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4211 echo "configure:4212: checking for --enable-controls" >&5
4213 # Check whether --enable-controls or --disable-controls was given.
4214 if test "${enable_controls+set}" = set; then
4215 enableval
="$enable_controls"
4217 if test "$enableval" = yes; then
4218 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4220 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4225 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x
; then
4227 eval "DEFAULT_$LINE"
4232 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4237 eval "$ac_cv_use_controls"
4238 if test "$no_cache" != 1; then
4239 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4242 if test "$wxUSE_CONTROLS" = yes; then
4243 echo "$ac_t""yes" 1>&6
4245 echo "$ac_t""no" 1>&6
4249 if test "$wxUSE_CONTROLS" = "yes"; then
4250 DEFAULT_wxUSE_ACCEL
=yes
4251 DEFAULT_wxUSE_CARET
=yes
4252 DEFAULT_wxUSE_COMBOBOX
=yes
4253 DEFAULT_wxUSE_BMPBUTTON
=yes
4254 DEFAULT_wxUSE_CHECKBOX
=yes
4255 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4256 DEFAULT_wxUSE_CHOICE
=yes
4257 DEFAULT_wxUSE_GAUGE
=yes
4258 DEFAULT_wxUSE_GRID
=yes
4259 DEFAULT_wxUSE_NEW_GRID
=yes
4260 DEFAULT_wxUSE_IMAGLIST
=yes
4261 DEFAULT_wxUSE_LISTBOX
=yes
4262 DEFAULT_wxUSE_LISTCTRL
=yes
4263 DEFAULT_wxUSE_NOTEBOOK
=yes
4264 DEFAULT_wxUSE_RADIOBOX
=yes
4265 DEFAULT_wxUSE_RADIOBTN
=yes
4266 DEFAULT_wxUSE_SASH
=yes
4267 DEFAULT_wxUSE_SCROLLBAR
=yes
4268 DEFAULT_wxUSE_SLIDER
=yes
4269 DEFAULT_wxUSE_SPINBTN
=yes
4270 DEFAULT_wxUSE_SPINCTRL
=yes
4271 DEFAULT_wxUSE_SPLITTER
=yes
4272 DEFAULT_wxUSE_STATBMP
=yes
4273 DEFAULT_wxUSE_STATBOX
=yes
4274 DEFAULT_wxUSE_STATLINE
=yes
4275 DEFAULT_wxUSE_STATUSBAR
=yes
4276 DEFAULT_wxUSE_TAB_DIALOG
=yes
4277 DEFAULT_wxUSE_TOGGLEBTN
=yes
4278 DEFAULT_wxUSE_TOOLBAR
=yes
4279 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4280 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4281 DEFAULT_wxUSE_TOOLTIPS
=yes
4282 DEFAULT_wxUSE_TREECTRL
=yes
4283 elif test "$wxUSE_CONTROLS" = "no"; then
4284 DEFAULT_wxUSE_ACCEL
=no
4285 DEFAULT_wxUSE_CARET
=no
4286 DEFAULT_wxUSE_COMBOBOX
=no
4287 DEFAULT_wxUSE_BMPBUTTON
=no
4288 DEFAULT_wxUSE_CHECKBOX
=no
4289 DEFAULT_wxUSE_CHECKLISTBOX
=no
4290 DEFAULT_wxUSE_CHOICE
=no
4291 DEFAULT_wxUSE_GAUGE
=no
4292 DEFAULT_wxUSE_GRID
=no
4293 DEFAULT_wxUSE_NEW_GRID
=no
4294 DEFAULT_wxUSE_IMAGLIST
=no
4295 DEFAULT_wxUSE_LISTBOX
=no
4296 DEFAULT_wxUSE_LISTCTRL
=no
4297 DEFAULT_wxUSE_NOTEBOOK
=no
4298 DEFAULT_wxUSE_RADIOBOX
=no
4299 DEFAULT_wxUSE_RADIOBTN
=no
4300 DEFAULT_wxUSE_SASH
=no
4301 DEFAULT_wxUSE_SCROLLBAR
=no
4302 DEFAULT_wxUSE_SLIDER
=no
4303 DEFAULT_wxUSE_SPINBTN
=no
4304 DEFAULT_wxUSE_SPINCTRL
=no
4305 DEFAULT_wxUSE_SPLITTER
=no
4306 DEFAULT_wxUSE_STATBMP
=no
4307 DEFAULT_wxUSE_STATBOX
=no
4308 DEFAULT_wxUSE_STATLINE
=no
4309 DEFAULT_wxUSE_STATUSBAR
=no
4310 DEFAULT_wxUSE_TAB_DIALOG
=no
4311 DEFAULT_wxUSE_TOGGLEBTN
=no
4312 DEFAULT_wxUSE_TOOLBAR
=no
4313 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4314 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4315 DEFAULT_wxUSE_TOOLTIPS
=no
4316 DEFAULT_wxUSE_TREECTRL
=no
4320 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4321 echo "configure:4322: checking for --enable-accel" >&5
4323 # Check whether --enable-accel or --disable-accel was given.
4324 if test "${enable_accel+set}" = set; then
4325 enableval
="$enable_accel"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4330 ac_cv_use_accel
='wxUSE_ACCEL=no'
4335 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4347 eval "$ac_cv_use_accel"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_ACCEL" = yes; then
4353 echo "$ac_t""yes" 1>&6
4355 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
4360 echo "configure:4361: checking for --enable-caret" >&5
4362 # Check whether --enable-caret or --disable-caret was given.
4363 if test "${enable_caret+set}" = set; then
4364 enableval
="$enable_caret"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_caret
='wxUSE_CARET=yes'
4369 ac_cv_use_caret
='wxUSE_CARET=no'
4374 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4386 eval "$ac_cv_use_caret"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_CARET" = yes; then
4392 echo "$ac_t""yes" 1>&6
4394 echo "$ac_t""no" 1>&6
4398 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4399 echo "configure:4400: checking for --enable-bmpbutton" >&5
4401 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4402 if test "${enable_bmpbutton+set}" = set; then
4403 enableval
="$enable_bmpbutton"
4405 if test "$enableval" = yes; then
4406 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4408 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4413 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x
; then
4415 eval "DEFAULT_$LINE"
4420 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4425 eval "$ac_cv_use_bmpbutton"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4430 if test "$wxUSE_BMPBUTTON" = yes; then
4431 echo "$ac_t""yes" 1>&6
4433 echo "$ac_t""no" 1>&6
4437 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
4438 echo "configure:4439: checking for --enable-checkbox" >&5
4440 # Check whether --enable-checkbox or --disable-checkbox was given.
4441 if test "${enable_checkbox+set}" = set; then
4442 enableval
="$enable_checkbox"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4447 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4452 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4464 eval "$ac_cv_use_checkbox"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_CHECKBOX" = yes; then
4470 echo "$ac_t""yes" 1>&6
4472 echo "$ac_t""no" 1>&6
4476 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
4477 echo "configure:4478: checking for --enable-checklst" >&5
4479 # Check whether --enable-checklst or --disable-checklst was given.
4480 if test "${enable_checklst+set}" = set; then
4481 enableval
="$enable_checklst"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4486 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4491 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x
; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4503 eval "$ac_cv_use_checklst"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_CHECKLST" = yes; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4515 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
4516 echo "configure:4517: checking for --enable-choice" >&5
4518 # Check whether --enable-choice or --disable-choice was given.
4519 if test "${enable_choice+set}" = set; then
4520 enableval
="$enable_choice"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4525 ac_cv_use_choice
='wxUSE_CHOICE=no'
4530 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4542 eval "$ac_cv_use_choice"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_CHOICE" = yes; then
4548 echo "$ac_t""yes" 1>&6
4550 echo "$ac_t""no" 1>&6
4554 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
4555 echo "configure:4556: checking for --enable-combobox" >&5
4557 # Check whether --enable-combobox or --disable-combobox was given.
4558 if test "${enable_combobox+set}" = set; then
4559 enableval
="$enable_combobox"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4564 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4569 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4581 eval "$ac_cv_use_combobox"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_COMBOBOX" = yes; then
4587 echo "$ac_t""yes" 1>&6
4589 echo "$ac_t""no" 1>&6
4593 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
4594 echo "configure:4595: checking for --enable-gauge" >&5
4596 # Check whether --enable-gauge or --disable-gauge was given.
4597 if test "${enable_gauge+set}" = set; then
4598 enableval
="$enable_gauge"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4603 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4608 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x
; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4620 eval "$ac_cv_use_gauge"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4625 if test "$wxUSE_GAUGE" = yes; then
4626 echo "$ac_t""yes" 1>&6
4628 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
4633 echo "configure:4634: checking for --enable-grid" >&5
4635 # Check whether --enable-grid or --disable-grid was given.
4636 if test "${enable_grid+set}" = set; then
4637 enableval
="$enable_grid"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_grid
='wxUSE_GRID=yes'
4642 ac_cv_use_grid
='wxUSE_GRID=no'
4647 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4659 eval "$ac_cv_use_grid"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_GRID" = yes; then
4665 echo "$ac_t""yes" 1>&6
4667 echo "$ac_t""no" 1>&6
4671 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
4672 echo "configure:4673: checking for --enable-newgrid" >&5
4674 # Check whether --enable-newgrid or --disable-newgrid was given.
4675 if test "${enable_newgrid+set}" = set; then
4676 enableval
="$enable_newgrid"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4681 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4686 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x
; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4698 eval "$ac_cv_use_newgrid"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_NEW_GRID" = yes; then
4704 echo "$ac_t""yes" 1>&6
4706 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
4711 echo "configure:4712: checking for --enable-imaglist" >&5
4713 # Check whether --enable-imaglist or --disable-imaglist was given.
4714 if test "${enable_imaglist+set}" = set; then
4715 enableval
="$enable_imaglist"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4720 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4725 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4737 eval "$ac_cv_use_imaglist"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_IMAGLIST" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
4750 echo "configure:4751: checking for --enable-listbox" >&5
4752 # Check whether --enable-listbox or --disable-listbox was given.
4753 if test "${enable_listbox+set}" = set; then
4754 enableval
="$enable_listbox"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4759 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4764 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4776 eval "$ac_cv_use_listbox"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_LISTBOX" = yes; then
4782 echo "$ac_t""yes" 1>&6
4784 echo "$ac_t""no" 1>&6
4788 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
4789 echo "configure:4790: checking for --enable-listctrl" >&5
4791 # Check whether --enable-listctrl or --disable-listctrl was given.
4792 if test "${enable_listctrl+set}" = set; then
4793 enableval
="$enable_listctrl"
4795 if test "$enableval" = yes; then
4796 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4798 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4803 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x
; then
4805 eval "DEFAULT_$LINE"
4810 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4815 eval "$ac_cv_use_listctrl"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4820 if test "$wxUSE_LISTCTRL" = yes; then
4821 echo "$ac_t""yes" 1>&6
4823 echo "$ac_t""no" 1>&6
4827 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
4828 echo "configure:4829: checking for --enable-notebook" >&5
4830 # Check whether --enable-notebook or --disable-notebook was given.
4831 if test "${enable_notebook+set}" = set; then
4832 enableval
="$enable_notebook"
4834 if test "$enableval" = yes; then
4835 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4837 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4842 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4843 if test "x$LINE" != x
; then
4844 eval "DEFAULT_$LINE"
4849 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4854 eval "$ac_cv_use_notebook"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4859 if test "$wxUSE_NOTEBOOK" = yes; then
4860 echo "$ac_t""yes" 1>&6
4862 echo "$ac_t""no" 1>&6
4866 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
4867 echo "configure:4868: checking for --enable-radiobox" >&5
4869 # Check whether --enable-radiobox or --disable-radiobox was given.
4870 if test "${enable_radiobox+set}" = set; then
4871 enableval
="$enable_radiobox"
4873 if test "$enableval" = yes; then
4874 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4876 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4881 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4882 if test "x$LINE" != x
; then
4883 eval "DEFAULT_$LINE"
4888 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4893 eval "$ac_cv_use_radiobox"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4898 if test "$wxUSE_RADIOBOX" = yes; then
4899 echo "$ac_t""yes" 1>&6
4901 echo "$ac_t""no" 1>&6
4905 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
4906 echo "configure:4907: checking for --enable-radiobtn" >&5
4908 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4909 if test "${enable_radiobtn+set}" = set; then
4910 enableval
="$enable_radiobtn"
4912 if test "$enableval" = yes; then
4913 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4915 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4920 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x
; then
4922 eval "DEFAULT_$LINE"
4927 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4932 eval "$ac_cv_use_radiobtn"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_RADIOBTN" = yes; then
4938 echo "$ac_t""yes" 1>&6
4940 echo "$ac_t""no" 1>&6
4944 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
4945 echo "configure:4946: checking for --enable-sash" >&5
4947 # Check whether --enable-sash or --disable-sash was given.
4948 if test "${enable_sash+set}" = set; then
4949 enableval
="$enable_sash"
4951 if test "$enableval" = yes; then
4952 ac_cv_use_sash
='wxUSE_SASH=yes'
4954 ac_cv_use_sash
='wxUSE_SASH=no'
4959 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4960 if test "x$LINE" != x
; then
4961 eval "DEFAULT_$LINE"
4966 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4971 eval "$ac_cv_use_sash"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_SASH" = yes; then
4977 echo "$ac_t""yes" 1>&6
4979 echo "$ac_t""no" 1>&6
4983 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
4984 echo "configure:4985: checking for --enable-scrollbar" >&5
4986 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4987 if test "${enable_scrollbar+set}" = set; then
4988 enableval
="$enable_scrollbar"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4993 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4998 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5010 eval "$ac_cv_use_scrollbar"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_SCROLLBAR" = yes; then
5016 echo "$ac_t""yes" 1>&6
5018 echo "$ac_t""no" 1>&6
5022 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5023 echo "configure:5024: checking for --enable-slider" >&5
5025 # Check whether --enable-slider or --disable-slider was given.
5026 if test "${enable_slider+set}" = set; then
5027 enableval
="$enable_slider"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5032 ac_cv_use_slider
='wxUSE_SLIDER=no'
5037 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5049 eval "$ac_cv_use_slider"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5054 if test "$wxUSE_SLIDER" = yes; then
5055 echo "$ac_t""yes" 1>&6
5057 echo "$ac_t""no" 1>&6
5061 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5062 echo "configure:5063: checking for --enable-spinbtn" >&5
5064 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5065 if test "${enable_spinbtn+set}" = set; then
5066 enableval
="$enable_spinbtn"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5071 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5076 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x
; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5088 eval "$ac_cv_use_spinbtn"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5093 if test "$wxUSE_SPINBTN" = yes; then
5094 echo "$ac_t""yes" 1>&6
5096 echo "$ac_t""no" 1>&6
5100 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5101 echo "configure:5102: checking for --enable-spinctrl" >&5
5103 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5104 if test "${enable_spinctrl+set}" = set; then
5105 enableval
="$enable_spinctrl"
5107 if test "$enableval" = yes; then
5108 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5110 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5115 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x
; then
5117 eval "DEFAULT_$LINE"
5122 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5127 eval "$ac_cv_use_spinctrl"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5132 if test "$wxUSE_SPINCTRL" = yes; then
5133 echo "$ac_t""yes" 1>&6
5135 echo "$ac_t""no" 1>&6
5139 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5140 echo "configure:5141: checking for --enable-splitter" >&5
5142 # Check whether --enable-splitter or --disable-splitter was given.
5143 if test "${enable_splitter+set}" = set; then
5144 enableval
="$enable_splitter"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5149 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5154 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x
; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5166 eval "$ac_cv_use_splitter"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_SPLITTER" = yes; then
5172 echo "$ac_t""yes" 1>&6
5174 echo "$ac_t""no" 1>&6
5178 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5179 echo "configure:5180: checking for --enable-statbmp" >&5
5181 # Check whether --enable-statbmp or --disable-statbmp was given.
5182 if test "${enable_statbmp+set}" = set; then
5183 enableval
="$enable_statbmp"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5188 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5193 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x
; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5205 eval "$ac_cv_use_statbmp"
5206 if test "$no_cache" != 1; then
5207 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5210 if test "$wxUSE_STATBMP" = yes; then
5211 echo "$ac_t""yes" 1>&6
5213 echo "$ac_t""no" 1>&6
5217 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5218 echo "configure:5219: checking for --enable-statbox" >&5
5220 # Check whether --enable-statbox or --disable-statbox was given.
5221 if test "${enable_statbox+set}" = set; then
5222 enableval
="$enable_statbox"
5224 if test "$enableval" = yes; then
5225 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5227 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5232 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x
; then
5234 eval "DEFAULT_$LINE"
5239 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5244 eval "$ac_cv_use_statbox"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_STATBOX" = yes; then
5250 echo "$ac_t""yes" 1>&6
5252 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5257 echo "configure:5258: checking for --enable-statline" >&5
5259 # Check whether --enable-statline or --disable-statline was given.
5260 if test "${enable_statline+set}" = set; then
5261 enableval
="$enable_statline"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5266 ac_cv_use_statline
='wxUSE_STATLINE=no'
5271 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5283 eval "$ac_cv_use_statline"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_STATLINE" = yes; then
5289 echo "$ac_t""yes" 1>&6
5291 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5296 echo "configure:5297: checking for --enable-statusbar" >&5
5298 # Check whether --enable-statusbar or --disable-statusbar was given.
5299 if test "${enable_statusbar+set}" = set; then
5300 enableval
="$enable_statusbar"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5305 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5310 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5322 eval "$ac_cv_use_statusbar"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_STATUSBAR" = yes; then
5328 echo "$ac_t""yes" 1>&6
5330 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
5335 echo "configure:5336: checking for --enable-tabdialog" >&5
5337 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5338 if test "${enable_tabdialog+set}" = set; then
5339 enableval
="$enable_tabdialog"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5344 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5349 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5361 eval "$ac_cv_use_tabdialog"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_TABDIALOG" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
5374 echo "configure:5375: checking for --enable-togglebtn" >&5
5376 # Check whether --enable-togglebtn or --disable-togglebtn was given.
5377 if test "${enable_togglebtn+set}" = set; then
5378 enableval
="$enable_togglebtn"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
5383 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
5388 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
5400 eval "$ac_cv_use_togglebtn"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_TOGGLEBTN" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --enable-toolbar" >&5
5415 # Check whether --enable-toolbar or --disable-toolbar was given.
5416 if test "${enable_toolbar+set}" = set; then
5417 enableval
="$enable_toolbar"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5422 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5427 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5439 eval "$ac_cv_use_toolbar"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_TOOLBAR" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5451 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
5452 echo "configure:5453: checking for --enable-tbarnative" >&5
5454 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5455 if test "${enable_tbarnative+set}" = set; then
5456 enableval
="$enable_tbarnative"
5458 if test "$enableval" = yes; then
5459 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5461 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5466 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x
; then
5468 eval "DEFAULT_$LINE"
5473 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5478 eval "$ac_cv_use_tbarnative"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5484 echo "$ac_t""yes" 1>&6
5486 echo "$ac_t""no" 1>&6
5490 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
5491 echo "configure:5492: checking for --enable-tbarsmpl" >&5
5493 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5494 if test "${enable_tbarsmpl+set}" = set; then
5495 enableval
="$enable_tbarsmpl"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5500 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5505 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5517 eval "$ac_cv_use_tbarsmpl"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5523 echo "$ac_t""yes" 1>&6
5525 echo "$ac_t""no" 1>&6
5529 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
5530 echo "configure:5531: checking for --enable-treectrl" >&5
5532 # Check whether --enable-treectrl or --disable-treectrl was given.
5533 if test "${enable_treectrl+set}" = set; then
5534 enableval
="$enable_treectrl"
5536 if test "$enableval" = yes; then
5537 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5539 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5544 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x
; then
5546 eval "DEFAULT_$LINE"
5551 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5556 eval "$ac_cv_use_treectrl"
5557 if test "$no_cache" != 1; then
5558 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5561 if test "$wxUSE_TREECTRL" = yes; then
5562 echo "$ac_t""yes" 1>&6
5564 echo "$ac_t""no" 1>&6
5570 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
5571 echo "configure:5572: checking for --enable-commondlg" >&5
5573 # Check whether --enable-commondlg or --disable-commondlg was given.
5574 if test "${enable_commondlg+set}" = set; then
5575 enableval
="$enable_commondlg"
5577 if test "$enableval" = yes; then
5578 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5580 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5585 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5586 if test "x$LINE" != x
; then
5587 eval "DEFAULT_$LINE"
5592 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5597 eval "$ac_cv_use_commondlg"
5598 if test "$no_cache" != 1; then
5599 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5602 if test "$wxUSE_COMMONDLGS" = yes; then
5603 echo "$ac_t""yes" 1>&6
5605 echo "$ac_t""no" 1>&6
5609 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
5610 echo "configure:5611: checking for --enable-dirdlg" >&5
5612 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5613 if test "${enable_dirdlg+set}" = set; then
5614 enableval
="$enable_dirdlg"
5616 if test "$enableval" = yes; then
5617 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5619 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5624 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5625 if test "x$LINE" != x
; then
5626 eval "DEFAULT_$LINE"
5631 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5636 eval "$ac_cv_use_dirdlg"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_DIRDLG" = yes; then
5642 echo "$ac_t""yes" 1>&6
5644 echo "$ac_t""no" 1>&6
5648 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
5649 echo "configure:5650: checking for --enable-textdlg" >&5
5651 # Check whether --enable-textdlg or --disable-textdlg was given.
5652 if test "${enable_textdlg+set}" = set; then
5653 enableval
="$enable_textdlg"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5658 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5663 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5675 eval "$ac_cv_use_textdlg"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_TEXTDLG" = yes; then
5681 echo "$ac_t""yes" 1>&6
5683 echo "$ac_t""no" 1>&6
5687 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
5688 echo "configure:5689: checking for --enable-tipdlg" >&5
5690 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5691 if test "${enable_tipdlg+set}" = set; then
5692 enableval
="$enable_tipdlg"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5697 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5702 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5714 eval "$ac_cv_use_tipdlg"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5719 if test "$wxUSE_STARTUP_TIPS" = yes; then
5720 echo "$ac_t""yes" 1>&6
5722 echo "$ac_t""no" 1>&6
5726 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
5727 echo "configure:5728: checking for --enable-progressdlg" >&5
5729 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5730 if test "${enable_progressdlg+set}" = set; then
5731 enableval
="$enable_progressdlg"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5736 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5741 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5753 eval "$ac_cv_use_progressdlg"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_PROGRESSDLG" = yes; then
5759 echo "$ac_t""yes" 1>&6
5761 echo "$ac_t""no" 1>&6
5765 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
5766 echo "configure:5767: checking for --enable-miniframe" >&5
5768 # Check whether --enable-miniframe or --disable-miniframe was given.
5769 if test "${enable_miniframe+set}" = set; then
5770 enableval
="$enable_miniframe"
5772 if test "$enableval" = yes; then
5773 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5775 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5780 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5787 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5792 eval "$ac_cv_use_miniframe"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5797 if test "$wxUSE_MINIFRAME" = yes; then
5798 echo "$ac_t""yes" 1>&6
5800 echo "$ac_t""no" 1>&6
5804 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
5805 echo "configure:5806: checking for --enable-html" >&5
5807 # Check whether --enable-html or --disable-html was given.
5808 if test "${enable_html+set}" = set; then
5809 enableval
="$enable_html"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_html
='wxUSE_HTML=yes'
5814 ac_cv_use_html
='wxUSE_HTML=no'
5819 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5831 eval "$ac_cv_use_html"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5836 if test "$wxUSE_HTML" = yes; then
5837 echo "$ac_t""yes" 1>&6
5839 echo "$ac_t""no" 1>&6
5843 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
5844 echo "configure:5845: checking for --enable-tooltips" >&5
5846 # Check whether --enable-tooltips or --disable-tooltips was given.
5847 if test "${enable_tooltips+set}" = set; then
5848 enableval
="$enable_tooltips"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5853 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5858 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5870 eval "$ac_cv_use_tooltips"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_TOOLTIPS" = yes; then
5876 echo "$ac_t""yes" 1>&6
5878 echo "$ac_t""no" 1>&6
5882 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
5883 echo "configure:5884: checking for --enable-splines" >&5
5885 # Check whether --enable-splines or --disable-splines was given.
5886 if test "${enable_splines+set}" = set; then
5887 enableval
="$enable_splines"
5889 if test "$enableval" = yes; then
5890 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5892 ac_cv_use_splines
='wxUSE_SPLINES=no'
5897 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5898 if test "x$LINE" != x
; then
5899 eval "DEFAULT_$LINE"
5904 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5909 eval "$ac_cv_use_splines"
5910 if test "$no_cache" != 1; then
5911 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5914 if test "$wxUSE_SPLINES" = yes; then
5915 echo "$ac_t""yes" 1>&6
5917 echo "$ac_t""no" 1>&6
5921 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
5922 echo "configure:5923: checking for --enable-validators" >&5
5924 # Check whether --enable-validators or --disable-validators was given.
5925 if test "${enable_validators+set}" = set; then
5926 enableval
="$enable_validators"
5928 if test "$enableval" = yes; then
5929 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5931 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5936 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5937 if test "x$LINE" != x
; then
5938 eval "DEFAULT_$LINE"
5943 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5948 eval "$ac_cv_use_validators"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_VALIDATORS" = yes; then
5954 echo "$ac_t""yes" 1>&6
5956 echo "$ac_t""no" 1>&6
5960 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
5961 echo "configure:5962: checking for --enable-busyinfo" >&5
5963 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5964 if test "${enable_busyinfo+set}" = set; then
5965 enableval
="$enable_busyinfo"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5970 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5975 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x
; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5987 eval "$ac_cv_use_busyinfo"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_BUSYINFO" = yes; then
5993 echo "$ac_t""yes" 1>&6
5995 echo "$ac_t""no" 1>&6
5999 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
6000 echo "configure:6001: checking for --enable-joystick" >&5
6002 # Check whether --enable-joystick or --disable-joystick was given.
6003 if test "${enable_joystick+set}" = set; then
6004 enableval
="$enable_joystick"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
6009 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
6014 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x
; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
6026 eval "$ac_cv_use_joystick"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
6031 if test "$wxUSE_JOYSTICK" = yes; then
6032 echo "$ac_t""yes" 1>&6
6034 echo "$ac_t""no" 1>&6
6040 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
6041 echo "configure:6042: checking for --enable-image" >&5
6043 # Check whether --enable-image or --disable-image was given.
6044 if test "${enable_image+set}" = set; then
6045 enableval
="$enable_image"
6047 if test "$enableval" = yes; then
6048 ac_cv_use_image
='wxUSE_IMAGE=yes'
6050 ac_cv_use_image
='wxUSE_IMAGE=no'
6055 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
6056 if test "x$LINE" != x
; then
6057 eval "DEFAULT_$LINE"
6062 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
6067 eval "$ac_cv_use_image"
6068 if test "$no_cache" != 1; then
6069 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
6072 if test "$wxUSE_IMAGE" = yes; then
6073 echo "$ac_t""yes" 1>&6
6075 echo "$ac_t""no" 1>&6
6079 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
6080 echo "configure:6081: checking for --enable-gif" >&5
6082 # Check whether --enable-gif or --disable-gif was given.
6083 if test "${enable_gif+set}" = set; then
6084 enableval
="$enable_gif"
6086 if test "$enableval" = yes; then
6087 ac_cv_use_gif
='wxUSE_GIF=yes'
6089 ac_cv_use_gif
='wxUSE_GIF=no'
6094 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
6095 if test "x$LINE" != x
; then
6096 eval "DEFAULT_$LINE"
6101 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
6106 eval "$ac_cv_use_gif"
6107 if test "$no_cache" != 1; then
6108 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
6111 if test "$wxUSE_GIF" = yes; then
6112 echo "$ac_t""yes" 1>&6
6114 echo "$ac_t""no" 1>&6
6118 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
6119 echo "configure:6120: checking for --enable-pcx" >&5
6121 # Check whether --enable-pcx or --disable-pcx was given.
6122 if test "${enable_pcx+set}" = set; then
6123 enableval
="$enable_pcx"
6125 if test "$enableval" = yes; then
6126 ac_cv_use_pcx
='wxUSE_PCX=yes'
6128 ac_cv_use_pcx
='wxUSE_PCX=no'
6133 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x
; then
6135 eval "DEFAULT_$LINE"
6140 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
6145 eval "$ac_cv_use_pcx"
6146 if test "$no_cache" != 1; then
6147 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
6150 if test "$wxUSE_PCX" = yes; then
6151 echo "$ac_t""yes" 1>&6
6153 echo "$ac_t""no" 1>&6
6157 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
6158 echo "configure:6159: checking for --enable-pnm" >&5
6160 # Check whether --enable-pnm or --disable-pnm was given.
6161 if test "${enable_pnm+set}" = set; then
6162 enableval
="$enable_pnm"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_pnm
='wxUSE_PNM=yes'
6167 ac_cv_use_pnm
='wxUSE_PNM=no'
6172 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x
; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
6184 eval "$ac_cv_use_pnm"
6185 if test "$no_cache" != 1; then
6186 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6189 if test "$wxUSE_PNM" = yes; then
6190 echo "$ac_t""yes" 1>&6
6192 echo "$ac_t""no" 1>&6
6196 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
6197 echo "configure:6198: checking for --enable-pnm" >&5
6199 # Check whether --enable-pnm or --disable-pnm was given.
6200 if test "${enable_pnm+set}" = set; then
6201 enableval
="$enable_pnm"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_pnm
='wxUSE_XPM=yes'
6206 ac_cv_use_pnm
='wxUSE_XPM=no'
6211 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x
; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
6223 eval "$ac_cv_use_pnm"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6228 if test "$wxUSE_XPM" = yes; then
6229 echo "$ac_t""yes" 1>&6
6231 echo "$ac_t""no" 1>&6
6238 echo "saving argument cache $wx_arg_cache_file"
6239 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6243 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6244 echo "configure:6245: checking for toolkit" >&5
6246 if test "$wxUSE_GUI" = "yes"; then
6248 if test "$USE_BEOS" = 1; then
6249 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6252 if test "$TOOLKIT_GIVEN" = 1; then
6253 for toolkit
in `echo $ALL_TOOLKITS`; do
6255 eval "value=\$${var}"
6256 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6259 for toolkit
in `echo $ALL_TOOLKITS`; do
6260 if test "$has_toolkit_in_cache" != 1; then
6261 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6263 var
=DEFAULT_wxUSE_
$toolkit
6265 eval "wxUSE_$toolkit=\$${var}"
6269 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6273 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6274 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6283 case "$NUM_TOOLKITS" in
6287 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6290 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6293 for toolkit
in `echo $ALL_TOOLKITS`; do
6295 eval "value=\$${var}"
6296 if test "x$value" != x
; then
6297 cache_var
=CACHE_
$toolkit
6298 eval "cache=\$${cache_var}"
6299 if test "$cache" = 1; then
6300 echo "$var=$value" >> ${wx_arg_cache_file}
6302 if test "$value" = 1; then
6303 echo "$ac_t""`echo $toolkit | tr [A-Z] [a-z]`" 1>&6
6310 echo "$ac_t""base only" 1>&6
6314 cat > confcache
<<\EOF
6315 # This file is a shell script that caches the results of configure
6316 # tests run on this system so they can be shared between configure
6317 # scripts and configure runs. It is not useful on other systems.
6318 # If it contains results you don't want to keep, you may remove or edit it.
6320 # By default, configure uses ./config.cache as the cache file,
6321 # creating it if it does not exist already. You can give configure
6322 # the --cache-file=FILE option to use a different cache file; that is
6323 # what configure does when it calls configure scripts in
6324 # subdirectories, so they share the cache.
6325 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6326 # config.status only pays attention to the cache file if you give it the
6327 # --recheck option to rerun configure.
6330 # The following way of writing the cache mishandles newlines in values,
6331 # but we know of no workaround that is simple, portable, and efficient.
6332 # So, don't put newlines in cache variables' values.
6333 # Ultrix sh set writes to stderr and can't be redirected directly,
6334 # and sets the high bit in the cache file unless we assign to the vars.
6336 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6338 # `set' does not quote correctly, so add quotes (double-quote substitution
6339 # turns \\\\ into \\, and sed turns \\ into \).
6341 -e "s/'/'\\\\''/g" \
6342 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6345 # `set' quotes correctly as required by POSIX, so do not add quotes.
6346 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6349 if cmp -s $cache_file confcache
; then
6352 if test -w $cache_file; then
6353 echo "updating cache $cache_file"
6354 cat confcache
> $cache_file
6356 echo "not updating unwritable cache $cache_file"
6362 if test "$build" != "$host" ; then
6366 RANLIB
=$host_alias-ranlib
6367 DLLTOOL
=$host_alias-dlltool
6368 RESCOMP
=$host_alias-windres
6371 STRIP
=$host_alias-strip
6374 # Extract the first word of "gcc", so it can be a program name with args.
6375 set dummy gcc
; ac_word
=$2
6376 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6377 echo "configure:6378: checking for $ac_word" >&5
6378 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6379 echo $ac_n "(cached) $ac_c" 1>&6
6381 if test -n "$CC"; then
6382 ac_cv_prog_CC
="$CC" # Let the user override the test.
6384 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6386 for ac_dir
in $ac_dummy; do
6387 test -z "$ac_dir" && ac_dir
=.
6388 if test -f $ac_dir/$ac_word; then
6397 if test -n "$CC"; then
6398 echo "$ac_t""$CC" 1>&6
6400 echo "$ac_t""no" 1>&6
6403 if test -z "$CC"; then
6404 # Extract the first word of "cc", so it can be a program name with args.
6405 set dummy cc
; ac_word
=$2
6406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6407 echo "configure:6408: checking for $ac_word" >&5
6408 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6409 echo $ac_n "(cached) $ac_c" 1>&6
6411 if test -n "$CC"; then
6412 ac_cv_prog_CC
="$CC" # Let the user override the test.
6414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6417 for ac_dir
in $ac_dummy; do
6418 test -z "$ac_dir" && ac_dir
=.
6419 if test -f $ac_dir/$ac_word; then
6420 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6421 ac_prog_rejected
=yes
6429 if test $ac_prog_rejected = yes; then
6430 # We found a bogon in the path, so make sure we never use it.
6431 set dummy
$ac_cv_prog_CC
6433 if test $# -gt 0; then
6434 # We chose a different compiler from the bogus one.
6435 # However, it has the same basename, so the bogon will be chosen
6436 # first if we set CC to just the basename; use the full file name.
6438 set dummy
"$ac_dir/$ac_word" "$@"
6446 if test -n "$CC"; then
6447 echo "$ac_t""$CC" 1>&6
6449 echo "$ac_t""no" 1>&6
6452 if test -z "$CC"; then
6453 case "`uname -s`" in
6455 # Extract the first word of "cl", so it can be a program name with args.
6456 set dummy cl
; ac_word
=$2
6457 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6458 echo "configure:6459: checking for $ac_word" >&5
6459 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6460 echo $ac_n "(cached) $ac_c" 1>&6
6462 if test -n "$CC"; then
6463 ac_cv_prog_CC
="$CC" # Let the user override the test.
6465 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6467 for ac_dir
in $ac_dummy; do
6468 test -z "$ac_dir" && ac_dir
=.
6469 if test -f $ac_dir/$ac_word; then
6478 if test -n "$CC"; then
6479 echo "$ac_t""$CC" 1>&6
6481 echo "$ac_t""no" 1>&6
6486 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6489 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6490 echo "configure:6491: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6493 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6494 ac_cpp
='$CPP $CPPFLAGS'
6495 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6496 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6497 cross_compiling
=$ac_cv_prog_cc_cross
6499 cat > conftest.
$ac_ext << EOF
6501 #line 6502 "configure"
6502 #include "confdefs.h"
6506 if { (eval echo configure
:6507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6507 ac_cv_prog_cc_works
=yes
6508 # If we can't run a trivial program, we are probably using a cross compiler.
6509 if (.
/conftest
; exit) 2>/dev
/null
; then
6510 ac_cv_prog_cc_cross
=no
6512 ac_cv_prog_cc_cross
=yes
6515 echo "configure: failed program was:" >&5
6516 cat conftest.
$ac_ext >&5
6517 ac_cv_prog_cc_works
=no
6521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6522 ac_cpp
='$CPP $CPPFLAGS'
6523 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6524 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6525 cross_compiling
=$ac_cv_prog_cc_cross
6527 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6528 if test $ac_cv_prog_cc_works = no
; then
6529 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6531 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6532 echo "configure:6533: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6533 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6534 cross_compiling
=$ac_cv_prog_cc_cross
6536 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6537 echo "configure:6538: checking whether we are using GNU C" >&5
6538 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6539 echo $ac_n "(cached) $ac_c" 1>&6
6541 cat > conftest.c
<<EOF
6546 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6553 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6555 if test $ac_cv_prog_gcc = yes; then
6561 ac_test_CFLAGS
="${CFLAGS+set}"
6562 ac_save_CFLAGS
="$CFLAGS"
6564 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6565 echo "configure:6566: checking whether ${CC-cc} accepts -g" >&5
6566 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6567 echo $ac_n "(cached) $ac_c" 1>&6
6569 echo 'void f(){}' > conftest.c
6570 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6579 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6580 if test "$ac_test_CFLAGS" = set; then
6581 CFLAGS
="$ac_save_CFLAGS"
6582 elif test $ac_cv_prog_cc_g = yes; then
6583 if test "$GCC" = yes; then
6589 if test "$GCC" = yes; then
6597 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6599 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6600 echo "configure:6601: checking how to run the C preprocessor" >&5
6601 # On Suns, sometimes $CPP names a directory.
6602 if test -n "$CPP" && test -d "$CPP"; then
6605 if test -z "$CPP"; then
6606 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6607 echo $ac_n "(cached) $ac_c" 1>&6
6609 # This must be in double quotes, not single quotes, because CPP may get
6610 # substituted into the Makefile and "${CC-cc}" will confuse make.
6612 # On the NeXT, cc -E runs the code through the compiler's parser,
6613 # not just through cpp.
6614 cat > conftest.
$ac_ext <<EOF
6615 #line 6616 "configure"
6616 #include "confdefs.h"
6620 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6621 { (eval echo configure
:6622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6622 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6623 if test -z "$ac_err"; then
6627 echo "configure: failed program was:" >&5
6628 cat conftest.
$ac_ext >&5
6630 CPP
="${CC-cc} -E -traditional-cpp"
6631 cat > conftest.
$ac_ext <<EOF
6632 #line 6633 "configure"
6633 #include "confdefs.h"
6637 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6638 { (eval echo configure
:6639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6639 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6640 if test -z "$ac_err"; then
6644 echo "configure: failed program was:" >&5
6645 cat conftest.
$ac_ext >&5
6647 CPP
="${CC-cc} -nologo -E"
6648 cat > conftest.
$ac_ext <<EOF
6649 #line 6650 "configure"
6650 #include "confdefs.h"
6654 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6655 { (eval echo configure
:6656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6656 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6657 if test -z "$ac_err"; then
6661 echo "configure: failed program was:" >&5
6662 cat conftest.
$ac_ext >&5
6671 ac_cv_prog_CPP
="$CPP"
6673 CPP
="$ac_cv_prog_CPP"
6675 ac_cv_prog_CPP
="$CPP"
6677 echo "$ac_t""$CPP" 1>&6
6680 if test $ac_cv_prog_gcc = yes; then
6681 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6682 echo "configure:6683: checking whether ${CC-cc} needs -traditional" >&5
6683 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6684 echo $ac_n "(cached) $ac_c" 1>&6
6686 ac_pattern
="Autoconf.*'x'"
6687 cat > conftest.
$ac_ext <<EOF
6688 #line 6689 "configure"
6689 #include "confdefs.h"
6693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6694 egrep "$ac_pattern" >/dev
/null
2>&1; then
6696 ac_cv_prog_gcc_traditional
=yes
6699 ac_cv_prog_gcc_traditional
=no
6704 if test $ac_cv_prog_gcc_traditional = no
; then
6705 cat > conftest.
$ac_ext <<EOF
6706 #line 6707 "configure"
6707 #include "confdefs.h"
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 egrep "$ac_pattern" >/dev
/null
2>&1; then
6714 ac_cv_prog_gcc_traditional
=yes
6721 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6722 if test $ac_cv_prog_gcc_traditional = yes; then
6723 CC
="$CC -traditional"
6730 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6731 ac_cpp
='$CXXCPP $CPPFLAGS'
6732 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6733 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6734 cross_compiling
=$ac_cv_prog_cxx_cross
6737 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6739 # Extract the first word of "$ac_prog", so it can be a program name with args.
6740 set dummy
$ac_prog; ac_word
=$2
6741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6742 echo "configure:6743: checking for $ac_word" >&5
6743 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6744 echo $ac_n "(cached) $ac_c" 1>&6
6746 if test -n "$CXX"; then
6747 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6749 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6751 for ac_dir
in $ac_dummy; do
6752 test -z "$ac_dir" && ac_dir
=.
6753 if test -f $ac_dir/$ac_word; then
6754 ac_cv_prog_CXX
="$ac_prog"
6761 CXX
="$ac_cv_prog_CXX"
6762 if test -n "$CXX"; then
6763 echo "$ac_t""$CXX" 1>&6
6765 echo "$ac_t""no" 1>&6
6768 test -n "$CXX" && break
6770 test -n "$CXX" || CXX
="gcc"
6773 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6774 echo "configure:6775: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6778 ac_cpp
='$CXXCPP $CPPFLAGS'
6779 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6780 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6781 cross_compiling
=$ac_cv_prog_cxx_cross
6783 cat > conftest.
$ac_ext << EOF
6785 #line 6786 "configure"
6786 #include "confdefs.h"
6788 int main(){return(0);}
6790 if { (eval echo configure
:6791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6791 ac_cv_prog_cxx_works
=yes
6792 # If we can't run a trivial program, we are probably using a cross compiler.
6793 if (.
/conftest
; exit) 2>/dev
/null
; then
6794 ac_cv_prog_cxx_cross
=no
6796 ac_cv_prog_cxx_cross
=yes
6799 echo "configure: failed program was:" >&5
6800 cat conftest.
$ac_ext >&5
6801 ac_cv_prog_cxx_works
=no
6805 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6806 ac_cpp
='$CXXCPP $CPPFLAGS'
6807 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6808 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6809 cross_compiling
=$ac_cv_prog_cxx_cross
6811 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6812 if test $ac_cv_prog_cxx_works = no
; then
6813 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6815 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6816 echo "configure:6817: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6817 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6818 cross_compiling
=$ac_cv_prog_cxx_cross
6820 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6821 echo "configure:6822: checking whether we are using GNU C++" >&5
6822 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6823 echo $ac_n "(cached) $ac_c" 1>&6
6825 cat > conftest.C
<<EOF
6830 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6837 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6839 if test $ac_cv_prog_gxx = yes; then
6845 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6846 ac_save_CXXFLAGS
="$CXXFLAGS"
6848 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6849 echo "configure:6850: checking whether ${CXX-g++} accepts -g" >&5
6850 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6851 echo $ac_n "(cached) $ac_c" 1>&6
6853 echo 'void f(){}' > conftest.cc
6854 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6855 ac_cv_prog_cxx_g
=yes
6863 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6864 if test "$ac_test_CXXFLAGS" = set; then
6865 CXXFLAGS
="$ac_save_CXXFLAGS"
6866 elif test $ac_cv_prog_cxx_g = yes; then
6867 if test "$GXX" = yes; then
6873 if test "$GXX" = yes; then
6881 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6882 echo "configure:6883: checking how to run the C++ preprocessor" >&5
6883 if test -z "$CXXCPP"; then
6884 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6885 echo $ac_n "(cached) $ac_c" 1>&6
6888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6889 ac_cpp
='$CXXCPP $CPPFLAGS'
6890 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6891 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6892 cross_compiling
=$ac_cv_prog_cxx_cross
6893 CXXCPP
="${CXX-g++} -E"
6894 cat > conftest.
$ac_ext <<EOF
6895 #line 6896 "configure"
6896 #include "confdefs.h"
6899 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6900 { (eval echo configure
:6901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6901 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6902 if test -z "$ac_err"; then
6906 echo "configure: failed program was:" >&5
6907 cat conftest.
$ac_ext >&5
6912 ac_cv_prog_CXXCPP
="$CXXCPP"
6914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6915 ac_cpp
='$CXXCPP $CPPFLAGS'
6916 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6917 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6918 cross_compiling
=$ac_cv_prog_cxx_cross
6921 CXXCPP
="$ac_cv_prog_CXXCPP"
6922 echo "$ac_t""$CXXCPP" 1>&6
6925 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6929 ac_cpp
='$CPP $CPPFLAGS'
6930 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6931 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6932 cross_compiling
=$ac_cv_prog_cc_cross
6935 # Extract the first word of "ranlib", so it can be a program name with args.
6936 set dummy ranlib
; ac_word
=$2
6937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6938 echo "configure:6939: checking for $ac_word" >&5
6939 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6940 echo $ac_n "(cached) $ac_c" 1>&6
6942 if test -n "$RANLIB"; then
6943 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6945 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6947 for ac_dir
in $ac_dummy; do
6948 test -z "$ac_dir" && ac_dir
=.
6949 if test -f $ac_dir/$ac_word; then
6950 ac_cv_prog_RANLIB
="ranlib"
6955 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6958 RANLIB
="$ac_cv_prog_RANLIB"
6959 if test -n "$RANLIB"; then
6960 echo "$ac_t""$RANLIB" 1>&6
6962 echo "$ac_t""no" 1>&6
6966 # Extract the first word of "ar", so it can be a program name with args.
6967 set dummy
ar; ac_word
=$2
6968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6969 echo "configure:6970: checking for $ac_word" >&5
6970 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6971 echo $ac_n "(cached) $ac_c" 1>&6
6973 if test -n "$AR"; then
6974 ac_cv_prog_AR
="$AR" # Let the user override the test.
6976 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6978 for ac_dir
in $ac_dummy; do
6979 test -z "$ac_dir" && ac_dir
=.
6980 if test -f $ac_dir/$ac_word; then
6986 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6990 if test -n "$AR"; then
6991 echo "$ac_t""$AR" 1>&6
6993 echo "$ac_t""no" 1>&6
6997 # Find a good install program. We prefer a C program (faster),
6998 # so one script is as good as another. But avoid the broken or
6999 # incompatible versions:
7000 # SysV /etc/install, /usr/sbin/install
7001 # SunOS /usr/etc/install
7002 # IRIX /sbin/install
7004 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7005 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7006 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7007 # ./install, which can be erroneously created by make from ./install.sh.
7008 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
7009 echo "configure:7010: checking for a BSD compatible install" >&5
7010 if test -z "$INSTALL"; then
7011 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
7012 echo $ac_n "(cached) $ac_c" 1>&6
7014 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
7015 for ac_dir
in $PATH; do
7016 # Account for people who put trailing slashes in PATH elements.
7018 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
7020 # OSF1 and SCO ODT 3.0 have their own names for install.
7021 # Don't use installbsd from OSF since it installs stuff as root
7023 for ac_prog
in ginstall scoinst
install; do
7024 if test -f $ac_dir/$ac_prog; then
7025 if test $ac_prog = install &&
7026 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
7027 # AIX install. It has an incompatible calling convention.
7030 ac_cv_path_install
="$ac_dir/$ac_prog -c"
7041 if test "${ac_cv_path_install+set}" = set; then
7042 INSTALL
="$ac_cv_path_install"
7044 # As a last resort, use the slow shell script. We don't cache a
7045 # path for INSTALL within a source directory, because that will
7046 # break other packages using the cache if that directory is
7047 # removed, or if the path is relative.
7048 INSTALL
="$ac_install_sh"
7051 echo "$ac_t""$INSTALL" 1>&6
7053 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7054 # It thinks the first close brace ends the variable substitution.
7055 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7057 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
7059 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7062 # Extract the first word of "strip", so it can be a program name with args.
7063 set dummy strip
; ac_word
=$2
7064 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7065 echo "configure:7066: checking for $ac_word" >&5
7066 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
7067 echo $ac_n "(cached) $ac_c" 1>&6
7069 if test -n "$STRIP"; then
7070 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7072 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7074 for ac_dir
in $ac_dummy; do
7075 test -z "$ac_dir" && ac_dir
=.
7076 if test -f $ac_dir/$ac_word; then
7077 ac_cv_prog_STRIP
="strip"
7082 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
7085 STRIP
="$ac_cv_prog_STRIP"
7086 if test -n "$STRIP"; then
7087 echo "$ac_t""$STRIP" 1>&6
7089 echo "$ac_t""no" 1>&6
7093 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
7094 echo "configure:7095: checking make for VPATH support" >&5
7095 cat - << EOF > confMake
7101 if test ! -d sub
; then
7104 echo dummy
> sub
/file
7105 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
7107 rm -f sub
/file check final_file confMake
7109 if test "$RESULT" = 0; then
7110 echo "$ac_t""yes" 1>&6
7112 echo "$ac_t""no" 1>&6
7113 { echo "configure: error:
7114 You need a make-utility that is able to use the variable
7116 If your version of make does not support VPATH correctly,
7117 please install GNU-make (possibly as gmake), and start
7118 configure with the following command:
7119 export MAKE=gmake; ./configure for sh-type shells
7120 setenv MAKE gmake; ./configure for csh-type shells
7121 Also please do remember to use gmake in this case every time
7122 you are trying to compile.
7126 for ac_prog
in 'bison -y' byacc
7128 # Extract the first word of "$ac_prog", so it can be a program name with args.
7129 set dummy
$ac_prog; ac_word
=$2
7130 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7131 echo "configure:7132: checking for $ac_word" >&5
7132 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
7133 echo $ac_n "(cached) $ac_c" 1>&6
7135 if test -n "$YACC"; then
7136 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7138 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7140 for ac_dir
in $ac_dummy; do
7141 test -z "$ac_dir" && ac_dir
=.
7142 if test -f $ac_dir/$ac_word; then
7143 ac_cv_prog_YACC
="$ac_prog"
7150 YACC
="$ac_cv_prog_YACC"
7151 if test -n "$YACC"; then
7152 echo "$ac_t""$YACC" 1>&6
7154 echo "$ac_t""no" 1>&6
7157 test -n "$YACC" && break
7159 test -n "$YACC" || YACC
="yacc"
7162 # Extract the first word of "flex", so it can be a program name with args.
7163 set dummy flex
; ac_word
=$2
7164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7165 echo "configure:7166: checking for $ac_word" >&5
7166 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
7167 echo $ac_n "(cached) $ac_c" 1>&6
7169 if test -n "$LEX"; then
7170 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
7172 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7174 for ac_dir
in $ac_dummy; do
7175 test -z "$ac_dir" && ac_dir
=.
7176 if test -f $ac_dir/$ac_word; then
7177 ac_cv_prog_LEX
="flex"
7182 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
7185 LEX
="$ac_cv_prog_LEX"
7186 if test -n "$LEX"; then
7187 echo "$ac_t""$LEX" 1>&6
7189 echo "$ac_t""no" 1>&6
7192 if test -z "$LEXLIB"
7198 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
7199 echo "configure:7200: checking for yywrap in -l$ac_lib" >&5
7200 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
7201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7202 echo $ac_n "(cached) $ac_c" 1>&6
7204 ac_save_LIBS
="$LIBS"
7205 LIBS
="-l$ac_lib $LIBS"
7206 cat > conftest.
$ac_ext <<EOF
7207 #line 7208 "configure"
7208 #include "confdefs.h"
7209 /* Override any gcc2 internal prototype to avoid an error. */
7210 /* We use char because int might match the return type of a gcc2
7211 builtin and then its argument prototype would still apply. */
7218 if { (eval echo configure
:7219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7220 eval "ac_cv_lib_$ac_lib_var=yes"
7222 echo "configure: failed program was:" >&5
7223 cat conftest.
$ac_ext >&5
7225 eval "ac_cv_lib_$ac_lib_var=no"
7228 LIBS
="$ac_save_LIBS"
7231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7232 echo "$ac_t""yes" 1>&6
7235 echo "$ac_t""no" 1>&6
7241 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7242 echo "configure:7243: checking whether ln -s works" >&5
7243 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7244 echo $ac_n "(cached) $ac_c" 1>&6
7247 if ln -s X conftestdata
2>/dev
/null
7250 ac_cv_prog_LN_S
="ln -s"
7255 LN_S
="$ac_cv_prog_LN_S"
7256 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7257 echo "$ac_t""yes" 1>&6
7259 echo "$ac_t""no" 1>&6
7265 /usr/local/include \
7267 /usr/Motif-1.2/include \
7268 /usr/Motif-2.1/include \
7270 /usr/include/Motif1.2 \
7271 /opt/xpm/include/X11 \
7272 /opt/GBxpm/include/ \
7273 /opt/GBxpm/X11/include/ \
7275 /usr/Motif1.2/include \
7277 /usr/openwin/include \
7281 /usr/X11R6/include \
7282 /usr/X11R6.4/include \
7283 /usr/X11R5/include \
7284 /usr/X11R4/include \
7286 /usr/include/X11R6 \
7287 /usr/include/X11R5 \
7288 /usr/include/X11R4 \
7290 /usr/local/X11R6/include \
7291 /usr/local/X11R5/include \
7292 /usr/local/X11R4/include \
7294 /usr/local/include/X11R6 \
7295 /usr/local/include/X11R5 \
7296 /usr/local/include/X11R4 \
7300 /usr/local/X11/include \
7301 /usr/local/include/X11 \
7305 /usr/XFree86/include/X11 \
7307 X:/XFree86/include \
7308 X:/XFree86/include/X11 \
7311 /usr/local/include/gtk \
7313 /usr/local/include/glib \
7316 /usr/local/include/qt \
7318 /usr/include/windows \
7320 /usr/local/include/wine \
7322 /usr/unsupported/include \
7323 /usr/athena/include \
7324 /usr/local/x11r5/include \
7325 /usr/lpp/Xamples/include \
7327 /usr/openwin/share/include \
7331 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7334 cat > confcache
<<\EOF
7335 # This file is a shell script that caches the results of configure
7336 # tests run on this system so they can be shared between configure
7337 # scripts and configure runs. It is not useful on other systems.
7338 # If it contains results you don't want to keep, you may remove or edit it.
7340 # By default, configure uses ./config.cache as the cache file,
7341 # creating it if it does not exist already. You can give configure
7342 # the --cache-file=FILE option to use a different cache file; that is
7343 # what configure does when it calls configure scripts in
7344 # subdirectories, so they share the cache.
7345 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7346 # config.status only pays attention to the cache file if you give it the
7347 # --recheck option to rerun configure.
7350 # The following way of writing the cache mishandles newlines in values,
7351 # but we know of no workaround that is simple, portable, and efficient.
7352 # So, don't put newlines in cache variables' values.
7353 # Ultrix sh set writes to stderr and can't be redirected directly,
7354 # and sets the high bit in the cache file unless we assign to the vars.
7356 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7358 # `set' does not quote correctly, so add quotes (double-quote substitution
7359 # turns \\\\ into \\, and sed turns \\ into \).
7361 -e "s/'/'\\\\''/g" \
7362 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7365 # `set' quotes correctly as required by POSIX, so do not add quotes.
7366 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7369 if cmp -s $cache_file confcache
; then
7372 if test -w $cache_file; then
7373 echo "updating cache $cache_file"
7374 cat confcache
> $cache_file
7376 echo "not updating unwritable cache $cache_file"
7385 if test "$wxUSE_GUI" = "yes"; then
7401 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7402 if test "$cross_compiling" = "yes" ; then
7403 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7405 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7406 echo "configure:7407: checking for Windows headers" >&5
7409 for ac_dir
in $SEARCH_INCLUDE;
7411 if test -f "$ac_dir/windows.h"; then
7412 ac_find_includes
=$ac_dir
7417 if test "$ac_find_includes" != "" ; then
7418 echo "$ac_t""found $ac_find_includes" 1>&6
7419 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7421 echo "$ac_t""no" 1>&6
7422 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7426 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7427 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7429 if test "$wxUSE_ODBC" = "yes" ; then
7430 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7433 if test "$wxUSE_MINGW" = 1; then
7434 LDFLAGS
="$LDFLAGS -mwindows"
7440 RCINCSWITCH
="--include-dir"
7441 RCDEFSWITCH
="--define"
7442 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7445 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7447 RESPROGRAM
="\$(RES_PROGRAM)"
7451 if test "$wxUSE_GTK" = 1; then
7452 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7453 if test "${with_gtk_prefix+set}" = set; then
7454 withval
="$with_gtk_prefix"
7455 gtk_config_prefix
="$withval"
7457 gtk_config_prefix
=""
7460 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7461 if test "${with_gtk_exec_prefix+set}" = set; then
7462 withval
="$with_gtk_exec_prefix"
7463 gtk_config_exec_prefix
="$withval"
7465 gtk_config_exec_prefix
=""
7468 # Check whether --enable-gtktest or --disable-gtktest was given.
7469 if test "${enable_gtktest+set}" = set; then
7470 enableval
="$enable_gtktest"
7477 for module
in . gthread
7481 gtk_config_args
="$gtk_config_args gthread"
7486 if test x
$gtk_config_exec_prefix != x
; then
7487 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7488 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7489 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7492 if test x
$gtk_config_prefix != x
; then
7493 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7494 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7495 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7499 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7500 set dummy gtk
-config-2.0
; ac_word
=$2
7501 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7502 echo "configure:7503: checking for $ac_word" >&5
7503 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7504 echo $ac_n "(cached) $ac_c" 1>&6
7506 case "$GTK_CONFIG_2_0" in
7508 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7511 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7514 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7516 for ac_dir
in $ac_dummy; do
7517 test -z "$ac_dir" && ac_dir
=.
7518 if test -f $ac_dir/$ac_word; then
7519 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7524 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7528 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7529 if test -n "$GTK_CONFIG_2_0"; then
7530 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7532 echo "$ac_t""no" 1>&6
7535 min_gtk_version
=1.3.1
7536 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7537 echo "configure:7538: checking for GTK - version >= $min_gtk_version" >&5
7539 if test "$GTK_CONFIG_2_0" = "no" ; then
7542 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7543 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7544 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7546 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7548 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7550 if test "x$enable_gtktest" = "xyes" ; then
7551 ac_save_CFLAGS
="$CFLAGS"
7552 ac_save_LIBS
="$LIBS"
7553 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7554 LIBS
="$GTK_LIBS $LIBS"
7556 if test "$cross_compiling" = yes; then
7557 echo $ac_n "cross compiling; assumed OK... $ac_c"
7559 cat > conftest.
$ac_ext <<EOF
7560 #line 7561 "configure"
7561 #include "confdefs.h"
7563 #include <gtk/gtk.h>
7570 int major, minor, micro;
7573 system ("touch conf.gtktest");
7575 /* HP/UX 9 (%@#!) writes to sscanf strings */
7576 tmp_version = g_strdup("$min_gtk_version");
7577 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7578 printf("%s, bad version string\n", "$min_gtk_version");
7582 if ((gtk_major_version != $gtk_config_major_version) ||
7583 (gtk_minor_version != $gtk_config_minor_version) ||
7584 (gtk_micro_version != $gtk_config_micro_version))
7586 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7587 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7588 gtk_major_version, gtk_minor_version, gtk_micro_version);
7589 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7590 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7591 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7592 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7593 printf("*** required on your system.\n");
7594 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7595 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7596 printf("*** before re-running configure\n");
7598 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7599 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7600 (gtk_minor_version != GTK_MINOR_VERSION) ||
7601 (gtk_micro_version != GTK_MICRO_VERSION))
7603 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7604 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7605 printf("*** library (version %d.%d.%d)\n",
7606 gtk_major_version, gtk_minor_version, gtk_micro_version);
7608 #endif /* defined (GTK_MAJOR_VERSION) ... */
7611 if ((gtk_major_version > major) ||
7612 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7613 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7619 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7620 gtk_major_version, gtk_minor_version, gtk_micro_version);
7621 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7622 major, minor, micro);
7623 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7625 printf("*** If you have already installed a sufficiently new version, this error\n");
7626 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7627 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7628 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7629 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7630 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7631 printf("*** so that the correct libraries are found at run-time))\n");
7638 if { (eval echo configure
:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7642 echo "configure: failed program was:" >&5
7643 cat conftest.
$ac_ext >&5
7650 CFLAGS
="$ac_save_CFLAGS"
7651 LIBS
="$ac_save_LIBS"
7654 if test "x$no_gtk" = x
; then
7655 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7658 echo "$ac_t""no" 1>&6
7659 if test "$GTK_CONFIG_2_0" = "no" ; then
7660 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7661 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7662 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7663 echo "*** full path to gtk-config-2.0."
7665 if test -f conf.gtktest
; then
7668 echo "*** Could not run GTK test program, checking why..."
7669 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7670 LIBS
="$LIBS $GTK_LIBS"
7671 cat > conftest.
$ac_ext <<EOF
7672 #line 7673 "configure"
7673 #include "confdefs.h"
7675 #include <gtk/gtk.h>
7679 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7682 if { (eval echo configure
:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7684 echo "*** The test program compiled, but did not run. This usually means"
7685 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7686 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7687 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7688 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7689 echo "*** is required on your system"
7691 echo "*** If you have an old version installed, it is best to remove it, although"
7692 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7694 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7695 echo "*** came with the system with the command"
7697 echo "*** rpm --erase --nodeps gtk gtk-devel"
7699 echo "configure: failed program was:" >&5
7700 cat conftest.
$ac_ext >&5
7702 echo "*** The test program failed to compile or link. See the file config.log for the"
7703 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7704 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7705 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7708 CFLAGS
="$ac_save_CFLAGS"
7709 LIBS
="$ac_save_LIBS"
7716 if test x
$gtk_config_exec_prefix != x
; then
7717 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7718 if test x
${GTK_CONFIG+set} != xset
; then
7719 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7722 if test x
$gtk_config_prefix != x
; then
7723 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7724 if test x
${GTK_CONFIG+set} != xset
; then
7725 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7729 # Extract the first word of "gtk-config", so it can be a program name with args.
7730 set dummy gtk
-config; ac_word
=$2
7731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7732 echo "configure:7733: checking for $ac_word" >&5
7733 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7734 echo $ac_n "(cached) $ac_c" 1>&6
7736 case "$GTK_CONFIG" in
7738 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7741 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7744 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7746 for ac_dir
in $ac_dummy; do
7747 test -z "$ac_dir" && ac_dir
=.
7748 if test -f $ac_dir/$ac_word; then
7749 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7754 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7758 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7759 if test -n "$GTK_CONFIG"; then
7760 echo "$ac_t""$GTK_CONFIG" 1>&6
7762 echo "$ac_t""no" 1>&6
7765 min_gtk_version
=1.2.7
7766 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7767 echo "configure:7768: checking for GTK - version >= $min_gtk_version" >&5
7769 if test "$GTK_CONFIG" != "no" ; then
7770 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7771 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7772 ac_save_CFLAGS
="$CFLAGS"
7773 ac_save_LIBS
="$LIBS"
7774 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7775 LIBS
="$LIBS $GTK_LIBS"
7776 if test "$cross_compiling" = yes; then
7777 echo $ac_n "cross compiling; assumed OK... $ac_c"
7779 cat > conftest.
$ac_ext <<EOF
7780 #line 7781 "configure"
7781 #include "confdefs.h"
7783 #include <gtk/gtk.h>
7784 #include <gtk/gtkfeatures.h>
7791 int major, minor, micro;
7793 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7794 printf("%s, bad version string\n", "$min_gtk_version");
7798 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7799 (GTK_MINOR_VERSION != gtk_minor_version) ||
7800 (GTK_MICRO_VERSION != gtk_micro_version)) {
7801 printf("Headers vs. library version mismatch!\n");
7805 if (gtk_minor_version == 1) return FALSE;
7807 return !((gtk_major_version > major) ||
7808 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7809 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7813 if { (eval echo configure
:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7817 echo "configure: failed program was:" >&5
7818 cat conftest.
$ac_ext >&5
7825 CFLAGS
="$ac_save_CFLAGS"
7826 LIBS
="$ac_save_LIBS"
7830 if test "x$no_gtk" = x
; then
7831 echo "$ac_t""yes" 1>&6
7834 echo "$ac_t""no" 1>&6
7843 if test x
$gtk_config_exec_prefix != x
; then
7844 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7845 if test x
${GTK_CONFIG+set} != xset
; then
7846 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7849 if test x
$gtk_config_prefix != x
; then
7850 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7851 if test x
${GTK_CONFIG+set} != xset
; then
7852 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7856 # Extract the first word of "gtk-config", so it can be a program name with args.
7857 set dummy gtk
-config; ac_word
=$2
7858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7859 echo "configure:7860: checking for $ac_word" >&5
7860 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7861 echo $ac_n "(cached) $ac_c" 1>&6
7863 case "$GTK_CONFIG" in
7865 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7868 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7871 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7873 for ac_dir
in $ac_dummy; do
7874 test -z "$ac_dir" && ac_dir
=.
7875 if test -f $ac_dir/$ac_word; then
7876 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7881 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7885 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7886 if test -n "$GTK_CONFIG"; then
7887 echo "$ac_t""$GTK_CONFIG" 1>&6
7889 echo "$ac_t""no" 1>&6
7892 min_gtk_version
=1.2.3
7893 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7894 echo "configure:7895: checking for GTK - version >= $min_gtk_version" >&5
7896 if test "$GTK_CONFIG" != "no" ; then
7897 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7898 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7899 ac_save_CFLAGS
="$CFLAGS"
7900 ac_save_LIBS
="$LIBS"
7901 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7902 LIBS
="$LIBS $GTK_LIBS"
7903 if test "$cross_compiling" = yes; then
7904 echo $ac_n "cross compiling; assumed OK... $ac_c"
7906 cat > conftest.
$ac_ext <<EOF
7907 #line 7908 "configure"
7908 #include "confdefs.h"
7910 #include <gtk/gtk.h>
7911 #include <gtk/gtkfeatures.h>
7918 int major, minor, micro;
7920 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7921 printf("%s, bad version string\n", "$min_gtk_version");
7925 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7926 (GTK_MINOR_VERSION != gtk_minor_version) ||
7927 (GTK_MICRO_VERSION != gtk_micro_version)) {
7928 printf("Headers vs. library version mismatch!\n");
7932 if (gtk_minor_version == 1) return FALSE;
7934 return !((gtk_major_version > major) ||
7935 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7936 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7940 if { (eval echo configure
:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7944 echo "configure: failed program was:" >&5
7945 cat conftest.
$ac_ext >&5
7952 CFLAGS
="$ac_save_CFLAGS"
7953 LIBS
="$ac_save_LIBS"
7957 if test "x$no_gtk" = x
; then
7958 echo "$ac_t""yes" 1>&6
7961 echo "$ac_t""no" 1>&6
7976 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7977 { echo "configure: error:
7978 Please check that gtk-config is in path, the directory
7979 where GTK+ libraries are installed (returned by
7980 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7981 equivalent variable and GTK+ is version 1.2.3 or above.
7985 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7988 GUI_TK_LIBRARY
="$GTK_LIBS"
7991 AFMINSTALL
=afminstall
7995 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7996 echo "configure:7997: checking for gdk_im_open in -lgdk" >&5
7997 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7999 echo $ac_n "(cached) $ac_c" 1>&6
8001 ac_save_LIBS
="$LIBS"
8003 cat > conftest.
$ac_ext <<EOF
8004 #line 8005 "configure"
8005 #include "confdefs.h"
8006 /* Override any gcc2 internal prototype to avoid an error. */
8007 /* We use char because int might match the return type of a gcc2
8008 builtin and then its argument prototype would still apply. */
8015 if { (eval echo configure
:8016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8017 eval "ac_cv_lib_$ac_lib_var=yes"
8019 echo "configure: failed program was:" >&5
8020 cat conftest.
$ac_ext >&5
8022 eval "ac_cv_lib_$ac_lib_var=no"
8025 LIBS
="$ac_save_LIBS"
8028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8029 echo "$ac_t""yes" 1>&6
8030 cat >> confdefs.h
<<\EOF
8035 echo "$ac_t""no" 1>&6
8040 if test "$wxUSE_WINE" = 1; then
8041 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
8042 echo "configure:8043: checking for WINE includes" >&5
8045 for ac_dir
in $SEARCH_INCLUDE;
8047 if test -f "$ac_dir/windows.h"; then
8048 ac_find_includes
=$ac_dir
8053 if test "$ac_find_includes" != "" ; then
8054 echo "$ac_t""found $ac_find_includes" 1>&6
8055 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8057 echo "$ac_t""no" 1>&6
8058 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8062 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8063 echo "configure:8064: checking for Xpm library" >&5
8066 for ac_dir
in $SEARCH_LIB;
8068 for ac_extension
in a so sl
; do
8069 if test -f "$ac_dir/libXpm.$ac_extension"; then
8070 ac_find_libraries
=$ac_dir
8076 if test "$ac_find_libraries" != "" ; then
8077 GUI_TK_LIBRARY
="-L$ac_find_libraries"
8079 cat >> confdefs.h
<<\EOF
8080 #define wxHAVE_LIB_XPM 1
8083 echo "$ac_t""found at $ac_find_libraries" 1>&6
8085 echo "$ac_t""no" 1>&6
8086 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8090 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
8091 echo "configure:8092: checking for Mesa library" >&5
8094 for ac_dir
in $SEARCH_LIB;
8096 for ac_extension
in a so sl
; do
8097 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
8098 ac_find_libraries
=$ac_dir
8104 if test "$ac_find_libraries" != "" ; then
8105 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
8106 MESA_LINK
="-lMesaGL"
8107 echo "$ac_t""found at $ac_find_libraries" 1>&6
8109 { echo "configure: error: no" 1>&2; exit 1; }
8112 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
8113 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8120 # If we find X, set shell vars x_includes and x_libraries to the
8121 # paths, otherwise set no_x=yes.
8122 # Uses ac_ vars as temps to allow command line to override cache and checks.
8123 # --without-x overrides everything else, but does not touch the cache.
8124 echo $ac_n "checking for X""... $ac_c" 1>&6
8125 echo "configure:8126: checking for X" >&5
8127 # Check whether --with-x or --without-x was given.
8128 if test "${with_x+set}" = set; then
8133 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8134 if test "x$with_x" = xno
; then
8135 # The user explicitly disabled X.
8138 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8139 # Both variables are already set.
8142 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
8143 echo $ac_n "(cached) $ac_c" 1>&6
8145 # One or both of the vars are not set, and there is no cached value.
8146 ac_x_includes
=NO ac_x_libraries
=NO
8148 if mkdir conftestdir
; then
8150 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8151 cat > Imakefile
<<'EOF'
8153 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8155 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8157 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8158 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8159 for ac_extension
in a so sl
; do
8160 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8161 test -f $ac_im_libdir/libX11.
$ac_extension; then
8162 ac_im_usrlibdir
=$ac_im_libdir; break
8165 # Screen out bogus values from the imake configuration. They are
8166 # bogus both because they are the default anyway, and because
8167 # using them would break gcc on systems where it needs fixed includes.
8168 case "$ac_im_incroot" in
8170 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
8172 case "$ac_im_usrlibdir" in
8174 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
8181 if test "$ac_x_includes" = NO
; then
8182 # Guess where to find include files, by looking for this one X11 .h file.
8183 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
8185 # First, try using that file with no special directory specified.
8186 cat > conftest.
$ac_ext <<EOF
8187 #line 8188 "configure"
8188 #include "confdefs.h"
8189 #include <$x_direct_test_include>
8191 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8192 { (eval echo configure
:8193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8193 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8194 if test -z "$ac_err"; then
8196 # We can compile using X headers with no special include directory.
8200 echo "configure: failed program was:" >&5
8201 cat conftest.
$ac_ext >&5
8203 # Look for the header file in a standard set of common directories.
8204 # Check X11 before X11Rn because it is often a symlink to the current release.
8207 /usr
/X
11R
6/include \
8208 /usr
/X
11R
5/include \
8209 /usr
/X
11R
4/include \
8212 /usr
/include
/X11R6 \
8213 /usr
/include
/X11R5 \
8214 /usr
/include
/X11R4 \
8216 /usr
/local
/X
11/include \
8217 /usr
/local
/X
11R
6/include \
8218 /usr
/local
/X
11R
5/include \
8219 /usr
/local
/X
11R
4/include \
8221 /usr
/local
/include
/X11 \
8222 /usr
/local
/include
/X11R6 \
8223 /usr
/local
/include
/X11R5 \
8224 /usr
/local
/include
/X11R4 \
8228 /usr
/XFree
86/include
/X11 \
8231 /usr
/local
/include \
8232 /usr
/unsupported
/include \
8233 /usr
/athena
/include \
8234 /usr
/local
/x
11r
5/include \
8235 /usr
/lpp
/Xamples
/include \
8237 /usr
/openwin
/include \
8238 /usr
/openwin
/share
/include \
8241 if test -r "$ac_dir/$x_direct_test_include"; then
8242 ac_x_includes
=$ac_dir
8248 fi # $ac_x_includes = NO
8250 if test "$ac_x_libraries" = NO
; then
8251 # Check for the libraries.
8253 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8254 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8256 # See if we find them without any special options.
8257 # Don't add to $LIBS permanently.
8258 ac_save_LIBS
="$LIBS"
8259 LIBS
="-l$x_direct_test_library $LIBS"
8260 cat > conftest.
$ac_ext <<EOF
8261 #line 8262 "configure"
8262 #include "confdefs.h"
8265 ${x_direct_test_function}()
8268 if { (eval echo configure
:8269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8270 LIBS
="$ac_save_LIBS"
8271 # We can link X programs with no special library path.
8274 echo "configure: failed program was:" >&5
8275 cat conftest.
$ac_ext >&5
8277 LIBS
="$ac_save_LIBS"
8278 # First see if replacing the include by lib works.
8279 # Check X11 before X11Rn because it is often a symlink to the current release.
8280 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8291 /usr
/local
/X
11/lib \
8292 /usr
/local
/X
11R
6/lib \
8293 /usr
/local
/X
11R
5/lib \
8294 /usr
/local
/X
11R
4/lib \
8296 /usr
/local
/lib
/X11 \
8297 /usr
/local
/lib
/X11R6 \
8298 /usr
/local
/lib
/X11R5 \
8299 /usr
/local
/lib
/X11R4 \
8303 /usr
/XFree
86/lib
/X11 \
8307 /usr
/unsupported
/lib \
8309 /usr
/local
/x
11r
5/lib \
8310 /usr
/lpp
/Xamples
/lib \
8314 /usr
/openwin
/share
/lib \
8317 for ac_extension
in a so sl
; do
8318 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8319 ac_x_libraries
=$ac_dir
8326 fi # $ac_x_libraries = NO
8328 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8329 # Didn't find X anywhere. Cache the known absence of X.
8330 ac_cv_have_x
="have_x=no"
8332 # Record where we found X for the cache.
8333 ac_cv_have_x
="have_x=yes \
8334 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8338 eval "$ac_cv_have_x"
8341 if test "$have_x" != yes; then
8342 echo "$ac_t""$have_x" 1>&6
8345 # If each of the values was on the command line, it overrides each guess.
8346 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8347 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8348 # Update the cache value to reflect the command line values.
8349 ac_cv_have_x
="have_x=yes \
8350 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8351 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8354 if test "$no_x" = yes; then
8355 # Not all programs may use this symbol, but it does not hurt to define it.
8356 cat >> confdefs.h
<<\EOF
8357 #define X_DISPLAY_MISSING 1
8360 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8362 if test -n "$x_includes"; then
8363 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8366 # It would also be nice to do this for all -L options, not just this one.
8367 if test -n "$x_libraries"; then
8368 X_LIBS
="$X_LIBS -L$x_libraries"
8369 # For Solaris; some versions of Sun CC require a space after -R and
8370 # others require no space. Words are not sufficient . . . .
8371 case "`(uname -sr) 2>/dev/null`" in
8373 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8374 echo "configure:8375: checking whether -R must be followed by a space" >&5
8375 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8376 cat > conftest.
$ac_ext <<EOF
8377 #line 8378 "configure"
8378 #include "confdefs.h"
8384 if { (eval echo configure
:8385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8388 echo "configure: failed program was:" >&5
8389 cat conftest.
$ac_ext >&5
8394 if test $ac_R_nospace = yes; then
8395 echo "$ac_t""no" 1>&6
8396 X_LIBS
="$X_LIBS -R$x_libraries"
8398 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8399 cat > conftest.
$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8407 if { (eval echo configure
:8408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8411 echo "configure: failed program was:" >&5
8412 cat conftest.
$ac_ext >&5
8417 if test $ac_R_space = yes; then
8418 echo "$ac_t""yes" 1>&6
8419 X_LIBS
="$X_LIBS -R $x_libraries"
8421 echo "$ac_t""neither works" 1>&6
8424 LIBS
="$ac_xsave_LIBS"
8428 # Check for system-dependent libraries X programs must link with.
8429 # Do this before checking for the system-independent R6 libraries
8430 # (-lICE), since we may need -lsocket or whatever for X linking.
8432 if test "$ISC" = yes; then
8433 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8435 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8436 # libraries were built with DECnet support. And karl@cs.umb.edu says
8437 # the Alpha needs dnet_stub (dnet does not exist).
8438 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8439 echo "configure:8440: checking for dnet_ntoa in -ldnet" >&5
8440 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8441 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8442 echo $ac_n "(cached) $ac_c" 1>&6
8444 ac_save_LIBS
="$LIBS"
8446 cat > conftest.
$ac_ext <<EOF
8447 #line 8448 "configure"
8448 #include "confdefs.h"
8449 /* Override any gcc2 internal prototype to avoid an error. */
8450 /* We use char because int might match the return type of a gcc2
8451 builtin and then its argument prototype would still apply. */
8458 if { (eval echo configure
:8459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8460 eval "ac_cv_lib_$ac_lib_var=yes"
8462 echo "configure: failed program was:" >&5
8463 cat conftest.
$ac_ext >&5
8465 eval "ac_cv_lib_$ac_lib_var=no"
8468 LIBS
="$ac_save_LIBS"
8471 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8472 echo "$ac_t""yes" 1>&6
8473 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8475 echo "$ac_t""no" 1>&6
8478 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8479 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8480 echo "configure:8481: checking for dnet_ntoa in -ldnet_stub" >&5
8481 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8482 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8483 echo $ac_n "(cached) $ac_c" 1>&6
8485 ac_save_LIBS
="$LIBS"
8486 LIBS
="-ldnet_stub $LIBS"
8487 cat > conftest.
$ac_ext <<EOF
8488 #line 8489 "configure"
8489 #include "confdefs.h"
8490 /* Override any gcc2 internal prototype to avoid an error. */
8491 /* We use char because int might match the return type of a gcc2
8492 builtin and then its argument prototype would still apply. */
8499 if { (eval echo configure
:8500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8501 eval "ac_cv_lib_$ac_lib_var=yes"
8503 echo "configure: failed program was:" >&5
8504 cat conftest.
$ac_ext >&5
8506 eval "ac_cv_lib_$ac_lib_var=no"
8509 LIBS
="$ac_save_LIBS"
8512 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8513 echo "$ac_t""yes" 1>&6
8514 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8516 echo "$ac_t""no" 1>&6
8521 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8522 # to get the SysV transport functions.
8523 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8525 # The nsl library prevents programs from opening the X display
8526 # on Irix 5.2, according to dickey@clark.net.
8527 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8528 echo "configure:8529: checking for gethostbyname" >&5
8529 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8530 echo $ac_n "(cached) $ac_c" 1>&6
8532 cat > conftest.
$ac_ext <<EOF
8533 #line 8534 "configure"
8534 #include "confdefs.h"
8535 /* System header to define __stub macros and hopefully few prototypes,
8536 which can conflict with char gethostbyname(); below. */
8538 /* Override any gcc2 internal prototype to avoid an error. */
8539 /* We use char because int might match the return type of a gcc2
8540 builtin and then its argument prototype would still apply. */
8541 char gethostbyname();
8545 /* The GNU C library defines this for functions which it implements
8546 to always fail with ENOSYS. Some functions are actually named
8547 something starting with __ and the normal name is an alias. */
8548 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8556 if { (eval echo configure
:8557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8558 eval "ac_cv_func_gethostbyname=yes"
8560 echo "configure: failed program was:" >&5
8561 cat conftest.
$ac_ext >&5
8563 eval "ac_cv_func_gethostbyname=no"
8568 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8569 echo "$ac_t""yes" 1>&6
8572 echo "$ac_t""no" 1>&6
8575 if test $ac_cv_func_gethostbyname = no
; then
8576 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8577 echo "configure:8578: checking for gethostbyname in -lnsl" >&5
8578 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8579 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8580 echo $ac_n "(cached) $ac_c" 1>&6
8582 ac_save_LIBS
="$LIBS"
8584 cat > conftest.
$ac_ext <<EOF
8585 #line 8586 "configure"
8586 #include "confdefs.h"
8587 /* Override any gcc2 internal prototype to avoid an error. */
8588 /* We use char because int might match the return type of a gcc2
8589 builtin and then its argument prototype would still apply. */
8590 char gethostbyname();
8596 if { (eval echo configure
:8597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8598 eval "ac_cv_lib_$ac_lib_var=yes"
8600 echo "configure: failed program was:" >&5
8601 cat conftest.
$ac_ext >&5
8603 eval "ac_cv_lib_$ac_lib_var=no"
8606 LIBS
="$ac_save_LIBS"
8609 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8610 echo "$ac_t""yes" 1>&6
8611 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8613 echo "$ac_t""no" 1>&6
8618 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8619 # socket/setsockopt and other routines are undefined under SCO ODT
8620 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8621 # on later versions), says simon@lia.di.epfl.ch: it contains
8622 # gethostby* variants that don't use the nameserver (or something).
8623 # -lsocket must be given before -lnsl if both are needed.
8624 # We assume that if connect needs -lnsl, so does gethostbyname.
8625 echo $ac_n "checking for connect""... $ac_c" 1>&6
8626 echo "configure:8627: checking for connect" >&5
8627 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8628 echo $ac_n "(cached) $ac_c" 1>&6
8630 cat > conftest.
$ac_ext <<EOF
8631 #line 8632 "configure"
8632 #include "confdefs.h"
8633 /* System header to define __stub macros and hopefully few prototypes,
8634 which can conflict with char connect(); below. */
8636 /* Override any gcc2 internal prototype to avoid an error. */
8637 /* We use char because int might match the return type of a gcc2
8638 builtin and then its argument prototype would still apply. */
8643 /* The GNU C library defines this for functions which it implements
8644 to always fail with ENOSYS. Some functions are actually named
8645 something starting with __ and the normal name is an alias. */
8646 #if defined (__stub_connect) || defined (__stub___connect)
8654 if { (eval echo configure
:8655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8656 eval "ac_cv_func_connect=yes"
8658 echo "configure: failed program was:" >&5
8659 cat conftest.
$ac_ext >&5
8661 eval "ac_cv_func_connect=no"
8666 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8667 echo "$ac_t""yes" 1>&6
8670 echo "$ac_t""no" 1>&6
8673 if test $ac_cv_func_connect = no
; then
8674 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8675 echo "configure:8676: checking for connect in -lsocket" >&5
8676 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8678 echo $ac_n "(cached) $ac_c" 1>&6
8680 ac_save_LIBS
="$LIBS"
8681 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8682 cat > conftest.
$ac_ext <<EOF
8683 #line 8684 "configure"
8684 #include "confdefs.h"
8685 /* Override any gcc2 internal prototype to avoid an error. */
8686 /* We use char because int might match the return type of a gcc2
8687 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
8698 echo "configure: failed program was:" >&5
8699 cat conftest.
$ac_ext >&5
8701 eval "ac_cv_lib_$ac_lib_var=no"
8704 LIBS
="$ac_save_LIBS"
8707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8708 echo "$ac_t""yes" 1>&6
8709 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8711 echo "$ac_t""no" 1>&6
8716 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8717 echo $ac_n "checking for remove""... $ac_c" 1>&6
8718 echo "configure:8719: checking for remove" >&5
8719 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8722 cat > conftest.
$ac_ext <<EOF
8723 #line 8724 "configure"
8724 #include "confdefs.h"
8725 /* System header to define __stub macros and hopefully few prototypes,
8726 which can conflict with char remove(); below. */
8728 /* Override any gcc2 internal prototype to avoid an error. */
8729 /* We use char because int might match the return type of a gcc2
8730 builtin and then its argument prototype would still apply. */
8735 /* The GNU C library defines this for functions which it implements
8736 to always fail with ENOSYS. Some functions are actually named
8737 something starting with __ and the normal name is an alias. */
8738 #if defined (__stub_remove) || defined (__stub___remove)
8746 if { (eval echo configure
:8747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8748 eval "ac_cv_func_remove=yes"
8750 echo "configure: failed program was:" >&5
8751 cat conftest.
$ac_ext >&5
8753 eval "ac_cv_func_remove=no"
8758 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8759 echo "$ac_t""yes" 1>&6
8762 echo "$ac_t""no" 1>&6
8765 if test $ac_cv_func_remove = no
; then
8766 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8767 echo "configure:8768: checking for remove in -lposix" >&5
8768 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8769 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8770 echo $ac_n "(cached) $ac_c" 1>&6
8772 ac_save_LIBS
="$LIBS"
8773 LIBS
="-lposix $LIBS"
8774 cat > conftest.
$ac_ext <<EOF
8775 #line 8776 "configure"
8776 #include "confdefs.h"
8777 /* Override any gcc2 internal prototype to avoid an error. */
8778 /* We use char because int might match the return type of a gcc2
8779 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
8790 echo "configure: failed program was:" >&5
8791 cat conftest.
$ac_ext >&5
8793 eval "ac_cv_lib_$ac_lib_var=no"
8796 LIBS
="$ac_save_LIBS"
8799 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8800 echo "$ac_t""yes" 1>&6
8801 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8803 echo "$ac_t""no" 1>&6
8808 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8809 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8810 echo "configure:8811: checking for shmat" >&5
8811 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8812 echo $ac_n "(cached) $ac_c" 1>&6
8814 cat > conftest.
$ac_ext <<EOF
8815 #line 8816 "configure"
8816 #include "confdefs.h"
8817 /* System header to define __stub macros and hopefully few prototypes,
8818 which can conflict with char shmat(); below. */
8820 /* Override any gcc2 internal prototype to avoid an error. */
8821 /* We use char because int might match the return type of a gcc2
8822 builtin and then its argument prototype would still apply. */
8827 /* The GNU C library defines this for functions which it implements
8828 to always fail with ENOSYS. Some functions are actually named
8829 something starting with __ and the normal name is an alias. */
8830 #if defined (__stub_shmat) || defined (__stub___shmat)
8838 if { (eval echo configure
:8839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8840 eval "ac_cv_func_shmat=yes"
8842 echo "configure: failed program was:" >&5
8843 cat conftest.
$ac_ext >&5
8845 eval "ac_cv_func_shmat=no"
8850 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8851 echo "$ac_t""yes" 1>&6
8854 echo "$ac_t""no" 1>&6
8857 if test $ac_cv_func_shmat = no
; then
8858 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8859 echo "configure:8860: checking for shmat in -lipc" >&5
8860 ac_lib_var
=`echo ipc'_'shmat | 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"
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. */
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_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8895 echo "$ac_t""no" 1>&6
8901 # Check for libraries that X11R6 Xt/Xaw programs need.
8902 ac_save_LDFLAGS
="$LDFLAGS"
8903 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8904 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8905 # check for ICE first), but we must link in the order -lSM -lICE or
8906 # we get undefined symbols. So assume we have SM if we have ICE.
8907 # These have to be linked with before -lX11, unlike the other
8908 # libraries we check for below, so use a different variable.
8909 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8910 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8911 echo "configure:8912: checking for IceConnectionNumber in -lICE" >&5
8912 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8913 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8914 echo $ac_n "(cached) $ac_c" 1>&6
8916 ac_save_LIBS
="$LIBS"
8917 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8918 cat > conftest.
$ac_ext <<EOF
8919 #line 8920 "configure"
8920 #include "confdefs.h"
8921 /* Override any gcc2 internal prototype to avoid an error. */
8922 /* We use char because int might match the return type of a gcc2
8923 builtin and then its argument prototype would still apply. */
8924 char IceConnectionNumber();
8927 IceConnectionNumber()
8930 if { (eval echo configure
:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8932 eval "ac_cv_lib_$ac_lib_var=yes"
8934 echo "configure: failed program was:" >&5
8935 cat conftest.
$ac_ext >&5
8937 eval "ac_cv_lib_$ac_lib_var=no"
8940 LIBS
="$ac_save_LIBS"
8943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8944 echo "$ac_t""yes" 1>&6
8945 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8947 echo "$ac_t""no" 1>&6
8950 LDFLAGS
="$ac_save_LDFLAGS"
8954 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8955 LDFLAGS
="$LDFLAGS $X_LIBS"
8957 if test "$wxUSE_MOTIF" = 1; then
8958 if test "$no_x" = "yes"; then
8959 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8962 GUI_TK_LIBRARY
="$X_LIBS"
8963 TOOLKIT_INCLUDE
="$X_CFLAGS"
8965 AFMINSTALL
=afminstall
8968 COMPILED_X_PROGRAM
=0
8970 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8971 echo "configure:8972: checking for Motif/Lesstif headers" >&5
8974 for ac_dir
in $SEARCH_INCLUDE;
8976 if test -f "$ac_dir/Xm/Xm.h"; then
8977 ac_find_includes
=$ac_dir
8982 if test "$ac_find_includes" != "" ; then
8983 echo "$ac_t""found $ac_find_includes" 1>&6
8985 cat > conftest.
$ac_ext <<EOF
8986 #line 8987 "configure"
8987 #include "confdefs.h"
8995 version = xmUseVersion;
8999 if { (eval echo configure
:9000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9002 echo "$ac_t""found in default search path" 1>&6
9003 COMPILED_X_PROGRAM
=1
9006 echo "configure: failed program was:" >&5
9007 cat conftest.
$ac_ext >&5
9010 echo "$ac_t""no" 1>&6
9011 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
9018 if test "$COMPILED_X_PROGRAM" = 0; then
9019 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
9020 echo "configure:9021: checking for Motif/Lesstif library" >&5
9023 for ac_dir
in $SEARCH_LIB;
9025 for ac_extension
in a so sl
; do
9026 if test -f "$ac_dir/libXm.$ac_extension"; then
9027 ac_find_libraries
=$ac_dir
9033 if test "$ac_find_libraries" != "" ; then
9035 ac_path_to_include
=$ac_find_includes
9036 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
9038 if test $result = 0; then
9039 ac_path_to_include
=""
9041 ac_path_to_include
="-I$ac_find_includes"
9045 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
9047 if test $result = 0; then
9050 ac_path_to_link
="-L$ac_find_libraries"
9054 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
9055 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
9056 echo "$ac_t""found at $ac_find_libraries" 1>&6
9058 cat > conftest.
$ac_ext <<EOF
9059 #line 9060 "configure"
9060 #include "confdefs.h"
9068 version = xmUseVersion;
9072 if { (eval echo configure
:9073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9075 echo "$ac_t""found in default search path" 1>&6
9076 COMPILED_X_PROGRAM
=1
9079 echo "configure: failed program was:" >&5
9080 cat conftest.
$ac_ext >&5
9083 echo "$ac_t""no" 1>&6
9084 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
9094 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9095 echo "configure:9096: checking for Xpm library" >&5
9098 for ac_dir
in $SEARCH_LIB;
9100 for ac_extension
in a so sl
; do
9101 if test -f "$ac_dir/libXpm.$ac_extension"; then
9102 ac_find_libraries
=$ac_dir
9108 if test "$ac_find_libraries" != "" ; then
9110 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
9112 if test $result = 0; then
9115 ac_path_to_link
="-L$ac_find_libraries"
9118 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
9120 cat >> confdefs.h
<<\EOF
9121 #define wxHAVE_LIB_XPM 1
9124 echo "$ac_t""found at $ac_find_libraries" 1>&6
9126 cat > conftest.
$ac_ext <<EOF
9127 #line 9128 "configure"
9128 #include "confdefs.h"
9130 #include <X11/xpm.h>
9136 version = XpmLibraryVersion();
9140 if { (eval echo configure
:9141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9144 cat >> confdefs.h
<<\EOF
9145 #define wxHAVE_LIB_XPM 1
9148 echo "$ac_t""found in default search path" 1>&6
9149 COMPILED_X_PROGRAM
=0
9152 echo "configure: failed program was:" >&5
9153 cat conftest.
$ac_ext >&5
9156 echo "$ac_t""no" 1>&6
9157 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9164 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
9165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9170 if test "$wxUSE_MAC" = 1; then
9175 if test "$wxUSE_PM" = 1; then
9180 if test "$TOOLKIT" != "PM" ; then
9181 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9186 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9187 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9189 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9192 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9194 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9196 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9198 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
9199 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9202 if test "$wxUSE_LIBJPEG" = "yes" ; then
9203 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9205 if test "$wxUSE_LIBTIFF" = "yes" ; then
9206 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9208 if test "$wxUSE_LIBPNG" = "yes" ; then
9209 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9211 if test "$wxUSE_ZLIB" = "yes" ; then
9212 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9214 if test "$wxUSE_FREETYPE" = "yes" ; then
9215 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9217 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9219 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9220 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9221 RPM_SPEC
="wx\$(TOOLKIT).spec"
9223 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9224 DISTDIR
="wx\$(TOOLKIT)"
9230 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9231 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9233 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9236 TOOLKIT_DEF
="-D__WXBASE__"
9238 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
9239 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
9241 if test "$wxUSE_ZLIB" = "yes" ; then
9242 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9245 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9247 PORT_FILES
="src/files.lst"
9248 RPM_FILES
="src/rpmfiles.lst"
9249 RPM_SPEC
="wxBase.spec"
9255 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9256 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9258 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9259 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9261 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9262 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9264 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9265 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9266 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9267 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9268 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9269 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9276 WX_TARGET_LIBRARY_SONAME
=
9279 if test "$wxUSE_SHARED" = "yes"; then
9282 if test "$GCC" = yes ; then
9283 SHARED_LD
="${CC} -shared -fPIC -o"
9286 LDFLAGS
="-L/usr/lib"
9288 SHARED_LD
="${CXX} -b -o"
9291 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9292 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9293 if test "$wxUSE_OPENGL" = "yes"; then
9294 WX_ALL_INSTALLED
="preinstall_gl"
9295 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9297 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9302 SHARED_LD
="${CC} -shared -o"
9304 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9305 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9306 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9307 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9309 if test "$wxUSE_OPENGL" = "yes"; then
9310 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9311 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9313 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9314 WX_ALL
="CREATE_LINKS"
9317 *-*-irix5* | *-*-irix6* )
9318 if test "$GCC" = yes ; then
9319 SHARED_LD
="${CC} -shared -o"
9322 SHARED_LD
="${CXX} -shared -o"
9324 if test "$wxUSE_OPENGL" = "yes"; then
9325 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9326 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9328 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9329 WX_ALL
="CREATE_LINKS"
9333 if test "$GCC" = yes ; then
9334 SHARED_LD
="${CC} -shared -o"
9337 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9339 SHARED_LD
="${CXX} -G -o"
9342 if test "$wxUSE_OPENGL" = "yes"; then
9343 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9344 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9346 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9347 WX_ALL
="CREATE_LINKS"
9351 SHARED_LD
="${CC} -shared -o"
9353 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9354 WX_ALL
="CREATE_LINKS"
9356 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
9357 SHARED_LD
="${CC} -shared -o"
9359 if test "$wxUSE_OPENGL" = "yes"; then
9360 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9361 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9363 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9364 WX_ALL
="CREATE_LINKS"
9368 SHARED_LD
="${CXX} -dynamiclib -o"
9369 PIC_FLAG
="-dynamic -fPIC"
9370 if test "$wxUSE_OPENGL" = "yes"; then
9371 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9372 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9374 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9375 WX_ALL
="CREATE_LINKS"
9377 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
9378 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9379 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9380 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
9381 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
9382 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
9383 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
9384 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
9385 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
9388 SHARED_LD
="${CXX} -shared -o"
9390 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9391 WX_ALL
="CREATE_LINKS"
9394 SHARED_LD
="${CXX} -shared -o"
9396 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9397 WX_ALL
="CREATE_LINKS"
9400 SHARED_LD
="${CC} -shared -o"
9402 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9403 WX_ALL
="CREATE_LINKS"
9406 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9407 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9410 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9411 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9412 if test "$wxUSE_OPENGL" = "yes"; then
9413 WX_ALL_INSTALLED
="preinstall_gl"
9414 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9416 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9420 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9421 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9422 if test "$wxUSE_OPENGL" = "yes"; then
9423 WX_ALL_INSTALLED
="preinstall_gl"
9424 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9426 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9430 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9431 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9434 SHARED_LD
="${LD} -shared -o"
9436 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9437 WX_ALL
="CREATE_LINKS"
9440 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9443 if test "x$WX_TARGET_LIBRARY" = "x"; then
9444 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9445 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9447 WX_TARGET_LIBRARY_TYPE
="so"
9449 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9450 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9452 if test "$wxUSE_OPENGL" = "yes"; then
9453 WX_ALL_INSTALLED
="preinstall_gl"
9454 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9456 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9459 if test "$wxUSE_GUI" = "no"; then
9460 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9463 WX_TARGET_LIBRARY_TYPE
="a"
9467 for ac_hdr
in strings.h
9469 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9471 echo "configure:9472: checking for $ac_hdr" >&5
9472 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9473 echo $ac_n "(cached) $ac_c" 1>&6
9475 cat > conftest.
$ac_ext <<EOF
9476 #line 9477 "configure"
9477 #include "confdefs.h"
9480 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9481 { (eval echo configure
:9482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9482 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9483 if test -z "$ac_err"; then
9485 eval "ac_cv_header_$ac_safe=yes"
9488 echo "configure: failed program was:" >&5
9489 cat conftest.
$ac_ext >&5
9491 eval "ac_cv_header_$ac_safe=no"
9495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9496 echo "$ac_t""yes" 1>&6
9497 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9498 cat >> confdefs.h
<<EOF
9499 #define $ac_tr_hdr 1
9503 echo "$ac_t""no" 1>&6
9507 for ac_hdr
in stdlib.h
9509 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9510 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9511 echo "configure:9512: checking for $ac_hdr" >&5
9512 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9513 echo $ac_n "(cached) $ac_c" 1>&6
9515 cat > conftest.
$ac_ext <<EOF
9516 #line 9517 "configure"
9517 #include "confdefs.h"
9520 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9521 { (eval echo configure
:9522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9522 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9523 if test -z "$ac_err"; then
9525 eval "ac_cv_header_$ac_safe=yes"
9528 echo "configure: failed program was:" >&5
9529 cat conftest.
$ac_ext >&5
9531 eval "ac_cv_header_$ac_safe=no"
9535 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9536 echo "$ac_t""yes" 1>&6
9537 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9538 cat >> confdefs.h
<<EOF
9539 #define $ac_tr_hdr 1
9543 echo "$ac_t""no" 1>&6
9547 for ac_hdr
in unistd.h
9549 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9551 echo "configure:9552: checking for $ac_hdr" >&5
9552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9553 echo $ac_n "(cached) $ac_c" 1>&6
9555 cat > conftest.
$ac_ext <<EOF
9556 #line 9557 "configure"
9557 #include "confdefs.h"
9560 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9561 { (eval echo configure
:9562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9562 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9563 if test -z "$ac_err"; then
9565 eval "ac_cv_header_$ac_safe=yes"
9568 echo "configure: failed program was:" >&5
9569 cat conftest.
$ac_ext >&5
9571 eval "ac_cv_header_$ac_safe=no"
9575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9576 echo "$ac_t""yes" 1>&6
9577 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9578 cat >> confdefs.h
<<EOF
9579 #define $ac_tr_hdr 1
9583 echo "$ac_t""no" 1>&6
9587 for ac_hdr
in wchar.h
9589 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9590 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9591 echo "configure:9592: checking for $ac_hdr" >&5
9592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9593 echo $ac_n "(cached) $ac_c" 1>&6
9595 cat > conftest.
$ac_ext <<EOF
9596 #line 9597 "configure"
9597 #include "confdefs.h"
9600 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9601 { (eval echo configure
:9602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9602 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9603 if test -z "$ac_err"; then
9605 eval "ac_cv_header_$ac_safe=yes"
9608 echo "configure: failed program was:" >&5
9609 cat conftest.
$ac_ext >&5
9611 eval "ac_cv_header_$ac_safe=no"
9615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9616 echo "$ac_t""yes" 1>&6
9617 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9618 cat >> confdefs.h
<<EOF
9619 #define $ac_tr_hdr 1
9623 echo "$ac_t""no" 1>&6
9627 for ac_hdr
in wcstr.h
9629 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9630 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9631 echo "configure:9632: checking for $ac_hdr" >&5
9632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9633 echo $ac_n "(cached) $ac_c" 1>&6
9635 cat > conftest.
$ac_ext <<EOF
9636 #line 9637 "configure"
9637 #include "confdefs.h"
9640 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9641 { (eval echo configure
:9642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9642 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9643 if test -z "$ac_err"; then
9645 eval "ac_cv_header_$ac_safe=yes"
9648 echo "configure: failed program was:" >&5
9649 cat conftest.
$ac_ext >&5
9651 eval "ac_cv_header_$ac_safe=no"
9655 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9656 echo "$ac_t""yes" 1>&6
9657 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9658 cat >> confdefs.h
<<EOF
9659 #define $ac_tr_hdr 1
9663 echo "$ac_t""no" 1>&6
9667 for ac_hdr
in fnmatch.h
9669 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9671 echo "configure:9672: checking for $ac_hdr" >&5
9672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9673 echo $ac_n "(cached) $ac_c" 1>&6
9675 cat > conftest.
$ac_ext <<EOF
9676 #line 9677 "configure"
9677 #include "confdefs.h"
9680 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9681 { (eval echo configure
:9682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9682 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9683 if test -z "$ac_err"; then
9685 eval "ac_cv_header_$ac_safe=yes"
9688 echo "configure: failed program was:" >&5
9689 cat conftest.
$ac_ext >&5
9691 eval "ac_cv_header_$ac_safe=no"
9695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9696 echo "$ac_t""yes" 1>&6
9697 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9698 cat >> confdefs.h
<<EOF
9699 #define $ac_tr_hdr 1
9703 echo "$ac_t""no" 1>&6
9707 for ac_hdr
in iconv.h
9709 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9710 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9711 echo "configure:9712: checking for $ac_hdr" >&5
9712 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9713 echo $ac_n "(cached) $ac_c" 1>&6
9715 cat > conftest.
$ac_ext <<EOF
9716 #line 9717 "configure"
9717 #include "confdefs.h"
9720 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9721 { (eval echo configure
:9722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9722 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9723 if test -z "$ac_err"; then
9725 eval "ac_cv_header_$ac_safe=yes"
9728 echo "configure: failed program was:" >&5
9729 cat conftest.
$ac_ext >&5
9731 eval "ac_cv_header_$ac_safe=no"
9735 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9736 echo "$ac_t""yes" 1>&6
9737 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9738 cat >> confdefs.h
<<EOF
9739 #define $ac_tr_hdr 1
9743 echo "$ac_t""no" 1>&6
9747 for ac_hdr
in langinfo.h
9749 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9750 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9751 echo "configure:9752: checking for $ac_hdr" >&5
9752 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9755 cat > conftest.
$ac_ext <<EOF
9756 #line 9757 "configure"
9757 #include "confdefs.h"
9760 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9761 { (eval echo configure
:9762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9762 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9763 if test -z "$ac_err"; then
9765 eval "ac_cv_header_$ac_safe=yes"
9768 echo "configure: failed program was:" >&5
9769 cat conftest.
$ac_ext >&5
9771 eval "ac_cv_header_$ac_safe=no"
9775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9776 echo "$ac_t""yes" 1>&6
9777 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9778 cat >> confdefs.h
<<EOF
9779 #define $ac_tr_hdr 1
9783 echo "$ac_t""no" 1>&6
9788 if test "$wxUSE_GUI" = "yes"; then
9789 if test "$wxUSE_UNIX" = "yes"; then
9790 for ac_hdr
in X
11/XKBlib.h
9792 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9793 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9794 echo "configure:9795: checking for $ac_hdr" >&5
9795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9796 echo $ac_n "(cached) $ac_c" 1>&6
9798 cat > conftest.
$ac_ext <<EOF
9799 #line 9800 "configure"
9800 #include "confdefs.h"
9803 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9804 { (eval echo configure
:9805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9805 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9806 if test -z "$ac_err"; then
9808 eval "ac_cv_header_$ac_safe=yes"
9811 echo "configure: failed program was:" >&5
9812 cat conftest.
$ac_ext >&5
9814 eval "ac_cv_header_$ac_safe=no"
9818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9819 echo "$ac_t""yes" 1>&6
9820 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9821 cat >> confdefs.h
<<EOF
9822 #define $ac_tr_hdr 1
9826 echo "$ac_t""no" 1>&6
9834 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9835 echo "configure:9836: checking for ANSI C header files" >&5
9836 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9837 echo $ac_n "(cached) $ac_c" 1>&6
9839 cat > conftest.
$ac_ext <<EOF
9840 #line 9841 "configure"
9841 #include "confdefs.h"
9847 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9848 { (eval echo configure
:9849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9849 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9850 if test -z "$ac_err"; then
9852 ac_cv_header_stdc
=yes
9855 echo "configure: failed program was:" >&5
9856 cat conftest.
$ac_ext >&5
9858 ac_cv_header_stdc
=no
9862 if test $ac_cv_header_stdc = yes; then
9863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9864 cat > conftest.
$ac_ext <<EOF
9865 #line 9866 "configure"
9866 #include "confdefs.h"
9869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9870 egrep "memchr" >/dev
/null
2>&1; then
9874 ac_cv_header_stdc
=no
9880 if test $ac_cv_header_stdc = yes; then
9881 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9882 cat > conftest.
$ac_ext <<EOF
9883 #line 9884 "configure"
9884 #include "confdefs.h"
9887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9888 egrep "free" >/dev
/null
2>&1; then
9892 ac_cv_header_stdc
=no
9898 if test $ac_cv_header_stdc = yes; then
9899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9900 if test "$cross_compiling" = yes; then
9903 cat > conftest.
$ac_ext <<EOF
9904 #line 9905 "configure"
9905 #include "confdefs.h"
9907 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9908 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9909 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9910 int main () { int i; for (i = 0; i < 256; i++)
9911 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9915 if { (eval echo configure
:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9919 echo "configure: failed program was:" >&5
9920 cat conftest.
$ac_ext >&5
9922 ac_cv_header_stdc
=no
9930 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9931 if test $ac_cv_header_stdc = yes; then
9932 cat >> confdefs.h
<<\EOF
9933 #define STDC_HEADERS 1
9938 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9939 echo "configure:9940: checking for mode_t" >&5
9940 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9941 echo $ac_n "(cached) $ac_c" 1>&6
9943 cat > conftest.
$ac_ext <<EOF
9944 #line 9945 "configure"
9945 #include "confdefs.h"
9946 #include <sys/types.h>
9952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9953 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9955 ac_cv_type_mode_t
=yes
9958 ac_cv_type_mode_t
=no
9963 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9964 if test $ac_cv_type_mode_t = no
; then
9965 cat >> confdefs.h
<<\EOF
9971 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9972 echo "configure:9973: checking for off_t" >&5
9973 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9976 cat > conftest.
$ac_ext <<EOF
9977 #line 9978 "configure"
9978 #include "confdefs.h"
9979 #include <sys/types.h>
9985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9986 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9988 ac_cv_type_off_t
=yes
9996 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9997 if test $ac_cv_type_off_t = no
; then
9998 cat >> confdefs.h
<<\EOF
10004 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
10005 echo "configure:10006: checking for pid_t" >&5
10006 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
10007 echo $ac_n "(cached) $ac_c" 1>&6
10009 cat > conftest.
$ac_ext <<EOF
10010 #line 10011 "configure"
10011 #include "confdefs.h"
10012 #include <sys/types.h>
10014 #include <stdlib.h>
10015 #include <stddef.h>
10018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10019 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
10021 ac_cv_type_pid_t
=yes
10024 ac_cv_type_pid_t
=no
10029 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
10030 if test $ac_cv_type_pid_t = no
; then
10031 cat >> confdefs.h
<<\EOF
10037 echo $ac_n "checking for size_t""... $ac_c" 1>&6
10038 echo "configure:10039: checking for size_t" >&5
10039 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
10040 echo $ac_n "(cached) $ac_c" 1>&6
10042 cat > conftest.
$ac_ext <<EOF
10043 #line 10044 "configure"
10044 #include "confdefs.h"
10045 #include <sys/types.h>
10047 #include <stdlib.h>
10048 #include <stddef.h>
10051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10052 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
10054 ac_cv_type_size_t
=yes
10057 ac_cv_type_size_t
=no
10062 echo "$ac_t""$ac_cv_type_size_t" 1>&6
10063 if test $ac_cv_type_size_t = no
; then
10064 cat >> confdefs.h
<<\EOF
10065 #define size_t unsigned
10070 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
10071 echo "configure:10072: checking for uid_t in sys/types.h" >&5
10072 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
10073 echo $ac_n "(cached) $ac_c" 1>&6
10075 cat > conftest.
$ac_ext <<EOF
10076 #line 10077 "configure"
10077 #include "confdefs.h"
10078 #include <sys/types.h>
10080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10081 egrep "uid_t" >/dev
/null
2>&1; then
10083 ac_cv_type_uid_t
=yes
10086 ac_cv_type_uid_t
=no
10092 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
10093 if test $ac_cv_type_uid_t = no
; then
10094 cat >> confdefs.h
<<\EOF
10098 cat >> confdefs.h
<<\EOF
10105 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
10106 echo "configure:10107: checking for wchar_t" >&5
10107 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
10108 echo $ac_n "(cached) $ac_c" 1>&6
10111 cat > conftest.
$ac_ext <<EOF
10112 #line 10113 "configure"
10113 #include "confdefs.h"
10119 ws = L"Hello, world!";
10123 if { (eval echo configure
:10124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10125 wx_cv_type_wchar_t
=yes
10127 echo "configure: failed program was:" >&5
10128 cat conftest.
$ac_ext >&5
10130 cat > conftest.
$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10133 #include <stdlib.h>
10138 ws = L"Hello, world!";
10142 if { (eval echo configure
:10143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10144 wx_cv_type_wchar_t
=yes
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10149 wx_cv_type_wchar_t
=no
10158 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
10160 if test "$wx_cv_type_wchar_t" = "yes"; then
10161 cat >> confdefs.h
<<\EOF
10162 #define wxUSE_WCHAR_T 1
10169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10170 ac_cpp
='$CXXCPP $CPPFLAGS'
10171 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10172 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10173 cross_compiling
=$ac_cv_prog_cxx_cross
10175 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
10176 echo "configure:10177: checking if size_t is unsigned int" >&5
10177 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
10178 echo $ac_n "(cached) $ac_c" 1>&6
10180 cat > conftest.
$ac_ext <<EOF
10181 #line 10182 "configure"
10182 #include "confdefs.h"
10183 #include <stddef.h>
10188 struct Foo { void foo(size_t); void foo(unsigned int); };
10194 if { (eval echo configure
:10195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10196 wx_cv_size_t_is_uint
=no
10198 echo "configure: failed program was:" >&5
10199 cat conftest.
$ac_ext >&5
10201 wx_cv_size_t_is_uint
=yes
10208 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
10210 if test "$wx_cv_size_t_is_uint" = "yes"; then
10211 cat >> confdefs.h
<<\EOF
10212 #define wxSIZE_T_IS_UINT 1
10216 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
10217 echo "configure:10218: checking if size_t is unsigned long" >&5
10218 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
10219 echo $ac_n "(cached) $ac_c" 1>&6
10221 cat > conftest.
$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10224 #include <stddef.h>
10229 struct Foo { void foo(size_t); void foo(unsigned long); };
10235 if { (eval echo configure
:10236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10237 wx_cv_size_t_is_ulong
=no
10239 echo "configure: failed program was:" >&5
10240 cat conftest.
$ac_ext >&5
10242 wx_cv_size_t_is_ulong
=yes
10249 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
10251 if test "$wx_cv_size_t_is_ulong" = "yes"; then
10252 cat >> confdefs.h
<<\EOF
10253 #define wxSIZE_T_IS_ULONG 1
10260 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10261 ac_cpp
='$CPP $CPPFLAGS'
10262 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10263 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10264 cross_compiling
=$ac_cv_prog_cc_cross
10268 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
10269 echo "configure:10270: checking for pw_gecos in struct passwd" >&5
10270 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
10271 echo $ac_n "(cached) $ac_c" 1>&6
10274 cat > conftest.
$ac_ext <<EOF
10275 #line 10276 "configure"
10276 #include "confdefs.h"
10286 if { (eval echo configure
:10287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10289 wx_cv_struct_pw_gecos
=yes
10292 echo "configure: failed program was:" >&5
10293 cat conftest.
$ac_ext >&5
10296 wx_cv_struct_pw_gecos
=no
10305 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
10307 if test "$wx_cv_struct_pw_gecos" = "yes"; then
10308 cat >> confdefs.h
<<\EOF
10309 #define HAVE_PW_GECOS 1
10315 echo $ac_n "checking for working const""... $ac_c" 1>&6
10316 echo "configure:10317: checking for working const" >&5
10317 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10318 echo $ac_n "(cached) $ac_c" 1>&6
10320 cat > conftest.
$ac_ext <<EOF
10321 #line 10322 "configure"
10322 #include "confdefs.h"
10326 /* Ultrix mips cc rejects this. */
10327 typedef int charset[2]; const charset x;
10328 /* SunOS 4.1.1 cc rejects this. */
10329 char const *const *ccp;
10331 /* NEC SVR4.0.2 mips cc rejects this. */
10332 struct point {int x, y;};
10333 static struct point const zero = {0,0};
10334 /* AIX XL C 1.02.0.0 rejects this.
10335 It does not let you subtract one const X* pointer from another in an arm
10336 of an if-expression whose if-part is not a constant expression */
10337 const char *g = "string";
10338 ccp = &g + (g ? g-g : 0);
10339 /* HPUX 7.0 cc rejects these. */
10342 ccp = (char const *const *) p;
10343 { /* SCO 3.2v4 cc rejects this. */
10345 char const *s = 0 ? (char *) 0 : (char const *) 0;
10349 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10350 int x[] = {25, 17};
10351 const int *foo = &x[0];
10354 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10355 typedef const int *iptr;
10359 { /* AIX XL C 1.02.0.0 rejects this saying
10360 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10361 struct s { int j; const int *ap[3]; };
10362 struct s *b; b->j = 5;
10364 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10365 const int foo = 10;
10370 if { (eval echo configure
:10371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10374 echo "configure: failed program was:" >&5
10375 cat conftest.
$ac_ext >&5
10382 echo "$ac_t""$ac_cv_c_const" 1>&6
10383 if test $ac_cv_c_const = no
; then
10384 cat >> confdefs.h
<<\EOF
10390 echo $ac_n "checking for inline""... $ac_c" 1>&6
10391 echo "configure:10392: checking for inline" >&5
10392 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10393 echo $ac_n "(cached) $ac_c" 1>&6
10396 for ac_kw
in inline __inline__ __inline
; do
10397 cat > conftest.
$ac_ext <<EOF
10398 #line 10399 "configure"
10399 #include "confdefs.h"
10405 if { (eval echo configure
:10406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10407 ac_cv_c_inline
=$ac_kw; break
10409 echo "configure: failed program was:" >&5
10410 cat conftest.
$ac_ext >&5
10417 echo "$ac_t""$ac_cv_c_inline" 1>&6
10418 case "$ac_cv_c_inline" in
10420 no
) cat >> confdefs.h
<<\EOF
10424 *) cat >> confdefs.h
<<EOF
10425 #define inline $ac_cv_c_inline
10431 echo $ac_n "checking size of char""... $ac_c" 1>&6
10432 echo "configure:10433: checking size of char" >&5
10433 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10434 echo $ac_n "(cached) $ac_c" 1>&6
10436 if test "$cross_compiling" = yes; then
10437 ac_cv_sizeof_char
=1
10439 cat > conftest.
$ac_ext <<EOF
10440 #line 10441 "configure"
10441 #include "confdefs.h"
10445 FILE *f=fopen("conftestval", "w");
10447 fprintf(f, "%d\n", sizeof(char));
10451 if { (eval echo configure
:10452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10453 ac_cv_sizeof_char
=`cat conftestval`
10455 echo "configure: failed program was:" >&5
10456 cat conftest.
$ac_ext >&5
10458 ac_cv_sizeof_char
=0
10464 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10465 cat >> confdefs.h
<<EOF
10466 #define SIZEOF_CHAR $ac_cv_sizeof_char
10470 echo $ac_n "checking size of short""... $ac_c" 1>&6
10471 echo "configure:10472: checking size of short" >&5
10472 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10473 echo $ac_n "(cached) $ac_c" 1>&6
10475 if test "$cross_compiling" = yes; then
10476 ac_cv_sizeof_short
=2
10478 cat > conftest.
$ac_ext <<EOF
10479 #line 10480 "configure"
10480 #include "confdefs.h"
10484 FILE *f=fopen("conftestval", "w");
10486 fprintf(f, "%d\n", sizeof(short));
10490 if { (eval echo configure
:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10492 ac_cv_sizeof_short
=`cat conftestval`
10494 echo "configure: failed program was:" >&5
10495 cat conftest.
$ac_ext >&5
10497 ac_cv_sizeof_short
=0
10503 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10504 cat >> confdefs.h
<<EOF
10505 #define SIZEOF_SHORT $ac_cv_sizeof_short
10509 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10510 echo "configure:10511: checking size of int *" >&5
10511 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10512 echo $ac_n "(cached) $ac_c" 1>&6
10514 if test "$cross_compiling" = yes; then
10515 ac_cv_sizeof_int_p
=4
10517 cat > conftest.
$ac_ext <<EOF
10518 #line 10519 "configure"
10519 #include "confdefs.h"
10523 FILE *f=fopen("conftestval", "w");
10525 fprintf(f, "%d\n", sizeof(int *));
10529 if { (eval echo configure
:10530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10531 ac_cv_sizeof_int_p
=`cat conftestval`
10533 echo "configure: failed program was:" >&5
10534 cat conftest.
$ac_ext >&5
10536 ac_cv_sizeof_int_p
=0
10542 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10543 cat >> confdefs.h
<<EOF
10544 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10548 echo $ac_n "checking size of int""... $ac_c" 1>&6
10549 echo "configure:10550: checking size of int" >&5
10550 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10551 echo $ac_n "(cached) $ac_c" 1>&6
10553 if test "$cross_compiling" = yes; then
10556 cat > conftest.
$ac_ext <<EOF
10557 #line 10558 "configure"
10558 #include "confdefs.h"
10562 FILE *f=fopen("conftestval", "w");
10564 fprintf(f, "%d\n", sizeof(int));
10568 if { (eval echo configure
:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10570 ac_cv_sizeof_int
=`cat conftestval`
10572 echo "configure: failed program was:" >&5
10573 cat conftest.
$ac_ext >&5
10581 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10582 cat >> confdefs.h
<<EOF
10583 #define SIZEOF_INT $ac_cv_sizeof_int
10587 echo $ac_n "checking size of long""... $ac_c" 1>&6
10588 echo "configure:10589: checking size of long" >&5
10589 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10590 echo $ac_n "(cached) $ac_c" 1>&6
10592 if test "$cross_compiling" = yes; then
10593 ac_cv_sizeof_long
=4
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10601 FILE *f=fopen("conftestval", "w");
10603 fprintf(f, "%d\n", sizeof(long));
10607 if { (eval echo configure
:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10609 ac_cv_sizeof_long
=`cat conftestval`
10611 echo "configure: failed program was:" >&5
10612 cat conftest.
$ac_ext >&5
10614 ac_cv_sizeof_long
=0
10620 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10621 cat >> confdefs.h
<<EOF
10622 #define SIZEOF_LONG $ac_cv_sizeof_long
10626 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10627 echo "configure:10628: checking size of long long" >&5
10628 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10629 echo $ac_n "(cached) $ac_c" 1>&6
10631 if test "$cross_compiling" = yes; then
10632 ac_cv_sizeof_long_long
=0
10634 cat > conftest.
$ac_ext <<EOF
10635 #line 10636 "configure"
10636 #include "confdefs.h"
10640 FILE *f=fopen("conftestval", "w");
10642 fprintf(f, "%d\n", sizeof(long long));
10646 if { (eval echo configure
:10647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10648 ac_cv_sizeof_long_long
=`cat conftestval`
10650 echo "configure: failed program was:" >&5
10651 cat conftest.
$ac_ext >&5
10653 ac_cv_sizeof_long_long
=0
10659 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10660 cat >> confdefs.h
<<EOF
10661 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10666 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10667 echo "configure:10668: checking size of wchar_t" >&5
10668 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10669 echo $ac_n "(cached) $ac_c" 1>&6
10672 if test "$cross_compiling" = yes; then
10673 wx_cv_sizeof_wchar_t
=4
10676 cat > conftest.
$ac_ext <<EOF
10677 #line 10678 "configure"
10678 #include "confdefs.h"
10680 #ifdef HAVE_WCHAR_H
10681 # include <wchar.h>
10683 #ifdef HAVE_STDLIB_H
10684 # include <stdlib.h>
10689 FILE *f=fopen("conftestval", "w");
10691 fprintf(f, "%i", sizeof(wchar_t));
10696 if { (eval echo configure
:10697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10698 wx_cv_sizeof_wchar_t
=`cat conftestval`
10700 echo "configure: failed program was:" >&5
10701 cat conftest.
$ac_ext >&5
10703 wx_cv_sizeof_wchar_t
=0
10711 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10713 cat >> confdefs.h
<<EOF
10714 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10719 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10720 echo "configure:10721: checking whether byte ordering is bigendian" >&5
10721 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10722 echo $ac_n "(cached) $ac_c" 1>&6
10724 ac_cv_c_bigendian
=unknown
10725 # See if sys/param.h defines the BYTE_ORDER macro.
10726 cat > conftest.
$ac_ext <<EOF
10727 #line 10728 "configure"
10728 #include "confdefs.h"
10729 #include <sys/types.h>
10730 #include <sys/param.h>
10733 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10734 bogus endian macros
10738 if { (eval echo configure
:10739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10740 # It does; now see whether it defined to BIG_ENDIAN or not.
10741 cat > conftest.
$ac_ext <<EOF
10742 #line 10743 "configure"
10743 #include "confdefs.h"
10744 #include <sys/types.h>
10745 #include <sys/param.h>
10748 #if BYTE_ORDER != BIG_ENDIAN
10753 if { (eval echo configure
:10754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10755 ac_cv_c_bigendian
=yes
10757 echo "configure: failed program was:" >&5
10758 cat conftest.
$ac_ext >&5
10760 ac_cv_c_bigendian
=no
10764 echo "configure: failed program was:" >&5
10765 cat conftest.
$ac_ext >&5
10768 if test $ac_cv_c_bigendian = unknown
; then
10769 if test "$cross_compiling" = yes; then
10770 ac_cv_c_bigendian
=unknown
10772 cat > conftest.
$ac_ext <<EOF
10773 #line 10774 "configure"
10774 #include "confdefs.h"
10776 /* Are we little or big endian? From Harbison&Steele. */
10780 char c[sizeof (long)];
10783 exit (u.c[sizeof (long) - 1] == 1);
10786 if { (eval echo configure
:10787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10788 ac_cv_c_bigendian
=no
10790 echo "configure: failed program was:" >&5
10791 cat conftest.
$ac_ext >&5
10793 ac_cv_c_bigendian
=yes
10801 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10802 if test $ac_cv_c_bigendian = unknown
; then
10803 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
10805 if test $ac_cv_c_bigendian = yes; then
10806 cat >> confdefs.h
<<\EOF
10807 #define WORDS_BIGENDIAN 1
10814 if test "$cross_compiling" = "yes"; then
10815 cat >> confdefs.h
<<\EOF
10816 #define wxUSE_IOSTREAMH 1
10822 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10823 ac_cpp
='$CXXCPP $CPPFLAGS'
10824 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10825 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10826 cross_compiling
=$ac_cv_prog_cxx_cross
10829 for ac_hdr
in iostream
10831 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10833 echo "configure:10834: checking for $ac_hdr" >&5
10834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10835 echo $ac_n "(cached) $ac_c" 1>&6
10837 cat > conftest.
$ac_ext <<EOF
10838 #line 10839 "configure"
10839 #include "confdefs.h"
10842 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10843 { (eval echo configure
:10844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10844 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10845 if test -z "$ac_err"; then
10847 eval "ac_cv_header_$ac_safe=yes"
10850 echo "configure: failed program was:" >&5
10851 cat conftest.
$ac_ext >&5
10853 eval "ac_cv_header_$ac_safe=no"
10857 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10858 echo "$ac_t""yes" 1>&6
10859 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10860 cat >> confdefs.h
<<EOF
10861 #define $ac_tr_hdr 1
10865 echo "$ac_t""no" 1>&6
10870 if test "$ac_cv_header_iostream" = "yes" ; then
10873 cat >> confdefs.h
<<\EOF
10874 #define wxUSE_IOSTREAMH 1
10880 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10881 ac_cpp
='$CPP $CPPFLAGS'
10882 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10883 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10884 cross_compiling
=$ac_cv_prog_cc_cross
10890 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10891 echo "configure:10892: checking if C++ compiler supports bool" >&5
10892 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10893 echo $ac_n "(cached) $ac_c" 1>&6
10898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10899 ac_cpp
='$CXXCPP $CPPFLAGS'
10900 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10901 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10902 cross_compiling
=$ac_cv_prog_cxx_cross
10905 cat > conftest.
$ac_ext <<EOF
10906 #line 10907 "configure"
10907 #include "confdefs.h"
10918 if { (eval echo configure
:10919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10924 echo "configure: failed program was:" >&5
10925 cat conftest.
$ac_ext >&5
10935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10936 ac_cpp
='$CPP $CPPFLAGS'
10937 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10938 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10939 cross_compiling
=$ac_cv_prog_cc_cross
10944 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10946 if test "$wx_cv_cpp_bool" = "yes"; then
10947 cat >> confdefs.h
<<\EOF
10948 #define HAVE_BOOL 1
10955 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10956 echo "configure:10957: checking if you need GNU extensions" >&5
10957 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10958 echo $ac_n "(cached) $ac_c" 1>&6
10961 cat > conftest.
$ac_ext <<EOF
10962 #line 10963 "configure"
10963 #include "confdefs.h"
10964 #include <features.h>
10968 #ifndef __GNU_LIBRARY__
10969 Compile error wanted
10975 if { (eval echo configure
:10976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10977 wx_cv_gnu_extensions
=yes
10979 echo "configure: failed program was:" >&5
10980 cat conftest.
$ac_ext >&5
10982 wx_cv_gnu_extensions
=no
10989 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10990 if test "$wx_cv_gnu_extensions" = "yes"; then
10991 cat >> confdefs.h
<<EOF
10992 #define _GNU_SOURCE 1
10999 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
11000 echo "configure:11001: checking for wcslen in -lc" >&5
11001 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
11002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11003 echo $ac_n "(cached) $ac_c" 1>&6
11005 ac_save_LIBS
="$LIBS"
11007 cat > conftest.
$ac_ext <<EOF
11008 #line 11009 "configure"
11009 #include "confdefs.h"
11010 /* Override any gcc2 internal prototype to avoid an error. */
11011 /* We use char because int might match the return type of a gcc2
11012 builtin and then its argument prototype would still apply. */
11019 if { (eval echo configure
:11020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11021 eval "ac_cv_lib_$ac_lib_var=yes"
11023 echo "configure: failed program was:" >&5
11024 cat conftest.
$ac_ext >&5
11026 eval "ac_cv_lib_$ac_lib_var=no"
11029 LIBS
="$ac_save_LIBS"
11032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11033 echo "$ac_t""yes" 1>&6
11035 cat >> confdefs.h
<<\EOF
11036 #define HAVE_WCSLEN 1
11042 echo "$ac_t""no" 1>&6
11044 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
11045 echo "configure:11046: checking for wcslen in -lw" >&5
11046 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
11047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11050 ac_save_LIBS
="$LIBS"
11052 cat > conftest.
$ac_ext <<EOF
11053 #line 11054 "configure"
11054 #include "confdefs.h"
11055 /* Override any gcc2 internal prototype to avoid an error. */
11056 /* We use char because int might match the return type of a gcc2
11057 builtin and then its argument prototype would still apply. */
11064 if { (eval echo configure
:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11066 eval "ac_cv_lib_$ac_lib_var=yes"
11068 echo "configure: failed program was:" >&5
11069 cat conftest.
$ac_ext >&5
11071 eval "ac_cv_lib_$ac_lib_var=no"
11074 LIBS
="$ac_save_LIBS"
11077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11078 echo "$ac_t""yes" 1>&6
11080 cat >> confdefs.h
<<\EOF
11081 #define HAVE_WCSLEN 1
11087 echo "$ac_t""no" 1>&6
11094 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
11095 echo "configure:11096: checking for vprintf" >&5
11096 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
11097 echo $ac_n "(cached) $ac_c" 1>&6
11099 cat > conftest.
$ac_ext <<EOF
11100 #line 11101 "configure"
11101 #include "confdefs.h"
11102 /* System header to define __stub macros and hopefully few prototypes,
11103 which can conflict with char vprintf(); below. */
11104 #include <assert.h>
11105 /* Override any gcc2 internal prototype to avoid an error. */
11106 /* We use char because int might match the return type of a gcc2
11107 builtin and then its argument prototype would still apply. */
11112 /* The GNU C library defines this for functions which it implements
11113 to always fail with ENOSYS. Some functions are actually named
11114 something starting with __ and the normal name is an alias. */
11115 #if defined (__stub_vprintf) || defined (__stub___vprintf)
11123 if { (eval echo configure
:11124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11125 eval "ac_cv_func_vprintf=yes"
11127 echo "configure: failed program was:" >&5
11128 cat conftest.
$ac_ext >&5
11130 eval "ac_cv_func_vprintf=no"
11135 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
11136 echo "$ac_t""yes" 1>&6
11137 cat >> confdefs.h
<<\EOF
11138 #define HAVE_VPRINTF 1
11142 echo "$ac_t""no" 1>&6
11145 if test "$ac_cv_func_vprintf" != yes; then
11146 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
11147 echo "configure:11148: checking for _doprnt" >&5
11148 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
11149 echo $ac_n "(cached) $ac_c" 1>&6
11151 cat > conftest.
$ac_ext <<EOF
11152 #line 11153 "configure"
11153 #include "confdefs.h"
11154 /* System header to define __stub macros and hopefully few prototypes,
11155 which can conflict with char _doprnt(); below. */
11156 #include <assert.h>
11157 /* Override any gcc2 internal prototype to avoid an error. */
11158 /* We use char because int might match the return type of a gcc2
11159 builtin and then its argument prototype would still apply. */
11164 /* The GNU C library defines this for functions which it implements
11165 to always fail with ENOSYS. Some functions are actually named
11166 something starting with __ and the normal name is an alias. */
11167 #if defined (__stub__doprnt) || defined (__stub____doprnt)
11175 if { (eval echo configure
:11176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11177 eval "ac_cv_func__doprnt=yes"
11179 echo "configure: failed program was:" >&5
11180 cat conftest.
$ac_ext >&5
11182 eval "ac_cv_func__doprnt=no"
11187 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
11188 echo "$ac_t""yes" 1>&6
11189 cat >> confdefs.h
<<\EOF
11190 #define HAVE_DOPRNT 1
11194 echo "$ac_t""no" 1>&6
11205 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
11206 echo "configure:11207: checking for vsnprintf" >&5
11207 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
11208 echo $ac_n "(cached) $ac_c" 1>&6
11211 cat > conftest.
$ac_ext <<EOF
11212 #line 11213 "configure"
11213 #include "confdefs.h"
11216 #include <stdarg.h>
11220 int wx_test_vsnprintf(const char *, ...);
11222 wx_test_vsnprintf("%s");
11226 int wx_test_vsnprintf(const char *fmt, ...)
11231 va_start(argp, fmt);
11232 vsnprintf(s, 42, fmt, argp);
11237 if { (eval echo configure
:11238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11240 wx_cv_func_vsnprintf
=yes
11243 echo "configure: failed program was:" >&5
11244 cat conftest.
$ac_ext >&5
11247 cat > conftest.
$ac_ext <<EOF
11248 #line 11249 "configure"
11249 #include "confdefs.h"
11252 #include <stdarg.h>
11256 int wx_test_vsnprintf(const char *, ...);
11258 wx_test_vsnprintf("%s");
11262 int wx_test_vsnprintf(const char *fmt, ...)
11267 va_start(argp, fmt);
11268 _vsnprintf(s, 42, fmt, argp);
11273 if { (eval echo configure
:11274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11276 wx_cv_func_vsnprintf
=yes
11279 echo "configure: failed program was:" >&5
11280 cat conftest.
$ac_ext >&5
11283 wx_cv_func_vsnprintf
=no
11293 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
11295 if test "$wx_cv_func_vsnprintf" = yes; then
11296 cat >> confdefs.h
<<\EOF
11297 #define HAVE_VSNPRINTF 1
11301 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
11304 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
11305 echo "configure:11306: checking for vsscanf" >&5
11306 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
11307 echo $ac_n "(cached) $ac_c" 1>&6
11310 cat > conftest.
$ac_ext <<EOF
11311 #line 11312 "configure"
11312 #include "confdefs.h"
11315 #include <stdarg.h>
11319 int wx_test_vsscanf(const char *, ...);
11321 wx_test_vsscanf("%d");
11325 int wx_test_vsscanf(const char *fmt, ...)
11328 va_start(argp, fmt);
11329 vsscanf("42", fmt, argp);
11334 if { (eval echo configure
:11335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11337 wx_cv_func_vsscanf
=yes
11340 echo "configure: failed program was:" >&5
11341 cat conftest.
$ac_ext >&5
11344 wx_cv_func_vsscanf
=no
11351 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
11353 if test "$wx_cv_func_vsscanf" = yes; then
11354 cat >> confdefs.h
<<\EOF
11355 #define HAVE_VSSCANF 1
11360 if test "$TOOLKIT" != "MSW"; then
11365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11366 ac_cpp
='$CXXCPP $CPPFLAGS'
11367 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11368 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11369 cross_compiling
=$ac_cv_prog_cxx_cross
11371 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
11372 echo "configure:11373: checking if iconv() takes char**" >&5
11373 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
11374 echo $ac_n "(cached) $ac_c" 1>&6
11377 cat > conftest.
$ac_ext <<EOF
11378 #line 11379 "configure"
11379 #include "confdefs.h"
11383 char **inbuf, **outbuf;
11385 size_t insz, outsz;
11386 iconv(cd, inbuf, &insz, outbuf, &outsz);
11390 if { (eval echo configure
:11391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11392 wx_cv_iconv_takes_char
=yes
11394 echo "configure: failed program was:" >&5
11395 cat conftest.
$ac_ext >&5
11397 wx_cv_iconv_takes_char
=no
11403 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
11405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11406 ac_cpp
='$CPP $CPPFLAGS'
11407 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11408 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11409 cross_compiling
=$ac_cv_prog_cc_cross
11411 if test "$wx_cv_iconv_takes_char" = yes ; then
11412 cat >> confdefs.h
<<\EOF
11413 #define WX_ICONV_TAKES_CHAR 1
11419 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
11420 for ac_func
in sigaction
11422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11423 echo "configure:11424: checking for $ac_func" >&5
11424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11425 echo $ac_n "(cached) $ac_c" 1>&6
11427 cat > conftest.
$ac_ext <<EOF
11428 #line 11429 "configure"
11429 #include "confdefs.h"
11430 /* System header to define __stub macros and hopefully few prototypes,
11431 which can conflict with char $ac_func(); below. */
11432 #include <assert.h>
11433 /* Override any gcc2 internal prototype to avoid an error. */
11434 /* We use char because int might match the return type of a gcc2
11435 builtin and then its argument prototype would still apply. */
11440 /* The GNU C library defines this for functions which it implements
11441 to always fail with ENOSYS. Some functions are actually named
11442 something starting with __ and the normal name is an alias. */
11443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11451 if { (eval echo configure
:11452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11453 eval "ac_cv_func_$ac_func=yes"
11455 echo "configure: failed program was:" >&5
11456 cat conftest.
$ac_ext >&5
11458 eval "ac_cv_func_$ac_func=no"
11463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11464 echo "$ac_t""yes" 1>&6
11465 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11466 cat >> confdefs.h
<<EOF
11467 #define $ac_tr_func 1
11471 echo "$ac_t""no" 1>&6
11476 if test "$ac_cv_func_sigaction" = "no"; then
11477 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11478 wxUSE_ON_FATAL_EXCEPTION
=no
11481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11484 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11485 ac_cpp
='$CXXCPP $CPPFLAGS'
11486 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11487 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11488 cross_compiling
=$ac_cv_prog_cxx_cross
11491 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11492 echo "configure:11493: checking for sa_handler type" >&5
11493 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11494 echo $ac_n "(cached) $ac_c" 1>&6
11497 cat > conftest.
$ac_ext <<EOF
11498 #line 11499 "configure"
11499 #include "confdefs.h"
11500 #include <signal.h>
11503 extern void testSigHandler(int);
11505 struct sigaction sa;
11506 sa.sa_handler = testSigHandler;
11510 if { (eval echo configure
:11511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11513 wx_cv_type_sa_handler
=int
11516 echo "configure: failed program was:" >&5
11517 cat conftest.
$ac_ext >&5
11520 wx_cv_type_sa_handler
=void
11527 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11531 ac_cpp
='$CPP $CPPFLAGS'
11532 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11533 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11534 cross_compiling
=$ac_cv_prog_cc_cross
11537 cat >> confdefs.h
<<EOF
11538 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11544 for ac_func
in vfork
11546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11547 echo "configure:11548: checking for $ac_func" >&5
11548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11551 cat > conftest.
$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11554 /* System header to define __stub macros and hopefully few prototypes,
11555 which can conflict with char $ac_func(); below. */
11556 #include <assert.h>
11557 /* Override any gcc2 internal prototype to avoid an error. */
11558 /* We use char because int might match the return type of a gcc2
11559 builtin and then its argument prototype would still apply. */
11564 /* The GNU C library defines this for functions which it implements
11565 to always fail with ENOSYS. Some functions are actually named
11566 something starting with __ and the normal name is an alias. */
11567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11575 if { (eval echo configure
:11576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11577 eval "ac_cv_func_$ac_func=yes"
11579 echo "configure: failed program was:" >&5
11580 cat conftest.
$ac_ext >&5
11582 eval "ac_cv_func_$ac_func=no"
11587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11588 echo "$ac_t""yes" 1>&6
11589 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11590 cat >> confdefs.h
<<EOF
11591 #define $ac_tr_func 1
11595 echo "$ac_t""no" 1>&6
11600 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
11601 for ac_func
in fcntl flock
11603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11604 echo "configure:11605: checking for $ac_func" >&5
11605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11606 echo $ac_n "(cached) $ac_c" 1>&6
11608 cat > conftest.
$ac_ext <<EOF
11609 #line 11610 "configure"
11610 #include "confdefs.h"
11611 /* System header to define __stub macros and hopefully few prototypes,
11612 which can conflict with char $ac_func(); below. */
11613 #include <assert.h>
11614 /* Override any gcc2 internal prototype to avoid an error. */
11615 /* We use char because int might match the return type of a gcc2
11616 builtin and then its argument prototype would still apply. */
11621 /* The GNU C library defines this for functions which it implements
11622 to always fail with ENOSYS. Some functions are actually named
11623 something starting with __ and the normal name is an alias. */
11624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11632 if { (eval echo configure
:11633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11634 eval "ac_cv_func_$ac_func=yes"
11636 echo "configure: failed program was:" >&5
11637 cat conftest.
$ac_ext >&5
11639 eval "ac_cv_func_$ac_func=no"
11644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11645 echo "$ac_t""yes" 1>&6
11646 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11647 cat >> confdefs.h
<<EOF
11648 #define $ac_tr_func 1
11652 echo "$ac_t""no" 1>&6
11657 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
11658 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
11659 wxUSE_SNGLINST_CHECKER
=no
11663 for ac_func
in timegm
11665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11666 echo "configure:11667: checking for $ac_func" >&5
11667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11668 echo $ac_n "(cached) $ac_c" 1>&6
11670 cat > conftest.
$ac_ext <<EOF
11671 #line 11672 "configure"
11672 #include "confdefs.h"
11673 /* System header to define __stub macros and hopefully few prototypes,
11674 which can conflict with char $ac_func(); below. */
11675 #include <assert.h>
11676 /* Override any gcc2 internal prototype to avoid an error. */
11677 /* We use char because int might match the return type of a gcc2
11678 builtin and then its argument prototype would still apply. */
11683 /* The GNU C library defines this for functions which it implements
11684 to always fail with ENOSYS. Some functions are actually named
11685 something starting with __ and the normal name is an alias. */
11686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11694 if { (eval echo configure
:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11696 eval "ac_cv_func_$ac_func=yes"
11698 echo "configure: failed program was:" >&5
11699 cat conftest.
$ac_ext >&5
11701 eval "ac_cv_func_$ac_func=no"
11706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11707 echo "$ac_t""yes" 1>&6
11708 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11709 cat >> confdefs.h
<<EOF
11710 #define $ac_tr_func 1
11714 echo "$ac_t""no" 1>&6
11719 for ac_func
in putenv setenv
11721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11722 echo "configure:11723: checking for $ac_func" >&5
11723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11724 echo $ac_n "(cached) $ac_c" 1>&6
11726 cat > conftest.
$ac_ext <<EOF
11727 #line 11728 "configure"
11728 #include "confdefs.h"
11729 /* System header to define __stub macros and hopefully few prototypes,
11730 which can conflict with char $ac_func(); below. */
11731 #include <assert.h>
11732 /* Override any gcc2 internal prototype to avoid an error. */
11733 /* We use char because int might match the return type of a gcc2
11734 builtin and then its argument prototype would still apply. */
11739 /* The GNU C library defines this for functions which it implements
11740 to always fail with ENOSYS. Some functions are actually named
11741 something starting with __ and the normal name is an alias. */
11742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11750 if { (eval echo configure
:11751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11752 eval "ac_cv_func_$ac_func=yes"
11754 echo "configure: failed program was:" >&5
11755 cat conftest.
$ac_ext >&5
11757 eval "ac_cv_func_$ac_func=no"
11762 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11763 echo "$ac_t""yes" 1>&6
11764 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11765 cat >> confdefs.h
<<EOF
11766 #define $ac_tr_func 1
11770 echo "$ac_t""no" 1>&6
11775 HAVE_SOME_SLEEP_FUNC
=0
11776 if test "$USE_BEOS" = 1; then
11777 cat >> confdefs.h
<<\EOF
11778 #define HAVE_SLEEP 1
11781 HAVE_SOME_SLEEP_FUNC
=1
11784 if test "$USE_MAC" = 1; then
11785 cat >> confdefs.h
<<\EOF
11786 #define HAVE_USLEEP 1
11789 HAVE_SOME_SLEEP_FUNC
=1
11792 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11794 for ac_func
in nanosleep
11796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11797 echo "configure:11798: checking for $ac_func" >&5
11798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11799 echo $ac_n "(cached) $ac_c" 1>&6
11801 cat > conftest.
$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11804 /* System header to define __stub macros and hopefully few prototypes,
11805 which can conflict with char $ac_func(); below. */
11806 #include <assert.h>
11807 /* Override any gcc2 internal prototype to avoid an error. */
11808 /* We use char because int might match the return type of a gcc2
11809 builtin and then its argument prototype would still apply. */
11814 /* The GNU C library defines this for functions which it implements
11815 to always fail with ENOSYS. Some functions are actually named
11816 something starting with __ and the normal name is an alias. */
11817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11825 if { (eval echo configure
:11826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11827 eval "ac_cv_func_$ac_func=yes"
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11832 eval "ac_cv_func_$ac_func=no"
11837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11838 echo "$ac_t""yes" 1>&6
11839 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11840 cat >> confdefs.h
<<EOF
11841 #define $ac_tr_func 1
11843 cat >> confdefs.h
<<\EOF
11844 #define HAVE_NANOSLEEP 1
11848 echo "$ac_t""no" 1>&6
11849 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11850 echo "configure:11851: checking for nanosleep in -lposix4" >&5
11851 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11852 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11853 echo $ac_n "(cached) $ac_c" 1>&6
11855 ac_save_LIBS
="$LIBS"
11856 LIBS
="-lposix4 $LIBS"
11857 cat > conftest.
$ac_ext <<EOF
11858 #line 11859 "configure"
11859 #include "confdefs.h"
11860 /* Override any gcc2 internal prototype to avoid an error. */
11861 /* We use char because int might match the return type of a gcc2
11862 builtin and then its argument prototype would still apply. */
11869 if { (eval echo configure
:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11871 eval "ac_cv_lib_$ac_lib_var=yes"
11873 echo "configure: failed program was:" >&5
11874 cat conftest.
$ac_ext >&5
11876 eval "ac_cv_lib_$ac_lib_var=no"
11879 LIBS
="$ac_save_LIBS"
11882 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11883 echo "$ac_t""yes" 1>&6
11885 cat >> confdefs.h
<<\EOF
11886 #define HAVE_NANOSLEEP 1
11889 POSIX4_LINK
="-lposix4"
11892 echo "$ac_t""no" 1>&6
11894 for ac_func
in usleep
11896 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11897 echo "configure:11898: checking for $ac_func" >&5
11898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11899 echo $ac_n "(cached) $ac_c" 1>&6
11901 cat > conftest.
$ac_ext <<EOF
11902 #line 11903 "configure"
11903 #include "confdefs.h"
11904 /* System header to define __stub macros and hopefully few prototypes,
11905 which can conflict with char $ac_func(); below. */
11906 #include <assert.h>
11907 /* Override any gcc2 internal prototype to avoid an error. */
11908 /* We use char because int might match the return type of a gcc2
11909 builtin and then its argument prototype would still apply. */
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
11929 echo "configure: failed program was:" >&5
11930 cat conftest.
$ac_ext >&5
11932 eval "ac_cv_func_$ac_func=no"
11937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11938 echo "$ac_t""yes" 1>&6
11939 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11940 cat >> confdefs.h
<<EOF
11941 #define $ac_tr_func 1
11943 cat >> confdefs.h
<<\EOF
11944 #define HAVE_USLEEP 1
11948 echo "$ac_t""no" 1>&6
11949 echo "configure: warning: wxSleep() function will not work" 1>&2
11965 for ac_func
in uname gethostname
11967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11968 echo "configure:11969: checking for $ac_func" >&5
11969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11970 echo $ac_n "(cached) $ac_c" 1>&6
11972 cat > conftest.
$ac_ext <<EOF
11973 #line 11974 "configure"
11974 #include "confdefs.h"
11975 /* System header to define __stub macros and hopefully few prototypes,
11976 which can conflict with char $ac_func(); below. */
11977 #include <assert.h>
11978 /* Override any gcc2 internal prototype to avoid an error. */
11979 /* We use char because int might match the return type of a gcc2
11980 builtin and then its argument prototype would still apply. */
11985 /* The GNU C library defines this for functions which it implements
11986 to always fail with ENOSYS. Some functions are actually named
11987 something starting with __ and the normal name is an alias. */
11988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11996 if { (eval echo configure
:11997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11998 eval "ac_cv_func_$ac_func=yes"
12000 echo "configure: failed program was:" >&5
12001 cat conftest.
$ac_ext >&5
12003 eval "ac_cv_func_$ac_func=no"
12008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12009 echo "$ac_t""yes" 1>&6
12010 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12011 cat >> confdefs.h
<<EOF
12012 #define $ac_tr_func 1
12016 echo "$ac_t""no" 1>&6
12023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12024 ac_cpp
='$CXXCPP $CPPFLAGS'
12025 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12026 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12027 cross_compiling
=$ac_cv_prog_cxx_cross
12030 for ac_func
in strtok_r
12032 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12033 echo "configure:12034: checking for $ac_func" >&5
12034 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12035 echo $ac_n "(cached) $ac_c" 1>&6
12037 cat > conftest.
$ac_ext <<EOF
12038 #line 12039 "configure"
12039 #include "confdefs.h"
12040 /* System header to define __stub macros and hopefully few prototypes,
12041 which can conflict with char $ac_func(); below. */
12042 #include <assert.h>
12043 /* Override any gcc2 internal prototype to avoid an error. */
12047 /* We use char because int might match the return type of a gcc2
12048 builtin and then its argument prototype would still apply. */
12053 /* The GNU C library defines this for functions which it implements
12054 to always fail with ENOSYS. Some functions are actually named
12055 something starting with __ and the normal name is an alias. */
12056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12064 if { (eval echo configure
:12065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12066 eval "ac_cv_func_$ac_func=yes"
12068 echo "configure: failed program was:" >&5
12069 cat conftest.
$ac_ext >&5
12071 eval "ac_cv_func_$ac_func=no"
12076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12077 echo "$ac_t""yes" 1>&6
12078 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12079 cat >> confdefs.h
<<EOF
12080 #define $ac_tr_func 1
12084 echo "$ac_t""no" 1>&6
12090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12091 ac_cpp
='$CPP $CPPFLAGS'
12092 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12093 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12094 cross_compiling
=$ac_cv_prog_cc_cross
12098 for ac_func
in inet_addr
12100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12101 echo "configure:12102: checking for $ac_func" >&5
12102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12103 echo $ac_n "(cached) $ac_c" 1>&6
12105 cat > conftest.
$ac_ext <<EOF
12106 #line 12107 "configure"
12107 #include "confdefs.h"
12108 /* System header to define __stub macros and hopefully few prototypes,
12109 which can conflict with char $ac_func(); below. */
12110 #include <assert.h>
12111 /* Override any gcc2 internal prototype to avoid an error. */
12112 /* We use char because int might match the return type of a gcc2
12113 builtin and then its argument prototype would still apply. */
12118 /* The GNU C library defines this for functions which it implements
12119 to always fail with ENOSYS. Some functions are actually named
12120 something starting with __ and the normal name is an alias. */
12121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12129 if { (eval echo configure
:12130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12131 eval "ac_cv_func_$ac_func=yes"
12133 echo "configure: failed program was:" >&5
12134 cat conftest.
$ac_ext >&5
12136 eval "ac_cv_func_$ac_func=no"
12141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12142 echo "$ac_t""yes" 1>&6
12143 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12144 cat >> confdefs.h
<<EOF
12145 #define $ac_tr_func 1
12147 cat >> confdefs.h
<<\EOF
12148 #define HAVE_INET_ADDR 1
12152 echo "$ac_t""no" 1>&6
12153 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
12154 echo "configure:12155: checking for inet_addr in -lnsl" >&5
12155 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
12156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12157 echo $ac_n "(cached) $ac_c" 1>&6
12159 ac_save_LIBS
="$LIBS"
12161 cat > conftest.
$ac_ext <<EOF
12162 #line 12163 "configure"
12163 #include "confdefs.h"
12164 /* Override any gcc2 internal prototype to avoid an error. */
12165 /* We use char because int might match the return type of a gcc2
12166 builtin and then its argument prototype would still apply. */
12173 if { (eval echo configure
:12174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12175 eval "ac_cv_lib_$ac_lib_var=yes"
12177 echo "configure: failed program was:" >&5
12178 cat conftest.
$ac_ext >&5
12180 eval "ac_cv_lib_$ac_lib_var=no"
12183 LIBS
="$ac_save_LIBS"
12186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12187 echo "$ac_t""yes" 1>&6
12190 echo "$ac_t""no" 1>&6
12191 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
12192 echo "configure:12193: checking for inet_addr in -lresolv" >&5
12193 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
12194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12195 echo $ac_n "(cached) $ac_c" 1>&6
12197 ac_save_LIBS
="$LIBS"
12198 LIBS
="-lresolv $LIBS"
12199 cat > conftest.
$ac_ext <<EOF
12200 #line 12201 "configure"
12201 #include "confdefs.h"
12202 /* Override any gcc2 internal prototype to avoid an error. */
12203 /* We use char because int might match the return type of a gcc2
12204 builtin and then its argument prototype would still apply. */
12211 if { (eval echo configure
:12212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12213 eval "ac_cv_lib_$ac_lib_var=yes"
12215 echo "configure: failed program was:" >&5
12216 cat conftest.
$ac_ext >&5
12218 eval "ac_cv_lib_$ac_lib_var=no"
12221 LIBS
="$ac_save_LIBS"
12224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12225 echo "$ac_t""yes" 1>&6
12229 echo "$ac_t""no" 1>&6
12241 for ac_func
in inet_aton
12243 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12244 echo "configure:12245: checking for $ac_func" >&5
12245 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12246 echo $ac_n "(cached) $ac_c" 1>&6
12248 cat > conftest.
$ac_ext <<EOF
12249 #line 12250 "configure"
12250 #include "confdefs.h"
12251 /* System header to define __stub macros and hopefully few prototypes,
12252 which can conflict with char $ac_func(); below. */
12253 #include <assert.h>
12254 /* Override any gcc2 internal prototype to avoid an error. */
12255 /* We use char because int might match the return type of a gcc2
12256 builtin and then its argument prototype would still apply. */
12261 /* The GNU C library defines this for functions which it implements
12262 to always fail with ENOSYS. Some functions are actually named
12263 something starting with __ and the normal name is an alias. */
12264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12272 if { (eval echo configure
:12273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12274 eval "ac_cv_func_$ac_func=yes"
12276 echo "configure: failed program was:" >&5
12277 cat conftest.
$ac_ext >&5
12279 eval "ac_cv_func_$ac_func=no"
12284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12285 echo "$ac_t""yes" 1>&6
12286 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12287 cat >> confdefs.h
<<EOF
12288 #define $ac_tr_func 1
12290 cat >> confdefs.h
<<\EOF
12291 #define HAVE_INET_ATON 1
12295 echo "$ac_t""no" 1>&6
12296 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
12297 echo "configure:12298: checking for inet_aton in -l$INET_LINK" >&5
12298 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
12299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12300 echo $ac_n "(cached) $ac_c" 1>&6
12302 ac_save_LIBS
="$LIBS"
12303 LIBS
="-l$INET_LINK $LIBS"
12304 cat > conftest.
$ac_ext <<EOF
12305 #line 12306 "configure"
12306 #include "confdefs.h"
12307 /* Override any gcc2 internal prototype to avoid an error. */
12308 /* We use char because int might match the return type of a gcc2
12309 builtin and then its argument prototype would still apply. */
12316 if { (eval echo configure
:12317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12318 eval "ac_cv_lib_$ac_lib_var=yes"
12320 echo "configure: failed program was:" >&5
12321 cat conftest.
$ac_ext >&5
12323 eval "ac_cv_lib_$ac_lib_var=no"
12326 LIBS
="$ac_save_LIBS"
12329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12330 echo "$ac_t""yes" 1>&6
12331 cat >> confdefs.h
<<\EOF
12332 #define HAVE_INET_ATON 1
12336 echo "$ac_t""no" 1>&6
12344 if test "x$INET_LINK" != "x"; then
12345 cat >> confdefs.h
<<\EOF
12346 #define HAVE_INET_ADDR 1
12349 INET_LINK
="-l$INET_LINK"
12355 cat > confcache
<<\EOF
12356 # This file is a shell script that caches the results of configure
12357 # tests run on this system so they can be shared between configure
12358 # scripts and configure runs. It is not useful on other systems.
12359 # If it contains results you don't want to keep, you may remove or edit it.
12361 # By default, configure uses ./config.cache as the cache file,
12362 # creating it if it does not exist already. You can give configure
12363 # the --cache-file=FILE option to use a different cache file; that is
12364 # what configure does when it calls configure scripts in
12365 # subdirectories, so they share the cache.
12366 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12367 # config.status only pays attention to the cache file if you give it the
12368 # --recheck option to rerun configure.
12371 # The following way of writing the cache mishandles newlines in values,
12372 # but we know of no workaround that is simple, portable, and efficient.
12373 # So, don't put newlines in cache variables' values.
12374 # Ultrix sh set writes to stderr and can't be redirected directly,
12375 # and sets the high bit in the cache file unless we assign to the vars.
12377 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12379 # `set' does not quote correctly, so add quotes (double-quote substitution
12380 # turns \\\\ into \\, and sed turns \\ into \).
12382 -e "s/'/'\\\\''/g" \
12383 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12386 # `set' quotes correctly as required by POSIX, so do not add quotes.
12387 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12390 if cmp -s $cache_file confcache
; then
12393 if test -w $cache_file; then
12394 echo "updating cache $cache_file"
12395 cat confcache
> $cache_file
12397 echo "not updating unwritable cache $cache_file"
12404 if test "$TOOLKIT" != "MSW"; then
12410 if test "$wxUSE_THREADS" = "yes" ; then
12411 if test "$wxUSE_WINE" = 1 ; then
12412 echo "configure: warning: Threads are not supported under WINE" 1>&2
12414 elif test "$USE_BEOS" = 1; then
12415 echo "configure: warning: BeOS threads are not yet supported" 1>&2
12420 if test "$wxUSE_THREADS" = "yes" ; then
12422 if test "$USE_AIX" = 1; then
12423 THREADS_LIB
=pthreads
12425 THREADS_LIB
=pthread
12428 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
12429 echo "configure:12430: checking for pthread_create in -l$THREADS_LIB" >&5
12430 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
12431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12432 echo $ac_n "(cached) $ac_c" 1>&6
12434 ac_save_LIBS
="$LIBS"
12435 LIBS
="-l$THREADS_LIB $LIBS"
12436 cat > conftest.
$ac_ext <<EOF
12437 #line 12438 "configure"
12438 #include "confdefs.h"
12439 /* Override any gcc2 internal prototype to avoid an error. */
12440 /* We use char because int might match the return type of a gcc2
12441 builtin and then its argument prototype would still apply. */
12442 char pthread_create();
12448 if { (eval echo configure
:12449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12450 eval "ac_cv_lib_$ac_lib_var=yes"
12452 echo "configure: failed program was:" >&5
12453 cat conftest.
$ac_ext >&5
12455 eval "ac_cv_lib_$ac_lib_var=no"
12458 LIBS
="$ac_save_LIBS"
12461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12462 echo "$ac_t""yes" 1>&6
12464 THREADS_OBJ
="threadpsx.lo"
12465 THREADS_LINK
=$THREADS_LIB
12468 echo "$ac_t""no" 1>&6
12470 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
12471 echo "configure:12472: checking for pthread_create in -lc_r" >&5
12472 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12473 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12474 echo $ac_n "(cached) $ac_c" 1>&6
12476 ac_save_LIBS
="$LIBS"
12478 cat > conftest.
$ac_ext <<EOF
12479 #line 12480 "configure"
12480 #include "confdefs.h"
12481 /* Override any gcc2 internal prototype to avoid an error. */
12482 /* We use char because int might match the return type of a gcc2
12483 builtin and then its argument prototype would still apply. */
12484 char pthread_create();
12490 if { (eval echo configure
:12491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12492 eval "ac_cv_lib_$ac_lib_var=yes"
12494 echo "configure: failed program was:" >&5
12495 cat conftest.
$ac_ext >&5
12497 eval "ac_cv_lib_$ac_lib_var=no"
12500 LIBS
="$ac_save_LIBS"
12503 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12504 echo "$ac_t""yes" 1>&6
12506 THREADS_OBJ
="threadpsx.lo"
12510 echo "$ac_t""no" 1>&6
12512 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
12513 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
12514 echo "configure:12515: checking for sys/prctl.h" >&5
12515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12516 echo $ac_n "(cached) $ac_c" 1>&6
12518 cat > conftest.
$ac_ext <<EOF
12519 #line 12520 "configure"
12520 #include "confdefs.h"
12521 #include <sys/prctl.h>
12523 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12524 { (eval echo configure
:12525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12525 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12526 if test -z "$ac_err"; then
12528 eval "ac_cv_header_$ac_safe=yes"
12531 echo "configure: failed program was:" >&5
12532 cat conftest.
$ac_ext >&5
12534 eval "ac_cv_header_$ac_safe=no"
12538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12539 echo "$ac_t""yes" 1>&6
12541 THREADS_OBJ
="threadsgi.lo"
12544 echo "$ac_t""no" 1>&6
12554 if test -z "$THREADS_OBJ" ; then
12556 echo "configure: warning: No thread support on this system" 1>&2
12560 if test "$wxUSE_THREADS" = "yes" ; then
12561 for ac_func
in thr_setconcurrency
12563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12564 echo "configure:12565: checking for $ac_func" >&5
12565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12566 echo $ac_n "(cached) $ac_c" 1>&6
12568 cat > conftest.
$ac_ext <<EOF
12569 #line 12570 "configure"
12570 #include "confdefs.h"
12571 /* System header to define __stub macros and hopefully few prototypes,
12572 which can conflict with char $ac_func(); below. */
12573 #include <assert.h>
12574 /* Override any gcc2 internal prototype to avoid an error. */
12575 /* We use char because int might match the return type of a gcc2
12576 builtin and then its argument prototype would still apply. */
12581 /* The GNU C library defines this for functions which it implements
12582 to always fail with ENOSYS. Some functions are actually named
12583 something starting with __ and the normal name is an alias. */
12584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12592 if { (eval echo configure
:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12594 eval "ac_cv_func_$ac_func=yes"
12596 echo "configure: failed program was:" >&5
12597 cat conftest.
$ac_ext >&5
12599 eval "ac_cv_func_$ac_func=no"
12604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12605 echo "$ac_t""yes" 1>&6
12606 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12607 cat >> confdefs.h
<<EOF
12608 #define $ac_tr_func 1
12612 echo "$ac_t""no" 1>&6
12618 for ac_hdr
in sched.h
12620 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12622 echo "configure:12623: checking for $ac_hdr" >&5
12623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12624 echo $ac_n "(cached) $ac_c" 1>&6
12626 cat > conftest.
$ac_ext <<EOF
12627 #line 12628 "configure"
12628 #include "confdefs.h"
12631 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12632 { (eval echo configure
:12633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12633 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12634 if test -z "$ac_err"; then
12636 eval "ac_cv_header_$ac_safe=yes"
12639 echo "configure: failed program was:" >&5
12640 cat conftest.
$ac_ext >&5
12642 eval "ac_cv_header_$ac_safe=no"
12646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12647 echo "$ac_t""yes" 1>&6
12648 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12649 cat >> confdefs.h
<<EOF
12650 #define $ac_tr_hdr 1
12654 echo "$ac_t""no" 1>&6
12659 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12660 echo "configure:12661: checking for sched_yield in -l$THREADS_LINK" >&5
12661 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12662 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12663 echo $ac_n "(cached) $ac_c" 1>&6
12665 ac_save_LIBS
="$LIBS"
12666 LIBS
="-l$THREADS_LINK $LIBS"
12667 cat > conftest.
$ac_ext <<EOF
12668 #line 12669 "configure"
12669 #include "confdefs.h"
12670 /* Override any gcc2 internal prototype to avoid an error. */
12671 /* We use char because int might match the return type of a gcc2
12672 builtin and then its argument prototype would still apply. */
12673 char sched_yield();
12679 if { (eval echo configure
:12680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12681 eval "ac_cv_lib_$ac_lib_var=yes"
12683 echo "configure: failed program was:" >&5
12684 cat conftest.
$ac_ext >&5
12686 eval "ac_cv_lib_$ac_lib_var=no"
12689 LIBS
="$ac_save_LIBS"
12692 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12693 echo "$ac_t""yes" 1>&6
12694 cat >> confdefs.h
<<\EOF
12695 #define HAVE_SCHED_YIELD 1
12699 echo "$ac_t""no" 1>&6
12700 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
12701 echo "configure:12702: checking for sched_yield in -lposix4" >&5
12702 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
12703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12704 echo $ac_n "(cached) $ac_c" 1>&6
12706 ac_save_LIBS
="$LIBS"
12707 LIBS
="-lposix4 $LIBS"
12708 cat > conftest.
$ac_ext <<EOF
12709 #line 12710 "configure"
12710 #include "confdefs.h"
12711 /* Override any gcc2 internal prototype to avoid an error. */
12712 /* We use char because int might match the return type of a gcc2
12713 builtin and then its argument prototype would still apply. */
12714 char sched_yield();
12720 if { (eval echo configure
:12721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12722 eval "ac_cv_lib_$ac_lib_var=yes"
12724 echo "configure: failed program was:" >&5
12725 cat conftest.
$ac_ext >&5
12727 eval "ac_cv_lib_$ac_lib_var=no"
12730 LIBS
="$ac_save_LIBS"
12733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12734 echo "$ac_t""yes" 1>&6
12735 cat >> confdefs.h
<<\EOF
12736 #define HAVE_SCHED_YIELD 1
12738 POSIX4_LINK
="-lposix4"
12740 echo "$ac_t""no" 1>&6
12741 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12750 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12751 echo "configure:12752: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12752 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12753 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12754 echo $ac_n "(cached) $ac_c" 1>&6
12756 ac_save_LIBS
="$LIBS"
12757 LIBS
="-l$THREADS_LINK $LIBS"
12758 cat > conftest.
$ac_ext <<EOF
12759 #line 12760 "configure"
12760 #include "confdefs.h"
12761 /* Override any gcc2 internal prototype to avoid an error. */
12762 /* We use char because int might match the return type of a gcc2
12763 builtin and then its argument prototype would still apply. */
12764 char pthread_attr_getschedpolicy();
12767 pthread_attr_getschedpolicy()
12770 if { (eval echo configure
:12771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12772 eval "ac_cv_lib_$ac_lib_var=yes"
12774 echo "configure: failed program was:" >&5
12775 cat conftest.
$ac_ext >&5
12777 eval "ac_cv_lib_$ac_lib_var=no"
12780 LIBS
="$ac_save_LIBS"
12783 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12784 echo "$ac_t""yes" 1>&6
12785 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12786 echo "configure:12787: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12787 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12789 echo $ac_n "(cached) $ac_c" 1>&6
12791 ac_save_LIBS
="$LIBS"
12792 LIBS
="-l$THREADS_LINK $LIBS"
12793 cat > conftest.
$ac_ext <<EOF
12794 #line 12795 "configure"
12795 #include "confdefs.h"
12796 /* Override any gcc2 internal prototype to avoid an error. */
12797 /* We use char because int might match the return type of a gcc2
12798 builtin and then its argument prototype would still apply. */
12799 char pthread_attr_setschedparam();
12802 pthread_attr_setschedparam()
12805 if { (eval echo configure
:12806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12807 eval "ac_cv_lib_$ac_lib_var=yes"
12809 echo "configure: failed program was:" >&5
12810 cat conftest.
$ac_ext >&5
12812 eval "ac_cv_lib_$ac_lib_var=no"
12815 LIBS
="$ac_save_LIBS"
12818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12819 echo "$ac_t""yes" 1>&6
12820 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12821 echo "configure:12822: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12822 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12824 echo $ac_n "(cached) $ac_c" 1>&6
12826 ac_save_LIBS
="$LIBS"
12827 LIBS
="-l$THREADS_LINK $LIBS"
12828 cat > conftest.
$ac_ext <<EOF
12829 #line 12830 "configure"
12830 #include "confdefs.h"
12831 /* Override any gcc2 internal prototype to avoid an error. */
12832 /* We use char because int might match the return type of a gcc2
12833 builtin and then its argument prototype would still apply. */
12834 char sched_get_priority_max();
12837 sched_get_priority_max()
12840 if { (eval echo configure
:12841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12842 eval "ac_cv_lib_$ac_lib_var=yes"
12844 echo "configure: failed program was:" >&5
12845 cat conftest.
$ac_ext >&5
12847 eval "ac_cv_lib_$ac_lib_var=no"
12850 LIBS
="$ac_save_LIBS"
12853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12854 echo "$ac_t""yes" 1>&6
12857 echo "$ac_t""no" 1>&6
12858 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
12859 echo "configure:12860: checking for sched_get_priority_max in -lposix4" >&5
12860 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12862 echo $ac_n "(cached) $ac_c" 1>&6
12864 ac_save_LIBS
="$LIBS"
12865 LIBS
="-lposix4 $LIBS"
12866 cat > conftest.
$ac_ext <<EOF
12867 #line 12868 "configure"
12868 #include "confdefs.h"
12869 /* Override any gcc2 internal prototype to avoid an error. */
12870 /* We use char because int might match the return type of a gcc2
12871 builtin and then its argument prototype would still apply. */
12872 char sched_get_priority_max();
12875 sched_get_priority_max()
12878 if { (eval echo configure
:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12880 eval "ac_cv_lib_$ac_lib_var=yes"
12882 echo "configure: failed program was:" >&5
12883 cat conftest.
$ac_ext >&5
12885 eval "ac_cv_lib_$ac_lib_var=no"
12888 LIBS
="$ac_save_LIBS"
12891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12892 echo "$ac_t""yes" 1>&6
12895 POSIX4_LINK
="-lposix4"
12898 echo "$ac_t""no" 1>&6
12906 echo "$ac_t""no" 1>&6
12911 echo "$ac_t""no" 1>&6
12915 if test "$HAVE_PRIOR_FUNCS" = 1; then
12916 cat >> confdefs.h
<<\EOF
12917 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12921 echo "configure: warning: Setting thread priority will not work" 1>&2
12924 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12925 echo "configure:12926: checking for pthread_cancel in -l$THREADS_LINK" >&5
12926 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12927 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12928 echo $ac_n "(cached) $ac_c" 1>&6
12930 ac_save_LIBS
="$LIBS"
12931 LIBS
="-l$THREADS_LINK $LIBS"
12932 cat > conftest.
$ac_ext <<EOF
12933 #line 12934 "configure"
12934 #include "confdefs.h"
12935 /* Override any gcc2 internal prototype to avoid an error. */
12936 /* We use char because int might match the return type of a gcc2
12937 builtin and then its argument prototype would still apply. */
12938 char pthread_cancel();
12944 if { (eval echo configure
:12945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12946 eval "ac_cv_lib_$ac_lib_var=yes"
12948 echo "configure: failed program was:" >&5
12949 cat conftest.
$ac_ext >&5
12951 eval "ac_cv_lib_$ac_lib_var=no"
12954 LIBS
="$ac_save_LIBS"
12957 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12958 echo "$ac_t""yes" 1>&6
12959 cat >> confdefs.h
<<\EOF
12960 #define HAVE_PTHREAD_CANCEL 1
12964 echo "$ac_t""no" 1>&6
12965 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12969 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12970 echo "configure:12971: checking for pthread_cleanup_push/pop" >&5
12971 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12972 echo $ac_n "(cached) $ac_c" 1>&6
12975 cat > conftest.
$ac_ext <<EOF
12976 #line 12977 "configure"
12977 #include "confdefs.h"
12978 #include <pthread.h>
12981 pthread_cleanup_push(NULL, NULL);
12982 pthread_cleanup_pop(0);
12986 if { (eval echo configure
:12987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12989 wx_cv_func_pthread_cleanup_push
=yes
12992 echo "configure: failed program was:" >&5
12993 cat conftest.
$ac_ext >&5
12996 wx_cv_func_pthread_cleanup_push
=no
13003 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
13005 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
13006 cat >> confdefs.h
<<\EOF
13007 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
13013 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
13014 echo "configure:13015: checking for pthread_mutexattr_t" >&5
13015 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
13016 echo $ac_n "(cached) $ac_c" 1>&6
13019 cat > conftest.
$ac_ext <<EOF
13020 #line 13021 "configure"
13021 #include "confdefs.h"
13022 #include <pthread.h>
13025 pthread_mutexattr_t attr;
13026 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
13030 if { (eval echo configure
:13031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13033 wx_cv_type_pthread_mutexattr_t
=yes
13036 echo "configure: failed program was:" >&5
13037 cat conftest.
$ac_ext >&5
13040 wx_cv_type_pthread_mutexattr_t
=no
13048 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
13050 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
13051 cat >> confdefs.h
<<\EOF
13052 #define HAVE_PTHREAD_MUTEXATTR_T 1
13056 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
13057 echo "configure:13058: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
13058 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
13059 echo $ac_n "(cached) $ac_c" 1>&6
13062 cat > conftest.
$ac_ext <<EOF
13063 #line 13064 "configure"
13064 #include "confdefs.h"
13065 #include <pthread.h>
13068 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
13072 if { (eval echo configure
:13073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13075 wx_cv_type_pthread_rec_mutex_init
=yes
13078 echo "configure: failed program was:" >&5
13079 cat conftest.
$ac_ext >&5
13082 wx_cv_type_pthread_rec_mutex_init
=no
13090 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
13091 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
13092 cat >> confdefs.h
<<\EOF
13093 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
13097 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
13101 THREADS_LINK
="-l$THREADS_LINK"
13103 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
13104 CFLAGS
="${CFLAGS} -mt"
13105 CXXFLAGS
="${CXXFLAGS} -mt"
13106 LDFLAGS
="${LDFLAGS} -mt"
13112 if test "$wxUSE_THREADS" = "yes"; then
13113 cat >> confdefs.h
<<\EOF
13114 #define wxUSE_THREADS 1
13118 if test "$wxUSE_MAC" = "0"; then
13119 CFLAGS
="${CFLAGS} -D_REENTRANT"
13120 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
13123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
13125 if test "$ac_cv_func_strtok_r" = "yes"; then
13126 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
13127 echo "configure:13128: checking if -D_REENTRANT is needed" >&5
13128 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
13129 CFLAGS
="${CFLAGS} -D_REENTRANT"
13130 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
13131 echo "$ac_t""yes" 1>&6
13133 echo "$ac_t""no" 1>&6
13138 if test "$WXGTK20" = 1 ; then
13139 cat >> confdefs.h
<<EOF
13140 #define __WXGTK20__ $WXGTK20
13146 if test "$WXGTK12" = 1 ; then
13147 cat >> confdefs.h
<<EOF
13148 #define __WXGTK12__ $WXGTK12
13153 if test "$WXGTK127" = 1 ; then
13154 cat >> confdefs.h
<<EOF
13155 #define __WXGTK127__ $WXGTK127
13160 if test "$WXWINE" = 1 ; then
13161 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
13164 if test "$wxUSE_MAC" = 1 ; then
13165 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
13166 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
13167 CPPFLAGS
="${CPPFLAGS} -fno-common -fpascal-strings"
13168 # Extract the first word of "Rez", so it can be a program name with args.
13169 set dummy Rez
; ac_word
=$2
13170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13171 echo "configure:13172: checking for $ac_word" >&5
13172 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
13173 echo $ac_n "(cached) $ac_c" 1>&6
13175 if test -n "$REZ"; then
13176 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
13178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13180 for ac_dir
in $ac_dummy; do
13181 test -z "$ac_dir" && ac_dir
=.
13182 if test -f $ac_dir/$ac_word; then
13183 ac_cv_prog_REZ
="Rez"
13188 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
13191 REZ
="$ac_cv_prog_REZ"
13192 if test -n "$REZ"; then
13193 echo "$ac_t""$REZ" 1>&6
13195 echo "$ac_t""no" 1>&6
13198 # Extract the first word of "Derez", so it can be a program name with args.
13199 set dummy Derez
; ac_word
=$2
13200 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13201 echo "configure:13202: checking for $ac_word" >&5
13202 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13203 echo $ac_n "(cached) $ac_c" 1>&6
13205 if test -n "$DEREZ"; then
13206 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13208 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13210 for ac_dir
in $ac_dummy; do
13211 test -z "$ac_dir" && ac_dir
=.
13212 if test -f $ac_dir/$ac_word; then
13213 ac_cv_prog_DEREZ
="Derez"
13218 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
13221 DEREZ
="$ac_cv_prog_DEREZ"
13222 if test -n "$DEREZ"; then
13223 echo "$ac_t""$DEREZ" 1>&6
13225 echo "$ac_t""no" 1>&6
13229 REZFLAGS
="-d __UNIX__ -useDF"
13230 DEREZFLAGS
="Carbon.r -useDF"
13231 RESFLAGS
="Carbon.r -t APPL"
13232 LIBWXMACRES
="\$(LIBWX_MACRES)"
13233 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
13236 if test "$wxUSE_CYGWIN" = 1 ; then
13237 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
13242 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
13247 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
13248 wxUSE_DEBUG_INFO
=yes
13252 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
13253 cat >> confdefs.h
<<\EOF
13257 WXDEBUG_DEFINE
="-D__WXDEBUG__"
13259 if test "$wxUSE_GTK" = 1 ; then
13260 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
13264 if test "$wxUSE_MEM_TRACING" = "yes" ; then
13265 cat >> confdefs.h
<<\EOF
13266 #define wxUSE_MEMORY_TRACING 1
13269 cat >> confdefs.h
<<\EOF
13270 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
13273 cat >> confdefs.h
<<\EOF
13274 #define wxUSE_DEBUG_NEW_ALWAYS 1
13277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
13280 if test "$wxUSE_DMALLOC" = "yes" ; then
13281 DMALLOC_LINK
="-ldmalloc"
13285 if test "$wxUSE_PROFILE" = "yes" ; then
13291 CODE_GEN_FLAGS_CXX
=
13292 if test "$GCC" = yes ; then
13293 if test "$wxUSE_NO_RTTI" = "yes" ; then
13294 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
13296 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
13297 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
13299 if test "$wxUSE_PERMISSIVE" = "yes" ; then
13300 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
13302 if test "$wxUSE_NO_DEPS" = "no" ; then
13303 DEP_INFO_FLAGS
="-MMD"
13308 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
13309 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
13310 if test "$wxUSE_OPTIMISE" = "no" ; then
13313 if test "$GCC" = yes ; then
13316 i586
-*-*|i686
-*-* )
13317 OPTIMISE
="${OPTIMISE} "
13327 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
13328 cat >> confdefs.h
<<\EOF
13329 #define wxUSE_ZLIB 1
13332 if test "$wxUSE_ZLIB" = "yes" ; then
13333 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
13336 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
13337 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
13338 echo "configure:13339: checking for zlib.h" >&5
13339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13340 echo $ac_n "(cached) $ac_c" 1>&6
13342 cat > conftest.
$ac_ext <<EOF
13343 #line 13344 "configure"
13344 #include "confdefs.h"
13347 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13348 { (eval echo configure
:13349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13349 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13350 if test -z "$ac_err"; then
13352 eval "ac_cv_header_$ac_safe=yes"
13355 echo "configure: failed program was:" >&5
13356 cat conftest.
$ac_ext >&5
13358 eval "ac_cv_header_$ac_safe=no"
13362 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13363 echo "$ac_t""yes" 1>&6
13364 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
13365 echo "configure:13366: checking for deflate in -lz" >&5
13366 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
13367 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13368 echo $ac_n "(cached) $ac_c" 1>&6
13370 ac_save_LIBS
="$LIBS"
13372 cat > conftest.
$ac_ext <<EOF
13373 #line 13374 "configure"
13374 #include "confdefs.h"
13375 /* Override any gcc2 internal prototype to avoid an error. */
13376 /* We use char because int might match the return type of a gcc2
13377 builtin and then its argument prototype would still apply. */
13384 if { (eval echo configure
:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13386 eval "ac_cv_lib_$ac_lib_var=yes"
13388 echo "configure: failed program was:" >&5
13389 cat conftest.
$ac_ext >&5
13391 eval "ac_cv_lib_$ac_lib_var=no"
13394 LIBS
="$ac_save_LIBS"
13397 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13398 echo "$ac_t""yes" 1>&6
13401 echo "$ac_t""no" 1>&6
13405 echo "$ac_t""no" 1>&6
13408 if test "x$ZLIB_LINK" = "x" ; then
13409 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
13415 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
13416 cat >> confdefs.h
<<\EOF
13417 #define wxUSE_LIBPNG 1
13420 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
13421 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
13425 if test "$wxUSE_LIBPNG" = "yes" ; then
13426 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
13429 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
13430 echo $ac_n "checking for png.h""... $ac_c" 1>&6
13431 echo "configure:13432: checking for png.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"
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 png_check_sig in -lpng""... $ac_c" 1>&6
13458 echo "configure:13459: checking for png_check_sig in -lpng" >&5
13459 ac_lib_var
=`echo png'_'png_check_sig | 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
="-lpng -lz -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 png_check_sig();
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
13494 echo "$ac_t""no" 1>&6
13499 echo "$ac_t""no" 1>&6
13502 if test "x$PNG_LINK" = "x" ; then
13503 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
13507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
13511 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
13512 cat >> confdefs.h
<<\EOF
13513 #define wxUSE_LIBJPEG 1
13516 if test "$wxUSE_LIBJPEG" = "yes" ; then
13517 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
13520 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
13521 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
13522 echo "configure:13523: checking for jpeglib.h" >&5
13523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13524 echo $ac_n "(cached) $ac_c" 1>&6
13526 cat > conftest.
$ac_ext <<EOF
13527 #line 13528 "configure"
13528 #include "confdefs.h"
13529 #include <jpeglib.h>
13531 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13532 { (eval echo configure
:13533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13533 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13534 if test -z "$ac_err"; then
13536 eval "ac_cv_header_$ac_safe=yes"
13539 echo "configure: failed program was:" >&5
13540 cat conftest.
$ac_ext >&5
13542 eval "ac_cv_header_$ac_safe=no"
13546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13547 echo "$ac_t""yes" 1>&6
13548 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
13549 echo "configure:13550: checking for jpeg_read_header in -ljpeg" >&5
13550 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
13551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13552 echo $ac_n "(cached) $ac_c" 1>&6
13554 ac_save_LIBS
="$LIBS"
13555 LIBS
="-ljpeg $LIBS"
13556 cat > conftest.
$ac_ext <<EOF
13557 #line 13558 "configure"
13558 #include "confdefs.h"
13559 /* Override any gcc2 internal prototype to avoid an error. */
13560 /* We use char because int might match the return type of a gcc2
13561 builtin and then its argument prototype would still apply. */
13562 char jpeg_read_header();
13568 if { (eval echo configure
:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13570 eval "ac_cv_lib_$ac_lib_var=yes"
13572 echo "configure: failed program was:" >&5
13573 cat conftest.
$ac_ext >&5
13575 eval "ac_cv_lib_$ac_lib_var=no"
13578 LIBS
="$ac_save_LIBS"
13581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13582 echo "$ac_t""yes" 1>&6
13585 echo "$ac_t""no" 1>&6
13589 echo "$ac_t""no" 1>&6
13592 if test "x$JPEG_LINK" = "x" ; then
13593 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
13599 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
13600 cat >> confdefs.h
<<\EOF
13601 #define wxUSE_LIBTIFF 1
13604 if test "$wxUSE_LIBTIFF" = "yes" ; then
13605 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
13608 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
13609 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
13610 echo "configure:13611: checking for tiffio.h" >&5
13611 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13612 echo $ac_n "(cached) $ac_c" 1>&6
13614 cat > conftest.
$ac_ext <<EOF
13615 #line 13616 "configure"
13616 #include "confdefs.h"
13617 #include <tiffio.h>
13619 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13620 { (eval echo configure
:13621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13621 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13622 if test -z "$ac_err"; then
13624 eval "ac_cv_header_$ac_safe=yes"
13627 echo "configure: failed program was:" >&5
13628 cat conftest.
$ac_ext >&5
13630 eval "ac_cv_header_$ac_safe=no"
13634 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13635 echo "$ac_t""yes" 1>&6
13636 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
13637 echo "configure:13638: checking for TIFFError in -ltiff" >&5
13638 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
13639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13640 echo $ac_n "(cached) $ac_c" 1>&6
13642 ac_save_LIBS
="$LIBS"
13643 LIBS
="-ltiff -lm $LIBS"
13644 cat > conftest.
$ac_ext <<EOF
13645 #line 13646 "configure"
13646 #include "confdefs.h"
13647 /* Override any gcc2 internal prototype to avoid an error. */
13648 /* We use char because int might match the return type of a gcc2
13649 builtin and then its argument prototype would still apply. */
13656 if { (eval echo configure
:13657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13658 eval "ac_cv_lib_$ac_lib_var=yes"
13660 echo "configure: failed program was:" >&5
13661 cat conftest.
$ac_ext >&5
13663 eval "ac_cv_lib_$ac_lib_var=no"
13666 LIBS
="$ac_save_LIBS"
13669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13670 echo "$ac_t""yes" 1>&6
13673 echo "$ac_t""no" 1>&6
13677 echo "$ac_t""no" 1>&6
13680 if test "x$TIFF_LINK" = "x" ; then
13681 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
13687 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
13688 cat >> confdefs.h
<<\EOF
13689 #define wxUSE_FREETYPE 1
13692 if test "$wxUSE_FREETYPE" = "yes" ; then
13693 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
13696 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13697 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13698 echo "configure:13699: checking for freetype.h" >&5
13699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13700 echo $ac_n "(cached) $ac_c" 1>&6
13702 cat > conftest.
$ac_ext <<EOF
13703 #line 13704 "configure"
13704 #include "confdefs.h"
13705 #include <freetype.h>
13707 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13708 { (eval echo configure
:13709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13709 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13710 if test -z "$ac_err"; then
13712 eval "ac_cv_header_$ac_safe=yes"
13715 echo "configure: failed program was:" >&5
13716 cat conftest.
$ac_ext >&5
13718 eval "ac_cv_header_$ac_safe=no"
13722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13723 echo "$ac_t""yes" 1>&6
13724 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13725 echo "configure:13726: checking for FT_Render_Glyph in -lfreetype" >&5
13726 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13728 echo $ac_n "(cached) $ac_c" 1>&6
13730 ac_save_LIBS
="$LIBS"
13731 LIBS
="-lfreetype -lm $LIBS"
13732 cat > conftest.
$ac_ext <<EOF
13733 #line 13734 "configure"
13734 #include "confdefs.h"
13735 /* Override any gcc2 internal prototype to avoid an error. */
13736 /* We use char because int might match the return type of a gcc2
13737 builtin and then its argument prototype would still apply. */
13738 char FT_Render_Glyph();
13744 if { (eval echo configure
:13745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13746 eval "ac_cv_lib_$ac_lib_var=yes"
13748 echo "configure: failed program was:" >&5
13749 cat conftest.
$ac_ext >&5
13751 eval "ac_cv_lib_$ac_lib_var=no"
13754 LIBS
="$ac_save_LIBS"
13757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13758 echo "$ac_t""yes" 1>&6
13759 FREETYPE_LINK
="-lfreetype"
13761 echo "$ac_t""no" 1>&6
13766 echo "$ac_t""no" 1>&6
13769 if test "x$FREETYPE_LINK" = "x" ; then
13770 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13775 if test "$wxUSE_OPENGL" = "yes"; then
13776 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13777 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13778 echo "configure:13779: checking for GL/gl.h" >&5
13779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13780 echo $ac_n "(cached) $ac_c" 1>&6
13782 cat > conftest.
$ac_ext <<EOF
13783 #line 13784 "configure"
13784 #include "confdefs.h"
13787 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13788 { (eval echo configure
:13789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13789 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13790 if test -z "$ac_err"; then
13792 eval "ac_cv_header_$ac_safe=yes"
13795 echo "configure: failed program was:" >&5
13796 cat conftest.
$ac_ext >&5
13798 eval "ac_cv_header_$ac_safe=no"
13802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13803 echo "$ac_t""yes" 1>&6
13805 cat >> confdefs.h
<<\EOF
13806 #define wxUSE_OPENGL 1
13809 cat >> confdefs.h
<<\EOF
13810 #define wxUSE_GLCANVAS 1
13813 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13814 echo "configure:13815: checking for glFlush in -lGL" >&5
13815 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13817 echo $ac_n "(cached) $ac_c" 1>&6
13819 ac_save_LIBS
="$LIBS"
13821 cat > conftest.
$ac_ext <<EOF
13822 #line 13823 "configure"
13823 #include "confdefs.h"
13824 /* Override any gcc2 internal prototype to avoid an error. */
13825 /* We use char because int might match the return type of a gcc2
13826 builtin and then its argument prototype would still apply. */
13833 if { (eval echo configure
:13834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13835 eval "ac_cv_lib_$ac_lib_var=yes"
13837 echo "configure: failed program was:" >&5
13838 cat conftest.
$ac_ext >&5
13840 eval "ac_cv_lib_$ac_lib_var=no"
13843 LIBS
="$ac_save_LIBS"
13846 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13847 echo "$ac_t""yes" 1>&6
13849 OPENGL_LINK
="-lGL -lGLU"
13852 echo "$ac_t""no" 1>&6
13854 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13855 echo "configure:13856: checking for glFlush in -lMesaGL" >&5
13856 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13857 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13860 ac_save_LIBS
="$LIBS"
13861 LIBS
="-lMesaGL $LIBS"
13862 cat > conftest.
$ac_ext <<EOF
13863 #line 13864 "configure"
13864 #include "confdefs.h"
13865 /* Override any gcc2 internal prototype to avoid an error. */
13866 /* We use char because int might match the return type of a gcc2
13867 builtin and then its argument prototype would still apply. */
13874 if { (eval echo configure
:13875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13876 eval "ac_cv_lib_$ac_lib_var=yes"
13878 echo "configure: failed program was:" >&5
13879 cat conftest.
$ac_ext >&5
13881 eval "ac_cv_lib_$ac_lib_var=no"
13884 LIBS
="$ac_save_LIBS"
13887 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13888 echo "$ac_t""yes" 1>&6
13890 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13893 echo "$ac_t""no" 1>&6
13901 echo "$ac_t""no" 1>&6
13908 if test "$wxUSE_GUI" = "yes"; then
13909 cat >> confdefs.h
<<\EOF
13910 #define wxUSE_GUI 1
13915 cat >> confdefs.h
<<\EOF
13916 #define wxUSE_NOGUI 1
13922 if test "$wxUSE_UNIX" = "yes"; then
13923 cat >> confdefs.h
<<\EOF
13924 #define wxUSE_UNIX 1
13930 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13931 cat >> confdefs.h
<<\EOF
13932 #define wxUSE_APPLE_IEEE 1
13937 if test "$wxUSE_WAVE" = "yes"; then
13938 cat >> confdefs.h
<<\EOF
13939 #define wxUSE_WAVE 1
13944 if test "$wxUSE_FILE" = "yes"; then
13945 cat >> confdefs.h
<<\EOF
13946 #define wxUSE_FILE 1
13951 if test "$wxUSE_FILESYSTEM" = "yes"; then
13952 cat >> confdefs.h
<<\EOF
13953 #define wxUSE_FILESYSTEM 1
13958 if test "$wxUSE_FS_INET" = "yes"; then
13959 cat >> confdefs.h
<<\EOF
13960 #define wxUSE_FS_INET 1
13965 if test "$wxUSE_FS_ZIP" = "yes"; then
13966 cat >> confdefs.h
<<\EOF
13967 #define wxUSE_FS_ZIP 1
13972 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13973 cat >> confdefs.h
<<\EOF
13974 #define wxUSE_ZIPSTREAM 1
13979 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13980 cat >> confdefs.h
<<\EOF
13981 #define wxUSE_ON_FATAL_EXCEPTION 1
13986 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13987 cat >> confdefs.h
<<\EOF
13988 #define wxUSE_SNGLINST_CHECKER 1
13993 if test "$wxUSE_BUSYINFO" = "yes"; then
13994 cat >> confdefs.h
<<\EOF
13995 #define wxUSE_BUSYINFO 1
14000 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
14001 cat >> confdefs.h
<<\EOF
14002 #define wxUSE_STD_IOSTREAM 1
14007 if test "$wxUSE_TEXTFILE" = "yes"; then
14008 if test "$wxUSE_FILE" != "yes"; then
14009 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
14011 cat >> confdefs.h
<<\EOF
14012 #define wxUSE_TEXTFILE 1
14018 if test "$wxUSE_CONFIG" = "yes" ; then
14019 if test "$wxUSE_TEXTFILE" != "yes"; then
14020 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
14022 cat >> confdefs.h
<<\EOF
14023 #define wxUSE_CONFIG 1
14026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
14030 if test "$wxUSE_INTL" = "yes" ; then
14031 if test "$wxUSE_FILE" != "yes"; then
14032 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
14034 cat >> confdefs.h
<<\EOF
14035 #define wxUSE_INTL 1
14038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
14039 GUIDIST
="$GUIDIST INTL_DIST"
14043 if test "$wxUSE_LOG" = "yes"; then
14044 cat >> confdefs.h
<<\EOF
14045 #define wxUSE_LOG 1
14050 if test "$wxUSE_LONGLONG" = "yes"; then
14051 cat >> confdefs.h
<<\EOF
14052 #define wxUSE_LONGLONG 1
14057 if test "$wxUSE_GEOMETRY" = "yes"; then
14058 cat >> confdefs.h
<<\EOF
14059 #define wxUSE_GEOMETRY 1
14064 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
14065 cat >> confdefs.h
<<\EOF
14066 #define wxUSE_DIALUP_MANAGER 1
14069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
14072 if test "$wxUSE_STREAMS" = "yes" ; then
14073 cat >> confdefs.h
<<\EOF
14074 #define wxUSE_STREAMS 1
14080 if test "$wxUSE_TIMEDATE" = "yes"; then
14081 for ac_func
in strptime
14083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14084 echo "configure:14085: checking for $ac_func" >&5
14085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14086 echo $ac_n "(cached) $ac_c" 1>&6
14088 cat > conftest.
$ac_ext <<EOF
14089 #line 14090 "configure"
14090 #include "confdefs.h"
14091 /* System header to define __stub macros and hopefully few prototypes,
14092 which can conflict with char $ac_func(); below. */
14093 #include <assert.h>
14094 /* Override any gcc2 internal prototype to avoid an error. */
14095 /* We use char because int might match the return type of a gcc2
14096 builtin and then its argument prototype would still apply. */
14101 /* The GNU C library defines this for functions which it implements
14102 to always fail with ENOSYS. Some functions are actually named
14103 something starting with __ and the normal name is an alias. */
14104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14112 if { (eval echo configure
:14113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14114 eval "ac_cv_func_$ac_func=yes"
14116 echo "configure: failed program was:" >&5
14117 cat conftest.
$ac_ext >&5
14119 eval "ac_cv_func_$ac_func=no"
14124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14125 echo "$ac_t""yes" 1>&6
14126 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14127 cat >> confdefs.h
<<EOF
14128 #define $ac_tr_func 1
14132 echo "$ac_t""no" 1>&6
14137 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
14138 echo "configure:14139: checking for timezone variable in <time.h>" >&5
14139 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
14140 echo $ac_n "(cached) $ac_c" 1>&6
14143 cat > conftest.
$ac_ext <<EOF
14144 #line 14145 "configure"
14145 #include "confdefs.h"
14156 if { (eval echo configure
:14157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14159 wx_cv_var_timezone
=__timezone
14162 echo "configure: failed program was:" >&5
14163 cat conftest.
$ac_ext >&5
14166 cat > conftest.
$ac_ext <<EOF
14167 #line 14168 "configure"
14168 #include "confdefs.h"
14179 if { (eval echo configure
:14180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14182 wx_cv_var_timezone
=_timezone
14185 echo "configure: failed program was:" >&5
14186 cat conftest.
$ac_ext >&5
14189 cat > conftest.
$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14202 if { (eval echo configure
:14203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14205 wx_cv_var_timezone
=timezone
14208 echo "configure: failed program was:" >&5
14209 cat conftest.
$ac_ext >&5
14211 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
14227 echo "$ac_t""$wx_cv_var_timezone" 1>&6
14229 cat >> confdefs.h
<<EOF
14230 #define WX_TIMEZONE $wx_cv_var_timezone
14234 for ac_func
in localtime
14236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14237 echo "configure:14238: checking for $ac_func" >&5
14238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 cat > conftest.
$ac_ext <<EOF
14242 #line 14243 "configure"
14243 #include "confdefs.h"
14244 /* System header to define __stub macros and hopefully few prototypes,
14245 which can conflict with char $ac_func(); below. */
14246 #include <assert.h>
14247 /* Override any gcc2 internal prototype to avoid an error. */
14248 /* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14265 if { (eval echo configure
:14266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14267 eval "ac_cv_func_$ac_func=yes"
14269 echo "configure: failed program was:" >&5
14270 cat conftest.
$ac_ext >&5
14272 eval "ac_cv_func_$ac_func=no"
14277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14278 echo "$ac_t""yes" 1>&6
14279 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14280 cat >> confdefs.h
<<EOF
14281 #define $ac_tr_func 1
14285 echo "$ac_t""no" 1>&6
14290 if test "$ac_cv_func_localtime" = "yes"; then
14291 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
14292 echo "configure:14293: checking for tm_gmtoff in struct tm" >&5
14293 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
14294 echo $ac_n "(cached) $ac_c" 1>&6
14297 cat > conftest.
$ac_ext <<EOF
14298 #line 14299 "configure"
14299 #include "confdefs.h"
14310 if { (eval echo configure
:14311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14313 wx_cv_struct_tm_has_gmtoff
=yes
14316 echo "configure: failed program was:" >&5
14317 cat conftest.
$ac_ext >&5
14319 wx_cv_struct_tm_has_gmtoff
=no
14326 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
14329 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
14330 cat >> confdefs.h
<<\EOF
14331 #define WX_GMTOFF_IN_TM 1
14336 for ac_func
in gettimeofday ftime
14338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14339 echo "configure:14340: checking for $ac_func" >&5
14340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14343 cat > conftest.
$ac_ext <<EOF
14344 #line 14345 "configure"
14345 #include "confdefs.h"
14346 /* System header to define __stub macros and hopefully few prototypes,
14347 which can conflict with char $ac_func(); below. */
14348 #include <assert.h>
14349 /* Override any gcc2 internal prototype to avoid an error. */
14350 /* We use char because int might match the return type of a gcc2
14351 builtin and then its argument prototype would still apply. */
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14367 if { (eval echo configure
:14368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14369 eval "ac_cv_func_$ac_func=yes"
14371 echo "configure: failed program was:" >&5
14372 cat conftest.
$ac_ext >&5
14374 eval "ac_cv_func_$ac_func=no"
14379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14380 echo "$ac_t""yes" 1>&6
14381 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14382 cat >> confdefs.h
<<EOF
14383 #define $ac_tr_func 1
14387 echo "$ac_t""no" 1>&6
14392 if test "$ac_cv_func_gettimeofday" = "yes"; then
14393 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
14394 echo "configure:14395: checking whether gettimeofday takes two arguments" >&5
14395 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
14396 echo $ac_n "(cached) $ac_c" 1>&6
14401 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14402 ac_cpp
='$CXXCPP $CPPFLAGS'
14403 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14404 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14405 cross_compiling
=$ac_cv_prog_cxx_cross
14408 cat > conftest.
$ac_ext <<EOF
14409 #line 14410 "configure"
14410 #include "confdefs.h"
14412 #include <sys/time.h>
14413 #include <unistd.h>
14418 struct timezone tz;
14419 gettimeofday(&tv, &tz);
14423 if { (eval echo configure
:14424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14425 wx_cv_func_gettimeofday_has_2_args
=yes
14427 echo "configure: failed program was:" >&5
14428 cat conftest.
$ac_ext >&5
14430 cat > conftest.
$ac_ext <<EOF
14431 #line 14432 "configure"
14432 #include "confdefs.h"
14434 #include <sys/time.h>
14435 #include <unistd.h>
14444 if { (eval echo configure
:14445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14446 wx_cv_func_gettimeofday_has_2_args
=no
14448 echo "configure: failed program was:" >&5
14449 cat conftest.
$ac_ext >&5
14451 wx_cv_func_gettimeofday_has_2_args
=unknown
14459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14460 ac_cpp
='$CPP $CPPFLAGS'
14461 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14462 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14463 cross_compiling
=$ac_cv_prog_cc_cross
14468 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
14470 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
14471 cat >> confdefs.h
<<\EOF
14472 #define WX_GETTIMEOFDAY_NO_TZ 1
14478 cat >> confdefs.h
<<\EOF
14479 #define wxUSE_TIMEDATE 1
14482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
14486 if test "$TOOLKIT" != "MSW"; then
14488 if test "$wxUSE_SOCKETS" = "yes"; then
14489 echo $ac_n "checking for socket""... $ac_c" 1>&6
14490 echo "configure:14491: checking for socket" >&5
14491 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
14492 echo $ac_n "(cached) $ac_c" 1>&6
14494 cat > conftest.
$ac_ext <<EOF
14495 #line 14496 "configure"
14496 #include "confdefs.h"
14497 /* System header to define __stub macros and hopefully few prototypes,
14498 which can conflict with char socket(); below. */
14499 #include <assert.h>
14500 /* Override any gcc2 internal prototype to avoid an error. */
14501 /* We use char because int might match the return type of a gcc2
14502 builtin and then its argument prototype would still apply. */
14507 /* The GNU C library defines this for functions which it implements
14508 to always fail with ENOSYS. Some functions are actually named
14509 something starting with __ and the normal name is an alias. */
14510 #if defined (__stub_socket) || defined (__stub___socket)
14518 if { (eval echo configure
:14519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14520 eval "ac_cv_func_socket=yes"
14522 echo "configure: failed program was:" >&5
14523 cat conftest.
$ac_ext >&5
14525 eval "ac_cv_func_socket=no"
14530 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
14531 echo "$ac_t""yes" 1>&6
14534 echo "$ac_t""no" 1>&6
14535 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
14536 echo "configure:14537: checking for socket in -lsocket" >&5
14537 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
14538 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14539 echo $ac_n "(cached) $ac_c" 1>&6
14541 ac_save_LIBS
="$LIBS"
14542 LIBS
="-lsocket $LIBS"
14543 cat > conftest.
$ac_ext <<EOF
14544 #line 14545 "configure"
14545 #include "confdefs.h"
14546 /* Override any gcc2 internal prototype to avoid an error. */
14547 /* We use char because int might match the return type of a gcc2
14548 builtin and then its argument prototype would still apply. */
14555 if { (eval echo configure
:14556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14557 eval "ac_cv_lib_$ac_lib_var=yes"
14559 echo "configure: failed program was:" >&5
14560 cat conftest.
$ac_ext >&5
14562 eval "ac_cv_lib_$ac_lib_var=no"
14565 LIBS
="$ac_save_LIBS"
14568 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14569 echo "$ac_t""yes" 1>&6
14570 INET_LINK
="$INET_LINK -lsocket"
14572 echo "$ac_t""no" 1>&6
14574 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
14586 if test "$wxUSE_SOCKETS" = "yes" ; then
14587 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
14588 echo "configure:14589: checking what is the type of the third argument of getsockname" >&5
14589 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
14590 echo $ac_n "(cached) $ac_c" 1>&6
14595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14596 ac_cpp
='$CXXCPP $CPPFLAGS'
14597 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14598 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14599 cross_compiling
=$ac_cv_prog_cxx_cross
14602 cat > conftest.
$ac_ext <<EOF
14603 #line 14604 "configure"
14604 #include "confdefs.h"
14606 #include <sys/types.h>
14607 #include <sys/socket.h>
14612 getsockname(0, 0, &len);
14616 if { (eval echo configure
:14617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14618 wx_cv_type_getsockname3
=socklen_t
14620 echo "configure: failed program was:" >&5
14621 cat conftest.
$ac_ext >&5
14623 cat > conftest.
$ac_ext <<EOF
14624 #line 14625 "configure"
14625 #include "confdefs.h"
14627 #include <sys/types.h>
14628 #include <sys/socket.h>
14633 getsockname(0, 0, &len);
14637 if { (eval echo configure
:14638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14639 wx_cv_type_getsockname3
=size_t
14641 echo "configure: failed program was:" >&5
14642 cat conftest.
$ac_ext >&5
14644 cat > conftest.
$ac_ext <<EOF
14645 #line 14646 "configure"
14646 #include "confdefs.h"
14648 #include <sys/types.h>
14649 #include <sys/socket.h>
14654 getsockname(0, 0, &len);
14658 if { (eval echo configure
:14659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14660 wx_cv_type_getsockname3
=int
14662 echo "configure: failed program was:" >&5
14663 cat conftest.
$ac_ext >&5
14665 wx_cv_type_getsockname3
=unknown
14677 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14678 ac_cpp
='$CPP $CPPFLAGS'
14679 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14680 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14681 cross_compiling
=$ac_cv_prog_cc_cross
14686 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
14688 if test "$wx_cv_type_getsockname3" = "unknown"; then
14690 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
14692 cat >> confdefs.h
<<EOF
14693 #define SOCKLEN_T $wx_cv_type_getsockname3
14701 if test "$wxUSE_SOCKETS" = "yes" ; then
14702 cat >> confdefs.h
<<\EOF
14703 #define wxUSE_SOCKETS 1
14706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14707 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14711 if test "$wxUSE_GUI" = "yes"; then
14713 if test "$TOOLKIT" != "MSW"; then
14715 if test "$wxUSE_JOYSTICK" = "yes"; then
14716 for ac_hdr
in linux
/joystick.h
14718 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14720 echo "configure:14721: checking for $ac_hdr" >&5
14721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14722 echo $ac_n "(cached) $ac_c" 1>&6
14724 cat > conftest.
$ac_ext <<EOF
14725 #line 14726 "configure"
14726 #include "confdefs.h"
14729 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14730 { (eval echo configure
:14731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14731 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14732 if test -z "$ac_err"; then
14734 eval "ac_cv_header_$ac_safe=yes"
14737 echo "configure: failed program was:" >&5
14738 cat conftest.
$ac_ext >&5
14740 eval "ac_cv_header_$ac_safe=no"
14744 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14745 echo "$ac_t""yes" 1>&6
14746 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14747 cat >> confdefs.h
<<EOF
14748 #define $ac_tr_hdr 1
14752 echo "$ac_t""no" 1>&6
14756 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14758 echo "configure: warning: Joystick not supported by this system" 1>&2
14764 if test "$wxUSE_JOYSTICK" = "yes"; then
14765 cat >> confdefs.h
<<\EOF
14766 #define wxUSE_JOYSTICK 1
14769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14775 if test "$TOOLKIT" != "MSW"; then
14779 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14780 if test "$USE_MAC" = 1; then
14783 for ac_func
in dlopen
14785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14786 echo "configure:14787: checking for $ac_func" >&5
14787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14788 echo $ac_n "(cached) $ac_c" 1>&6
14790 cat > conftest.
$ac_ext <<EOF
14791 #line 14792 "configure"
14792 #include "confdefs.h"
14793 /* System header to define __stub macros and hopefully few prototypes,
14794 which can conflict with char $ac_func(); below. */
14795 #include <assert.h>
14796 /* Override any gcc2 internal prototype to avoid an error. */
14797 /* We use char because int might match the return type of a gcc2
14798 builtin and then its argument prototype would still apply. */
14803 /* The GNU C library defines this for functions which it implements
14804 to always fail with ENOSYS. Some functions are actually named
14805 something starting with __ and the normal name is an alias. */
14806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14814 if { (eval echo configure
:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14816 eval "ac_cv_func_$ac_func=yes"
14818 echo "configure: failed program was:" >&5
14819 cat conftest.
$ac_ext >&5
14821 eval "ac_cv_func_$ac_func=no"
14826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14827 echo "$ac_t""yes" 1>&6
14828 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14829 cat >> confdefs.h
<<EOF
14830 #define $ac_tr_func 1
14833 cat >> confdefs.h
<<\EOF
14834 #define HAVE_DLOPEN 1
14840 echo "$ac_t""no" 1>&6
14841 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14842 echo "configure:14843: checking for dlopen in -ldl" >&5
14843 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14845 echo $ac_n "(cached) $ac_c" 1>&6
14847 ac_save_LIBS
="$LIBS"
14849 cat > conftest.
$ac_ext <<EOF
14850 #line 14851 "configure"
14851 #include "confdefs.h"
14852 /* Override any gcc2 internal prototype to avoid an error. */
14853 /* We use char because int might match the return type of a gcc2
14854 builtin and then its argument prototype would still apply. */
14861 if { (eval echo configure
:14862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14863 eval "ac_cv_lib_$ac_lib_var=yes"
14865 echo "configure: failed program was:" >&5
14866 cat conftest.
$ac_ext >&5
14868 eval "ac_cv_lib_$ac_lib_var=no"
14871 LIBS
="$ac_save_LIBS"
14874 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14875 echo "$ac_t""yes" 1>&6
14877 cat >> confdefs.h
<<\EOF
14878 #define HAVE_DLOPEN 1
14885 echo "$ac_t""no" 1>&6
14887 for ac_func
in shl_load
14889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14890 echo "configure:14891: checking for $ac_func" >&5
14891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14892 echo $ac_n "(cached) $ac_c" 1>&6
14894 cat > conftest.
$ac_ext <<EOF
14895 #line 14896 "configure"
14896 #include "confdefs.h"
14897 /* System header to define __stub macros and hopefully few prototypes,
14898 which can conflict with char $ac_func(); below. */
14899 #include <assert.h>
14900 /* Override any gcc2 internal prototype to avoid an error. */
14901 /* We use char because int might match the return type of a gcc2
14902 builtin and then its argument prototype would still apply. */
14907 /* The GNU C library defines this for functions which it implements
14908 to always fail with ENOSYS. Some functions are actually named
14909 something starting with __ and the normal name is an alias. */
14910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14918 if { (eval echo configure
:14919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14920 eval "ac_cv_func_$ac_func=yes"
14922 echo "configure: failed program was:" >&5
14923 cat conftest.
$ac_ext >&5
14925 eval "ac_cv_func_$ac_func=no"
14930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14931 echo "$ac_t""yes" 1>&6
14932 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14933 cat >> confdefs.h
<<EOF
14934 #define $ac_tr_func 1
14937 cat >> confdefs.h
<<\EOF
14938 #define HAVE_SHL_LOAD 1
14944 echo "$ac_t""no" 1>&6
14945 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14946 echo "configure:14947: checking for dld in -lshl_load" >&5
14947 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14949 echo $ac_n "(cached) $ac_c" 1>&6
14951 ac_save_LIBS
="$LIBS"
14952 LIBS
="-lshl_load $LIBS"
14953 cat > conftest.
$ac_ext <<EOF
14954 #line 14955 "configure"
14955 #include "confdefs.h"
14956 /* Override any gcc2 internal prototype to avoid an error. */
14957 /* We use char because int might match the return type of a gcc2
14958 builtin and then its argument prototype would still apply. */
14965 if { (eval echo configure
:14966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14967 eval "ac_cv_lib_$ac_lib_var=yes"
14969 echo "configure: failed program was:" >&5
14970 cat conftest.
$ac_ext >&5
14972 eval "ac_cv_lib_$ac_lib_var=no"
14975 LIBS
="$ac_save_LIBS"
14978 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14979 echo "$ac_t""yes" 1>&6
14985 echo "$ac_t""no" 1>&6
15000 if test "$HAVE_DL_FUNCS" = 1; then
15001 for ac_func
in dlerror
15003 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15004 echo "configure:15005: checking for $ac_func" >&5
15005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15006 echo $ac_n "(cached) $ac_c" 1>&6
15008 cat > conftest.
$ac_ext <<EOF
15009 #line 15010 "configure"
15010 #include "confdefs.h"
15011 /* System header to define __stub macros and hopefully few prototypes,
15012 which can conflict with char $ac_func(); below. */
15013 #include <assert.h>
15014 /* Override any gcc2 internal prototype to avoid an error. */
15015 /* We use char because int might match the return type of a gcc2
15016 builtin and then its argument prototype would still apply. */
15021 /* The GNU C library defines this for functions which it implements
15022 to always fail with ENOSYS. Some functions are actually named
15023 something starting with __ and the normal name is an alias. */
15024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15032 if { (eval echo configure
:15033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15034 eval "ac_cv_func_$ac_func=yes"
15036 echo "configure: failed program was:" >&5
15037 cat conftest.
$ac_ext >&5
15039 eval "ac_cv_func_$ac_func=no"
15044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15045 echo "$ac_t""yes" 1>&6
15046 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15047 cat >> confdefs.h
<<EOF
15048 #define $ac_tr_func 1
15050 cat >> confdefs.h
<<\EOF
15051 #define HAVE_DLERROR 1
15055 echo "$ac_t""no" 1>&6
15056 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
15057 echo "configure:15058: checking for dlerror in -ldl" >&5
15058 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
15059 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15060 echo $ac_n "(cached) $ac_c" 1>&6
15062 ac_save_LIBS
="$LIBS"
15064 cat > conftest.
$ac_ext <<EOF
15065 #line 15066 "configure"
15066 #include "confdefs.h"
15067 /* Override any gcc2 internal prototype to avoid an error. */
15068 /* We use char because int might match the return type of a gcc2
15069 builtin and then its argument prototype would still apply. */
15076 if { (eval echo configure
:15077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15078 eval "ac_cv_lib_$ac_lib_var=yes"
15080 echo "configure: failed program was:" >&5
15081 cat conftest.
$ac_ext >&5
15083 eval "ac_cv_lib_$ac_lib_var=no"
15086 LIBS
="$ac_save_LIBS"
15089 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15090 echo "$ac_t""yes" 1>&6
15091 cat >> confdefs.h
<<\EOF
15092 #define HAVE_DLERROR 1
15096 echo "$ac_t""no" 1>&6
15105 if test "$HAVE_DL_FUNCS" = 0; then
15106 if test "$HAVE_SHL_FUNCS" = 0; then
15107 if test "$USE_UNIX" = 1; then
15108 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
15109 wxUSE_DYNLIB_CLASS
=no
15111 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
15119 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
15120 cat >> confdefs.h
<<\EOF
15121 #define wxUSE_DYNLIB_CLASS 1
15130 if test "$wxUSE_UNICODE" = "yes" ; then
15131 cat >> confdefs.h
<<\EOF
15132 #define wxUSE_UNICODE 1
15137 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
15138 cat >> confdefs.h
<<\EOF
15139 #define wxUSE_WCSRTOMBS 1
15144 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
15145 cat >> confdefs.h
<<\EOF
15146 #define wxUSE_EXPERIMENTAL_PRINTF 1
15152 if test "$wxUSE_SERIAL" = "yes" ; then
15153 cat >> confdefs.h
<<\EOF
15154 #define wxUSE_SERIAL 1
15161 if test "$wxUSE_ODBC" = "yes" ; then
15162 cat >> confdefs.h
<<\EOF
15163 #define wxUSE_ODBC 1
15166 WXODBCFLAG
="-D_IODBC_"
15167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
15171 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
15172 cat >> confdefs.h
<<\EOF
15173 #define wxUSE_POSTSCRIPT 1
15178 cat >> confdefs.h
<<\EOF
15179 #define wxUSE_AFM_FOR_POSTSCRIPT 1
15183 cat >> confdefs.h
<<\EOF
15184 #define wxUSE_NORMALIZED_PS_FONTS 1
15189 if test "$wxUSE_CONSTRAINTS" = "yes"; then
15190 cat >> confdefs.h
<<\EOF
15191 #define wxUSE_CONSTRAINTS 1
15194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
15197 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
15198 cat >> confdefs.h
<<\EOF
15199 #define wxUSE_MDI_ARCHITECTURE 1
15202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
15205 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
15206 cat >> confdefs.h
<<\EOF
15207 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
15210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
15211 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
15212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
15216 if test "$wxUSE_HELP" = "yes"; then
15217 cat >> confdefs.h
<<\EOF
15218 #define wxUSE_HELP 1
15221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
15224 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
15225 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15226 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
15228 cat >> confdefs.h
<<\EOF
15229 #define wxUSE_PRINTING_ARCHITECTURE 1
15233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
15236 if test "$wxUSE_PROLOGIO" = "yes" ; then
15237 cat >> confdefs.h
<<\EOF
15238 #define wxUSE_PROLOGIO 1
15243 if test "$wxUSE_RESOURCES" = "yes" ; then
15244 if test "$wxUSE_PROLOGIO" = "yes" ; then
15245 cat >> confdefs.h
<<\EOF
15246 #define wxUSE_RESOURCES 1
15249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
15251 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
15255 if test "$wxUSE_X_RESOURCES" = "yes"; then
15256 cat >> confdefs.h
<<\EOF
15257 #define wxUSE_X_RESOURCES 1
15263 if test "$wxUSE_IPC" = "yes"; then
15264 if test "$wxUSE_SOCKETS" != "yes"; then
15265 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
15268 cat >> confdefs.h
<<\EOF
15269 #define wxUSE_IPC 1
15274 if test "$wxUSE_CLIPBOARD" = "yes"; then
15275 cat >> confdefs.h
<<\EOF
15276 #define wxUSE_CLIPBOARD 1
15281 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
15282 if test "$wxUSE_GTK" = 1; then
15283 if test "$WXGTK12" != 1; then
15284 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
15285 wxUSE_DRAG_AND_DROP
=no
15289 if test "$wxUSE_MOTIF" = 1; then
15290 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
15291 wxUSE_DRAG_AND_DROP
=no
15294 if test "$wxUSE_MAC" = 1; then
15295 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
15296 wxUSE_DRAG_AND_DROP
=no
15299 if test "$USE_WIN32" = 1; then
15301 for ac_hdr
in ole2.h
15303 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15304 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15305 echo "configure:15306: checking for $ac_hdr" >&5
15306 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15307 echo $ac_n "(cached) $ac_c" 1>&6
15309 cat > conftest.
$ac_ext <<EOF
15310 #line 15311 "configure"
15311 #include "confdefs.h"
15314 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15315 { (eval echo configure
:15316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15316 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15317 if test -z "$ac_err"; then
15319 eval "ac_cv_header_$ac_safe=yes"
15322 echo "configure: failed program was:" >&5
15323 cat conftest.
$ac_ext >&5
15325 eval "ac_cv_header_$ac_safe=no"
15329 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15330 echo "$ac_t""yes" 1>&6
15331 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15332 cat >> confdefs.h
<<EOF
15333 #define $ac_tr_hdr 1
15337 echo "$ac_t""no" 1>&6
15342 if test "$ac_cv_header_ole2_h" = "yes" ; then
15343 if test "$GCC" = yes ; then
15344 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
15345 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
15346 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
15347 LIBS
="$LIBS -lole32 -luuid"
15349 if test "$wxUSE_METAFILE" = "yes"; then
15350 cat >> confdefs.h
<<\EOF
15351 #define wxUSE_METAFILE 1
15354 cat >> confdefs.h
<<\EOF
15355 #define wxUSE_ENH_METAFILE 1
15361 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
15362 wxUSE_DRAG_AND_DROP
=no
15366 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
15367 cat >> confdefs.h
<<\EOF
15368 #define wxUSE_DRAG_AND_DROP 1
15371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
15376 if test "$wxUSE_SPLINES" = "yes" ; then
15377 cat >> confdefs.h
<<\EOF
15378 #define wxUSE_SPLINES 1
15384 if test "$wxUSE_ACCEL" = "yes"; then
15385 cat >> confdefs.h
<<\EOF
15386 #define wxUSE_ACCEL 1
15391 if test "$wxUSE_CARET" = "yes"; then
15392 cat >> confdefs.h
<<\EOF
15393 #define wxUSE_CARET 1
15396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
15399 if test "$wxUSE_COMBOBOX" = "yes"; then
15400 cat >> confdefs.h
<<\EOF
15401 #define wxUSE_COMBOBOX 1
15406 if test "$wxUSE_CHOICE" = "yes"; then
15407 cat >> confdefs.h
<<\EOF
15408 #define wxUSE_CHOICE 1
15413 if test "$wxUSE_BMPBUTTON" = "yes"; then
15414 cat >> confdefs.h
<<\EOF
15415 #define wxUSE_BMPBUTTON 1
15420 if test "$wxUSE_CHECKBOX" = "yes"; then
15421 cat >> confdefs.h
<<\EOF
15422 #define wxUSE_CHECKBOX 1
15427 if test "$wxUSE_CHECKLST" = "yes"; then
15428 cat >> confdefs.h
<<\EOF
15429 #define wxUSE_CHECKLISTBOX 1
15432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
15435 if test "$wxUSE_GAUGE" = "yes"; then
15436 cat >> confdefs.h
<<\EOF
15437 #define wxUSE_GAUGE 1
15442 if test "$wxUSE_NEW_GRID" = "yes"; then
15444 cat >> confdefs.h
<<\EOF
15445 #define wxUSE_NEW_GRID 1
15448 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
15451 if test "$wxUSE_GRID" = "yes"; then
15452 cat >> confdefs.h
<<\EOF
15453 #define wxUSE_GRID 1
15456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
15459 if test "$wxUSE_IMAGLIST" = "yes"; then
15460 cat >> confdefs.h
<<\EOF
15461 #define wxUSE_IMAGLIST 1
15466 if test "$wxUSE_LISTBOX" = "yes"; then
15467 cat >> confdefs.h
<<\EOF
15468 #define wxUSE_LISTBOX 1
15473 if test "$wxUSE_LISTCTRL" = "yes"; then
15474 if test "$wxUSE_IMAGLIST" = "yes"; then
15475 cat >> confdefs.h
<<\EOF
15476 #define wxUSE_LISTCTRL 1
15479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
15481 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
15485 if test "$wxUSE_NOTEBOOK" = "yes"; then
15486 cat >> confdefs.h
<<\EOF
15487 #define wxUSE_NOTEBOOK 1
15490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
15493 if test "$wxUSE_RADIOBOX" = "yes"; then
15494 cat >> confdefs.h
<<\EOF
15495 #define wxUSE_RADIOBOX 1
15500 if test "$wxUSE_RADIOBTN" = "yes"; then
15501 cat >> confdefs.h
<<\EOF
15502 #define wxUSE_RADIOBTN 1
15507 if test "$wxUSE_SASH" = "yes"; then
15508 cat >> confdefs.h
<<\EOF
15509 #define wxUSE_SASH 1
15512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
15515 if test "$wxUSE_SCROLLBAR" = "yes"; then
15516 cat >> confdefs.h
<<\EOF
15517 #define wxUSE_SCROLLBAR 1
15520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
15523 if test "$wxUSE_SLIDER" = "yes"; then
15524 cat >> confdefs.h
<<\EOF
15525 #define wxUSE_SLIDER 1
15530 if test "$wxUSE_SPINBTN" = "yes"; then
15531 cat >> confdefs.h
<<\EOF
15532 #define wxUSE_SPINBTN 1
15537 if test "$wxUSE_SPINCTRL" = "yes"; then
15538 cat >> confdefs.h
<<\EOF
15539 #define wxUSE_SPINCTRL 1
15544 if test "$wxUSE_SPLITTER" = "yes"; then
15545 cat >> confdefs.h
<<\EOF
15546 #define wxUSE_SPLITTER 1
15549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
15552 if test "$wxUSE_STATBMP" = "yes"; then
15553 cat >> confdefs.h
<<\EOF
15554 #define wxUSE_STATBMP 1
15559 if test "$wxUSE_STATBOX" = "yes"; then
15560 cat >> confdefs.h
<<\EOF
15561 #define wxUSE_STATBOX 1
15566 if test "$wxUSE_STATLINE" = "yes"; then
15567 if test "$wxUSE_WINE" = 1 ; then
15568 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
15570 cat >> confdefs.h
<<\EOF
15571 #define wxUSE_STATLINE 1
15577 if test "$wxUSE_STATUSBAR" = "yes"; then
15578 cat >> confdefs.h
<<\EOF
15579 #define wxUSE_STATUSBAR 1
15583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
15586 if test "$wxUSE_TABDIALOG" = "yes"; then
15587 cat >> confdefs.h
<<\EOF
15588 #define wxUSE_TAB_DIALOG 1
15591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
15594 if test "$wxUSE_TOGGLEBTN" = "yes"; then
15595 if test "$wxUSE_MAC" = 1; then
15596 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
15600 if test "$wxUSE_TOGGLEBTN" = "yes"; then
15601 cat >> confdefs.h
<<\EOF
15602 #define wxUSE_TOGGLEBTN 1
15608 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
15609 cat >> confdefs.h
<<\EOF
15610 #define wxUSE_TOOLBAR_SIMPLE 1
15613 wxUSE_TOOLBAR
="yes"
15616 if test "$wxUSE_TOOLBAR" = "yes"; then
15617 cat >> confdefs.h
<<\EOF
15618 #define wxUSE_TOOLBAR 1
15622 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
15623 wxUSE_TOOLBAR_NATIVE
="yes"
15626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
15629 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
15630 cat >> confdefs.h
<<\EOF
15631 #define wxUSE_TOOLBAR_NATIVE 1
15636 if test "$wxUSE_TOOLTIPS" = "yes"; then
15637 if test "$wxUSE_MOTIF" = 1; then
15638 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
15640 if test "$wxUSE_WINE" = 1; then
15641 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
15643 cat >> confdefs.h
<<\EOF
15644 #define wxUSE_TOOLTIPS 1
15651 if test "$wxUSE_TREECTRL" = "yes"; then
15652 if test "$wxUSE_IMAGLIST" = "yes"; then
15653 cat >> confdefs.h
<<\EOF
15654 #define wxUSE_TREECTRL 1
15657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
15659 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
15665 if test "$wxUSE_DIRDLG" = "yes"; then
15666 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15667 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
15669 if test "$wxUSE_TREECTRL" != "yes"; then
15670 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
15672 cat >> confdefs.h
<<\EOF
15673 #define wxUSE_DIRDLG 1
15680 if test "$wxUSE_TEXTDLG" = "yes"; then
15681 cat >> confdefs.h
<<\EOF
15682 #define wxUSE_TEXTDLG 1
15687 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
15688 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15689 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
15691 cat >> confdefs.h
<<\EOF
15692 #define wxUSE_STARTUP_TIPS 1
15698 if test "$wxUSE_PROGRESSDLG" = "yes"; then
15699 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15700 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
15702 cat >> confdefs.h
<<\EOF
15703 #define wxUSE_PROGRESSDLG 1
15709 if test "$wxUSE_MINIFRAME" = "yes"; then
15710 cat >> confdefs.h
<<\EOF
15711 #define wxUSE_MINIFRAME 1
15714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
15717 if test "$wxUSE_HTML" = "yes"; then
15718 cat >> confdefs.h
<<\EOF
15719 #define wxUSE_HTML 1
15722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
15723 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
15726 if test "$wxUSE_VALIDATORS" = "yes"; then
15727 cat >> confdefs.h
<<\EOF
15728 #define wxUSE_VALIDATORS 1
15731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15734 if test "$wxUSE_IMAGE" = "yes" ; then
15735 cat >> confdefs.h
<<\EOF
15736 #define wxUSE_IMAGE 1
15741 if test "$wxUSE_GIF" = "yes" ; then
15742 cat >> confdefs.h
<<\EOF
15743 #define wxUSE_GIF 1
15748 if test "$wxUSE_PCX" = "yes" ; then
15749 cat >> confdefs.h
<<\EOF
15750 #define wxUSE_PCX 1
15755 if test "$wxUSE_PNM" = "yes" ; then
15756 cat >> confdefs.h
<<\EOF
15757 #define wxUSE_PNM 1
15762 if test "$wxUSE_XPM" = "yes" ; then
15763 cat >> confdefs.h
<<\EOF
15764 #define wxUSE_XPM 1
15770 if test "$cross_compiling" = "yes"; then
15773 OSINFO
=`uname -s -r -m`
15774 OSINFO
="\"$OSINFO\""
15777 cat >> confdefs.h
<<EOF
15778 #define WXWIN_OS_DESCRIPTION $OSINFO
15783 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15784 OPENGL_LIBS
="$OPENGL_LINK"
15786 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15787 if test "$USE_MAC" = 1 ; then
15788 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
15790 if test "$wxUSE_GUI" = "yes"; then
15791 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15794 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15796 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15798 if test "$wxUSE_GTK" = 1; then
15799 WXCONFIG_INCLUDE
=""
15801 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15804 if test "$GXX" = yes ; then
15805 CXXWARNINGS
="-Wall"
15807 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15809 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15810 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15812 LDFLAGS
="$LDFLAGS $PROFILE"
15814 if test "$wxUSE_GUI" = "yes"; then
15816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
15817 drawing dynamic event font fractal image menu \
15820 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15825 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15918 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15919 echo "configure:15920: checking whether ${MAKE-make} sets \${MAKE}" >&5
15920 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15921 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15922 echo $ac_n "(cached) $ac_c" 1>&6
15924 cat > conftestmake
<<\EOF
15926 @
echo 'ac_maketemp="${MAKE}"'
15928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15929 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15930 if test -n "$ac_maketemp"; then
15931 eval ac_cv_prog_make_
${ac_make}_set
=yes
15933 eval ac_cv_prog_make_
${ac_make}_set
=no
15937 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15938 echo "$ac_t""yes" 1>&6
15941 echo "$ac_t""no" 1>&6
15942 SET_MAKE
="MAKE=${MAKE-make}"
15946 if test -d include
; then
15947 if test -d include
/wx
; then
15948 if test -d include
/wx
/${TOOLKIT_DIR}; then
15949 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15950 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15958 if test "$wxUSE_GUI" = "yes"; then
15959 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15960 wx_cv_path_ifs
=$PATH_IFS
15961 wx_cv_program_ext
=$PROGRAM_EXT
15962 wx_cv_target_library
=$WX_TARGET_LIBRARY
15963 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15964 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
15965 wx_cv_target_library wx_cv_target_libtype
15966 subdirs
="demos samples utils contrib"
15971 cat > confcache
<<\EOF
15972 # This file is a shell script that caches the results of configure
15973 # tests run on this system so they can be shared between configure
15974 # scripts and configure runs. It is not useful on other systems.
15975 # If it contains results you don't want to keep, you may remove or edit it.
15977 # By default, configure uses ./config.cache as the cache file,
15978 # creating it if it does not exist already. You can give configure
15979 # the --cache-file=FILE option to use a different cache file; that is
15980 # what configure does when it calls configure scripts in
15981 # subdirectories, so they share the cache.
15982 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15983 # config.status only pays attention to the cache file if you give it the
15984 # --recheck option to rerun configure.
15987 # The following way of writing the cache mishandles newlines in values,
15988 # but we know of no workaround that is simple, portable, and efficient.
15989 # So, don't put newlines in cache variables' values.
15990 # Ultrix sh set writes to stderr and can't be redirected directly,
15991 # and sets the high bit in the cache file unless we assign to the vars.
15993 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15995 # `set' does not quote correctly, so add quotes (double-quote substitution
15996 # turns \\\\ into \\, and sed turns \\ into \).
15998 -e "s/'/'\\\\''/g" \
15999 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16002 # `set' quotes correctly as required by POSIX, so do not add quotes.
16003 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16006 if cmp -s $cache_file confcache
; then
16009 if test -w $cache_file; then
16010 echo "updating cache $cache_file"
16011 cat confcache
> $cache_file
16013 echo "not updating unwritable cache $cache_file"
16018 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
16020 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16021 # Let make expand exec_prefix.
16022 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16024 # Any assignment to VPATH causes Sun make to only execute
16025 # the first set of double-colon rules, so remove it if not needed.
16026 # If there is a colon in the path, we need to keep it.
16027 if test "x$srcdir" = x.
; then
16028 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
16031 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
16033 DEFS
=-DHAVE_CONFIG_H
16035 # Without the "./", some shells look in PATH for config.status.
16036 : ${CONFIG_STATUS=./config.status}
16038 echo creating
$CONFIG_STATUS
16039 rm -f $CONFIG_STATUS
16040 cat > $CONFIG_STATUS <<EOF
16042 # Generated automatically by configure.
16043 # Run this file to recreate the current configuration.
16044 # This directory was configured as follows,
16045 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16047 # $0 $ac_configure_args
16049 # Compiler output produced by configure, useful for debugging
16050 # configure, is in ./config.log if it exists.
16052 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
16055 case "\$ac_option" in
16056 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16057 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
16058 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
16059 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
16060 echo "$CONFIG_STATUS generated by autoconf version 2.13"
16062 -help | --help | --hel | --he | --h)
16063 echo "\$ac_cs_usage"; exit 0 ;;
16064 *) echo "\$ac_cs_usage"; exit 1 ;;
16068 ac_given_srcdir=$srcdir
16069 ac_given_INSTALL="$INSTALL"
16071 trap 'rm -fr `echo "
16077 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
16079 cat >> $CONFIG_STATUS <<EOF
16081 # Protect against being on the right side of a sed subst in config.status.
16082 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
16083 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
16087 s%@CFLAGS@%$CFLAGS%g
16088 s%@CPPFLAGS@%$CPPFLAGS%g
16089 s%@CXXFLAGS@%$CXXFLAGS%g
16090 s%@FFLAGS@%$FFLAGS%g
16092 s%@LDFLAGS@%$LDFLAGS%g
16094 s%@exec_prefix@%$exec_prefix%g
16095 s%@prefix@%$prefix%g
16096 s%@program_transform_name@%$program_transform_name%g
16097 s%@bindir@%$bindir%g
16098 s%@sbindir@%$sbindir%g
16099 s%@libexecdir@%$libexecdir%g
16100 s%@datadir@%$datadir%g
16101 s%@sysconfdir@%$sysconfdir%g
16102 s%@sharedstatedir@%$sharedstatedir%g
16103 s%@localstatedir@%$localstatedir%g
16104 s%@libdir@%$libdir%g
16105 s%@includedir@%$includedir%g
16106 s%@oldincludedir@%$oldincludedir%g
16107 s%@infodir@%$infodir%g
16108 s%@mandir@%$mandir%g
16110 s%@host_alias@%$host_alias%g
16111 s%@host_cpu@%$host_cpu%g
16112 s%@host_vendor@%$host_vendor%g
16113 s%@host_os@%$host_os%g
16114 s%@target@%$target%g
16115 s%@target_alias@%$target_alias%g
16116 s%@target_cpu@%$target_cpu%g
16117 s%@target_vendor@%$target_vendor%g
16118 s%@target_os@%$target_os%g
16120 s%@build_alias@%$build_alias%g
16121 s%@build_cpu@%$build_cpu%g
16122 s%@build_vendor@%$build_vendor%g
16123 s%@build_os@%$build_os%g
16127 s%@CXXCPP@%$CXXCPP%g
16128 s%@RANLIB@%$RANLIB%g
16130 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
16131 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
16132 s%@INSTALL_DATA@%$INSTALL_DATA%g
16136 s%@LEXLIB@%$LEXLIB%g
16138 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
16139 s%@GTK_CONFIG@%$GTK_CONFIG%g
16140 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
16141 s%@GTK_LIBS@%$GTK_LIBS%g
16142 s%@X_CFLAGS@%$X_CFLAGS%g
16143 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
16144 s%@X_LIBS@%$X_LIBS%g
16145 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
16148 s%@LEX_STEM@%$LEX_STEM%g
16149 s%@PATH_IFS@%$PATH_IFS%g
16150 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
16151 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
16152 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
16153 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
16154 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
16155 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
16156 s%@WX_LIBRARY@%$WX_LIBRARY%g
16157 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
16158 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
16159 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
16160 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
16161 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
16162 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
16163 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
16164 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
16165 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
16166 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
16167 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
16168 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
16169 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
16170 s%@WX_ALL@%$WX_ALL%g
16171 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
16172 s%@SHARED_LD@%$SHARED_LD%g
16173 s%@PIC_FLAG@%$PIC_FLAG%g
16174 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
16175 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
16176 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
16177 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
16178 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
16179 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
16180 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
16181 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
16182 s%@USE_GUI@%$USE_GUI%g
16183 s%@AFMINSTALL@%$AFMINSTALL%g
16184 s%@TOOLKIT@%$TOOLKIT%g
16185 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
16186 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
16187 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
16188 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
16189 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
16190 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
16191 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
16192 s%@GUIDIST@%$GUIDIST%g
16193 s%@PORT_FILES@%$PORT_FILES%g
16194 s%@DISTDIR@%$DISTDIR%g
16195 s%@RPM_SPEC@%$RPM_SPEC%g
16196 s%@RPM_FILES@%$RPM_FILES%g
16197 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
16198 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
16199 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
16200 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
16201 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
16202 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
16203 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
16204 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
16205 s%@EXTRADEFS@%$EXTRADEFS%g
16206 s%@LD_LIBS@%$LD_LIBS%g
16207 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
16208 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
16209 s%@RESPROGRAM@%$RESPROGRAM%g
16210 s%@RESCOMP@%$RESCOMP%g
16211 s%@RESFLAGS@%$RESFLAGS%g
16212 s%@REZFLAGS@%$REZFLAGS%g
16213 s%@DEREZFLAGS@%$DEREZFLAGS%g
16214 s%@LIBWXMACRES@%$LIBWXMACRES%g
16215 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
16216 s%@DLLTOOL@%$DLLTOOL%g
16220 s%@MAKEINFO@%$MAKEINFO%g
16221 s%@SET_MAKE@%$SET_MAKE%g
16222 s%@subdirs@%$subdirs%g
16227 cat >> $CONFIG_STATUS <<\EOF
16229 # Split the substitutions into bite-sized pieces for seds with
16230 # small command number limits, like on Digital OSF/1 and HP-UX.
16231 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
16232 ac_file
=1 # Number of current file.
16233 ac_beg
=1 # First line for current file.
16234 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
16237 while $ac_more_lines; do
16238 if test $ac_beg -gt 1; then
16239 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
16241 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
16243 if test ! -s conftest.s
$ac_file; then
16244 ac_more_lines
=false
16245 rm -f conftest.s
$ac_file
16247 if test -z "$ac_sed_cmds"; then
16248 ac_sed_cmds
="sed -f conftest.s$ac_file"
16250 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
16252 ac_file
=`expr $ac_file + 1`
16254 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
16257 if test -z "$ac_sed_cmds"; then
16262 cat >> $CONFIG_STATUS <<EOF
16264 CONFIG_FILES=\${CONFIG_FILES-"wx-config
16271 cat >> $CONFIG_STATUS <<\EOF
16272 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
16273 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16275 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16276 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16277 *) ac_file_in
="${ac_file}.in" ;;
16280 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
16282 # Remove last slash and all that follows it. Not all systems have dirname.
16283 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16284 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
16285 # The file is in a subdirectory.
16286 test ! -d "$ac_dir" && mkdir "$ac_dir"
16287 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
16288 # A "../" for each directory in $ac_dir_suffix.
16289 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
16291 ac_dir_suffix
= ac_dots
=
16294 case "$ac_given_srcdir" in
16296 if test -z "$ac_dots"; then top_srcdir
=.
16297 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
16298 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
16299 *) # Relative path.
16300 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
16301 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16304 case "$ac_given_INSTALL" in
16305 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
16306 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
16309 echo creating
"$ac_file"
16311 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
16313 *Makefile
*) ac_comsub
="1i\\
16314 # $configure_input" ;;
16318 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16320 s%@configure_input@%$configure_input%g
16321 s%@srcdir@%$srcdir%g
16322 s%@top_srcdir@%$top_srcdir%g
16323 s%@INSTALL@%$INSTALL%g
16324 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
16328 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16329 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16331 # ac_d sets the value in "#define NAME VALUE" lines.
16332 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16333 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
16336 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
16337 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16338 ac_uB
='\([ ]\)%\1#\2define\3'
16341 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16342 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16343 ac_eB
='$%\1#\2define\3'
16347 if test "${CONFIG_HEADERS+set}" != set; then
16349 cat >> $CONFIG_STATUS <<EOF
16350 CONFIG_HEADERS="setup.h:setup.h.in"
16352 cat >> $CONFIG_STATUS <<\EOF
16354 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
16355 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16357 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16358 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16359 *) ac_file_in
="${ac_file}.in" ;;
16362 echo creating
$ac_file
16364 rm -f conftest.frag conftest.
in conftest.out
16365 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16366 cat $ac_file_inputs > conftest.
in
16370 # Transform confdefs.h into a sed script conftest.vals that substitutes
16371 # the proper values into config.h.in to produce config.h. And first:
16372 # Protect against being on the right side of a sed subst in config.status.
16373 # Protect against being in an unquoted here document in config.status.
16374 rm -f conftest.vals
16375 cat > conftest.hdr
<<\EOF
16378 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16382 sed -n -f conftest.hdr confdefs.h > conftest.vals
16385 # This sed command replaces #undef with comments. This is necessary, for
16386 # example, in the case of _POSIX_SOURCE, which is predefined and required
16387 # on some systems where configure will not decide to define it.
16388 cat >> conftest.vals <<\EOF
16389 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16392 # Break up conftest.vals because some shells have a limit on
16393 # the size of here documents, and old seds have small limits too.
16395 rm -f conftest.tail
16398 ac_lines=`grep -c . conftest.vals
`
16399 # grep -c gives empty output for an empty file on some AIX systems.
16400 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16401 # Write a limited-size here document to conftest.frag.
16402 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16403 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16405 sed -f conftest.frag conftest.in > conftest.out
16407 mv conftest.out conftest.in
16408 ' >> $CONFIG_STATUS
16409 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16410 rm -f conftest.vals
16411 mv conftest.tail conftest.vals
16413 rm -f conftest.vals
16415 cat >> $CONFIG_STATUS <<\EOF
16416 rm -f conftest.frag conftest.h
16417 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16418 cat conftest.in >> conftest.h
16420 if cmp -s $ac_file conftest.h 2>/dev/null; then
16421 echo "$ac_file is unchanged"
16424 # Remove last slash and all that follows it. Not all systems have dirname.
16425 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16426 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16427 # The file is in a subdirectory.
16428 test ! -d "$ac_dir" && mkdir "$ac_dir"
16431 mv conftest.h $ac_file
16436 cat >> $CONFIG_STATUS <<EOF
16438 TOOLKIT_DIR="${TOOLKIT_DIR}"
16439 TOOLKIT_NAME="${TOOLKIT_NAME}"
16444 cat >> $CONFIG_STATUS <<\EOF
16446 if test ! -L wx-config; then
16448 mv wx-config wx${TOOLKIT_NAME}-config
16449 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
16453 if test ! -d lib; then
16456 if test ! -d lib/wx; then
16459 if test ! -d lib/wx/include; then
16460 mkdir lib/wx/include
16462 if test ! -d lib/wx/include/wx; then
16463 mkdir lib/wx/include/wx
16465 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
16466 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
16468 if test -f setup.h; then
16469 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
16473 if test ! -d include; then
16476 if test ! -d include/wx; then
16479 if test ! -d include/wx/${TOOLKIT_DIR}; then
16480 mkdir include/wx/${TOOLKIT_DIR}
16482 if test -f setup.h; then
16483 cp -fp setup.h include/wx/${TOOLKIT_DIR}/setup.h
16489 chmod +x $CONFIG_STATUS
16490 rm -fr confdefs* $ac_clean_files
16491 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16493 if test "$no_recursion" != yes; then
16495 # Remove --cache-file and --srcdir arguments so they do not pile up.
16496 ac_sub_configure_args=
16498 for ac_arg in $ac_configure_args; do
16499 if test -n "$ac_prev"; then
16504 -cache-file | --cache-file | --cache-fil | --cache-fi \
16505 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16506 ac_prev=cache_file ;;
16507 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16508 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
16510 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16512 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16514 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
16518 for ac_config_dir in demos samples utils contrib; do
16520 # Do not complain, so a configure script can configure whichever
16521 # parts of a large source tree are present.
16522 if test ! -d $srcdir/$ac_config_dir; then
16526 echo configuring in $ac_config_dir
16531 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
16533 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
16541 # A "../" for each directory in /$ac_config_dir.
16542 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
16545 .) # No --srcdir option. We are building in place.
16546 ac_sub_srcdir=$srcdir ;;
16547 /*) # Absolute path.
16548 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
16549 *) # Relative path.
16550 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
16553 # Check for guested configure; otherwise get Cygnus style configure.
16554 if test -f $ac_sub_srcdir/configure; then
16555 ac_sub_configure=$ac_sub_srcdir/configure
16556 elif test -f $ac_sub_srcdir/configure.in; then
16557 ac_sub_configure=$ac_configure
16559 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
16563 # The recursion is here.
16564 if test -n "$ac_sub_configure"; then
16566 # Make the cache file name correct relative to the subdirectory.
16567 case "$cache_file" in
16568 /*) ac_sub_cache_file=$cache_file ;;
16569 *) # Relative path.
16570 ac_sub_cache_file="$ac_dots$cache_file" ;;
16572 case "$ac_given_INSTALL" in
16573 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16574 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16577 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
16578 # The eval makes quoting arguments work.
16579 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
16582 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }