3 # From configure.in Id: configure.in
42 # Configure paths for GTK+
46 # Guess values for system-dependent variables and create Makefiles.
47 # Generated automatically using autoconf version 2.13
48 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 # This configure script is free software; the Free Software Foundation
51 # gives unlimited permission to copy, distribute and modify it.
55 ac_default_prefix
=/usr
/local
56 # Any additions from configure.in:
58 --enable-gui use GUI classes"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-cygwin use Cygwin for MS-Windows"
70 --with-mingw use GCC Minimal MS-Windows"
72 --with-pm use OS/2 Presentation Manager"
74 --with-gtk-prefix=PFX Prefix where GTK is installed"
76 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
90 --with-zlib use zlib for LZW compression"
92 --with-odbc use the IODBC and wxODBC classes"
94 --enable-shared create shared library code"
96 --enable-burnt_name create set name in shared library "
98 --enable-optimise create optimised code"
100 --enable-debug same as debug_flag and debug_info"
102 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
104 --enable-debug_info create code with debugging information"
106 --enable-debug_gdb create code with extra GDB debugging information"
108 --enable-debug_cntxt use wxDebugContext"
110 --enable-mem_tracing create code with memory tracing"
112 --enable-profile create code with profiling information"
114 --enable-no_rtti create code without RTTI information"
116 --enable-no_exceptions create code without exceptions information"
118 --enable-permissive compile code disregarding strict ANSI"
120 --enable-no_deps create code without dependency information"
122 --enable-intl use internationalization system"
124 --enable-config use wxConfig (and derived) classes"
126 --enable-sockets use socket/network classes"
128 --enable-ipc use interprocess communication (wxSocket etc.)"
130 --enable-dialupman use dialup network classes"
132 --enable-apple_ieee use the Apple IEEE codec"
134 --enable-timedate use date/time classes"
136 --enable-wave use wxWave class"
138 --enable-fraction use wxFraction class"
140 --enable-dynlib use wxLibrary class for DLL loading"
142 --enable-longlong use wxLongLong class"
144 --enable-geometry use geometry class"
146 --enable-log use logging system"
148 --enable-streams use wxStream etc classes"
150 --enable-file use wxFile classes"
152 --enable-textfile use wxTextFile classes"
154 --enable-unicode compile wxString with Unicode support"
156 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
158 --enable-wxprintfv use wxWindows implementation of vprintf()"
160 --enable-std_iostreams use standard C++ stream classes"
162 --enable-filesystem use virtual file systems classes"
164 --enable-fs_inet use virtual HTTP/FTP filesystems"
166 --enable-fs_zip use virtual ZIP filesystems"
168 --enable-zipstream use wxZipInputStream"
170 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
172 --enable-threads use threads"
174 --enable-serial use class serialization"
176 --enable-docview use document view architecture"
178 --enable-help use help (using external browser at present)"
180 --enable-constraints use layout-constraints system"
182 --enable-printarch use printing architecture"
184 --enable-mdi use multiple document interface architecture"
186 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
188 --enable-prologio use Prolog IO library"
190 --enable-resources use wxWindows resources"
192 --enable-xresources use X resources for save (default for gtk+)"
194 --enable-clipboard use wxClipboard classes"
196 --enable-dnd use Drag'n'Drop classes"
198 --enable-metafile use win32 metafiles"
200 --enable-wxtree make wxTree library"
202 --enable-controls use all usual controls"
204 --enable-accel use accelerators"
206 --enable-caret use wxCaret class"
208 --enable-bmpbutton use wxBitmapButton class"
210 --enable-checkbox use wxCheckBox class"
212 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
214 --enable-choice use wxChoice class"
216 --enable-combobox use wxComboBox classes"
218 --enable-gauge use wxGauge class"
220 --enable-grid use wxGrid class"
222 --enable-newgrid use new wxGrid class"
224 --enable-imaglist use wxImageList class"
226 --enable-listbox use wxListBox class"
228 --enable-listctrl use wxListCtrl class"
230 --enable-notebook use wxNotebook class"
232 --enable-radiobox use wxRadioBox class"
234 --enable-radiobtn use wxRadioButton class"
236 --enable-sash use wxSashWindow class"
238 --enable-scrollbar use wxScrollBar class and scrollable windows"
240 --enable-slider use wxSlider class"
242 --enable-spinbtn use wxSpinButton class"
244 --enable-spinctrl use wxSpinCtrl class"
246 --enable-splitter use wxSplitterWindow class"
248 --enable-statbmp use wxStaticBitmap class"
250 --enable-statbox use wxStaticBox class"
252 --enable-statline use wxStaticLine class"
254 --enable-statusbar use wxStatusBar class"
256 --enable-tabdialog use wxTabControl class"
258 --enable-togglebtn use wxToggleButton class"
260 --enable-toolbar use wxToolBar class"
262 --enable-tbarnative use native wxToolBar class"
264 --enable-tbarsmpl use wxToolBarSimple class"
266 --enable-treectrl use wxTreeCtrl class"
268 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
270 --enable-dirdlg use wxDirDialog"
272 --enable-textdlg use wxTextDialog"
274 --enable-tipdlg use startup tips"
276 --enable-progressdlg use wxProgressDialog"
278 --enable-miniframe use wxMiniFrame class"
280 --enable-html use wxHTML sub-library"
282 --enable-tooltips use wxToolTip class"
284 --enable-splines use spline drawing code"
286 --enable-validators use wxValidator and derived classes"
288 --enable-busyinfo use wxBusyInfo"
290 --enable-joystick compile in joystick support (Linux only)"
292 --enable-gif use gif images (GIF file format)"
294 --enable-pcx use pcx images (PCX file format)"
296 --enable-pnm use pnm images (PNM file format)"
298 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
300 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
302 --disable-gtktest Do not try to compile and run a test GTK program"
304 --with-x use the X Window System"
306 # Initialize some variables set by options.
307 # The variables have the same names as the options, with
308 # dashes changed to underlines.
310 cache_file
=.
/config.cache
319 program_transform_name
=s
,x
,x
,
327 bindir
='${exec_prefix}/bin'
328 sbindir
='${exec_prefix}/sbin'
329 libexecdir
='${exec_prefix}/libexec'
330 datadir
='${prefix}/share'
331 sysconfdir
='${prefix}/etc'
332 sharedstatedir
='${prefix}/com'
333 localstatedir
='${prefix}/var'
334 libdir
='${exec_prefix}/lib'
335 includedir
='${prefix}/include'
336 oldincludedir
='/usr/include'
337 infodir
='${prefix}/info'
338 mandir
='${prefix}/man'
340 # Initialize some other variables.
343 SHELL
=${CONFIG_SHELL-/bin/sh}
344 # Maximum number of lines to put in a shell here document.
351 # If the previous option needs an argument, assign it.
352 if test -n "$ac_prev"; then
353 eval "$ac_prev=\$ac_option"
359 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
363 # Accept the important Cygnus configure options, so we can diagnose typos.
367 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
370 bindir
="$ac_optarg" ;;
372 -build | --build | --buil | --bui | --bu)
374 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
375 build
="$ac_optarg" ;;
377 -cache-file | --cache-file | --cache-fil | --cache-fi \
378 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
379 ac_prev
=cache_file
;;
380 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
381 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
382 cache_file
="$ac_optarg" ;;
384 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
386 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
388 datadir
="$ac_optarg" ;;
390 -disable-* | --disable-*)
391 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
392 # Reject names that are not valid shell variable names.
393 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
394 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
396 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
397 eval "enable_${ac_feature}=no" ;;
399 -enable-* | --enable-*)
400 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
405 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
410 eval "enable_${ac_feature}='$ac_optarg'" ;;
412 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
413 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
414 | --exec | --exe | --ex)
415 ac_prev
=exec_prefix
;;
416 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
417 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
418 | --exec=* | --exe=* | --ex=*)
419 exec_prefix
="$ac_optarg" ;;
421 -gas | --gas | --ga | --g)
422 # Obsolete; use --with-gas.
425 -help | --help | --hel | --he)
426 # Omit some internal or obsolete options to make the list less imposing.
427 # This message is too long to be a string in the A/UX 3.1 sh.
429 Usage: configure [options] [host]
430 Options: [defaults in brackets after descriptions]
432 --cache-file=FILE cache test results in FILE
433 --help print this message
434 --no-create do not create output files
435 --quiet, --silent do not print \`checking...' messages
436 --version print the version of autoconf that created configure
437 Directory and file names:
438 --prefix=PREFIX install architecture-independent files in PREFIX
440 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
442 --bindir=DIR user executables in DIR [EPREFIX/bin]
443 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
444 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
445 --datadir=DIR read-only architecture-independent data in DIR
447 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
448 --sharedstatedir=DIR modifiable architecture-independent data in DIR
450 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
451 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
452 --includedir=DIR C header files in DIR [PREFIX/include]
453 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
454 --infodir=DIR info documentation in DIR [PREFIX/info]
455 --mandir=DIR man documentation in DIR [PREFIX/man]
456 --srcdir=DIR find the sources in DIR [configure dir or ..]
457 --program-prefix=PREFIX prepend PREFIX to installed program names
458 --program-suffix=SUFFIX append SUFFIX to installed program names
459 --program-transform-name=PROGRAM
460 run sed PROGRAM on installed program names
464 --build=BUILD configure for building on BUILD [BUILD=HOST]
465 --host=HOST configure for HOST [guessed]
466 --target=TARGET configure for TARGET [TARGET=HOST]
467 Features and packages:
468 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
469 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
470 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
471 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
472 --x-includes=DIR X include files are in DIR
473 --x-libraries=DIR X library files are in DIR
475 if test -n "$ac_help"; then
476 echo "--enable and --with options recognized:$ac_help"
480 -host | --host | --hos | --ho)
482 -host=* | --host=* | --hos=* | --ho=*)
485 -includedir | --includedir | --includedi | --included | --include \
486 | --includ | --inclu | --incl | --inc)
487 ac_prev
=includedir
;;
488 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
489 | --includ=* | --inclu=* | --incl=* | --inc=*)
490 includedir
="$ac_optarg" ;;
492 -infodir | --infodir | --infodi | --infod | --info | --inf)
494 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
495 infodir
="$ac_optarg" ;;
497 -libdir | --libdir | --libdi | --libd)
499 -libdir=* | --libdir=* | --libdi=* | --libd=*)
500 libdir
="$ac_optarg" ;;
502 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
503 | --libexe | --libex | --libe)
504 ac_prev
=libexecdir
;;
505 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
506 | --libexe=* | --libex=* | --libe=*)
507 libexecdir
="$ac_optarg" ;;
509 -localstatedir | --localstatedir | --localstatedi | --localstated \
510 | --localstate | --localstat | --localsta | --localst \
511 | --locals | --local | --loca | --loc | --lo)
512 ac_prev
=localstatedir
;;
513 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
514 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
515 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
516 localstatedir
="$ac_optarg" ;;
518 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
520 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
521 mandir
="$ac_optarg" ;;
524 # Obsolete; use --without-fp.
527 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
531 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
532 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
535 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
536 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
537 | --oldin | --oldi | --old | --ol | --o)
538 ac_prev
=oldincludedir
;;
539 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
540 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
541 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
542 oldincludedir
="$ac_optarg" ;;
544 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
546 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
547 prefix
="$ac_optarg" ;;
549 -program-prefix | --program-prefix | --program-prefi | --program-pref \
550 | --program-pre | --program-pr | --program-p)
551 ac_prev
=program_prefix
;;
552 -program-prefix=* | --program-prefix=* | --program-prefi=* \
553 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
554 program_prefix
="$ac_optarg" ;;
556 -program-suffix | --program-suffix | --program-suffi | --program-suff \
557 | --program-suf | --program-su | --program-s)
558 ac_prev
=program_suffix
;;
559 -program-suffix=* | --program-suffix=* | --program-suffi=* \
560 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
561 program_suffix
="$ac_optarg" ;;
563 -program-transform-name | --program-transform-name \
564 | --program-transform-nam | --program-transform-na \
565 | --program-transform-n | --program-transform- \
566 | --program-transform | --program-transfor \
567 | --program-transfo | --program-transf \
568 | --program-trans | --program-tran \
569 | --progr-tra | --program-tr | --program-t)
570 ac_prev
=program_transform_name
;;
571 -program-transform-name=* | --program-transform-name=* \
572 | --program-transform-nam=* | --program-transform-na=* \
573 | --program-transform-n=* | --program-transform-=* \
574 | --program-transform=* | --program-transfor=* \
575 | --program-transfo=* | --program-transf=* \
576 | --program-trans=* | --program-tran=* \
577 | --progr-tra=* | --program-tr=* | --program-t=*)
578 program_transform_name
="$ac_optarg" ;;
580 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
581 | -silent | --silent | --silen | --sile | --sil)
584 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
586 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
588 sbindir
="$ac_optarg" ;;
590 -sharedstatedir | --sharedstatedir | --sharedstatedi \
591 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
592 | --sharedst | --shareds | --shared | --share | --shar \
594 ac_prev
=sharedstatedir
;;
595 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
596 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
597 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
599 sharedstatedir
="$ac_optarg" ;;
601 -site | --site | --sit)
603 -site=* | --site=* | --sit=*)
606 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
608 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
609 srcdir
="$ac_optarg" ;;
611 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
612 | --syscon | --sysco | --sysc | --sys | --sy)
613 ac_prev
=sysconfdir
;;
614 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
615 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
616 sysconfdir
="$ac_optarg" ;;
618 -target | --target | --targe | --targ | --tar | --ta | --t)
620 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
621 target
="$ac_optarg" ;;
623 -v | -verbose | --verbose | --verbos | --verbo | --verb)
626 -version | --version | --versio | --versi | --vers)
627 echo "configure generated by autoconf version 2.13"
631 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
632 # Reject names that are not valid shell variable names.
633 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
634 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
636 ac_package
=`echo $ac_package| sed 's/-/_/g'`
641 eval "with_${ac_package}='$ac_optarg'" ;;
643 -without-* | --without-*)
644 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
645 # Reject names that are not valid shell variable names.
646 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
647 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
649 ac_package
=`echo $ac_package| sed 's/-/_/g'`
650 eval "with_${ac_package}=no" ;;
653 # Obsolete; use --with-x.
656 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
657 | --x-incl | --x-inc | --x-in | --x-i)
658 ac_prev
=x_includes
;;
659 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
660 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
661 x_includes
="$ac_optarg" ;;
663 -x-libraries | --x-libraries | --x-librarie | --x-librari \
664 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
665 ac_prev
=x_libraries
;;
666 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
667 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
668 x_libraries
="$ac_optarg" ;;
670 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
674 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
675 echo "configure: warning: $ac_option: invalid host type" 1>&2
677 if test "x$nonopt" != xNONE
; then
678 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
686 if test -n "$ac_prev"; then
687 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
690 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
692 # File descriptor usage:
695 # 2 errors and warnings
696 # 3 some systems may open it to /dev/tty
697 # 4 used on the Kubota Titan
698 # 6 checking for... messages and results
699 # 5 compiler messages saved in config.log
700 if test "$silent" = yes; then
708 This file contains any messages produced by compilers while
709 running configure, to aid debugging if configure makes a mistake.
712 # Strip out --no-create and --no-recursion so they do not pile up.
713 # Also quote any args containing shell metacharacters.
718 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
719 | --no-cr | --no-c) ;;
720 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
721 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
722 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
723 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
724 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
729 # Only set these to C if already set. These must not be set unconditionally
730 # because not all systems understand e.g. LANG=C (notably SCO).
731 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
732 # Non-C LC_CTYPE values break the ctype check.
733 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
734 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
735 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
736 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
738 # confdefs.h avoids OS command line length limits that DEFS can exceed.
739 rm -rf conftest
* confdefs.h
740 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
743 # A filename unique to this package, relative to the directory that
744 # configure is in, which we can look for to find out if srcdir is correct.
745 ac_unique_file
=wx
-config.
in
747 # Find the source files, if location was not specified.
748 if test -z "$srcdir"; then
749 ac_srcdir_defaulted
=yes
750 # Try the directory containing this script, then its parent.
752 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
753 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
755 if test ! -r $srcdir/$ac_unique_file; then
759 ac_srcdir_defaulted
=no
761 if test ! -r $srcdir/$ac_unique_file; then
762 if test "$ac_srcdir_defaulted" = yes; then
763 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
765 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
768 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
770 # Prefer explicitly selected file to automatically selected ones.
771 if test -z "$CONFIG_SITE"; then
772 if test "x$prefix" != xNONE
; then
773 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
775 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
778 for ac_site_file
in $CONFIG_SITE; do
779 if test -r "$ac_site_file"; then
780 echo "loading site script $ac_site_file"
785 if test -r "$cache_file"; then
786 echo "loading cache $cache_file"
789 echo "creating cache $cache_file"
794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
795 ac_cpp
='$CPP $CPPFLAGS'
796 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
797 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
798 cross_compiling
=$ac_cv_prog_cc_cross
802 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
803 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
804 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
811 ac_n
= ac_c
='\c' ac_t
=
817 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
818 if test -f $ac_dir/install-sh; then
820 ac_install_sh
="$ac_aux_dir/install-sh -c"
822 elif test -f $ac_dir/install.sh
; then
824 ac_install_sh
="$ac_aux_dir/install.sh -c"
828 if test -z "$ac_aux_dir"; then
829 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
831 ac_config_guess
=$ac_aux_dir/config.guess
832 ac_config_sub
=$ac_aux_dir/config.sub
833 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
836 # Do some error checking and defaulting for the host and target type.
838 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
841 # 1. You are not allowed to specify --host, --target, and nonopt at the
843 # 2. Host defaults to nonopt.
844 # 3. If nonopt is not specified, then host defaults to the current host,
845 # as determined by config.guess.
846 # 4. Target and build default to nonopt.
847 # 5. If nonopt is not specified, then target and build default to host.
849 # The aliases save the names the user supplied, while $host etc.
850 # will get canonicalized.
851 case $host---$target---$nonopt in
852 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
853 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
857 # Make sure we can run config.sub.
858 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
859 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
862 echo $ac_n "checking host system type""... $ac_c" 1>&6
863 echo "configure:864: checking host system type" >&5
866 case "$host_alias" in
870 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
871 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
873 *) host_alias
=$nonopt ;;
877 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
878 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
879 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
880 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
881 echo "$ac_t""$host" 1>&6
883 echo $ac_n "checking target system type""... $ac_c" 1>&6
884 echo "configure:885: checking target system type" >&5
887 case "$target_alias" in
890 NONE
) target_alias
=$host_alias ;;
891 *) target_alias
=$nonopt ;;
895 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
896 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
897 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
898 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
899 echo "$ac_t""$target" 1>&6
901 echo $ac_n "checking build system type""... $ac_c" 1>&6
902 echo "configure:903: checking build system type" >&5
905 case "$build_alias" in
908 NONE
) build_alias
=$host_alias ;;
909 *) build_alias
=$nonopt ;;
913 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
914 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
915 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
916 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
917 echo "$ac_t""$build" 1>&6
919 test "$host_alias" != "$target_alias" &&
920 test "$program_prefix$program_suffix$program_transform_name" = \
922 program_prefix
=${target_alias}-
926 WX_MAJOR_VERSION_NUMBER
=2
927 WX_MINOR_VERSION_NUMBER
=3
933 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
935 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
936 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
937 WX_REVISION
=$WX_INTERFACE_AGE
938 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
965 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
967 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF MAC WINE PM"
970 DEFAULT_wxUSE_MOTIF
=0
976 DEFAULT_DEFAULT_wxUSE_GTK
=0
977 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
978 DEFAULT_DEFAULT_wxUSE_MSW
=0
979 DEFAULT_DEFAULT_wxUSE_MAC
=0
980 DEFAULT_DEFAULT_wxUSE_WINE
=0
981 DEFAULT_DEFAULT_wxUSE_PM
=0
988 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
989 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
990 cat >> confdefs.h
<<\EOF
997 cat >> confdefs.h
<<\EOF
1002 if test "x$TMP" = "xalpha"; then
1004 cat >> confdefs.h
<<\EOF
1009 DEFAULT_DEFAULT_wxUSE_GTK
=1
1011 *-*-irix5* | *-*-irix6* )
1014 cat >> confdefs.h
<<\EOF
1018 cat >> confdefs.h
<<\EOF
1022 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1028 cat >> confdefs.h
<<\EOF
1032 cat >> confdefs.h
<<\EOF
1033 #define __SOLARIS__ 1
1036 cat >> confdefs.h
<<\EOF
1040 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1041 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1047 cat >> confdefs.h
<<\EOF
1051 cat >> confdefs.h
<<\EOF
1055 cat >> confdefs.h
<<\EOF
1059 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1064 cat >> confdefs.h
<<\EOF
1065 #define __FREEBSD__ 1
1068 cat >> confdefs.h
<<\EOF
1072 DEFAULT_DEFAULT_wxUSE_GTK
=1
1077 cat >> confdefs.h
<<\EOF
1078 #define __FREEBSD__ 1
1081 cat >> confdefs.h
<<\EOF
1082 #define __NETBSD__ 1
1085 DEFAULT_DEFAULT_wxUSE_GTK
=1
1090 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1098 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1099 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1112 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1117 cat >> confdefs.h
<<\EOF
1121 cat >> confdefs.h
<<\EOF
1125 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1131 cat >> confdefs.h
<<\EOF
1135 cat >> confdefs.h
<<\EOF
1139 cat >> confdefs.h
<<\EOF
1143 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1146 *-*-cygwin32* | *-*-mingw32* )
1149 cat >> confdefs.h
<<\EOF
1153 cat >> confdefs.h
<<\EOF
1157 cat >> confdefs.h
<<\EOF
1158 #define __WINDOWS__ 1
1161 cat >> confdefs.h
<<\EOF
1162 #define __GNUWIN32__ 1
1165 cat >> confdefs.h
<<\EOF
1169 cat >> confdefs.h
<<\EOF
1170 #define WINVER 0x0400
1174 DEFAULT_DEFAULT_wxUSE_MSW
=1
1178 cat >> confdefs.h
<<\EOF
1183 DEFAULT_DEFAULT_wxUSE_PM
=1
1189 cat >> confdefs.h
<<\EOF
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1201 DEFAULT_DEFAULT_wxUSE_MAC
=1
1206 cat >> confdefs.h
<<\EOF
1213 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1216 if test "$USE_UNIX" = 1 ; then
1218 cat >> confdefs.h
<<\EOF
1223 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1224 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1227 if test "$USE_BEOS" = 1; then
1228 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1229 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1232 if test "$USE_LINUX" = 1; then
1233 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1234 echo "configure:1235: checking for gettext in -lc" >&5
1235 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1237 echo $ac_n "(cached) $ac_c" 1>&6
1239 ac_save_LIBS
="$LIBS"
1241 cat > conftest.
$ac_ext <<EOF
1242 #line 1243 "configure"
1243 #include "confdefs.h"
1244 /* Override any gcc2 internal prototype to avoid an error. */
1245 /* We use char because int might match the return type of a gcc2
1246 builtin and then its argument prototype would still apply. */
1253 if { (eval echo configure
:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1255 eval "ac_cv_lib_$ac_lib_var=yes"
1257 echo "configure: failed program was:" >&5
1258 cat conftest.
$ac_ext >&5
1260 eval "ac_cv_lib_$ac_lib_var=no"
1263 LIBS
="$ac_save_LIBS"
1266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1267 echo "$ac_t""yes" 1>&6
1268 cat >> confdefs.h
<<\EOF
1269 #define wxHAVE_GLIBC2 1
1273 echo "$ac_t""no" 1>&6
1281 wx_arg_cache_file
="configarg.cache"
1282 echo "loading argument cache $wx_arg_cache_file"
1283 rm -f ${wx_arg_cache_file}.tmp
1284 touch ${wx_arg_cache_file}.tmp
1285 touch ${wx_arg_cache_file}
1289 if test $DEBUG_CONFIGURE = 1; then
1290 DEFAULT_wxUSE_THREADS
=yes
1292 DEFAULT_wxUSE_SHARED
=yes
1293 DEFAULT_wxUSE_BURNT_NAME
=no
1294 DEFAULT_wxUSE_OPTIMISE
=yes
1295 DEFAULT_wxUSE_PROFILE
=no
1296 DEFAULT_wxUSE_NO_DEPS
=no
1297 DEFAULT_wxUSE_NO_RTTI
=no
1298 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1299 DEFAULT_wxUSE_PERMISSIVE
=no
1300 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1301 DEFAULT_wxUSE_DEBUG_INFO
=yes
1302 DEFAULT_wxUSE_DEBUG_GDB
=yes
1303 DEFAULT_wxUSE_MEM_TRACING
=no
1304 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1305 DEFAULT_wxUSE_DMALLOC
=no
1306 DEFAULT_wxUSE_APPLE_IEEE
=no
1308 DEFAULT_wxUSE_LOG
=yes
1310 DEFAULT_wxUSE_GUI
=yes
1312 DEFAULT_wxUSE_ZLIB
=no
1313 DEFAULT_wxUSE_LIBPNG
=no
1314 DEFAULT_wxUSE_LIBJPEG
=no
1315 DEFAULT_wxUSE_LIBTIFF
=no
1316 DEFAULT_wxUSE_ODBC
=no
1317 DEFAULT_wxUSE_FREETYPE
=no
1318 DEFAULT_wxUSE_OPENGL
=no
1320 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1321 DEFAULT_wxUSE_STD_IOSTREAM
=no
1322 DEFAULT_wxUSE_FILE
=no
1323 DEFAULT_wxUSE_TEXTFILE
=no
1324 DEFAULT_wxUSE_TIMEDATE
=no
1325 DEFAULT_wxUSE_WAVE
=no
1326 DEFAULT_wxUSE_INTL
=no
1327 DEFAULT_wxUSE_CONFIG
=no
1328 DEFAULT_wxUSE_STREAMS
=no
1329 DEFAULT_wxUSE_SOCKETS
=no
1330 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1331 DEFAULT_wxUSE_SERIAL
=no
1332 DEFAULT_wxUSE_JOYSTICK
=no
1333 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1334 DEFAULT_wxUSE_LONGLONG
=no
1335 DEFAULT_wxUSE_GEOMETRY
=no
1337 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1338 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1339 DEFAULT_wxUSE_POSTSCRIPT
=no
1341 DEFAULT_wxUSE_X_RESOURCES
=no
1342 DEFAULT_wxUSE_CLIPBOARD
=no
1343 DEFAULT_wxUSE_TOOLTIPS
=no
1344 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1345 DEFAULT_wxUSE_SPLINES
=no
1347 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1348 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1349 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1351 DEFAULT_wxUSE_PROLOGIO
=no
1352 DEFAULT_wxUSE_RESOURCES
=no
1353 DEFAULT_wxUSE_CONSTRAINTS
=no
1354 DEFAULT_wxUSE_IPC
=no
1355 DEFAULT_wxUSE_HELP
=no
1356 DEFAULT_wxUSE_WXTREE
=no
1357 DEFAULT_wxUSE_METAFILE
=no
1359 DEFAULT_wxUSE_COMMONDLGS
=no
1360 DEFAULT_wxUSE_DIRDLG
=no
1361 DEFAULT_wxUSE_TEXTDLG
=no
1362 DEFAULT_wxUSE_STARTUP_TIPS
=no
1363 DEFAULT_wxUSE_PROGRESSDLG
=no
1364 DEFAULT_wxUSE_MINIFRAME
=no
1365 DEFAULT_wxUSE_HTML
=no
1366 DEFAULT_wxUSE_FILESYSTEM
=no
1367 DEFAULT_wxUSE_FS_INET
=no
1368 DEFAULT_wxUSE_FS_ZIP
=no
1369 DEFAULT_wxUSE_BUSYINFO
=no
1370 DEFAULT_wxUSE_ZIPSTREAM
=no
1371 DEFAULT_wxUSE_VALIDATORS
=yes
1373 DEFAULT_wxUSE_ACCEL
=no
1374 DEFAULT_wxUSE_CARET
=no
1375 DEFAULT_wxUSE_BMPBUTTON
=no
1376 DEFAULT_wxUSE_CHECKBOX
=no
1377 DEFAULT_wxUSE_CHECKLST
=no
1378 DEFAULT_wxUSE_CHOICE
=yes
1379 DEFAULT_wxUSE_COMBOBOX
=no
1380 DEFAULT_wxUSE_GAUGE
=no
1381 DEFAULT_wxUSE_GRID
=no
1382 DEFAULT_wxUSE_NEW_GRID
=no
1383 DEFAULT_wxUSE_IMAGLIST
=no
1384 DEFAULT_wxUSE_LISTBOX
=no
1385 DEFAULT_wxUSE_LISTCTRL
=no
1386 DEFAULT_wxUSE_NOTEBOOK
=no
1387 DEFAULT_wxUSE_RADIOBOX
=no
1388 DEFAULT_wxUSE_RADIOBTN
=no
1389 DEFAULT_wxUSE_SASH
=no
1390 DEFAULT_wxUSE_SCROLLBAR
=no
1391 DEFAULT_wxUSE_SLIDER
=no
1392 DEFAULT_wxUSE_SPINBTN
=no
1393 DEFAULT_wxUSE_SPINCTRL
=no
1394 DEFAULT_wxUSE_SPLITTER
=no
1395 DEFAULT_wxUSE_STATBMP
=no
1396 DEFAULT_wxUSE_STATBOX
=no
1397 DEFAULT_wxUSE_STATLINE
=no
1398 DEFAULT_wxUSE_STATUSBAR
=yes
1399 DEFAULT_wxUSE_TABDIALOG
=no
1400 DEFAULT_wxUSE_TOGGLEBTN
=no
1401 DEFAULT_wxUSE_TOOLBAR
=no
1402 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1403 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1404 DEFAULT_wxUSE_TREECTRL
=no
1406 DEFAULT_wxUSE_UNICODE
=no
1407 DEFAULT_wxUSE_WCSRTOMBS
=no
1409 DEFAULT_wxUSE_GIF
=no
1410 DEFAULT_wxUSE_PCX
=no
1411 DEFAULT_wxUSE_PNM
=no
1413 DEFAULT_wxUSE_THREADS
=yes
1415 DEFAULT_wxUSE_SHARED
=yes
1416 DEFAULT_wxUSE_BURNT_NAME
=no
1417 DEFAULT_wxUSE_OPTIMISE
=yes
1418 DEFAULT_wxUSE_PROFILE
=no
1419 DEFAULT_wxUSE_NO_DEPS
=no
1420 DEFAULT_wxUSE_NO_RTTI
=no
1421 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1422 DEFAULT_wxUSE_PERMISSIVE
=no
1423 DEFAULT_wxUSE_DEBUG_FLAG
=no
1424 DEFAULT_wxUSE_DEBUG_INFO
=no
1425 DEFAULT_wxUSE_DEBUG_GDB
=no
1426 DEFAULT_wxUSE_MEM_TRACING
=no
1427 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1428 DEFAULT_wxUSE_DMALLOC
=no
1429 DEFAULT_wxUSE_APPLE_IEEE
=yes
1431 DEFAULT_wxUSE_LOG
=yes
1433 DEFAULT_wxUSE_GUI
=yes
1435 DEFAULT_wxUSE_ZLIB
=yes
1436 DEFAULT_wxUSE_LIBPNG
=yes
1437 DEFAULT_wxUSE_LIBJPEG
=yes
1438 DEFAULT_wxUSE_LIBTIFF
=yes
1439 DEFAULT_wxUSE_ODBC
=no
1440 DEFAULT_wxUSE_FREETYPE
=no
1441 DEFAULT_wxUSE_OPENGL
=no
1443 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1444 DEFAULT_wxUSE_STD_IOSTREAM
=no
1445 DEFAULT_wxUSE_FILE
=yes
1446 DEFAULT_wxUSE_TEXTFILE
=yes
1447 DEFAULT_wxUSE_TIMEDATE
=yes
1448 DEFAULT_wxUSE_WAVE
=no
1449 DEFAULT_wxUSE_INTL
=yes
1450 DEFAULT_wxUSE_CONFIG
=yes
1451 DEFAULT_wxUSE_STREAMS
=yes
1452 DEFAULT_wxUSE_SOCKETS
=yes
1453 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1454 DEFAULT_wxUSE_SERIAL
=yes
1455 DEFAULT_wxUSE_JOYSTICK
=yes
1456 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1457 DEFAULT_wxUSE_LONGLONG
=yes
1458 DEFAULT_wxUSE_GEOMETRY
=yes
1460 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1461 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1462 DEFAULT_wxUSE_POSTSCRIPT
=yes
1464 DEFAULT_wxUSE_X_RESOURCES
=no
1465 DEFAULT_wxUSE_CLIPBOARD
=yes
1466 DEFAULT_wxUSE_TOOLTIPS
=yes
1467 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1468 DEFAULT_wxUSE_SPLINES
=yes
1470 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1471 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1472 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1474 DEFAULT_wxUSE_PROLOGIO
=yes
1475 DEFAULT_wxUSE_RESOURCES
=yes
1476 DEFAULT_wxUSE_CONSTRAINTS
=yes
1477 DEFAULT_wxUSE_IPC
=yes
1478 DEFAULT_wxUSE_HELP
=yes
1479 DEFAULT_wxUSE_WXTREE
=yes
1480 DEFAULT_wxUSE_METAFILE
=yes
1482 DEFAULT_wxUSE_COMMONDLGS
=yes
1483 DEFAULT_wxUSE_DIRDLG
=yes
1484 DEFAULT_wxUSE_TEXTDLG
=yes
1485 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1486 DEFAULT_wxUSE_PROGRESSDLG
=yes
1487 DEFAULT_wxUSE_MINIFRAME
=yes
1488 DEFAULT_wxUSE_HTML
=yes
1489 DEFAULT_wxUSE_FILESYSTEM
=yes
1490 DEFAULT_wxUSE_FS_INET
=yes
1491 DEFAULT_wxUSE_FS_ZIP
=yes
1492 DEFAULT_wxUSE_BUSYINFO
=yes
1493 DEFAULT_wxUSE_ZIPSTREAM
=yes
1494 DEFAULT_wxUSE_VALIDATORS
=yes
1496 DEFAULT_wxUSE_ACCEL
=yes
1497 DEFAULT_wxUSE_CARET
=yes
1498 DEFAULT_wxUSE_BMPBUTTON
=yes
1499 DEFAULT_wxUSE_CHECKBOX
=yes
1500 DEFAULT_wxUSE_CHECKLST
=yes
1501 DEFAULT_wxUSE_CHOICE
=yes
1502 DEFAULT_wxUSE_COMBOBOX
=yes
1503 DEFAULT_wxUSE_GAUGE
=yes
1504 DEFAULT_wxUSE_GRID
=yes
1505 DEFAULT_wxUSE_NEW_GRID
=yes
1506 DEFAULT_wxUSE_IMAGLIST
=yes
1507 DEFAULT_wxUSE_LISTBOX
=yes
1508 DEFAULT_wxUSE_LISTCTRL
=yes
1509 DEFAULT_wxUSE_NOTEBOOK
=yes
1510 DEFAULT_wxUSE_RADIOBOX
=yes
1511 DEFAULT_wxUSE_RADIOBTN
=yes
1512 DEFAULT_wxUSE_SASH
=yes
1513 DEFAULT_wxUSE_SCROLLBAR
=yes
1514 DEFAULT_wxUSE_SLIDER
=yes
1515 DEFAULT_wxUSE_SPINBTN
=yes
1516 DEFAULT_wxUSE_SPINCTRL
=yes
1517 DEFAULT_wxUSE_SPLITTER
=yes
1518 DEFAULT_wxUSE_STATBMP
=yes
1519 DEFAULT_wxUSE_STATBOX
=yes
1520 DEFAULT_wxUSE_STATLINE
=yes
1521 DEFAULT_wxUSE_STATUSBAR
=yes
1522 DEFAULT_wxUSE_TABDIALOG
=no
1523 DEFAULT_wxUSE_TOGGLEBTN
=yes
1524 DEFAULT_wxUSE_TOOLBAR
=yes
1525 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1526 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1527 DEFAULT_wxUSE_TREECTRL
=yes
1529 DEFAULT_wxUSE_UNICODE
=no
1530 DEFAULT_wxUSE_WCSRTOMBS
=no
1532 DEFAULT_wxUSE_GIF
=yes
1533 DEFAULT_wxUSE_PCX
=yes
1534 DEFAULT_wxUSE_PNM
=yes
1539 for toolkit
in `echo $ALL_TOOLKITS`; do
1540 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1541 if test "x$LINE" != x
; then
1542 has_toolkit_in_cache
=1
1543 eval "DEFAULT_$LINE"
1544 eval "CACHE_$toolkit=1"
1550 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1551 echo "configure:1552: checking "for --enable-gui"" >&5
1553 # Check whether --enable-gui or --disable-gui was given.
1554 if test "${enable_gui+set}" = set; then
1555 enableval
="$enable_gui"
1557 if test "$enableval" = yes; then
1558 ac_cv_use_gui
='wxUSE_GUI=yes'
1560 ac_cv_use_gui
='wxUSE_GUI=no'
1565 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1566 if test "x$LINE" != x
; then
1567 eval "DEFAULT_$LINE"
1572 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1577 eval "$ac_cv_use_gui"
1578 if test "$no_cache" != 1; then
1579 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1582 if test "$wxUSE_GUI" = yes; then
1583 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no" 1>&6
1589 if test "$wxUSE_GUI" = "yes"; then
1591 # Check whether --with-gtk or --without-gtk was given.
1592 if test "${with_gtk+set}" = set; then
1594 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1597 # Check whether --with-motif or --without-motif was given.
1598 if test "${with_motif+set}" = set; then
1599 withval
="$with_motif"
1600 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1603 # Check whether --with-mac or --without-mac was given.
1604 if test "${with_mac+set}" = set; then
1606 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1609 # Check whether --with-wine or --without-wine was given.
1610 if test "${with_wine+set}" = set; then
1611 withval
="$with_wine"
1612 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1615 # Check whether --with-cygwin or --without-cygwin was given.
1616 if test "${with_cygwin+set}" = set; then
1617 withval
="$with_cygwin"
1618 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1621 # Check whether --with-mingw or --without-mingw was given.
1622 if test "${with_mingw+set}" = set; then
1623 withval
="$with_mingw"
1624 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1627 # Check whether --with-pm or --without-pm was given.
1628 if test "${with_pm+set}" = set; then
1630 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1634 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1635 if test "${with_gtk_prefix+set}" = set; then
1636 withval
="$with_gtk_prefix"
1637 gtk_config_prefix
="$withval"
1639 gtk_config_prefix
=""
1642 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1643 if test "${with_gtk_exec_prefix+set}" = set; then
1644 withval
="$with_gtk_exec_prefix"
1645 gtk_config_exec_prefix
="$withval"
1647 gtk_config_exec_prefix
=""
1652 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1653 echo "configure:1654: checking "for --with-libpng"" >&5
1655 # Check whether --with-libpng or --without-libpng was given.
1656 if test "${with_libpng+set}" = set; then
1657 withval
="$with_libpng"
1659 if test "$withval" = yes; then
1660 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1661 elif test "$withval" = no
; then
1662 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1663 elif test "$withval" = sys
; then
1664 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1666 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1671 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1672 if test "x$LINE" != x
; then
1673 eval "DEFAULT_$LINE"
1678 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1683 eval "$ac_cv_use_libpng"
1684 if test "$no_cache" != 1; then
1685 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1688 if test "$wxUSE_LIBPNG" = yes; then
1689 echo "$ac_t""yes" 1>&6
1690 elif test "$wxUSE_LIBPNG" = no
; then
1691 echo "$ac_t""no" 1>&6
1692 elif test "$wxUSE_LIBPNG" = sys
; then
1693 echo "$ac_t""system version" 1>&6
1695 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1699 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1700 echo "configure:1701: checking "for --with-libjpeg"" >&5
1702 # Check whether --with-libjpeg or --without-libjpeg was given.
1703 if test "${with_libjpeg+set}" = set; then
1704 withval
="$with_libjpeg"
1706 if test "$withval" = yes; then
1707 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1708 elif test "$withval" = no
; then
1709 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1710 elif test "$withval" = sys
; then
1711 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1713 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1718 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1719 if test "x$LINE" != x
; then
1720 eval "DEFAULT_$LINE"
1725 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1730 eval "$ac_cv_use_libjpeg"
1731 if test "$no_cache" != 1; then
1732 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1735 if test "$wxUSE_LIBJPEG" = yes; then
1736 echo "$ac_t""yes" 1>&6
1737 elif test "$wxUSE_LIBJPEG" = no
; then
1738 echo "$ac_t""no" 1>&6
1739 elif test "$wxUSE_LIBJPEG" = sys
; then
1740 echo "$ac_t""system version" 1>&6
1742 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1746 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1747 echo "configure:1748: checking "for --with-libtiff"" >&5
1749 # Check whether --with-libtiff or --without-libtiff was given.
1750 if test "${with_libtiff+set}" = set; then
1751 withval
="$with_libtiff"
1753 if test "$withval" = yes; then
1754 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1755 elif test "$withval" = no
; then
1756 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1757 elif test "$withval" = sys
; then
1758 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1760 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1765 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1766 if test "x$LINE" != x
; then
1767 eval "DEFAULT_$LINE"
1772 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1777 eval "$ac_cv_use_libtiff"
1778 if test "$no_cache" != 1; then
1779 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1782 if test "$wxUSE_LIBTIFF" = yes; then
1783 echo "$ac_t""yes" 1>&6
1784 elif test "$wxUSE_LIBTIFF" = no
; then
1785 echo "$ac_t""no" 1>&6
1786 elif test "$wxUSE_LIBTIFF" = sys
; then
1787 echo "$ac_t""system version" 1>&6
1789 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1793 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1794 echo "configure:1795: checking "for --with-freetype"" >&5
1796 # Check whether --with-freetype or --without-freetype was given.
1797 if test "${with_freetype+set}" = set; then
1798 withval
="$with_freetype"
1800 if test "$withval" = yes; then
1801 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1802 elif test "$withval" = no
; then
1803 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1804 elif test "$withval" = sys
; then
1805 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1807 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1812 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1813 if test "x$LINE" != x
; then
1814 eval "DEFAULT_$LINE"
1819 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1824 eval "$ac_cv_use_freetype"
1825 if test "$no_cache" != 1; then
1826 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1829 if test "$wxUSE_FREETYPE" = yes; then
1830 echo "$ac_t""yes" 1>&6
1831 elif test "$wxUSE_FREETYPE" = no
; then
1832 echo "$ac_t""no" 1>&6
1833 elif test "$wxUSE_FREETYPE" = sys
; then
1834 echo "$ac_t""system version" 1>&6
1836 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1840 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1841 echo "configure:1842: checking "for --with-opengl"" >&5
1843 # Check whether --with-opengl or --without-opengl was given.
1844 if test "${with_opengl+set}" = set; then
1845 withval
="$with_opengl"
1847 if test "$withval" = yes; then
1848 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1850 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1855 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1856 if test "x$LINE" != x
; then
1857 eval "DEFAULT_$LINE"
1862 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1867 eval "$ac_cv_use_opengl"
1868 if test "$no_cache" != 1; then
1869 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1872 if test "$wxUSE_OPENGL" = yes; then
1873 echo "$ac_t""yes" 1>&6
1875 echo "$ac_t""no" 1>&6
1882 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1883 echo "configure:1884: checking "for --with-dmalloc"" >&5
1885 # Check whether --with-dmalloc or --without-dmalloc was given.
1886 if test "${with_dmalloc+set}" = set; then
1887 withval
="$with_dmalloc"
1889 if test "$withval" = yes; then
1890 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1892 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1897 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1898 if test "x$LINE" != x
; then
1899 eval "DEFAULT_$LINE"
1904 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1909 eval "$ac_cv_use_dmalloc"
1910 if test "$no_cache" != 1; then
1911 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1914 if test "$wxUSE_DMALLOC" = yes; then
1915 echo "$ac_t""yes" 1>&6
1917 echo "$ac_t""no" 1>&6
1921 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1922 echo "configure:1923: checking "for --with-zlib"" >&5
1924 # Check whether --with-zlib or --without-zlib was given.
1925 if test "${with_zlib+set}" = set; then
1926 withval
="$with_zlib"
1928 if test "$withval" = yes; then
1929 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1930 elif test "$withval" = no
; then
1931 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1932 elif test "$withval" = sys
; then
1933 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1935 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1940 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1941 if test "x$LINE" != x
; then
1942 eval "DEFAULT_$LINE"
1947 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1952 eval "$ac_cv_use_zlib"
1953 if test "$no_cache" != 1; then
1954 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1957 if test "$wxUSE_ZLIB" = yes; then
1958 echo "$ac_t""yes" 1>&6
1959 elif test "$wxUSE_ZLIB" = no
; then
1960 echo "$ac_t""no" 1>&6
1961 elif test "$wxUSE_ZLIB" = sys
; then
1962 echo "$ac_t""system version" 1>&6
1964 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1968 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1969 echo "configure:1970: checking "for --with-odbc"" >&5
1971 # Check whether --with-odbc or --without-odbc was given.
1972 if test "${with_odbc+set}" = set; then
1973 withval
="$with_odbc"
1975 if test "$withval" = yes; then
1976 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1978 ac_cv_use_odbc
='wxUSE_ODBC=no'
1983 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1984 if test "x$LINE" != x
; then
1985 eval "DEFAULT_$LINE"
1990 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1995 eval "$ac_cv_use_odbc"
1996 if test "$no_cache" != 1; then
1997 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2000 if test "$wxUSE_ODBC" = yes; then
2001 echo "$ac_t""yes" 1>&6
2003 echo "$ac_t""no" 1>&6
2010 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
2011 echo "configure:2012: checking "for --enable-shared"" >&5
2013 # Check whether --enable-shared or --disable-shared was given.
2014 if test "${enable_shared+set}" = set; then
2015 enableval
="$enable_shared"
2017 if test "$enableval" = yes; then
2018 ac_cv_use_shared
='wxUSE_SHARED=yes'
2020 ac_cv_use_shared
='wxUSE_SHARED=no'
2025 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2026 if test "x$LINE" != x
; then
2027 eval "DEFAULT_$LINE"
2032 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2037 eval "$ac_cv_use_shared"
2038 if test "$no_cache" != 1; then
2039 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2042 if test "$wxUSE_SHARED" = yes; then
2043 echo "$ac_t""yes" 1>&6
2045 echo "$ac_t""no" 1>&6
2049 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2050 echo "configure:2051: checking "for --enable-burnt_name"" >&5
2052 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2053 if test "${enable_burnt_name+set}" = set; then
2054 enableval
="$enable_burnt_name"
2056 if test "$enableval" = yes; then
2057 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2059 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2064 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2065 if test "x$LINE" != x
; then
2066 eval "DEFAULT_$LINE"
2071 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2076 eval "$ac_cv_use_burnt_name"
2077 if test "$no_cache" != 1; then
2078 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2081 if test "$wxUSE_BURNT_NAME" = yes; then
2082 echo "$ac_t""yes" 1>&6
2084 echo "$ac_t""no" 1>&6
2088 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2089 echo "configure:2090: checking "for --enable-optimise"" >&5
2091 # Check whether --enable-optimise or --disable-optimise was given.
2092 if test "${enable_optimise+set}" = set; then
2093 enableval
="$enable_optimise"
2095 if test "$enableval" = yes; then
2096 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2098 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2103 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2104 if test "x$LINE" != x
; then
2105 eval "DEFAULT_$LINE"
2110 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2115 eval "$ac_cv_use_optimise"
2116 if test "$no_cache" != 1; then
2117 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2120 if test "$wxUSE_OPTIMISE" = yes; then
2121 echo "$ac_t""yes" 1>&6
2123 echo "$ac_t""no" 1>&6
2127 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2128 echo "configure:2129: checking "for --enable-debug"" >&5
2130 # Check whether --enable-debug or --disable-debug was given.
2131 if test "${enable_debug+set}" = set; then
2132 enableval
="$enable_debug"
2134 if test "$enableval" = yes; then
2135 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2137 ac_cv_use_debug
='wxUSE_DEBUG=no'
2142 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2143 if test "x$LINE" != x
; then
2144 eval "DEFAULT_$LINE"
2149 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2154 eval "$ac_cv_use_debug"
2155 if test "$no_cache" != 1; then
2156 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2159 if test "$wxUSE_DEBUG" = yes; then
2160 echo "$ac_t""yes" 1>&6
2162 echo "$ac_t""no" 1>&6
2166 if test "$wxUSE_DEBUG" = "yes"; then
2167 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2168 DEFAULT_wxUSE_DEBUG_INFO
=yes
2169 elif test "$wxUSE_DEBUG" = "no"; then
2170 DEFAULT_wxUSE_DEBUG_FLAG
=no
2171 DEFAULT_wxUSE_DEBUG_INFO
=no
2175 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-debug_flag"" >&5
2178 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2179 if test "${enable_debug_flag+set}" = set; then
2180 enableval
="$enable_debug_flag"
2182 if test "$enableval" = yes; then
2183 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2185 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2190 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2202 eval "$ac_cv_use_debug_flag"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_DEBUG_FLAG" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-debug_info"" >&5
2217 # Check whether --enable-debug_info or --disable-debug_info was given.
2218 if test "${enable_debug_info+set}" = set; then
2219 enableval
="$enable_debug_info"
2221 if test "$enableval" = yes; then
2222 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2224 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2229 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2241 eval "$ac_cv_use_debug_info"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_DEBUG_INFO" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2253 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2254 echo "configure:2255: checking "for --enable-debug_gdb"" >&5
2256 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2257 if test "${enable_debug_gdb+set}" = set; then
2258 enableval
="$enable_debug_gdb"
2260 if test "$enableval" = yes; then
2261 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2263 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2268 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2269 if test "x$LINE" != x
; then
2270 eval "DEFAULT_$LINE"
2275 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2280 eval "$ac_cv_use_debug_gdb"
2281 if test "$no_cache" != 1; then
2282 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2285 if test "$wxUSE_DEBUG_GDB" = yes; then
2286 echo "$ac_t""yes" 1>&6
2288 echo "$ac_t""no" 1>&6
2292 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2293 echo "configure:2294: checking "for --enable-debug_cntxt"" >&5
2295 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2296 if test "${enable_debug_cntxt+set}" = set; then
2297 enableval
="$enable_debug_cntxt"
2299 if test "$enableval" = yes; then
2300 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2302 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2307 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x
; then
2309 eval "DEFAULT_$LINE"
2314 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2319 eval "$ac_cv_use_debug_cntxt"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2325 echo "$ac_t""yes" 1>&6
2327 echo "$ac_t""no" 1>&6
2331 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2332 echo "configure:2333: checking "for --enable-mem_tracing"" >&5
2334 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2335 if test "${enable_mem_tracing+set}" = set; then
2336 enableval
="$enable_mem_tracing"
2338 if test "$enableval" = yes; then
2339 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2341 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2346 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x
; then
2348 eval "DEFAULT_$LINE"
2353 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2358 eval "$ac_cv_use_mem_tracing"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_MEM_TRACING" = yes; then
2364 echo "$ac_t""yes" 1>&6
2366 echo "$ac_t""no" 1>&6
2370 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2371 echo "configure:2372: checking "for --enable-profile"" >&5
2373 # Check whether --enable-profile or --disable-profile was given.
2374 if test "${enable_profile+set}" = set; then
2375 enableval
="$enable_profile"
2377 if test "$enableval" = yes; then
2378 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2380 ac_cv_use_profile
='wxUSE_PROFILE=no'
2385 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x
; then
2387 eval "DEFAULT_$LINE"
2392 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2397 eval "$ac_cv_use_profile"
2398 if test "$no_cache" != 1; then
2399 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2402 if test "$wxUSE_PROFILE" = yes; then
2403 echo "$ac_t""yes" 1>&6
2405 echo "$ac_t""no" 1>&6
2409 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2410 echo "configure:2411: checking "for --enable-no_rtti"" >&5
2412 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2413 if test "${enable_no_rtti+set}" = set; then
2414 enableval
="$enable_no_rtti"
2416 if test "$enableval" = yes; then
2417 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2419 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2424 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2425 if test "x$LINE" != x
; then
2426 eval "DEFAULT_$LINE"
2431 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2436 eval "$ac_cv_use_no_rtti"
2437 if test "$no_cache" != 1; then
2438 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2441 if test "$wxUSE_NO_RTTI" = yes; then
2442 echo "$ac_t""yes" 1>&6
2444 echo "$ac_t""no" 1>&6
2448 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2449 echo "configure:2450: checking "for --enable-no_exceptions"" >&5
2451 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2452 if test "${enable_no_exceptions+set}" = set; then
2453 enableval
="$enable_no_exceptions"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2458 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2463 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2475 eval "$ac_cv_use_no_exceptions"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2481 echo "$ac_t""yes" 1>&6
2483 echo "$ac_t""no" 1>&6
2487 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2488 echo "configure:2489: checking "for --enable-permissive"" >&5
2490 # Check whether --enable-permissive or --disable-permissive was given.
2491 if test "${enable_permissive+set}" = set; then
2492 enableval
="$enable_permissive"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2497 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2502 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2514 eval "$ac_cv_use_permissive"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_PERMISSIVE" = yes; then
2520 echo "$ac_t""yes" 1>&6
2522 echo "$ac_t""no" 1>&6
2526 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2527 echo "configure:2528: checking "for --enable-no_deps"" >&5
2529 # Check whether --enable-no_deps or --disable-no_deps was given.
2530 if test "${enable_no_deps+set}" = set; then
2531 enableval
="$enable_no_deps"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2536 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2541 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2553 eval "$ac_cv_use_no_deps"
2554 if test "$no_cache" != 1; then
2555 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2558 if test "$wxUSE_NO_DEPS" = yes; then
2559 echo "$ac_t""yes" 1>&6
2561 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2568 echo "configure:2569: checking "for --enable-intl"" >&5
2570 # Check whether --enable-intl or --disable-intl was given.
2571 if test "${enable_intl+set}" = set; then
2572 enableval
="$enable_intl"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_intl
='wxUSE_INTL=yes'
2577 ac_cv_use_intl
='wxUSE_INTL=no'
2582 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2594 eval "$ac_cv_use_intl"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_INTL" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2607 echo "configure:2608: checking "for --enable-config"" >&5
2609 # Check whether --enable-config or --disable-config was given.
2610 if test "${enable_config+set}" = set; then
2611 enableval
="$enable_config"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_config
='wxUSE_CONFIG=yes'
2616 ac_cv_use_config
='wxUSE_CONFIG=no'
2621 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2633 eval "$ac_cv_use_config"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_CONFIG" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2646 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2647 echo "configure:2648: checking "for --enable-sockets"" >&5
2649 # Check whether --enable-sockets or --disable-sockets was given.
2650 if test "${enable_sockets+set}" = set; then
2651 enableval
="$enable_sockets"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2656 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2661 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2673 eval "$ac_cv_use_sockets"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_SOCKETS" = yes; then
2679 echo "$ac_t""yes" 1>&6
2681 echo "$ac_t""no" 1>&6
2686 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2687 echo "configure:2688: checking "for --enable-ipc"" >&5
2689 # Check whether --enable-ipc or --disable-ipc was given.
2690 if test "${enable_ipc+set}" = set; then
2691 enableval
="$enable_ipc"
2693 if test "$enableval" = yes; then
2694 ac_cv_use_ipc
='wxUSE_IPC=yes'
2696 ac_cv_use_ipc
='wxUSE_IPC=no'
2701 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2702 if test "x$LINE" != x
; then
2703 eval "DEFAULT_$LINE"
2708 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2713 eval "$ac_cv_use_ipc"
2714 if test "$no_cache" != 1; then
2715 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2718 if test "$wxUSE_IPC" = yes; then
2719 echo "$ac_t""yes" 1>&6
2721 echo "$ac_t""no" 1>&6
2726 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2727 echo "configure:2728: checking "for --enable-dialupman"" >&5
2729 # Check whether --enable-dialupman or --disable-dialupman was given.
2730 if test "${enable_dialupman+set}" = set; then
2731 enableval
="$enable_dialupman"
2733 if test "$enableval" = yes; then
2734 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2736 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2741 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x
; then
2743 eval "DEFAULT_$LINE"
2748 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2753 eval "$ac_cv_use_dialupman"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2758 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2759 echo "$ac_t""yes" 1>&6
2761 echo "$ac_t""no" 1>&6
2765 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2766 echo "configure:2767: checking "for --enable-apple_ieee"" >&5
2768 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2769 if test "${enable_apple_ieee+set}" = set; then
2770 enableval
="$enable_apple_ieee"
2772 if test "$enableval" = yes; then
2773 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2775 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2780 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x
; then
2782 eval "DEFAULT_$LINE"
2787 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2792 eval "$ac_cv_use_apple_ieee"
2793 if test "$no_cache" != 1; then
2794 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2797 if test "$wxUSE_APPLE_IEEE" = yes; then
2798 echo "$ac_t""yes" 1>&6
2800 echo "$ac_t""no" 1>&6
2804 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2805 echo "configure:2806: checking "for --enable-timedate"" >&5
2807 # Check whether --enable-timedate or --disable-timedate was given.
2808 if test "${enable_timedate+set}" = set; then
2809 enableval
="$enable_timedate"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2814 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2819 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x
; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2831 eval "$ac_cv_use_timedate"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2836 if test "$wxUSE_TIMEDATE" = yes; then
2837 echo "$ac_t""yes" 1>&6
2839 echo "$ac_t""no" 1>&6
2843 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2844 echo "configure:2845: checking "for --enable-wave"" >&5
2846 # Check whether --enable-wave or --disable-wave was given.
2847 if test "${enable_wave+set}" = set; then
2848 enableval
="$enable_wave"
2850 if test "$enableval" = yes; then
2851 ac_cv_use_wave
='wxUSE_WAVE=yes'
2853 ac_cv_use_wave
='wxUSE_WAVE=no'
2858 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2859 if test "x$LINE" != x
; then
2860 eval "DEFAULT_$LINE"
2865 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2870 eval "$ac_cv_use_wave"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2875 if test "$wxUSE_WAVE" = yes; then
2876 echo "$ac_t""yes" 1>&6
2878 echo "$ac_t""no" 1>&6
2882 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2883 echo "configure:2884: checking "for --enable-fraction"" >&5
2885 # Check whether --enable-fraction or --disable-fraction was given.
2886 if test "${enable_fraction+set}" = set; then
2887 enableval
="$enable_fraction"
2889 if test "$enableval" = yes; then
2890 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2892 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2897 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2898 if test "x$LINE" != x
; then
2899 eval "DEFAULT_$LINE"
2904 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2909 eval "$ac_cv_use_fraction"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2914 if test "$wxUSE_FRACTION" = yes; then
2915 echo "$ac_t""yes" 1>&6
2917 echo "$ac_t""no" 1>&6
2921 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2922 echo "configure:2923: checking "for --enable-dynlib"" >&5
2924 # Check whether --enable-dynlib or --disable-dynlib was given.
2925 if test "${enable_dynlib+set}" = set; then
2926 enableval
="$enable_dynlib"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2931 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2936 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2948 eval "$ac_cv_use_dynlib"
2949 if test "$no_cache" != 1; then
2950 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2953 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2954 echo "$ac_t""yes" 1>&6
2956 echo "$ac_t""no" 1>&6
2960 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2961 echo "configure:2962: checking "for --enable-longlong"" >&5
2963 # Check whether --enable-longlong or --disable-longlong was given.
2964 if test "${enable_longlong+set}" = set; then
2965 enableval
="$enable_longlong"
2967 if test "$enableval" = yes; then
2968 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2970 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2975 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2987 eval "$ac_cv_use_longlong"
2988 if test "$no_cache" != 1; then
2989 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2992 if test "$wxUSE_LONGLONG" = yes; then
2993 echo "$ac_t""yes" 1>&6
2995 echo "$ac_t""no" 1>&6
2999 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
3000 echo "configure:3001: checking "for --enable-geometry"" >&5
3002 # Check whether --enable-geometry or --disable-geometry was given.
3003 if test "${enable_geometry+set}" = set; then
3004 enableval
="$enable_geometry"
3006 if test "$enableval" = yes; then
3007 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3009 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3014 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3026 eval "$ac_cv_use_geometry"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3031 if test "$wxUSE_GEOMETRY" = yes; then
3032 echo "$ac_t""yes" 1>&6
3034 echo "$ac_t""no" 1>&6
3038 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3039 echo "configure:3040: checking "for --enable-log"" >&5
3041 # Check whether --enable-log or --disable-log was given.
3042 if test "${enable_log+set}" = set; then
3043 enableval
="$enable_log"
3045 if test "$enableval" = yes; then
3046 ac_cv_use_log
='wxUSE_LOG=yes'
3048 ac_cv_use_log
='wxUSE_LOG=no'
3053 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3065 eval "$ac_cv_use_log"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_LOG" = yes; then
3071 echo "$ac_t""yes" 1>&6
3073 echo "$ac_t""no" 1>&6
3077 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3078 echo "configure:3079: checking "for --enable-streams"" >&5
3080 # Check whether --enable-streams or --disable-streams was given.
3081 if test "${enable_streams+set}" = set; then
3082 enableval
="$enable_streams"
3084 if test "$enableval" = yes; then
3085 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3087 ac_cv_use_streams
='wxUSE_STREAMS=no'
3092 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3104 eval "$ac_cv_use_streams"
3105 if test "$no_cache" != 1; then
3106 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3109 if test "$wxUSE_STREAMS" = yes; then
3110 echo "$ac_t""yes" 1>&6
3112 echo "$ac_t""no" 1>&6
3116 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3117 echo "configure:3118: checking "for --enable-file"" >&5
3119 # Check whether --enable-file or --disable-file was given.
3120 if test "${enable_file+set}" = set; then
3121 enableval
="$enable_file"
3123 if test "$enableval" = yes; then
3124 ac_cv_use_file
='wxUSE_FILE=yes'
3126 ac_cv_use_file
='wxUSE_FILE=no'
3131 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x
; then
3133 eval "DEFAULT_$LINE"
3138 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3143 eval "$ac_cv_use_file"
3144 if test "$no_cache" != 1; then
3145 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3148 if test "$wxUSE_FILE" = yes; then
3149 echo "$ac_t""yes" 1>&6
3151 echo "$ac_t""no" 1>&6
3155 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3156 echo "configure:3157: checking "for --enable-textfile"" >&5
3158 # Check whether --enable-textfile or --disable-textfile was given.
3159 if test "${enable_textfile+set}" = set; then
3160 enableval
="$enable_textfile"
3162 if test "$enableval" = yes; then
3163 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3165 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3170 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3182 eval "$ac_cv_use_textfile"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3187 if test "$wxUSE_TEXTFILE" = yes; then
3188 echo "$ac_t""yes" 1>&6
3190 echo "$ac_t""no" 1>&6
3194 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3195 echo "configure:3196: checking "for --enable-unicode"" >&5
3197 # Check whether --enable-unicode or --disable-unicode was given.
3198 if test "${enable_unicode+set}" = set; then
3199 enableval
="$enable_unicode"
3201 if test "$enableval" = yes; then
3202 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3204 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3209 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3210 if test "x$LINE" != x
; then
3211 eval "DEFAULT_$LINE"
3216 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3221 eval "$ac_cv_use_unicode"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_UNICODE" = yes; then
3227 echo "$ac_t""yes" 1>&6
3229 echo "$ac_t""no" 1>&6
3233 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3234 echo "configure:3235: checking "for --enable-wcsrtombs"" >&5
3236 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3237 if test "${enable_wcsrtombs+set}" = set; then
3238 enableval
="$enable_wcsrtombs"
3240 if test "$enableval" = yes; then
3241 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3243 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3248 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x
; then
3250 eval "DEFAULT_$LINE"
3255 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3260 eval "$ac_cv_use_wcsrtombs"
3261 if test "$no_cache" != 1; then
3262 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3265 if test "$wxUSE_WCSRTOMBS" = yes; then
3266 echo "$ac_t""yes" 1>&6
3268 echo "$ac_t""no" 1>&6
3272 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3273 echo "configure:3274: checking "for --enable-wxprintfv"" >&5
3275 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3276 if test "${enable_wxprintfv+set}" = set; then
3277 enableval
="$enable_wxprintfv"
3279 if test "$enableval" = yes; then
3280 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3282 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3287 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3299 eval "$ac_cv_use_wxprintfv"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3305 echo "$ac_t""yes" 1>&6
3307 echo "$ac_t""no" 1>&6
3311 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3312 echo "configure:3313: checking "for --enable-std_iostreams"" >&5
3314 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3315 if test "${enable_std_iostreams+set}" = set; then
3316 enableval
="$enable_std_iostreams"
3318 if test "$enableval" = yes; then
3319 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3321 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3326 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x
; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3338 eval "$ac_cv_use_std_iostreams"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_STD_IOSTREAM" = yes; then
3344 echo "$ac_t""yes" 1>&6
3346 echo "$ac_t""no" 1>&6
3350 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3351 echo "configure:3352: checking "for --enable-filesystem"" >&5
3353 # Check whether --enable-filesystem or --disable-filesystem was given.
3354 if test "${enable_filesystem+set}" = set; then
3355 enableval
="$enable_filesystem"
3357 if test "$enableval" = yes; then
3358 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3360 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3365 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3377 eval "$ac_cv_use_filesystem"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_FILESYSTEM" = yes; then
3383 echo "$ac_t""yes" 1>&6
3385 echo "$ac_t""no" 1>&6
3389 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3390 echo "configure:3391: checking "for --enable-fs_inet"" >&5
3392 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3393 if test "${enable_fs_inet+set}" = set; then
3394 enableval
="$enable_fs_inet"
3396 if test "$enableval" = yes; then
3397 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3399 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3404 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x
; then
3406 eval "DEFAULT_$LINE"
3411 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3416 eval "$ac_cv_use_fs_inet"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_FS_INET" = yes; then
3422 echo "$ac_t""yes" 1>&6
3424 echo "$ac_t""no" 1>&6
3428 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3429 echo "configure:3430: checking "for --enable-fs_zip"" >&5
3431 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3432 if test "${enable_fs_zip+set}" = set; then
3433 enableval
="$enable_fs_zip"
3435 if test "$enableval" = yes; then
3436 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3438 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3443 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x
; then
3445 eval "DEFAULT_$LINE"
3450 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3455 eval "$ac_cv_use_fs_zip"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_FS_ZIP" = yes; then
3461 echo "$ac_t""yes" 1>&6
3463 echo "$ac_t""no" 1>&6
3467 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3468 echo "configure:3469: checking "for --enable-zipstream"" >&5
3470 # Check whether --enable-zipstream or --disable-zipstream was given.
3471 if test "${enable_zipstream+set}" = set; then
3472 enableval
="$enable_zipstream"
3474 if test "$enableval" = yes; then
3475 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3477 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3482 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3494 eval "$ac_cv_use_zipstream"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_ZIPSTREAM" = yes; then
3500 echo "$ac_t""yes" 1>&6
3502 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3508 echo "configure:3509: checking "for --enable-catch_segvs"" >&5
3510 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3511 if test "${enable_catch_segvs+set}" = set; then
3512 enableval
="$enable_catch_segvs"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3517 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3522 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3534 eval "$ac_cv_use_catch_segvs"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3549 echo "configure:3550: checking "for --enable-threads"" >&5
3551 # Check whether --enable-threads or --disable-threads was given.
3552 if test "${enable_threads+set}" = set; then
3553 enableval
="$enable_threads"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_threads
='wxUSE_THREADS=yes'
3558 ac_cv_use_threads
='wxUSE_THREADS=no'
3563 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3575 eval "$ac_cv_use_threads"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_THREADS" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3588 echo "configure:3589: checking "for --enable-serial"" >&5
3590 # Check whether --enable-serial or --disable-serial was given.
3591 if test "${enable_serial+set}" = set; then
3592 enableval
="$enable_serial"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3597 ac_cv_use_serial
='wxUSE_SERIAL=no'
3602 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3614 eval "$ac_cv_use_serial"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_SERIAL" = yes; then
3620 echo "$ac_t""yes" 1>&6
3622 echo "$ac_t""no" 1>&6
3626 if test "$wxUSE_GUI" = "yes"; then
3630 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3631 echo "configure:3632: checking "for --enable-docview"" >&5
3633 # Check whether --enable-docview or --disable-docview was given.
3634 if test "${enable_docview+set}" = set; then
3635 enableval
="$enable_docview"
3637 if test "$enableval" = yes; then
3638 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3640 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3645 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x
; then
3647 eval "DEFAULT_$LINE"
3652 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3657 eval "$ac_cv_use_docview"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3662 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3663 echo "$ac_t""yes" 1>&6
3665 echo "$ac_t""no" 1>&6
3669 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3670 echo "configure:3671: checking "for --enable-help"" >&5
3672 # Check whether --enable-help or --disable-help was given.
3673 if test "${enable_help+set}" = set; then
3674 enableval
="$enable_help"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_help
='wxUSE_HELP=yes'
3679 ac_cv_use_help
='wxUSE_HELP=no'
3684 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x
; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3696 eval "$ac_cv_use_help"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3701 if test "$wxUSE_HELP" = yes; then
3702 echo "$ac_t""yes" 1>&6
3704 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-constraints"" >&5
3711 # Check whether --enable-constraints or --disable-constraints was given.
3712 if test "${enable_constraints+set}" = set; then
3713 enableval
="$enable_constraints"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3718 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3723 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3735 eval "$ac_cv_use_constraints"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_CONSTRAINTS" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3748 echo "configure:3749: checking "for --enable-printarch"" >&5
3750 # Check whether --enable-printarch or --disable-printarch was given.
3751 if test "${enable_printarch+set}" = set; then
3752 enableval
="$enable_printarch"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3757 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3762 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3774 eval "$ac_cv_use_printarch"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3786 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3787 echo "configure:3788: checking "for --enable-mdi"" >&5
3789 # Check whether --enable-mdi or --disable-mdi was given.
3790 if test "${enable_mdi+set}" = set; then
3791 enableval
="$enable_mdi"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3796 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3801 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3813 eval "$ac_cv_use_mdi"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3819 echo "$ac_t""yes" 1>&6
3821 echo "$ac_t""no" 1>&6
3826 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3827 echo "configure:3828: checking "for --enable-postscript"" >&5
3829 # Check whether --enable-postscript or --disable-postscript was given.
3830 if test "${enable_postscript+set}" = set; then
3831 enableval
="$enable_postscript"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3836 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3841 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3853 eval "$ac_cv_use_postscript"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_POSTSCRIPT" = yes; then
3859 echo "$ac_t""yes" 1>&6
3861 echo "$ac_t""no" 1>&6
3867 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3868 echo "configure:3869: checking "for --enable-prologio"" >&5
3870 # Check whether --enable-prologio or --disable-prologio was given.
3871 if test "${enable_prologio+set}" = set; then
3872 enableval
="$enable_prologio"
3874 if test "$enableval" = yes; then
3875 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3877 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3882 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x
; then
3884 eval "DEFAULT_$LINE"
3889 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3894 eval "$ac_cv_use_prologio"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_PROLOGIO" = yes; then
3900 echo "$ac_t""yes" 1>&6
3902 echo "$ac_t""no" 1>&6
3906 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3907 echo "configure:3908: checking "for --enable-resources"" >&5
3909 # Check whether --enable-resources or --disable-resources was given.
3910 if test "${enable_resources+set}" = set; then
3911 enableval
="$enable_resources"
3913 if test "$enableval" = yes; then
3914 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3916 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3921 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3922 if test "x$LINE" != x
; then
3923 eval "DEFAULT_$LINE"
3928 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3933 eval "$ac_cv_use_resources"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_RESOURCES" = yes; then
3939 echo "$ac_t""yes" 1>&6
3941 echo "$ac_t""no" 1>&6
3946 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3947 echo "configure:3948: checking "for --enable-xresources"" >&5
3949 # Check whether --enable-xresources or --disable-xresources was given.
3950 if test "${enable_xresources+set}" = set; then
3951 enableval
="$enable_xresources"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3956 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3961 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3973 eval "$ac_cv_use_xresources"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_X_RESOURCES" = yes; then
3979 echo "$ac_t""yes" 1>&6
3981 echo "$ac_t""no" 1>&6
3987 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3988 echo "configure:3989: checking "for --enable-clipboard"" >&5
3990 # Check whether --enable-clipboard or --disable-clipboard was given.
3991 if test "${enable_clipboard+set}" = set; then
3992 enableval
="$enable_clipboard"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3997 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4002 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4014 eval "$ac_cv_use_clipboard"
4015 if test "$no_cache" != 1; then
4016 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4019 if test "$wxUSE_CLIPBOARD" = yes; then
4020 echo "$ac_t""yes" 1>&6
4022 echo "$ac_t""no" 1>&6
4026 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
4027 echo "configure:4028: checking "for --enable-dnd"" >&5
4029 # Check whether --enable-dnd or --disable-dnd was given.
4030 if test "${enable_dnd+set}" = set; then
4031 enableval
="$enable_dnd"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4036 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4041 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4053 eval "$ac_cv_use_dnd"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4058 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4059 echo "$ac_t""yes" 1>&6
4061 echo "$ac_t""no" 1>&6
4065 echo $ac_n "checking "for --enable-metafile"""... $ac_c" 1>&6
4066 echo "configure:4067: checking "for --enable-metafile"" >&5
4068 # Check whether --enable-metafile or --disable-metafile was given.
4069 if test "${enable_metafile+set}" = set; then
4070 enableval
="$enable_metafile"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4075 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4080 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4092 eval "$ac_cv_use_metafile"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4097 if test "$wxUSE_METAFILE" = yes; then
4098 echo "$ac_t""yes" 1>&6
4100 echo "$ac_t""no" 1>&6
4105 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4106 echo "configure:4107: checking "for --enable-wxtree"" >&5
4108 # Check whether --enable-wxtree or --disable-wxtree was given.
4109 if test "${enable_wxtree+set}" = set; then
4110 enableval
="$enable_wxtree"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4115 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4120 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4132 eval "$ac_cv_use_wxtree"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_WXTREE" = yes; then
4138 echo "$ac_t""yes" 1>&6
4140 echo "$ac_t""no" 1>&6
4146 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4147 echo "configure:4148: checking "for --enable-controls"" >&5
4149 # Check whether --enable-controls or --disable-controls was given.
4150 if test "${enable_controls+set}" = set; then
4151 enableval
="$enable_controls"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4156 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4161 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4173 eval "$ac_cv_use_controls"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_CONTROLS" = yes; then
4179 echo "$ac_t""yes" 1>&6
4181 echo "$ac_t""no" 1>&6
4185 if test "$wxUSE_CONTROLS" = "yes"; then
4186 DEFAULT_wxUSE_ACCEL
=yes
4187 DEFAULT_wxUSE_CARET
=yes
4188 DEFAULT_wxUSE_COMBOBOX
=yes
4189 DEFAULT_wxUSE_BMPBUTTON
=yes
4190 DEFAULT_wxUSE_CHECKBOX
=yes
4191 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4192 DEFAULT_wxUSE_CHOICE
=yes
4193 DEFAULT_wxUSE_GAUGE
=yes
4194 DEFAULT_wxUSE_GRID
=yes
4195 DEFAULT_wxUSE_NEW_GRID
=yes
4196 DEFAULT_wxUSE_IMAGLIST
=yes
4197 DEFAULT_wxUSE_LISTBOX
=yes
4198 DEFAULT_wxUSE_LISTCTRL
=yes
4199 DEFAULT_wxUSE_NOTEBOOK
=yes
4200 DEFAULT_wxUSE_RADIOBOX
=yes
4201 DEFAULT_wxUSE_RADIOBTN
=yes
4202 DEFAULT_wxUSE_SASH
=yes
4203 DEFAULT_wxUSE_SCROLLBAR
=yes
4204 DEFAULT_wxUSE_SLIDER
=yes
4205 DEFAULT_wxUSE_SPINBTN
=yes
4206 DEFAULT_wxUSE_SPINCTRL
=yes
4207 DEFAULT_wxUSE_SPLITTER
=yes
4208 DEFAULT_wxUSE_STATBMP
=yes
4209 DEFAULT_wxUSE_STATBOX
=yes
4210 DEFAULT_wxUSE_STATLINE
=yes
4211 DEFAULT_wxUSE_STATUSBAR
=yes
4212 DEFAULT_wxUSE_TAB_DIALOG
=yes
4213 DEFAULT_wxUSE_TOGGLEBTN
=yes
4214 DEFAULT_wxUSE_TOOLBAR
=yes
4215 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4216 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4217 DEFAULT_wxUSE_TOOLTIPS
=yes
4218 DEFAULT_wxUSE_TREECTRL
=yes
4219 elif test "$wxUSE_CONTROLS" = "no"; then
4220 DEFAULT_wxUSE_ACCEL
=no
4221 DEFAULT_wxUSE_CARET
=no
4222 DEFAULT_wxUSE_COMBOBOX
=no
4223 DEFAULT_wxUSE_BMPBUTTON
=no
4224 DEFAULT_wxUSE_CHECKBOX
=no
4225 DEFAULT_wxUSE_CHECKLISTBOX
=no
4226 DEFAULT_wxUSE_CHOICE
=no
4227 DEFAULT_wxUSE_GAUGE
=no
4228 DEFAULT_wxUSE_GRID
=no
4229 DEFAULT_wxUSE_NEW_GRID
=no
4230 DEFAULT_wxUSE_IMAGLIST
=no
4231 DEFAULT_wxUSE_LISTBOX
=no
4232 DEFAULT_wxUSE_LISTCTRL
=no
4233 DEFAULT_wxUSE_NOTEBOOK
=no
4234 DEFAULT_wxUSE_RADIOBOX
=no
4235 DEFAULT_wxUSE_RADIOBTN
=no
4236 DEFAULT_wxUSE_SASH
=no
4237 DEFAULT_wxUSE_SCROLLBAR
=no
4238 DEFAULT_wxUSE_SLIDER
=no
4239 DEFAULT_wxUSE_SPINBTN
=no
4240 DEFAULT_wxUSE_SPINCTRL
=no
4241 DEFAULT_wxUSE_SPLITTER
=no
4242 DEFAULT_wxUSE_STATBMP
=no
4243 DEFAULT_wxUSE_STATBOX
=no
4244 DEFAULT_wxUSE_STATLINE
=no
4245 DEFAULT_wxUSE_STATUSBAR
=no
4246 DEFAULT_wxUSE_TAB_DIALOG
=no
4247 DEFAULT_wxUSE_TOGGLEBTN
=no
4248 DEFAULT_wxUSE_TOOLBAR
=no
4249 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4250 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4251 DEFAULT_wxUSE_TOOLTIPS
=no
4252 DEFAULT_wxUSE_TREECTRL
=no
4256 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4257 echo "configure:4258: checking "for --enable-accel"" >&5
4259 # Check whether --enable-accel or --disable-accel was given.
4260 if test "${enable_accel+set}" = set; then
4261 enableval
="$enable_accel"
4263 if test "$enableval" = yes; then
4264 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4266 ac_cv_use_accel
='wxUSE_ACCEL=no'
4271 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x
; then
4273 eval "DEFAULT_$LINE"
4278 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4283 eval "$ac_cv_use_accel"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_ACCEL" = yes; then
4289 echo "$ac_t""yes" 1>&6
4291 echo "$ac_t""no" 1>&6
4295 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4296 echo "configure:4297: checking "for --enable-caret"" >&5
4298 # Check whether --enable-caret or --disable-caret was given.
4299 if test "${enable_caret+set}" = set; then
4300 enableval
="$enable_caret"
4302 if test "$enableval" = yes; then
4303 ac_cv_use_caret
='wxUSE_CARET=yes'
4305 ac_cv_use_caret
='wxUSE_CARET=no'
4310 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4311 if test "x$LINE" != x
; then
4312 eval "DEFAULT_$LINE"
4317 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4322 eval "$ac_cv_use_caret"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_CARET" = yes; then
4328 echo "$ac_t""yes" 1>&6
4330 echo "$ac_t""no" 1>&6
4334 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4335 echo "configure:4336: checking "for --enable-bmpbutton"" >&5
4337 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4338 if test "${enable_bmpbutton+set}" = set; then
4339 enableval
="$enable_bmpbutton"
4341 if test "$enableval" = yes; then
4342 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4344 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4349 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x
; then
4351 eval "DEFAULT_$LINE"
4356 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4361 eval "$ac_cv_use_bmpbutton"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_BMPBUTTON" = yes; then
4367 echo "$ac_t""yes" 1>&6
4369 echo "$ac_t""no" 1>&6
4373 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4374 echo "configure:4375: checking "for --enable-checkbox"" >&5
4376 # Check whether --enable-checkbox or --disable-checkbox was given.
4377 if test "${enable_checkbox+set}" = set; then
4378 enableval
="$enable_checkbox"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4383 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4388 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x
; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4400 eval "$ac_cv_use_checkbox"
4401 if test "$no_cache" != 1; then
4402 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4405 if test "$wxUSE_CHECKBOX" = yes; then
4406 echo "$ac_t""yes" 1>&6
4408 echo "$ac_t""no" 1>&6
4412 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4413 echo "configure:4414: checking "for --enable-checklst"" >&5
4415 # Check whether --enable-checklst or --disable-checklst was given.
4416 if test "${enable_checklst+set}" = set; then
4417 enableval
="$enable_checklst"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4422 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4427 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4439 eval "$ac_cv_use_checklst"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_CHECKLST" = yes; then
4445 echo "$ac_t""yes" 1>&6
4447 echo "$ac_t""no" 1>&6
4451 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4452 echo "configure:4453: checking "for --enable-choice"" >&5
4454 # Check whether --enable-choice or --disable-choice was given.
4455 if test "${enable_choice+set}" = set; then
4456 enableval
="$enable_choice"
4458 if test "$enableval" = yes; then
4459 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4461 ac_cv_use_choice
='wxUSE_CHOICE=no'
4466 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x
; then
4468 eval "DEFAULT_$LINE"
4473 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4478 eval "$ac_cv_use_choice"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4483 if test "$wxUSE_CHOICE" = yes; then
4484 echo "$ac_t""yes" 1>&6
4486 echo "$ac_t""no" 1>&6
4490 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4491 echo "configure:4492: checking "for --enable-combobox"" >&5
4493 # Check whether --enable-combobox or --disable-combobox was given.
4494 if test "${enable_combobox+set}" = set; then
4495 enableval
="$enable_combobox"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4500 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4505 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4517 eval "$ac_cv_use_combobox"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4522 if test "$wxUSE_COMBOBOX" = yes; then
4523 echo "$ac_t""yes" 1>&6
4525 echo "$ac_t""no" 1>&6
4529 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4530 echo "configure:4531: checking "for --enable-gauge"" >&5
4532 # Check whether --enable-gauge or --disable-gauge was given.
4533 if test "${enable_gauge+set}" = set; then
4534 enableval
="$enable_gauge"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4539 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4544 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4556 eval "$ac_cv_use_gauge"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_GAUGE" = yes; then
4562 echo "$ac_t""yes" 1>&6
4564 echo "$ac_t""no" 1>&6
4568 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4569 echo "configure:4570: checking "for --enable-grid"" >&5
4571 # Check whether --enable-grid or --disable-grid was given.
4572 if test "${enable_grid+set}" = set; then
4573 enableval
="$enable_grid"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_grid
='wxUSE_GRID=yes'
4578 ac_cv_use_grid
='wxUSE_GRID=no'
4583 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4595 eval "$ac_cv_use_grid"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_GRID" = yes; then
4601 echo "$ac_t""yes" 1>&6
4603 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4608 echo "configure:4609: checking "for --enable-newgrid"" >&5
4610 # Check whether --enable-newgrid or --disable-newgrid was given.
4611 if test "${enable_newgrid+set}" = set; then
4612 enableval
="$enable_newgrid"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4617 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4622 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4634 eval "$ac_cv_use_newgrid"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_NEW_GRID" = yes; then
4640 echo "$ac_t""yes" 1>&6
4642 echo "$ac_t""no" 1>&6
4646 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4647 echo "configure:4648: checking "for --enable-imaglist"" >&5
4649 # Check whether --enable-imaglist or --disable-imaglist was given.
4650 if test "${enable_imaglist+set}" = set; then
4651 enableval
="$enable_imaglist"
4653 if test "$enableval" = yes; then
4654 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4656 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4661 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4662 if test "x$LINE" != x
; then
4663 eval "DEFAULT_$LINE"
4668 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4673 eval "$ac_cv_use_imaglist"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4678 if test "$wxUSE_IMAGLIST" = yes; then
4679 echo "$ac_t""yes" 1>&6
4681 echo "$ac_t""no" 1>&6
4685 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4686 echo "configure:4687: checking "for --enable-listbox"" >&5
4688 # Check whether --enable-listbox or --disable-listbox was given.
4689 if test "${enable_listbox+set}" = set; then
4690 enableval
="$enable_listbox"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4695 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4700 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x
; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4712 eval "$ac_cv_use_listbox"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_LISTBOX" = yes; then
4718 echo "$ac_t""yes" 1>&6
4720 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4725 echo "configure:4726: checking "for --enable-listctrl"" >&5
4727 # Check whether --enable-listctrl or --disable-listctrl was given.
4728 if test "${enable_listctrl+set}" = set; then
4729 enableval
="$enable_listctrl"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4734 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4739 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4751 eval "$ac_cv_use_listctrl"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_LISTCTRL" = yes; then
4757 echo "$ac_t""yes" 1>&6
4759 echo "$ac_t""no" 1>&6
4763 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4764 echo "configure:4765: checking "for --enable-notebook"" >&5
4766 # Check whether --enable-notebook or --disable-notebook was given.
4767 if test "${enable_notebook+set}" = set; then
4768 enableval
="$enable_notebook"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4773 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4778 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x
; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4790 eval "$ac_cv_use_notebook"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_NOTEBOOK" = yes; then
4796 echo "$ac_t""yes" 1>&6
4798 echo "$ac_t""no" 1>&6
4802 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4803 echo "configure:4804: checking "for --enable-radiobox"" >&5
4805 # Check whether --enable-radiobox or --disable-radiobox was given.
4806 if test "${enable_radiobox+set}" = set; then
4807 enableval
="$enable_radiobox"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4812 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4817 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4829 eval "$ac_cv_use_radiobox"
4830 if test "$no_cache" != 1; then
4831 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4834 if test "$wxUSE_RADIOBOX" = yes; then
4835 echo "$ac_t""yes" 1>&6
4837 echo "$ac_t""no" 1>&6
4841 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4842 echo "configure:4843: checking "for --enable-radiobtn"" >&5
4844 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4845 if test "${enable_radiobtn+set}" = set; then
4846 enableval
="$enable_radiobtn"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4851 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4856 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x
; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4868 eval "$ac_cv_use_radiobtn"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_RADIOBTN" = yes; then
4874 echo "$ac_t""yes" 1>&6
4876 echo "$ac_t""no" 1>&6
4880 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4881 echo "configure:4882: checking "for --enable-sash"" >&5
4883 # Check whether --enable-sash or --disable-sash was given.
4884 if test "${enable_sash+set}" = set; then
4885 enableval
="$enable_sash"
4887 if test "$enableval" = yes; then
4888 ac_cv_use_sash
='wxUSE_SASH=yes'
4890 ac_cv_use_sash
='wxUSE_SASH=no'
4895 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x
; then
4897 eval "DEFAULT_$LINE"
4902 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4907 eval "$ac_cv_use_sash"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_SASH" = yes; then
4913 echo "$ac_t""yes" 1>&6
4915 echo "$ac_t""no" 1>&6
4919 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4920 echo "configure:4921: checking "for --enable-scrollbar"" >&5
4922 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4923 if test "${enable_scrollbar+set}" = set; then
4924 enableval
="$enable_scrollbar"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4929 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4934 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4946 eval "$ac_cv_use_scrollbar"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_SCROLLBAR" = yes; then
4952 echo "$ac_t""yes" 1>&6
4954 echo "$ac_t""no" 1>&6
4958 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4959 echo "configure:4960: checking "for --enable-slider"" >&5
4961 # Check whether --enable-slider or --disable-slider was given.
4962 if test "${enable_slider+set}" = set; then
4963 enableval
="$enable_slider"
4965 if test "$enableval" = yes; then
4966 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4968 ac_cv_use_slider
='wxUSE_SLIDER=no'
4973 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x
; then
4975 eval "DEFAULT_$LINE"
4980 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4985 eval "$ac_cv_use_slider"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4990 if test "$wxUSE_SLIDER" = yes; then
4991 echo "$ac_t""yes" 1>&6
4993 echo "$ac_t""no" 1>&6
4997 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4998 echo "configure:4999: checking "for --enable-spinbtn"" >&5
5000 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5001 if test "${enable_spinbtn+set}" = set; then
5002 enableval
="$enable_spinbtn"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5007 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5012 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x
; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5024 eval "$ac_cv_use_spinbtn"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_SPINBTN" = yes; then
5030 echo "$ac_t""yes" 1>&6
5032 echo "$ac_t""no" 1>&6
5036 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
5037 echo "configure:5038: checking "for --enable-spinctrl"" >&5
5039 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5040 if test "${enable_spinctrl+set}" = set; then
5041 enableval
="$enable_spinctrl"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5046 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5051 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5063 eval "$ac_cv_use_spinctrl"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5068 if test "$wxUSE_SPINCTRL" = yes; then
5069 echo "$ac_t""yes" 1>&6
5071 echo "$ac_t""no" 1>&6
5075 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5076 echo "configure:5077: checking "for --enable-splitter"" >&5
5078 # Check whether --enable-splitter or --disable-splitter was given.
5079 if test "${enable_splitter+set}" = set; then
5080 enableval
="$enable_splitter"
5082 if test "$enableval" = yes; then
5083 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5085 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5090 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x
; then
5092 eval "DEFAULT_$LINE"
5097 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5102 eval "$ac_cv_use_splitter"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5107 if test "$wxUSE_SPLITTER" = yes; then
5108 echo "$ac_t""yes" 1>&6
5110 echo "$ac_t""no" 1>&6
5114 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5115 echo "configure:5116: checking "for --enable-statbmp"" >&5
5117 # Check whether --enable-statbmp or --disable-statbmp was given.
5118 if test "${enable_statbmp+set}" = set; then
5119 enableval
="$enable_statbmp"
5121 if test "$enableval" = yes; then
5122 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5124 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5129 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5130 if test "x$LINE" != x
; then
5131 eval "DEFAULT_$LINE"
5136 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5141 eval "$ac_cv_use_statbmp"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_STATBMP" = yes; then
5147 echo "$ac_t""yes" 1>&6
5149 echo "$ac_t""no" 1>&6
5153 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5154 echo "configure:5155: checking "for --enable-statbox"" >&5
5156 # Check whether --enable-statbox or --disable-statbox was given.
5157 if test "${enable_statbox+set}" = set; then
5158 enableval
="$enable_statbox"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5163 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5168 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5180 eval "$ac_cv_use_statbox"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_STATBOX" = yes; then
5186 echo "$ac_t""yes" 1>&6
5188 echo "$ac_t""no" 1>&6
5192 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5193 echo "configure:5194: checking "for --enable-statline"" >&5
5195 # Check whether --enable-statline or --disable-statline was given.
5196 if test "${enable_statline+set}" = set; then
5197 enableval
="$enable_statline"
5199 if test "$enableval" = yes; then
5200 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5202 ac_cv_use_statline
='wxUSE_STATLINE=no'
5207 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x
; then
5209 eval "DEFAULT_$LINE"
5214 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5219 eval "$ac_cv_use_statline"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5224 if test "$wxUSE_STATLINE" = yes; then
5225 echo "$ac_t""yes" 1>&6
5227 echo "$ac_t""no" 1>&6
5231 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5232 echo "configure:5233: checking "for --enable-statusbar"" >&5
5234 # Check whether --enable-statusbar or --disable-statusbar was given.
5235 if test "${enable_statusbar+set}" = set; then
5236 enableval
="$enable_statusbar"
5238 if test "$enableval" = yes; then
5239 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5241 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5246 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5247 if test "x$LINE" != x
; then
5248 eval "DEFAULT_$LINE"
5253 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5258 eval "$ac_cv_use_statusbar"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5263 if test "$wxUSE_STATUSBAR" = yes; then
5264 echo "$ac_t""yes" 1>&6
5266 echo "$ac_t""no" 1>&6
5270 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5271 echo "configure:5272: checking "for --enable-tabdialog"" >&5
5273 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5274 if test "${enable_tabdialog+set}" = set; then
5275 enableval
="$enable_tabdialog"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5280 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5285 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5297 eval "$ac_cv_use_tabdialog"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_TABDIALOG" = yes; then
5303 echo "$ac_t""yes" 1>&6
5305 echo "$ac_t""no" 1>&6
5309 echo $ac_n "checking "for --enable-togglebtn"""... $ac_c" 1>&6
5310 echo "configure:5311: checking "for --enable-togglebtn"" >&5
5312 # Check whether --enable-togglebtn or --disable-togglebtn was given.
5313 if test "${enable_togglebtn+set}" = set; then
5314 enableval
="$enable_togglebtn"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
5319 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
5324 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x
; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
5336 eval "$ac_cv_use_togglebtn"
5337 if test "$no_cache" != 1; then
5338 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
5341 if test "$wxUSE_TOGGLEBTN" = yes; then
5342 echo "$ac_t""yes" 1>&6
5344 echo "$ac_t""no" 1>&6
5348 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5349 echo "configure:5350: checking "for --enable-toolbar"" >&5
5351 # Check whether --enable-toolbar or --disable-toolbar was given.
5352 if test "${enable_toolbar+set}" = set; then
5353 enableval
="$enable_toolbar"
5355 if test "$enableval" = yes; then
5356 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5358 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5363 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x
; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5375 eval "$ac_cv_use_toolbar"
5376 if test "$no_cache" != 1; then
5377 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5380 if test "$wxUSE_TOOLBAR" = yes; then
5381 echo "$ac_t""yes" 1>&6
5383 echo "$ac_t""no" 1>&6
5387 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5388 echo "configure:5389: checking "for --enable-tbarnative"" >&5
5390 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5391 if test "${enable_tbarnative+set}" = set; then
5392 enableval
="$enable_tbarnative"
5394 if test "$enableval" = yes; then
5395 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5397 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5402 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x
; then
5404 eval "DEFAULT_$LINE"
5409 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5414 eval "$ac_cv_use_tbarnative"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5419 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5420 echo "$ac_t""yes" 1>&6
5422 echo "$ac_t""no" 1>&6
5426 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5427 echo "configure:5428: checking "for --enable-tbarsmpl"" >&5
5429 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5430 if test "${enable_tbarsmpl+set}" = set; then
5431 enableval
="$enable_tbarsmpl"
5433 if test "$enableval" = yes; then
5434 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5436 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5441 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5442 if test "x$LINE" != x
; then
5443 eval "DEFAULT_$LINE"
5448 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5453 eval "$ac_cv_use_tbarsmpl"
5454 if test "$no_cache" != 1; then
5455 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5458 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5459 echo "$ac_t""yes" 1>&6
5461 echo "$ac_t""no" 1>&6
5465 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5466 echo "configure:5467: checking "for --enable-treectrl"" >&5
5468 # Check whether --enable-treectrl or --disable-treectrl was given.
5469 if test "${enable_treectrl+set}" = set; then
5470 enableval
="$enable_treectrl"
5472 if test "$enableval" = yes; then
5473 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5475 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5480 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x
; then
5482 eval "DEFAULT_$LINE"
5487 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5492 eval "$ac_cv_use_treectrl"
5493 if test "$no_cache" != 1; then
5494 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5497 if test "$wxUSE_TREECTRL" = yes; then
5498 echo "$ac_t""yes" 1>&6
5500 echo "$ac_t""no" 1>&6
5506 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5507 echo "configure:5508: checking "for --enable-commondlg"" >&5
5509 # Check whether --enable-commondlg or --disable-commondlg was given.
5510 if test "${enable_commondlg+set}" = set; then
5511 enableval
="$enable_commondlg"
5513 if test "$enableval" = yes; then
5514 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5516 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5521 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x
; then
5523 eval "DEFAULT_$LINE"
5528 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5533 eval "$ac_cv_use_commondlg"
5534 if test "$no_cache" != 1; then
5535 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5538 if test "$wxUSE_COMMONDLGS" = yes; then
5539 echo "$ac_t""yes" 1>&6
5541 echo "$ac_t""no" 1>&6
5545 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5546 echo "configure:5547: checking "for --enable-dirdlg"" >&5
5548 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5549 if test "${enable_dirdlg+set}" = set; then
5550 enableval
="$enable_dirdlg"
5552 if test "$enableval" = yes; then
5553 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5555 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5560 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x
; then
5562 eval "DEFAULT_$LINE"
5567 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5572 eval "$ac_cv_use_dirdlg"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_DIRDLG" = yes; then
5578 echo "$ac_t""yes" 1>&6
5580 echo "$ac_t""no" 1>&6
5584 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5585 echo "configure:5586: checking "for --enable-textdlg"" >&5
5587 # Check whether --enable-textdlg or --disable-textdlg was given.
5588 if test "${enable_textdlg+set}" = set; then
5589 enableval
="$enable_textdlg"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5594 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5599 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x
; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5611 eval "$ac_cv_use_textdlg"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5616 if test "$wxUSE_TEXTDLG" = yes; then
5617 echo "$ac_t""yes" 1>&6
5619 echo "$ac_t""no" 1>&6
5623 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5624 echo "configure:5625: checking "for --enable-tipdlg"" >&5
5626 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5627 if test "${enable_tipdlg+set}" = set; then
5628 enableval
="$enable_tipdlg"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5633 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5638 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x
; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5650 eval "$ac_cv_use_tipdlg"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_STARTUP_TIPS" = yes; then
5656 echo "$ac_t""yes" 1>&6
5658 echo "$ac_t""no" 1>&6
5662 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5663 echo "configure:5664: checking "for --enable-progressdlg"" >&5
5665 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5666 if test "${enable_progressdlg+set}" = set; then
5667 enableval
="$enable_progressdlg"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5672 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5677 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x
; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5689 eval "$ac_cv_use_progressdlg"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_PROGRESSDLG" = yes; then
5695 echo "$ac_t""yes" 1>&6
5697 echo "$ac_t""no" 1>&6
5701 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5702 echo "configure:5703: checking "for --enable-miniframe"" >&5
5704 # Check whether --enable-miniframe or --disable-miniframe was given.
5705 if test "${enable_miniframe+set}" = set; then
5706 enableval
="$enable_miniframe"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5711 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5716 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x
; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5728 eval "$ac_cv_use_miniframe"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5733 if test "$wxUSE_MINIFRAME" = yes; then
5734 echo "$ac_t""yes" 1>&6
5736 echo "$ac_t""no" 1>&6
5740 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5741 echo "configure:5742: checking "for --enable-html"" >&5
5743 # Check whether --enable-html or --disable-html was given.
5744 if test "${enable_html+set}" = set; then
5745 enableval
="$enable_html"
5747 if test "$enableval" = yes; then
5748 ac_cv_use_html
='wxUSE_HTML=yes'
5750 ac_cv_use_html
='wxUSE_HTML=no'
5755 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5756 if test "x$LINE" != x
; then
5757 eval "DEFAULT_$LINE"
5762 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5767 eval "$ac_cv_use_html"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5772 if test "$wxUSE_HTML" = yes; then
5773 echo "$ac_t""yes" 1>&6
5775 echo "$ac_t""no" 1>&6
5779 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5780 echo "configure:5781: checking "for --enable-tooltips"" >&5
5782 # Check whether --enable-tooltips or --disable-tooltips was given.
5783 if test "${enable_tooltips+set}" = set; then
5784 enableval
="$enable_tooltips"
5786 if test "$enableval" = yes; then
5787 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5789 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5794 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x
; then
5796 eval "DEFAULT_$LINE"
5801 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5806 eval "$ac_cv_use_tooltips"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_TOOLTIPS" = yes; then
5812 echo "$ac_t""yes" 1>&6
5814 echo "$ac_t""no" 1>&6
5818 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5819 echo "configure:5820: checking "for --enable-splines"" >&5
5821 # Check whether --enable-splines or --disable-splines was given.
5822 if test "${enable_splines+set}" = set; then
5823 enableval
="$enable_splines"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5828 ac_cv_use_splines
='wxUSE_SPLINES=no'
5833 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x
; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5845 eval "$ac_cv_use_splines"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5850 if test "$wxUSE_SPLINES" = yes; then
5851 echo "$ac_t""yes" 1>&6
5853 echo "$ac_t""no" 1>&6
5857 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5858 echo "configure:5859: checking "for --enable-validators"" >&5
5860 # Check whether --enable-validators or --disable-validators was given.
5861 if test "${enable_validators+set}" = set; then
5862 enableval
="$enable_validators"
5864 if test "$enableval" = yes; then
5865 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5867 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5872 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x
; then
5874 eval "DEFAULT_$LINE"
5879 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5884 eval "$ac_cv_use_validators"
5885 if test "$no_cache" != 1; then
5886 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5889 if test "$wxUSE_VALIDATORS" = yes; then
5890 echo "$ac_t""yes" 1>&6
5892 echo "$ac_t""no" 1>&6
5896 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5897 echo "configure:5898: checking "for --enable-busyinfo"" >&5
5899 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5900 if test "${enable_busyinfo+set}" = set; then
5901 enableval
="$enable_busyinfo"
5903 if test "$enableval" = yes; then
5904 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5906 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5911 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x
; then
5913 eval "DEFAULT_$LINE"
5918 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5923 eval "$ac_cv_use_busyinfo"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_BUSYINFO" = yes; then
5929 echo "$ac_t""yes" 1>&6
5931 echo "$ac_t""no" 1>&6
5935 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5936 echo "configure:5937: checking "for --enable-joystick"" >&5
5938 # Check whether --enable-joystick or --disable-joystick was given.
5939 if test "${enable_joystick+set}" = set; then
5940 enableval
="$enable_joystick"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5945 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5950 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5962 eval "$ac_cv_use_joystick"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5967 if test "$wxUSE_JOYSTICK" = yes; then
5968 echo "$ac_t""yes" 1>&6
5970 echo "$ac_t""no" 1>&6
5976 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5977 echo "configure:5978: checking "for --enable-gif"" >&5
5979 # Check whether --enable-gif or --disable-gif was given.
5980 if test "${enable_gif+set}" = set; then
5981 enableval
="$enable_gif"
5983 if test "$enableval" = yes; then
5984 ac_cv_use_gif
='wxUSE_GIF=yes'
5986 ac_cv_use_gif
='wxUSE_GIF=no'
5991 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x
; then
5993 eval "DEFAULT_$LINE"
5998 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
6003 eval "$ac_cv_use_gif"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
6008 if test "$wxUSE_GIF" = yes; then
6009 echo "$ac_t""yes" 1>&6
6011 echo "$ac_t""no" 1>&6
6015 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
6016 echo "configure:6017: checking "for --enable-pcx"" >&5
6018 # Check whether --enable-pcx or --disable-pcx was given.
6019 if test "${enable_pcx+set}" = set; then
6020 enableval
="$enable_pcx"
6022 if test "$enableval" = yes; then
6023 ac_cv_use_pcx
='wxUSE_PCX=yes'
6025 ac_cv_use_pcx
='wxUSE_PCX=no'
6030 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x
; then
6032 eval "DEFAULT_$LINE"
6037 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
6042 eval "$ac_cv_use_pcx"
6043 if test "$no_cache" != 1; then
6044 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
6047 if test "$wxUSE_PCX" = yes; then
6048 echo "$ac_t""yes" 1>&6
6050 echo "$ac_t""no" 1>&6
6054 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
6055 echo "configure:6056: checking "for --enable-pnm"" >&5
6057 # Check whether --enable-pnm or --disable-pnm was given.
6058 if test "${enable_pnm+set}" = set; then
6059 enableval
="$enable_pnm"
6061 if test "$enableval" = yes; then
6062 ac_cv_use_pnm
='wxUSE_PNM=yes'
6064 ac_cv_use_pnm
='wxUSE_PNM=no'
6069 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
6070 if test "x$LINE" != x
; then
6071 eval "DEFAULT_$LINE"
6076 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
6081 eval "$ac_cv_use_pnm"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_PNM" = yes; then
6087 echo "$ac_t""yes" 1>&6
6089 echo "$ac_t""no" 1>&6
6096 echo "saving argument cache $wx_arg_cache_file"
6097 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6101 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6102 echo "configure:6103: checking for toolkit" >&5
6104 if test "$wxUSE_GUI" = "yes"; then
6106 if test "$USE_BEOS" = 1; then
6107 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6110 if test "$TOOLKIT_GIVEN" = 1; then
6111 for toolkit
in `echo $ALL_TOOLKITS`; do
6113 eval "value=\$${var}"
6114 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6117 for toolkit
in `echo $ALL_TOOLKITS`; do
6118 if test "$has_toolkit_in_cache" != 1; then
6119 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6121 var
=DEFAULT_wxUSE_
$toolkit
6123 eval "wxUSE_$toolkit=\$${var}"
6127 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6131 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6132 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6141 case "$NUM_TOOLKITS" in
6145 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6148 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6151 for toolkit
in `echo $ALL_TOOLKITS`; do
6153 eval "value=\$${var}"
6154 if test "x$value" != x
; then
6155 cache_var
=CACHE_
$toolkit
6156 eval "cache=\$${cache_var}"
6157 if test "$cache" = 1; then
6158 echo "$var=$value" >> ${wx_arg_cache_file}
6160 if test "$value" = 1; then
6161 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6168 echo "$ac_t""base only" 1>&6
6172 cat > confcache
<<\EOF
6173 # This file is a shell script that caches the results of configure
6174 # tests run on this system so they can be shared between configure
6175 # scripts and configure runs. It is not useful on other systems.
6176 # If it contains results you don't want to keep, you may remove or edit it.
6178 # By default, configure uses ./config.cache as the cache file,
6179 # creating it if it does not exist already. You can give configure
6180 # the --cache-file=FILE option to use a different cache file; that is
6181 # what configure does when it calls configure scripts in
6182 # subdirectories, so they share the cache.
6183 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6184 # config.status only pays attention to the cache file if you give it the
6185 # --recheck option to rerun configure.
6188 # The following way of writing the cache mishandles newlines in values,
6189 # but we know of no workaround that is simple, portable, and efficient.
6190 # So, don't put newlines in cache variables' values.
6191 # Ultrix sh set writes to stderr and can't be redirected directly,
6192 # and sets the high bit in the cache file unless we assign to the vars.
6194 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6196 # `set' does not quote correctly, so add quotes (double-quote substitution
6197 # turns \\\\ into \\, and sed turns \\ into \).
6199 -e "s/'/'\\\\''/g" \
6200 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6203 # `set' quotes correctly as required by POSIX, so do not add quotes.
6204 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6207 if cmp -s $cache_file confcache
; then
6210 if test -w $cache_file; then
6211 echo "updating cache $cache_file"
6212 cat confcache
> $cache_file
6214 echo "not updating unwritable cache $cache_file"
6220 if test "$build" != "$host" ; then
6224 RANLIB
=$host_alias-ranlib
6225 DLLTOOL
=$host_alias-dlltool
6226 RESCOMP
=$host_alias-windres
6229 STRIP
=$host_alias-strip
6232 # Extract the first word of "gcc", so it can be a program name with args.
6233 set dummy gcc
; ac_word
=$2
6234 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6235 echo "configure:6236: checking for $ac_word" >&5
6236 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6237 echo $ac_n "(cached) $ac_c" 1>&6
6239 if test -n "$CC"; then
6240 ac_cv_prog_CC
="$CC" # Let the user override the test.
6242 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6244 for ac_dir
in $ac_dummy; do
6245 test -z "$ac_dir" && ac_dir
=.
6246 if test -f $ac_dir/$ac_word; then
6255 if test -n "$CC"; then
6256 echo "$ac_t""$CC" 1>&6
6258 echo "$ac_t""no" 1>&6
6261 if test -z "$CC"; then
6262 # Extract the first word of "cc", so it can be a program name with args.
6263 set dummy cc
; ac_word
=$2
6264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6265 echo "configure:6266: checking for $ac_word" >&5
6266 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6267 echo $ac_n "(cached) $ac_c" 1>&6
6269 if test -n "$CC"; then
6270 ac_cv_prog_CC
="$CC" # Let the user override the test.
6272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6275 for ac_dir
in $ac_dummy; do
6276 test -z "$ac_dir" && ac_dir
=.
6277 if test -f $ac_dir/$ac_word; then
6278 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6279 ac_prog_rejected
=yes
6287 if test $ac_prog_rejected = yes; then
6288 # We found a bogon in the path, so make sure we never use it.
6289 set dummy
$ac_cv_prog_CC
6291 if test $# -gt 0; then
6292 # We chose a different compiler from the bogus one.
6293 # However, it has the same basename, so the bogon will be chosen
6294 # first if we set CC to just the basename; use the full file name.
6296 set dummy
"$ac_dir/$ac_word" "$@"
6304 if test -n "$CC"; then
6305 echo "$ac_t""$CC" 1>&6
6307 echo "$ac_t""no" 1>&6
6310 if test -z "$CC"; then
6311 case "`uname -s`" in
6313 # Extract the first word of "cl", so it can be a program name with args.
6314 set dummy cl
; ac_word
=$2
6315 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6316 echo "configure:6317: checking for $ac_word" >&5
6317 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6318 echo $ac_n "(cached) $ac_c" 1>&6
6320 if test -n "$CC"; then
6321 ac_cv_prog_CC
="$CC" # Let the user override the test.
6323 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6325 for ac_dir
in $ac_dummy; do
6326 test -z "$ac_dir" && ac_dir
=.
6327 if test -f $ac_dir/$ac_word; then
6336 if test -n "$CC"; then
6337 echo "$ac_t""$CC" 1>&6
6339 echo "$ac_t""no" 1>&6
6344 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6347 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6348 echo "configure:6349: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6352 ac_cpp
='$CPP $CPPFLAGS'
6353 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6354 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6355 cross_compiling
=$ac_cv_prog_cc_cross
6357 cat > conftest.
$ac_ext << EOF
6359 #line 6360 "configure"
6360 #include "confdefs.h"
6364 if { (eval echo configure
:6365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6365 ac_cv_prog_cc_works
=yes
6366 # If we can't run a trivial program, we are probably using a cross compiler.
6367 if (.
/conftest
; exit) 2>/dev
/null
; then
6368 ac_cv_prog_cc_cross
=no
6370 ac_cv_prog_cc_cross
=yes
6373 echo "configure: failed program was:" >&5
6374 cat conftest.
$ac_ext >&5
6375 ac_cv_prog_cc_works
=no
6379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6380 ac_cpp
='$CPP $CPPFLAGS'
6381 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6382 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6383 cross_compiling
=$ac_cv_prog_cc_cross
6385 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6386 if test $ac_cv_prog_cc_works = no
; then
6387 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6389 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6390 echo "configure:6391: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6391 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6392 cross_compiling
=$ac_cv_prog_cc_cross
6394 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6395 echo "configure:6396: checking whether we are using GNU C" >&5
6396 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6397 echo $ac_n "(cached) $ac_c" 1>&6
6399 cat > conftest.c
<<EOF
6404 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6411 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6413 if test $ac_cv_prog_gcc = yes; then
6419 ac_test_CFLAGS
="${CFLAGS+set}"
6420 ac_save_CFLAGS
="$CFLAGS"
6422 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6423 echo "configure:6424: checking whether ${CC-cc} accepts -g" >&5
6424 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6425 echo $ac_n "(cached) $ac_c" 1>&6
6427 echo 'void f(){}' > conftest.c
6428 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6437 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6438 if test "$ac_test_CFLAGS" = set; then
6439 CFLAGS
="$ac_save_CFLAGS"
6440 elif test $ac_cv_prog_cc_g = yes; then
6441 if test "$GCC" = yes; then
6447 if test "$GCC" = yes; then
6455 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6457 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6458 echo "configure:6459: checking how to run the C preprocessor" >&5
6459 # On Suns, sometimes $CPP names a directory.
6460 if test -n "$CPP" && test -d "$CPP"; then
6463 if test -z "$CPP"; then
6464 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6465 echo $ac_n "(cached) $ac_c" 1>&6
6467 # This must be in double quotes, not single quotes, because CPP may get
6468 # substituted into the Makefile and "${CC-cc}" will confuse make.
6470 # On the NeXT, cc -E runs the code through the compiler's parser,
6471 # not just through cpp.
6472 cat > conftest.
$ac_ext <<EOF
6473 #line 6474 "configure"
6474 #include "confdefs.h"
6478 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6479 { (eval echo configure
:6480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6480 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6481 if test -z "$ac_err"; then
6485 echo "configure: failed program was:" >&5
6486 cat conftest.
$ac_ext >&5
6488 CPP
="${CC-cc} -E -traditional-cpp"
6489 cat > conftest.
$ac_ext <<EOF
6490 #line 6491 "configure"
6491 #include "confdefs.h"
6495 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6496 { (eval echo configure
:6497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6497 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6498 if test -z "$ac_err"; then
6502 echo "configure: failed program was:" >&5
6503 cat conftest.
$ac_ext >&5
6505 CPP
="${CC-cc} -nologo -E"
6506 cat > conftest.
$ac_ext <<EOF
6507 #line 6508 "configure"
6508 #include "confdefs.h"
6512 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6513 { (eval echo configure
:6514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6514 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6515 if test -z "$ac_err"; then
6519 echo "configure: failed program was:" >&5
6520 cat conftest.
$ac_ext >&5
6529 ac_cv_prog_CPP
="$CPP"
6531 CPP
="$ac_cv_prog_CPP"
6533 ac_cv_prog_CPP
="$CPP"
6535 echo "$ac_t""$CPP" 1>&6
6538 if test $ac_cv_prog_gcc = yes; then
6539 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6540 echo "configure:6541: checking whether ${CC-cc} needs -traditional" >&5
6541 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6542 echo $ac_n "(cached) $ac_c" 1>&6
6544 ac_pattern
="Autoconf.*'x'"
6545 cat > conftest.
$ac_ext <<EOF
6546 #line 6547 "configure"
6547 #include "confdefs.h"
6551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6552 egrep "$ac_pattern" >/dev
/null
2>&1; then
6554 ac_cv_prog_gcc_traditional
=yes
6557 ac_cv_prog_gcc_traditional
=no
6562 if test $ac_cv_prog_gcc_traditional = no
; then
6563 cat > conftest.
$ac_ext <<EOF
6564 #line 6565 "configure"
6565 #include "confdefs.h"
6569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6570 egrep "$ac_pattern" >/dev
/null
2>&1; then
6572 ac_cv_prog_gcc_traditional
=yes
6579 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6580 if test $ac_cv_prog_gcc_traditional = yes; then
6581 CC
="$CC -traditional"
6588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6589 ac_cpp
='$CXXCPP $CPPFLAGS'
6590 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6591 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6592 cross_compiling
=$ac_cv_prog_cxx_cross
6595 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6597 # Extract the first word of "$ac_prog", so it can be a program name with args.
6598 set dummy
$ac_prog; ac_word
=$2
6599 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6600 echo "configure:6601: checking for $ac_word" >&5
6601 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6602 echo $ac_n "(cached) $ac_c" 1>&6
6604 if test -n "$CXX"; then
6605 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6607 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6609 for ac_dir
in $ac_dummy; do
6610 test -z "$ac_dir" && ac_dir
=.
6611 if test -f $ac_dir/$ac_word; then
6612 ac_cv_prog_CXX
="$ac_prog"
6619 CXX
="$ac_cv_prog_CXX"
6620 if test -n "$CXX"; then
6621 echo "$ac_t""$CXX" 1>&6
6623 echo "$ac_t""no" 1>&6
6626 test -n "$CXX" && break
6628 test -n "$CXX" || CXX
="gcc"
6631 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6632 echo "configure:6633: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6636 ac_cpp
='$CXXCPP $CPPFLAGS'
6637 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6638 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6639 cross_compiling
=$ac_cv_prog_cxx_cross
6641 cat > conftest.
$ac_ext << EOF
6643 #line 6644 "configure"
6644 #include "confdefs.h"
6646 int main(){return(0);}
6648 if { (eval echo configure
:6649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6649 ac_cv_prog_cxx_works
=yes
6650 # If we can't run a trivial program, we are probably using a cross compiler.
6651 if (.
/conftest
; exit) 2>/dev
/null
; then
6652 ac_cv_prog_cxx_cross
=no
6654 ac_cv_prog_cxx_cross
=yes
6657 echo "configure: failed program was:" >&5
6658 cat conftest.
$ac_ext >&5
6659 ac_cv_prog_cxx_works
=no
6663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6664 ac_cpp
='$CXXCPP $CPPFLAGS'
6665 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6666 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6667 cross_compiling
=$ac_cv_prog_cxx_cross
6669 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6670 if test $ac_cv_prog_cxx_works = no
; then
6671 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6673 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6674 echo "configure:6675: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6675 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6676 cross_compiling
=$ac_cv_prog_cxx_cross
6678 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6679 echo "configure:6680: checking whether we are using GNU C++" >&5
6680 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6681 echo $ac_n "(cached) $ac_c" 1>&6
6683 cat > conftest.C
<<EOF
6688 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6695 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6697 if test $ac_cv_prog_gxx = yes; then
6703 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6704 ac_save_CXXFLAGS
="$CXXFLAGS"
6706 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6707 echo "configure:6708: checking whether ${CXX-g++} accepts -g" >&5
6708 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6709 echo $ac_n "(cached) $ac_c" 1>&6
6711 echo 'void f(){}' > conftest.cc
6712 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6713 ac_cv_prog_cxx_g
=yes
6721 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6722 if test "$ac_test_CXXFLAGS" = set; then
6723 CXXFLAGS
="$ac_save_CXXFLAGS"
6724 elif test $ac_cv_prog_cxx_g = yes; then
6725 if test "$GXX" = yes; then
6731 if test "$GXX" = yes; then
6739 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6740 echo "configure:6741: checking how to run the C++ preprocessor" >&5
6741 if test -z "$CXXCPP"; then
6742 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6743 echo $ac_n "(cached) $ac_c" 1>&6
6746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6747 ac_cpp
='$CXXCPP $CPPFLAGS'
6748 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6749 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6750 cross_compiling
=$ac_cv_prog_cxx_cross
6751 CXXCPP
="${CXX-g++} -E"
6752 cat > conftest.
$ac_ext <<EOF
6753 #line 6754 "configure"
6754 #include "confdefs.h"
6757 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6758 { (eval echo configure
:6759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6759 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6760 if test -z "$ac_err"; then
6764 echo "configure: failed program was:" >&5
6765 cat conftest.
$ac_ext >&5
6770 ac_cv_prog_CXXCPP
="$CXXCPP"
6772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6773 ac_cpp
='$CXXCPP $CPPFLAGS'
6774 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6775 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6776 cross_compiling
=$ac_cv_prog_cxx_cross
6779 CXXCPP
="$ac_cv_prog_CXXCPP"
6780 echo "$ac_t""$CXXCPP" 1>&6
6783 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6787 ac_cpp
='$CPP $CPPFLAGS'
6788 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6789 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6790 cross_compiling
=$ac_cv_prog_cc_cross
6793 # Extract the first word of "ranlib", so it can be a program name with args.
6794 set dummy ranlib
; ac_word
=$2
6795 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6796 echo "configure:6797: checking for $ac_word" >&5
6797 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6798 echo $ac_n "(cached) $ac_c" 1>&6
6800 if test -n "$RANLIB"; then
6801 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6803 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6805 for ac_dir
in $ac_dummy; do
6806 test -z "$ac_dir" && ac_dir
=.
6807 if test -f $ac_dir/$ac_word; then
6808 ac_cv_prog_RANLIB
="ranlib"
6813 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6816 RANLIB
="$ac_cv_prog_RANLIB"
6817 if test -n "$RANLIB"; then
6818 echo "$ac_t""$RANLIB" 1>&6
6820 echo "$ac_t""no" 1>&6
6824 # Extract the first word of "ar", so it can be a program name with args.
6825 set dummy
ar; ac_word
=$2
6826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6827 echo "configure:6828: checking for $ac_word" >&5
6828 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6829 echo $ac_n "(cached) $ac_c" 1>&6
6831 if test -n "$AR"; then
6832 ac_cv_prog_AR
="$AR" # Let the user override the test.
6834 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6836 for ac_dir
in $ac_dummy; do
6837 test -z "$ac_dir" && ac_dir
=.
6838 if test -f $ac_dir/$ac_word; then
6844 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6848 if test -n "$AR"; then
6849 echo "$ac_t""$AR" 1>&6
6851 echo "$ac_t""no" 1>&6
6855 # Find a good install program. We prefer a C program (faster),
6856 # so one script is as good as another. But avoid the broken or
6857 # incompatible versions:
6858 # SysV /etc/install, /usr/sbin/install
6859 # SunOS /usr/etc/install
6860 # IRIX /sbin/install
6862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6865 # ./install, which can be erroneously created by make from ./install.sh.
6866 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6867 echo "configure:6868: checking for a BSD compatible install" >&5
6868 if test -z "$INSTALL"; then
6869 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6870 echo $ac_n "(cached) $ac_c" 1>&6
6872 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6873 for ac_dir
in $PATH; do
6874 # Account for people who put trailing slashes in PATH elements.
6876 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6878 # OSF1 and SCO ODT 3.0 have their own names for install.
6879 # Don't use installbsd from OSF since it installs stuff as root
6881 for ac_prog
in ginstall scoinst
install; do
6882 if test -f $ac_dir/$ac_prog; then
6883 if test $ac_prog = install &&
6884 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6885 # AIX install. It has an incompatible calling convention.
6888 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6899 if test "${ac_cv_path_install+set}" = set; then
6900 INSTALL
="$ac_cv_path_install"
6902 # As a last resort, use the slow shell script. We don't cache a
6903 # path for INSTALL within a source directory, because that will
6904 # break other packages using the cache if that directory is
6905 # removed, or if the path is relative.
6906 INSTALL
="$ac_install_sh"
6909 echo "$ac_t""$INSTALL" 1>&6
6911 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6912 # It thinks the first close brace ends the variable substitution.
6913 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6915 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6917 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6920 # Extract the first word of "strip", so it can be a program name with args.
6921 set dummy strip
; ac_word
=$2
6922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6923 echo "configure:6924: checking for $ac_word" >&5
6924 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6925 echo $ac_n "(cached) $ac_c" 1>&6
6927 if test -n "$STRIP"; then
6928 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6930 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6932 for ac_dir
in $ac_dummy; do
6933 test -z "$ac_dir" && ac_dir
=.
6934 if test -f $ac_dir/$ac_word; then
6935 ac_cv_prog_STRIP
="strip"
6940 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6943 STRIP
="$ac_cv_prog_STRIP"
6944 if test -n "$STRIP"; then
6945 echo "$ac_t""$STRIP" 1>&6
6947 echo "$ac_t""no" 1>&6
6951 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6952 echo "configure:6953: checking "make for VPATH support
"" >&5
6953 cat - << EOF > confMake
6959 if test ! -d sub
; then
6962 echo dummy
> sub
/file
6963 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6965 rm -f sub
/file check final_file confMake
6967 if test "$RESULT" = 0; then
6968 echo "$ac_t""yes" 1>&6
6970 echo "$ac_t""no" 1>&6
6971 { echo "configure: error: You need a make-utility that is able to use the variable
6973 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6976 for ac_prog
in 'bison -y' byacc
6978 # Extract the first word of "$ac_prog", so it can be a program name with args.
6979 set dummy
$ac_prog; ac_word
=$2
6980 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6981 echo "configure:6982: checking for $ac_word" >&5
6982 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6983 echo $ac_n "(cached) $ac_c" 1>&6
6985 if test -n "$YACC"; then
6986 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6988 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6990 for ac_dir
in $ac_dummy; do
6991 test -z "$ac_dir" && ac_dir
=.
6992 if test -f $ac_dir/$ac_word; then
6993 ac_cv_prog_YACC
="$ac_prog"
7000 YACC
="$ac_cv_prog_YACC"
7001 if test -n "$YACC"; then
7002 echo "$ac_t""$YACC" 1>&6
7004 echo "$ac_t""no" 1>&6
7007 test -n "$YACC" && break
7009 test -n "$YACC" || YACC
="yacc"
7012 # Extract the first word of "flex", so it can be a program name with args.
7013 set dummy flex
; ac_word
=$2
7014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7015 echo "configure:7016: checking for $ac_word" >&5
7016 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
7017 echo $ac_n "(cached) $ac_c" 1>&6
7019 if test -n "$LEX"; then
7020 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
7022 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7024 for ac_dir
in $ac_dummy; do
7025 test -z "$ac_dir" && ac_dir
=.
7026 if test -f $ac_dir/$ac_word; then
7027 ac_cv_prog_LEX
="flex"
7032 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
7035 LEX
="$ac_cv_prog_LEX"
7036 if test -n "$LEX"; then
7037 echo "$ac_t""$LEX" 1>&6
7039 echo "$ac_t""no" 1>&6
7042 if test -z "$LEXLIB"
7048 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
7049 echo "configure:7050: checking for yywrap in -l$ac_lib" >&5
7050 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
7051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7052 echo $ac_n "(cached) $ac_c" 1>&6
7054 ac_save_LIBS
="$LIBS"
7055 LIBS
="-l$ac_lib $LIBS"
7056 cat > conftest.
$ac_ext <<EOF
7057 #line 7058 "configure"
7058 #include "confdefs.h"
7059 /* Override any gcc2 internal prototype to avoid an error. */
7060 /* We use char because int might match the return type of a gcc2
7061 builtin and then its argument prototype would still apply. */
7068 if { (eval echo configure
:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7070 eval "ac_cv_lib_$ac_lib_var=yes"
7072 echo "configure: failed program was:" >&5
7073 cat conftest.
$ac_ext >&5
7075 eval "ac_cv_lib_$ac_lib_var=no"
7078 LIBS
="$ac_save_LIBS"
7081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7082 echo "$ac_t""yes" 1>&6
7085 echo "$ac_t""no" 1>&6
7091 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7092 echo "configure:7093: checking whether ln -s works" >&5
7093 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7094 echo $ac_n "(cached) $ac_c" 1>&6
7097 if ln -s X conftestdata
2>/dev
/null
7100 ac_cv_prog_LN_S
="ln -s"
7105 LN_S
="$ac_cv_prog_LN_S"
7106 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7107 echo "$ac_t""yes" 1>&6
7109 echo "$ac_t""no" 1>&6
7115 /usr/local/include \
7117 /usr/Motif-1.2/include \
7118 /usr/Motif-2.1/include \
7120 /usr/include/Motif1.2 \
7121 /opt/xpm/include/X11 \
7122 /opt/GBxpm/include/ \
7123 /opt/GBxpm/X11/include/ \
7125 /usr/Motif1.2/include \
7127 /usr/openwin/include \
7131 /usr/X11R6/include \
7132 /usr/X11R6.4/include \
7133 /usr/X11R5/include \
7134 /usr/X11R4/include \
7136 /usr/include/X11R6 \
7137 /usr/include/X11R5 \
7138 /usr/include/X11R4 \
7140 /usr/local/X11R6/include \
7141 /usr/local/X11R5/include \
7142 /usr/local/X11R4/include \
7144 /usr/local/include/X11R6 \
7145 /usr/local/include/X11R5 \
7146 /usr/local/include/X11R4 \
7150 /usr/local/X11/include \
7151 /usr/local/include/X11 \
7155 /usr/XFree86/include/X11 \
7157 X:/XFree86/include \
7158 X:/XFree86/include/X11 \
7161 /usr/local/include/gtk \
7163 /usr/local/include/glib \
7166 /usr/local/include/qt \
7168 /usr/include/windows \
7170 /usr/local/include/wine \
7172 /usr/unsupported/include \
7173 /usr/athena/include \
7174 /usr/local/x11r5/include \
7175 /usr/lpp/Xamples/include \
7177 /usr/openwin/share/include \
7181 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7184 cat > confcache
<<\EOF
7185 # This file is a shell script that caches the results of configure
7186 # tests run on this system so they can be shared between configure
7187 # scripts and configure runs. It is not useful on other systems.
7188 # If it contains results you don't want to keep, you may remove or edit it.
7190 # By default, configure uses ./config.cache as the cache file,
7191 # creating it if it does not exist already. You can give configure
7192 # the --cache-file=FILE option to use a different cache file; that is
7193 # what configure does when it calls configure scripts in
7194 # subdirectories, so they share the cache.
7195 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7196 # config.status only pays attention to the cache file if you give it the
7197 # --recheck option to rerun configure.
7200 # The following way of writing the cache mishandles newlines in values,
7201 # but we know of no workaround that is simple, portable, and efficient.
7202 # So, don't put newlines in cache variables' values.
7203 # Ultrix sh set writes to stderr and can't be redirected directly,
7204 # and sets the high bit in the cache file unless we assign to the vars.
7206 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7208 # `set' does not quote correctly, so add quotes (double-quote substitution
7209 # turns \\\\ into \\, and sed turns \\ into \).
7211 -e "s/'/'\\\\''/g" \
7212 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7215 # `set' quotes correctly as required by POSIX, so do not add quotes.
7216 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7219 if cmp -s $cache_file confcache
; then
7222 if test -w $cache_file; then
7223 echo "updating cache $cache_file"
7224 cat confcache
> $cache_file
7226 echo "not updating unwritable cache $cache_file"
7235 if test "$wxUSE_GUI" = "yes"; then
7251 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7252 if test "$cross_compiling" = "yes" ; then
7253 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7255 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7256 echo "configure:7257: checking for Windows headers" >&5
7259 for ac_dir
in $SEARCH_INCLUDE;
7261 if test -f "$ac_dir/windows.h"; then
7262 ac_find_includes
=$ac_dir
7267 if test "$ac_find_includes" != "" ; then
7268 echo "$ac_t""found $ac_find_includes" 1>&6
7269 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7271 echo "$ac_t""no" 1>&6
7272 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7276 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7277 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7279 if test "$wxUSE_ODBC" = "yes" ; then
7280 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7283 if test "$wxUSE_MINGW" = 1; then
7284 LDFLAGS
="$LDFLAGS -mwindows"
7290 RCINCSWITCH
="--include-dir"
7291 RCDEFSWITCH
="--define"
7292 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7295 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7297 RESPROGRAM
="\$(RES_PROGRAM)"
7301 if test "$wxUSE_GTK" = 1; then
7302 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7303 if test "${with_gtk_prefix+set}" = set; then
7304 withval
="$with_gtk_prefix"
7305 gtk_config_prefix
="$withval"
7307 gtk_config_prefix
=""
7310 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7311 if test "${with_gtk_exec_prefix+set}" = set; then
7312 withval
="$with_gtk_exec_prefix"
7313 gtk_config_exec_prefix
="$withval"
7315 gtk_config_exec_prefix
=""
7318 # Check whether --enable-gtktest or --disable-gtktest was given.
7319 if test "${enable_gtktest+set}" = set; then
7320 enableval
="$enable_gtktest"
7327 for module
in . gthread
7331 gtk_config_args
="$gtk_config_args gthread"
7336 if test x
$gtk_config_exec_prefix != x
; then
7337 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7338 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7339 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7342 if test x
$gtk_config_prefix != x
; then
7343 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7344 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7345 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7349 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7350 set dummy gtk
-config-2.0
; ac_word
=$2
7351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7352 echo "configure:7353: checking for $ac_word" >&5
7353 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7354 echo $ac_n "(cached) $ac_c" 1>&6
7356 case "$GTK_CONFIG_2_0" in
7358 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7361 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7364 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7366 for ac_dir
in $ac_dummy; do
7367 test -z "$ac_dir" && ac_dir
=.
7368 if test -f $ac_dir/$ac_word; then
7369 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7374 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7378 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7379 if test -n "$GTK_CONFIG_2_0"; then
7380 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7382 echo "$ac_t""no" 1>&6
7385 min_gtk_version
=1.3.1
7386 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7387 echo "configure:7388: checking for GTK - version >= $min_gtk_version" >&5
7389 if test "$GTK_CONFIG_2_0" = "no" ; then
7392 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7393 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7394 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7396 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7398 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7400 if test "x$enable_gtktest" = "xyes" ; then
7401 ac_save_CFLAGS
="$CFLAGS"
7402 ac_save_LIBS
="$LIBS"
7403 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7404 LIBS
="$GTK_LIBS $LIBS"
7406 if test "$cross_compiling" = yes; then
7407 echo $ac_n "cross compiling; assumed OK... $ac_c"
7409 cat > conftest.
$ac_ext <<EOF
7410 #line 7411 "configure"
7411 #include "confdefs.h"
7413 #include <gtk/gtk.h>
7420 int major, minor, micro;
7423 system ("touch conf.gtktest");
7425 /* HP/UX 9 (%@#!) writes to sscanf strings */
7426 tmp_version = g_strdup("$min_gtk_version");
7427 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7428 printf("%s, bad version string\n", "$min_gtk_version");
7432 if ((gtk_major_version != $gtk_config_major_version) ||
7433 (gtk_minor_version != $gtk_config_minor_version) ||
7434 (gtk_micro_version != $gtk_config_micro_version))
7436 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7437 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7438 gtk_major_version, gtk_minor_version, gtk_micro_version);
7439 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7440 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7441 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7442 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7443 printf("*** required on your system.\n");
7444 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7445 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7446 printf("*** before re-running configure\n");
7448 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7449 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7450 (gtk_minor_version != GTK_MINOR_VERSION) ||
7451 (gtk_micro_version != GTK_MICRO_VERSION))
7453 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7454 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7455 printf("*** library (version %d.%d.%d)\n",
7456 gtk_major_version, gtk_minor_version, gtk_micro_version);
7458 #endif /* defined (GTK_MAJOR_VERSION) ... */
7461 if ((gtk_major_version > major) ||
7462 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7463 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7469 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7470 gtk_major_version, gtk_minor_version, gtk_micro_version);
7471 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7472 major, minor, micro);
7473 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7475 printf("*** If you have already installed a sufficiently new version, this error\n");
7476 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7477 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7478 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7479 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7480 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7481 printf("*** so that the correct libraries are found at run-time))\n");
7488 if { (eval echo configure
:7489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7492 echo "configure: failed program was:" >&5
7493 cat conftest.
$ac_ext >&5
7500 CFLAGS
="$ac_save_CFLAGS"
7501 LIBS
="$ac_save_LIBS"
7504 if test "x$no_gtk" = x
; then
7505 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7508 echo "$ac_t""no" 1>&6
7509 if test "$GTK_CONFIG_2_0" = "no" ; then
7510 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7511 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7512 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7513 echo "*** full path to gtk-config-2.0."
7515 if test -f conf.gtktest
; then
7518 echo "*** Could not run GTK test program, checking why..."
7519 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7520 LIBS
="$LIBS $GTK_LIBS"
7521 cat > conftest.
$ac_ext <<EOF
7522 #line 7523 "configure"
7523 #include "confdefs.h"
7525 #include <gtk/gtk.h>
7529 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7532 if { (eval echo configure
:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7534 echo "*** The test program compiled, but did not run. This usually means"
7535 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7536 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7537 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7538 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7539 echo "*** is required on your system"
7541 echo "*** If you have an old version installed, it is best to remove it, although"
7542 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7544 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7545 echo "*** came with the system with the command"
7547 echo "*** rpm --erase --nodeps gtk gtk-devel"
7549 echo "configure: failed program was:" >&5
7550 cat conftest.
$ac_ext >&5
7552 echo "*** The test program failed to compile or link. See the file config.log for the"
7553 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7554 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7555 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7558 CFLAGS
="$ac_save_CFLAGS"
7559 LIBS
="$ac_save_LIBS"
7566 if test x
$gtk_config_exec_prefix != x
; then
7567 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7568 if test x
${GTK_CONFIG+set} != xset
; then
7569 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7572 if test x
$gtk_config_prefix != x
; then
7573 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7574 if test x
${GTK_CONFIG+set} != xset
; then
7575 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7579 # Extract the first word of "gtk-config", so it can be a program name with args.
7580 set dummy gtk
-config; ac_word
=$2
7581 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7582 echo "configure:7583: checking for $ac_word" >&5
7583 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7584 echo $ac_n "(cached) $ac_c" 1>&6
7586 case "$GTK_CONFIG" in
7588 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7591 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7594 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7596 for ac_dir
in $ac_dummy; do
7597 test -z "$ac_dir" && ac_dir
=.
7598 if test -f $ac_dir/$ac_word; then
7599 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7604 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7608 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7609 if test -n "$GTK_CONFIG"; then
7610 echo "$ac_t""$GTK_CONFIG" 1>&6
7612 echo "$ac_t""no" 1>&6
7615 min_gtk_version
=1.2.7
7616 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7617 echo "configure:7618: checking for GTK - version >= $min_gtk_version" >&5
7619 if test "$GTK_CONFIG" != "no" ; then
7620 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7621 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7622 ac_save_CFLAGS
="$CFLAGS"
7623 ac_save_LIBS
="$LIBS"
7624 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7625 LIBS
="$LIBS $GTK_LIBS"
7626 if test "$cross_compiling" = yes; then
7627 echo $ac_n "cross compiling; assumed OK... $ac_c"
7629 cat > conftest.
$ac_ext <<EOF
7630 #line 7631 "configure"
7631 #include "confdefs.h"
7633 #include <gtk/gtk.h>
7634 #include <gtk/gtkfeatures.h>
7641 int major, minor, micro;
7643 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7644 printf("%s, bad version string\n", "$min_gtk_version");
7648 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7649 (GTK_MINOR_VERSION != gtk_minor_version) ||
7650 (GTK_MICRO_VERSION != gtk_micro_version)) {
7651 printf("Headers vs. library version mismatch!\n");
7655 if (gtk_minor_version == 1) return FALSE;
7657 return !((gtk_major_version > major) ||
7658 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7659 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7663 if { (eval echo configure
:7664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7667 echo "configure: failed program was:" >&5
7668 cat conftest.
$ac_ext >&5
7675 CFLAGS
="$ac_save_CFLAGS"
7676 LIBS
="$ac_save_LIBS"
7680 if test "x$no_gtk" = x
; then
7681 echo "$ac_t""yes" 1>&6
7684 echo "$ac_t""no" 1>&6
7693 if test x
$gtk_config_exec_prefix != x
; then
7694 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7695 if test x
${GTK_CONFIG+set} != xset
; then
7696 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7699 if test x
$gtk_config_prefix != x
; then
7700 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7701 if test x
${GTK_CONFIG+set} != xset
; then
7702 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7706 # Extract the first word of "gtk-config", so it can be a program name with args.
7707 set dummy gtk
-config; ac_word
=$2
7708 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7709 echo "configure:7710: checking for $ac_word" >&5
7710 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7711 echo $ac_n "(cached) $ac_c" 1>&6
7713 case "$GTK_CONFIG" in
7715 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7718 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7721 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7723 for ac_dir
in $ac_dummy; do
7724 test -z "$ac_dir" && ac_dir
=.
7725 if test -f $ac_dir/$ac_word; then
7726 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7731 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7735 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7736 if test -n "$GTK_CONFIG"; then
7737 echo "$ac_t""$GTK_CONFIG" 1>&6
7739 echo "$ac_t""no" 1>&6
7742 min_gtk_version
=1.2.3
7743 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7744 echo "configure:7745: checking for GTK - version >= $min_gtk_version" >&5
7746 if test "$GTK_CONFIG" != "no" ; then
7747 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7748 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7749 ac_save_CFLAGS
="$CFLAGS"
7750 ac_save_LIBS
="$LIBS"
7751 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7752 LIBS
="$LIBS $GTK_LIBS"
7753 if test "$cross_compiling" = yes; then
7754 echo $ac_n "cross compiling; assumed OK... $ac_c"
7756 cat > conftest.
$ac_ext <<EOF
7757 #line 7758 "configure"
7758 #include "confdefs.h"
7760 #include <gtk/gtk.h>
7761 #include <gtk/gtkfeatures.h>
7768 int major, minor, micro;
7770 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7771 printf("%s, bad version string\n", "$min_gtk_version");
7775 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7776 (GTK_MINOR_VERSION != gtk_minor_version) ||
7777 (GTK_MICRO_VERSION != gtk_micro_version)) {
7778 printf("Headers vs. library version mismatch!\n");
7782 if (gtk_minor_version == 1) return FALSE;
7784 return !((gtk_major_version > major) ||
7785 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7786 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7790 if { (eval echo configure
:7791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7794 echo "configure: failed program was:" >&5
7795 cat conftest.
$ac_ext >&5
7802 CFLAGS
="$ac_save_CFLAGS"
7803 LIBS
="$ac_save_LIBS"
7807 if test "x$no_gtk" = x
; then
7808 echo "$ac_t""yes" 1>&6
7811 echo "$ac_t""no" 1>&6
7826 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7827 { echo "configure: error:
7828 Please check that gtk-config is in path, the directory
7829 where GTK+ libraries are installed (returned by
7830 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7831 equivalent variable and GTK+ is version 1.2.3 or above.
7835 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7838 GUI_TK_LIBRARY
="$GTK_LIBS"
7841 AFMINSTALL
=afminstall
7845 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7846 echo "configure:7847: checking for gdk_im_open in -lgdk" >&5
7847 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7849 echo $ac_n "(cached) $ac_c" 1>&6
7851 ac_save_LIBS
="$LIBS"
7853 cat > conftest.
$ac_ext <<EOF
7854 #line 7855 "configure"
7855 #include "confdefs.h"
7856 /* Override any gcc2 internal prototype to avoid an error. */
7857 /* We use char because int might match the return type of a gcc2
7858 builtin and then its argument prototype would still apply. */
7865 if { (eval echo configure
:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7867 eval "ac_cv_lib_$ac_lib_var=yes"
7869 echo "configure: failed program was:" >&5
7870 cat conftest.
$ac_ext >&5
7872 eval "ac_cv_lib_$ac_lib_var=no"
7875 LIBS
="$ac_save_LIBS"
7878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7879 echo "$ac_t""yes" 1>&6
7880 cat >> confdefs.h
<<\EOF
7885 echo "$ac_t""no" 1>&6
7890 if test "$wxUSE_WINE" = 1; then
7891 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7892 echo "configure:7893: checking for WINE includes" >&5
7895 for ac_dir
in $SEARCH_INCLUDE;
7897 if test -f "$ac_dir/windows.h"; then
7898 ac_find_includes
=$ac_dir
7903 if test "$ac_find_includes" != "" ; then
7904 echo "$ac_t""found $ac_find_includes" 1>&6
7905 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7907 echo "$ac_t""no" 1>&6
7908 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7912 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7913 echo "configure:7914: checking for Xpm library" >&5
7916 for ac_dir
in $SEARCH_LIB;
7918 for ac_extension
in a so sl
; do
7919 if test -f "$ac_dir/libXpm.$ac_extension"; then
7920 ac_find_libraries
=$ac_dir
7926 if test "$ac_find_libraries" != "" ; then
7927 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7929 cat >> confdefs.h
<<\EOF
7930 #define wxHAVE_LIB_XPM 1
7933 echo "$ac_t""found at $ac_find_libraries" 1>&6
7935 echo "$ac_t""no" 1>&6
7936 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7940 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7941 echo "configure:7942: checking for Mesa library" >&5
7944 for ac_dir
in $SEARCH_LIB;
7946 for ac_extension
in a so sl
; do
7947 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7948 ac_find_libraries
=$ac_dir
7954 if test "$ac_find_libraries" != "" ; then
7955 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7956 MESA_LINK
="-lMesaGL"
7957 echo "$ac_t""found at $ac_find_libraries" 1>&6
7959 { echo "configure: error: no" 1>&2; exit 1; }
7962 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7963 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7970 # If we find X, set shell vars x_includes and x_libraries to the
7971 # paths, otherwise set no_x=yes.
7972 # Uses ac_ vars as temps to allow command line to override cache and checks.
7973 # --without-x overrides everything else, but does not touch the cache.
7974 echo $ac_n "checking for X""... $ac_c" 1>&6
7975 echo "configure:7976: checking for X" >&5
7977 # Check whether --with-x or --without-x was given.
7978 if test "${with_x+set}" = set; then
7983 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7984 if test "x$with_x" = xno
; then
7985 # The user explicitly disabled X.
7988 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7989 # Both variables are already set.
7992 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7993 echo $ac_n "(cached) $ac_c" 1>&6
7995 # One or both of the vars are not set, and there is no cached value.
7996 ac_x_includes
=NO ac_x_libraries
=NO
7998 if mkdir conftestdir
; then
8000 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8001 cat > Imakefile
<<'EOF'
8003 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8005 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8007 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8008 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8009 for ac_extension
in a so sl
; do
8010 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8011 test -f $ac_im_libdir/libX11.
$ac_extension; then
8012 ac_im_usrlibdir
=$ac_im_libdir; break
8015 # Screen out bogus values from the imake configuration. They are
8016 # bogus both because they are the default anyway, and because
8017 # using them would break gcc on systems where it needs fixed includes.
8018 case "$ac_im_incroot" in
8020 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
8022 case "$ac_im_usrlibdir" in
8024 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
8031 if test "$ac_x_includes" = NO
; then
8032 # Guess where to find include files, by looking for this one X11 .h file.
8033 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
8035 # First, try using that file with no special directory specified.
8036 cat > conftest.
$ac_ext <<EOF
8037 #line 8038 "configure"
8038 #include "confdefs.h"
8039 #include <$x_direct_test_include>
8041 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8042 { (eval echo configure
:8043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8043 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8044 if test -z "$ac_err"; then
8046 # We can compile using X headers with no special include directory.
8050 echo "configure: failed program was:" >&5
8051 cat conftest.
$ac_ext >&5
8053 # Look for the header file in a standard set of common directories.
8054 # Check X11 before X11Rn because it is often a symlink to the current release.
8057 /usr
/X
11R
6/include \
8058 /usr
/X
11R
5/include \
8059 /usr
/X
11R
4/include \
8062 /usr
/include
/X11R6 \
8063 /usr
/include
/X11R5 \
8064 /usr
/include
/X11R4 \
8066 /usr
/local
/X
11/include \
8067 /usr
/local
/X
11R
6/include \
8068 /usr
/local
/X
11R
5/include \
8069 /usr
/local
/X
11R
4/include \
8071 /usr
/local
/include
/X11 \
8072 /usr
/local
/include
/X11R6 \
8073 /usr
/local
/include
/X11R5 \
8074 /usr
/local
/include
/X11R4 \
8078 /usr
/XFree
86/include
/X11 \
8081 /usr
/local
/include \
8082 /usr
/unsupported
/include \
8083 /usr
/athena
/include \
8084 /usr
/local
/x
11r
5/include \
8085 /usr
/lpp
/Xamples
/include \
8087 /usr
/openwin
/include \
8088 /usr
/openwin
/share
/include \
8091 if test -r "$ac_dir/$x_direct_test_include"; then
8092 ac_x_includes
=$ac_dir
8098 fi # $ac_x_includes = NO
8100 if test "$ac_x_libraries" = NO
; then
8101 # Check for the libraries.
8103 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8104 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8106 # See if we find them without any special options.
8107 # Don't add to $LIBS permanently.
8108 ac_save_LIBS
="$LIBS"
8109 LIBS
="-l$x_direct_test_library $LIBS"
8110 cat > conftest.
$ac_ext <<EOF
8111 #line 8112 "configure"
8112 #include "confdefs.h"
8115 ${x_direct_test_function}()
8118 if { (eval echo configure
:8119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8120 LIBS
="$ac_save_LIBS"
8121 # We can link X programs with no special library path.
8124 echo "configure: failed program was:" >&5
8125 cat conftest.
$ac_ext >&5
8127 LIBS
="$ac_save_LIBS"
8128 # First see if replacing the include by lib works.
8129 # Check X11 before X11Rn because it is often a symlink to the current release.
8130 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8141 /usr
/local
/X
11/lib \
8142 /usr
/local
/X
11R
6/lib \
8143 /usr
/local
/X
11R
5/lib \
8144 /usr
/local
/X
11R
4/lib \
8146 /usr
/local
/lib
/X11 \
8147 /usr
/local
/lib
/X11R6 \
8148 /usr
/local
/lib
/X11R5 \
8149 /usr
/local
/lib
/X11R4 \
8153 /usr
/XFree
86/lib
/X11 \
8157 /usr
/unsupported
/lib \
8159 /usr
/local
/x
11r
5/lib \
8160 /usr
/lpp
/Xamples
/lib \
8164 /usr
/openwin
/share
/lib \
8167 for ac_extension
in a so sl
; do
8168 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8169 ac_x_libraries
=$ac_dir
8176 fi # $ac_x_libraries = NO
8178 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8179 # Didn't find X anywhere. Cache the known absence of X.
8180 ac_cv_have_x
="have_x=no"
8182 # Record where we found X for the cache.
8183 ac_cv_have_x
="have_x=yes \
8184 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8188 eval "$ac_cv_have_x"
8191 if test "$have_x" != yes; then
8192 echo "$ac_t""$have_x" 1>&6
8195 # If each of the values was on the command line, it overrides each guess.
8196 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8197 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8198 # Update the cache value to reflect the command line values.
8199 ac_cv_have_x
="have_x=yes \
8200 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8201 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8204 if test "$no_x" = yes; then
8205 # Not all programs may use this symbol, but it does not hurt to define it.
8206 cat >> confdefs.h
<<\EOF
8207 #define X_DISPLAY_MISSING 1
8210 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8212 if test -n "$x_includes"; then
8213 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8216 # It would also be nice to do this for all -L options, not just this one.
8217 if test -n "$x_libraries"; then
8218 X_LIBS
="$X_LIBS -L$x_libraries"
8219 # For Solaris; some versions of Sun CC require a space after -R and
8220 # others require no space. Words are not sufficient . . . .
8221 case "`(uname -sr) 2>/dev/null`" in
8223 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8224 echo "configure:8225: checking whether -R must be followed by a space" >&5
8225 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8226 cat > conftest.
$ac_ext <<EOF
8227 #line 8228 "configure"
8228 #include "confdefs.h"
8234 if { (eval echo configure
:8235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8238 echo "configure: failed program was:" >&5
8239 cat conftest.
$ac_ext >&5
8244 if test $ac_R_nospace = yes; then
8245 echo "$ac_t""no" 1>&6
8246 X_LIBS
="$X_LIBS -R$x_libraries"
8248 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8249 cat > conftest.
$ac_ext <<EOF
8250 #line 8251 "configure"
8251 #include "confdefs.h"
8257 if { (eval echo configure
:8258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8261 echo "configure: failed program was:" >&5
8262 cat conftest.
$ac_ext >&5
8267 if test $ac_R_space = yes; then
8268 echo "$ac_t""yes" 1>&6
8269 X_LIBS
="$X_LIBS -R $x_libraries"
8271 echo "$ac_t""neither works" 1>&6
8274 LIBS
="$ac_xsave_LIBS"
8278 # Check for system-dependent libraries X programs must link with.
8279 # Do this before checking for the system-independent R6 libraries
8280 # (-lICE), since we may need -lsocket or whatever for X linking.
8282 if test "$ISC" = yes; then
8283 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8285 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8286 # libraries were built with DECnet support. And karl@cs.umb.edu says
8287 # the Alpha needs dnet_stub (dnet does not exist).
8288 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8289 echo "configure:8290: checking for dnet_ntoa in -ldnet" >&5
8290 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8292 echo $ac_n "(cached) $ac_c" 1>&6
8294 ac_save_LIBS
="$LIBS"
8296 cat > conftest.
$ac_ext <<EOF
8297 #line 8298 "configure"
8298 #include "confdefs.h"
8299 /* Override any gcc2 internal prototype to avoid an error. */
8300 /* We use char because int might match the return type of a gcc2
8301 builtin and then its argument prototype would still apply. */
8308 if { (eval echo configure
:8309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8310 eval "ac_cv_lib_$ac_lib_var=yes"
8312 echo "configure: failed program was:" >&5
8313 cat conftest.
$ac_ext >&5
8315 eval "ac_cv_lib_$ac_lib_var=no"
8318 LIBS
="$ac_save_LIBS"
8321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8322 echo "$ac_t""yes" 1>&6
8323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8325 echo "$ac_t""no" 1>&6
8328 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8329 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8330 echo "configure:8331: checking for dnet_ntoa in -ldnet_stub" >&5
8331 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8333 echo $ac_n "(cached) $ac_c" 1>&6
8335 ac_save_LIBS
="$LIBS"
8336 LIBS
="-ldnet_stub $LIBS"
8337 cat > conftest.
$ac_ext <<EOF
8338 #line 8339 "configure"
8339 #include "confdefs.h"
8340 /* Override any gcc2 internal prototype to avoid an error. */
8341 /* We use char because int might match the return type of a gcc2
8342 builtin and then its argument prototype would still apply. */
8349 if { (eval echo configure
:8350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8351 eval "ac_cv_lib_$ac_lib_var=yes"
8353 echo "configure: failed program was:" >&5
8354 cat conftest.
$ac_ext >&5
8356 eval "ac_cv_lib_$ac_lib_var=no"
8359 LIBS
="$ac_save_LIBS"
8362 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8363 echo "$ac_t""yes" 1>&6
8364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8366 echo "$ac_t""no" 1>&6
8371 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8372 # to get the SysV transport functions.
8373 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8375 # The nsl library prevents programs from opening the X display
8376 # on Irix 5.2, according to dickey@clark.net.
8377 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8378 echo "configure:8379: checking for gethostbyname" >&5
8379 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8380 echo $ac_n "(cached) $ac_c" 1>&6
8382 cat > conftest.
$ac_ext <<EOF
8383 #line 8384 "configure"
8384 #include "confdefs.h"
8385 /* System header to define __stub macros and hopefully few prototypes,
8386 which can conflict with char gethostbyname(); below. */
8388 /* Override any gcc2 internal prototype to avoid an error. */
8389 /* We use char because int might match the return type of a gcc2
8390 builtin and then its argument prototype would still apply. */
8391 char gethostbyname();
8395 /* The GNU C library defines this for functions which it implements
8396 to always fail with ENOSYS. Some functions are actually named
8397 something starting with __ and the normal name is an alias. */
8398 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8406 if { (eval echo configure
:8407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8408 eval "ac_cv_func_gethostbyname=yes"
8410 echo "configure: failed program was:" >&5
8411 cat conftest.
$ac_ext >&5
8413 eval "ac_cv_func_gethostbyname=no"
8418 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8419 echo "$ac_t""yes" 1>&6
8422 echo "$ac_t""no" 1>&6
8425 if test $ac_cv_func_gethostbyname = no
; then
8426 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8427 echo "configure:8428: checking for gethostbyname in -lnsl" >&5
8428 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8429 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8430 echo $ac_n "(cached) $ac_c" 1>&6
8432 ac_save_LIBS
="$LIBS"
8434 cat > conftest.
$ac_ext <<EOF
8435 #line 8436 "configure"
8436 #include "confdefs.h"
8437 /* Override any gcc2 internal prototype to avoid an error. */
8438 /* We use char because int might match the return type of a gcc2
8439 builtin and then its argument prototype would still apply. */
8440 char gethostbyname();
8446 if { (eval echo configure
:8447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8448 eval "ac_cv_lib_$ac_lib_var=yes"
8450 echo "configure: failed program was:" >&5
8451 cat conftest.
$ac_ext >&5
8453 eval "ac_cv_lib_$ac_lib_var=no"
8456 LIBS
="$ac_save_LIBS"
8459 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8460 echo "$ac_t""yes" 1>&6
8461 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8463 echo "$ac_t""no" 1>&6
8468 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8469 # socket/setsockopt and other routines are undefined under SCO ODT
8470 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8471 # on later versions), says simon@lia.di.epfl.ch: it contains
8472 # gethostby* variants that don't use the nameserver (or something).
8473 # -lsocket must be given before -lnsl if both are needed.
8474 # We assume that if connect needs -lnsl, so does gethostbyname.
8475 echo $ac_n "checking for connect""... $ac_c" 1>&6
8476 echo "configure:8477: checking for connect" >&5
8477 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8478 echo $ac_n "(cached) $ac_c" 1>&6
8480 cat > conftest.
$ac_ext <<EOF
8481 #line 8482 "configure"
8482 #include "confdefs.h"
8483 /* System header to define __stub macros and hopefully few prototypes,
8484 which can conflict with char connect(); below. */
8486 /* Override any gcc2 internal prototype to avoid an error. */
8487 /* We use char because int might match the return type of a gcc2
8488 builtin and then its argument prototype would still apply. */
8493 /* The GNU C library defines this for functions which it implements
8494 to always fail with ENOSYS. Some functions are actually named
8495 something starting with __ and the normal name is an alias. */
8496 #if defined (__stub_connect) || defined (__stub___connect)
8504 if { (eval echo configure
:8505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8506 eval "ac_cv_func_connect=yes"
8508 echo "configure: failed program was:" >&5
8509 cat conftest.
$ac_ext >&5
8511 eval "ac_cv_func_connect=no"
8516 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8517 echo "$ac_t""yes" 1>&6
8520 echo "$ac_t""no" 1>&6
8523 if test $ac_cv_func_connect = no
; then
8524 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8525 echo "configure:8526: checking for connect in -lsocket" >&5
8526 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8530 ac_save_LIBS
="$LIBS"
8531 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8532 cat > conftest.
$ac_ext <<EOF
8533 #line 8534 "configure"
8534 #include "confdefs.h"
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 /* We use char because int might match the return type of a gcc2
8537 builtin and then its argument prototype would still apply. */
8544 if { (eval echo configure
:8545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8546 eval "ac_cv_lib_$ac_lib_var=yes"
8548 echo "configure: failed program was:" >&5
8549 cat conftest.
$ac_ext >&5
8551 eval "ac_cv_lib_$ac_lib_var=no"
8554 LIBS
="$ac_save_LIBS"
8557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8558 echo "$ac_t""yes" 1>&6
8559 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8561 echo "$ac_t""no" 1>&6
8566 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8567 echo $ac_n "checking for remove""... $ac_c" 1>&6
8568 echo "configure:8569: checking for remove" >&5
8569 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8570 echo $ac_n "(cached) $ac_c" 1>&6
8572 cat > conftest.
$ac_ext <<EOF
8573 #line 8574 "configure"
8574 #include "confdefs.h"
8575 /* System header to define __stub macros and hopefully few prototypes,
8576 which can conflict with char remove(); below. */
8578 /* Override any gcc2 internal prototype to avoid an error. */
8579 /* We use char because int might match the return type of a gcc2
8580 builtin and then its argument prototype would still apply. */
8585 /* The GNU C library defines this for functions which it implements
8586 to always fail with ENOSYS. Some functions are actually named
8587 something starting with __ and the normal name is an alias. */
8588 #if defined (__stub_remove) || defined (__stub___remove)
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_func_remove=yes"
8600 echo "configure: failed program was:" >&5
8601 cat conftest.
$ac_ext >&5
8603 eval "ac_cv_func_remove=no"
8608 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8609 echo "$ac_t""yes" 1>&6
8612 echo "$ac_t""no" 1>&6
8615 if test $ac_cv_func_remove = no
; then
8616 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8617 echo "configure:8618: checking for remove in -lposix" >&5
8618 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8619 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8620 echo $ac_n "(cached) $ac_c" 1>&6
8622 ac_save_LIBS
="$LIBS"
8623 LIBS
="-lposix $LIBS"
8624 cat > conftest.
$ac_ext <<EOF
8625 #line 8626 "configure"
8626 #include "confdefs.h"
8627 /* Override any gcc2 internal prototype to avoid an error. */
8628 /* We use char because int might match the return type of a gcc2
8629 builtin and then its argument prototype would still apply. */
8636 if { (eval echo configure
:8637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8638 eval "ac_cv_lib_$ac_lib_var=yes"
8640 echo "configure: failed program was:" >&5
8641 cat conftest.
$ac_ext >&5
8643 eval "ac_cv_lib_$ac_lib_var=no"
8646 LIBS
="$ac_save_LIBS"
8649 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8650 echo "$ac_t""yes" 1>&6
8651 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8653 echo "$ac_t""no" 1>&6
8658 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8659 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8660 echo "configure:8661: checking for shmat" >&5
8661 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8662 echo $ac_n "(cached) $ac_c" 1>&6
8664 cat > conftest.
$ac_ext <<EOF
8665 #line 8666 "configure"
8666 #include "confdefs.h"
8667 /* System header to define __stub macros and hopefully few prototypes,
8668 which can conflict with char shmat(); below. */
8670 /* Override any gcc2 internal prototype to avoid an error. */
8671 /* We use char because int might match the return type of a gcc2
8672 builtin and then its argument prototype would still apply. */
8677 /* The GNU C library defines this for functions which it implements
8678 to always fail with ENOSYS. Some functions are actually named
8679 something starting with __ and the normal name is an alias. */
8680 #if defined (__stub_shmat) || defined (__stub___shmat)
8688 if { (eval echo configure
:8689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8690 eval "ac_cv_func_shmat=yes"
8692 echo "configure: failed program was:" >&5
8693 cat conftest.
$ac_ext >&5
8695 eval "ac_cv_func_shmat=no"
8700 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8701 echo "$ac_t""yes" 1>&6
8704 echo "$ac_t""no" 1>&6
8707 if test $ac_cv_func_shmat = no
; then
8708 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8709 echo "configure:8710: checking for shmat in -lipc" >&5
8710 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8711 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8712 echo $ac_n "(cached) $ac_c" 1>&6
8714 ac_save_LIBS
="$LIBS"
8716 cat > conftest.
$ac_ext <<EOF
8717 #line 8718 "configure"
8718 #include "confdefs.h"
8719 /* Override any gcc2 internal prototype to avoid an error. */
8720 /* We use char because int might match the return type of a gcc2
8721 builtin and then its argument prototype would still apply. */
8728 if { (eval echo configure
:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8730 eval "ac_cv_lib_$ac_lib_var=yes"
8732 echo "configure: failed program was:" >&5
8733 cat conftest.
$ac_ext >&5
8735 eval "ac_cv_lib_$ac_lib_var=no"
8738 LIBS
="$ac_save_LIBS"
8741 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8742 echo "$ac_t""yes" 1>&6
8743 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8745 echo "$ac_t""no" 1>&6
8751 # Check for libraries that X11R6 Xt/Xaw programs need.
8752 ac_save_LDFLAGS
="$LDFLAGS"
8753 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8754 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8755 # check for ICE first), but we must link in the order -lSM -lICE or
8756 # we get undefined symbols. So assume we have SM if we have ICE.
8757 # These have to be linked with before -lX11, unlike the other
8758 # libraries we check for below, so use a different variable.
8759 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8760 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8761 echo "configure:8762: checking for IceConnectionNumber in -lICE" >&5
8762 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8763 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8764 echo $ac_n "(cached) $ac_c" 1>&6
8766 ac_save_LIBS
="$LIBS"
8767 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8768 cat > conftest.
$ac_ext <<EOF
8769 #line 8770 "configure"
8770 #include "confdefs.h"
8771 /* Override any gcc2 internal prototype to avoid an error. */
8772 /* We use char because int might match the return type of a gcc2
8773 builtin and then its argument prototype would still apply. */
8774 char IceConnectionNumber();
8777 IceConnectionNumber()
8780 if { (eval echo configure
:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8782 eval "ac_cv_lib_$ac_lib_var=yes"
8784 echo "configure: failed program was:" >&5
8785 cat conftest.
$ac_ext >&5
8787 eval "ac_cv_lib_$ac_lib_var=no"
8790 LIBS
="$ac_save_LIBS"
8793 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8794 echo "$ac_t""yes" 1>&6
8795 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8797 echo "$ac_t""no" 1>&6
8800 LDFLAGS
="$ac_save_LDFLAGS"
8804 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8805 LDFLAGS
="$LDFLAGS $X_LIBS"
8807 if test "$wxUSE_MOTIF" = 1; then
8808 if test "$no_x" = "yes"; then
8809 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8812 GUI_TK_LIBRARY
="$X_LIBS"
8813 TOOLKIT_INCLUDE
="$X_CFLAGS"
8815 AFMINSTALL
=afminstall
8818 COMPILED_X_PROGRAM
=0
8820 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8821 echo "configure:8822: checking for Motif/Lesstif headers" >&5
8824 for ac_dir
in $SEARCH_INCLUDE;
8826 if test -f "$ac_dir/Xm/Xm.h"; then
8827 ac_find_includes
=$ac_dir
8832 if test "$ac_find_includes" != "" ; then
8833 echo "$ac_t""found $ac_find_includes" 1>&6
8835 cat > conftest.
$ac_ext <<EOF
8836 #line 8837 "configure"
8837 #include "confdefs.h"
8845 version = xmUseVersion;
8849 if { (eval echo configure
:8850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8852 echo "$ac_t""found in default search path" 1>&6
8853 COMPILED_X_PROGRAM
=1
8856 echo "configure: failed program was:" >&5
8857 cat conftest.
$ac_ext >&5
8860 echo "$ac_t""no" 1>&6
8861 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8868 if test "$COMPILED_X_PROGRAM" = 0; then
8869 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8870 echo "configure:8871: checking for Motif/Lesstif library" >&5
8873 for ac_dir
in $SEARCH_LIB;
8875 for ac_extension
in a so sl
; do
8876 if test -f "$ac_dir/libXm.$ac_extension"; then
8877 ac_find_libraries
=$ac_dir
8883 if test "$ac_find_libraries" != "" ; then
8885 ac_path_to_include
=$ac_find_includes
8886 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8888 if test $result = 0; then
8889 ac_path_to_include
=""
8891 ac_path_to_include
="-I$ac_find_includes"
8895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8897 if test $result = 0; then
8900 ac_path_to_link
="-L$ac_find_libraries"
8904 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8905 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8906 echo "$ac_t""found at $ac_find_libraries" 1>&6
8908 cat > conftest.
$ac_ext <<EOF
8909 #line 8910 "configure"
8910 #include "confdefs.h"
8918 version = xmUseVersion;
8922 if { (eval echo configure
:8923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8925 echo "$ac_t""found in default search path" 1>&6
8926 COMPILED_X_PROGRAM
=1
8929 echo "configure: failed program was:" >&5
8930 cat conftest.
$ac_ext >&5
8933 echo "$ac_t""no" 1>&6
8934 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8944 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8945 echo "configure:8946: checking for Xpm library" >&5
8948 for ac_dir
in $SEARCH_LIB;
8950 for ac_extension
in a so sl
; do
8951 if test -f "$ac_dir/libXpm.$ac_extension"; then
8952 ac_find_libraries
=$ac_dir
8958 if test "$ac_find_libraries" != "" ; then
8960 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8962 if test $result = 0; then
8965 ac_path_to_link
="-L$ac_find_libraries"
8968 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8970 cat >> confdefs.h
<<\EOF
8971 #define wxHAVE_LIB_XPM 1
8974 echo "$ac_t""found at $ac_find_libraries" 1>&6
8976 cat > conftest.
$ac_ext <<EOF
8977 #line 8978 "configure"
8978 #include "confdefs.h"
8980 #include <X11/xpm.h>
8986 version = XpmLibraryVersion();
8990 if { (eval echo configure
:8991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8994 cat >> confdefs.h
<<\EOF
8995 #define wxHAVE_LIB_XPM 1
8998 echo "$ac_t""found in default search path" 1>&6
8999 COMPILED_X_PROGRAM
=0
9002 echo "configure: failed program was:" >&5
9003 cat conftest.
$ac_ext >&5
9006 echo "$ac_t""no" 1>&6
9007 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9014 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
9015 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9020 if test "$wxUSE_MAC" = 1; then
9025 if test "$wxUSE_PM" = 1; then
9030 if test "$TOOLKIT" != "PM" ; then
9031 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9036 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9037 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9039 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9042 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9044 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9046 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9048 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
9049 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9052 if test "$wxUSE_LIBJPEG" = "yes" ; then
9053 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9055 if test "$wxUSE_LIBTIFF" = "yes" ; then
9056 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9058 if test "$wxUSE_LIBPNG" = "yes" ; then
9059 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9061 if test "$wxUSE_ZLIB" = "yes" ; then
9062 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9064 if test "$wxUSE_FREETYPE" = "yes" ; then
9065 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9067 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9069 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9070 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9071 RPM_SPEC
="wx\$(TOOLKIT).spec"
9073 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9074 DISTDIR
="wx\$(TOOLKIT)"
9080 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9081 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9083 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9086 TOOLKIT_DEF
="-D__WXBASE__"
9088 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
9089 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
9091 if test "$wxUSE_ZLIB" = "yes" ; then
9092 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9095 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9097 PORT_FILES
="src/files.lst"
9098 RPM_FILES
="src/rpmfiles.lst"
9099 RPM_SPEC
="wxBase.spec"
9105 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9106 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9108 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9109 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9111 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9112 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9114 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9115 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9116 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9117 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9118 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9119 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9126 WX_TARGET_LIBRARY_SONAME
=
9129 if test "$wxUSE_SHARED" = "yes"; then
9132 if test "$GCC" = yes ; then
9133 SHARED_LD
="${CC} -shared -fPIC -o"
9136 LDFLAGS
="-L/usr/lib"
9138 SHARED_LD
="${CXX} -b -o"
9141 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9142 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9143 if test "$wxUSE_OPENGL" = "yes"; then
9144 WX_ALL_INSTALLED
="preinstall_gl"
9145 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9147 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9152 SHARED_LD
="${CC} -shared -o"
9154 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9155 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9156 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9157 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9159 if test "$wxUSE_OPENGL" = "yes"; then
9160 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9161 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9163 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9164 WX_ALL
="CREATE_LINKS"
9167 *-*-irix5* | *-*-irix6* )
9168 if test "$GCC" = yes ; then
9169 SHARED_LD
="${CC} -shared -o"
9172 SHARED_LD
="${CXX} -shared -o"
9174 if test "$wxUSE_OPENGL" = "yes"; then
9175 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9176 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9178 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9179 WX_ALL
="CREATE_LINKS"
9183 if test "$GCC" = yes ; then
9184 SHARED_LD
="${CC} -shared -o"
9187 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9189 SHARED_LD
="${CXX} -G -o"
9192 if test "$wxUSE_OPENGL" = "yes"; then
9193 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9194 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9196 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9197 WX_ALL
="CREATE_LINKS"
9201 SHARED_LD
="${CC} -shared -o"
9203 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9204 WX_ALL
="CREATE_LINKS"
9206 *-*-freebsd* | *-*-netbsd* )
9207 SHARED_LD
="${CC} -shared -o"
9209 if test "$wxUSE_OPENGL" = "yes"; then
9210 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9211 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9213 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9214 WX_ALL
="CREATE_LINKS"
9218 SHARED_LD
="${CXX} -dynamic -dylib -o"
9220 if test "$wxUSE_OPENGL" = "yes"; then
9221 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9222 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9224 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9225 WX_ALL
="CREATE_LINKS"
9227 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.dylib"
9228 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.dylib"
9229 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.${WX_CURRENT}.dylib"
9230 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
9231 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
9232 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.${WX_CURRENT}.dylib"
9233 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
9234 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
9237 SHARED_LD
="${CXX} -shared -o"
9239 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9240 WX_ALL
="CREATE_LINKS"
9243 SHARED_LD
="${CXX} -shared -o"
9245 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9246 WX_ALL
="CREATE_LINKS"
9249 SHARED_LD
="${CC} -shared -o"
9251 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9252 WX_ALL
="CREATE_LINKS"
9255 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9256 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9259 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9260 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9261 if test "$wxUSE_OPENGL" = "yes"; then
9262 WX_ALL_INSTALLED
="preinstall_gl"
9263 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9265 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9269 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9270 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9271 if test "$wxUSE_OPENGL" = "yes"; then
9272 WX_ALL_INSTALLED
="preinstall_gl"
9273 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9275 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9279 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9280 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9283 SHARED_LD
="${LD} -shared -o"
9285 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9286 WX_ALL
="CREATE_LINKS"
9289 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9292 if test "x$WX_TARGET_LIBRARY" = "x"; then
9293 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9294 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9296 WX_TARGET_LIBRARY_TYPE
="so"
9298 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9299 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9301 if test "$wxUSE_OPENGL" = "yes"; then
9302 WX_ALL_INSTALLED
="preinstall_gl"
9303 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9305 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9308 if test "$wxUSE_GUI" = "no"; then
9309 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9312 WX_TARGET_LIBRARY_TYPE
="a"
9316 for ac_hdr
in strings.h
9318 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9319 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9320 echo "configure:9321: checking for $ac_hdr" >&5
9321 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9322 echo $ac_n "(cached) $ac_c" 1>&6
9324 cat > conftest.
$ac_ext <<EOF
9325 #line 9326 "configure"
9326 #include "confdefs.h"
9329 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9330 { (eval echo configure
:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9331 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9332 if test -z "$ac_err"; then
9334 eval "ac_cv_header_$ac_safe=yes"
9337 echo "configure: failed program was:" >&5
9338 cat conftest.
$ac_ext >&5
9340 eval "ac_cv_header_$ac_safe=no"
9344 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9345 echo "$ac_t""yes" 1>&6
9346 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9347 cat >> confdefs.h
<<EOF
9348 #define $ac_tr_hdr 1
9352 echo "$ac_t""no" 1>&6
9356 for ac_hdr
in unistd.h
9358 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9360 echo "configure:9361: checking for $ac_hdr" >&5
9361 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9362 echo $ac_n "(cached) $ac_c" 1>&6
9364 cat > conftest.
$ac_ext <<EOF
9365 #line 9366 "configure"
9366 #include "confdefs.h"
9369 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9370 { (eval echo configure
:9371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9371 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9372 if test -z "$ac_err"; then
9374 eval "ac_cv_header_$ac_safe=yes"
9377 echo "configure: failed program was:" >&5
9378 cat conftest.
$ac_ext >&5
9380 eval "ac_cv_header_$ac_safe=no"
9384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9385 echo "$ac_t""yes" 1>&6
9386 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9387 cat >> confdefs.h
<<EOF
9388 #define $ac_tr_hdr 1
9392 echo "$ac_t""no" 1>&6
9396 for ac_hdr
in fcntl.h
9398 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9399 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9400 echo "configure:9401: checking for $ac_hdr" >&5
9401 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9402 echo $ac_n "(cached) $ac_c" 1>&6
9404 cat > conftest.
$ac_ext <<EOF
9405 #line 9406 "configure"
9406 #include "confdefs.h"
9409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9410 { (eval echo configure
:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9411 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9412 if test -z "$ac_err"; then
9414 eval "ac_cv_header_$ac_safe=yes"
9417 echo "configure: failed program was:" >&5
9418 cat conftest.
$ac_ext >&5
9420 eval "ac_cv_header_$ac_safe=no"
9424 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9425 echo "$ac_t""yes" 1>&6
9426 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9427 cat >> confdefs.h
<<EOF
9428 #define $ac_tr_hdr 1
9432 echo "$ac_t""no" 1>&6
9436 for ac_hdr
in wchar.h
9438 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9439 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9440 echo "configure:9441: checking for $ac_hdr" >&5
9441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9444 cat > conftest.
$ac_ext <<EOF
9445 #line 9446 "configure"
9446 #include "confdefs.h"
9449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9450 { (eval echo configure
:9451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9452 if test -z "$ac_err"; then
9454 eval "ac_cv_header_$ac_safe=yes"
9457 echo "configure: failed program was:" >&5
9458 cat conftest.
$ac_ext >&5
9460 eval "ac_cv_header_$ac_safe=no"
9464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9465 echo "$ac_t""yes" 1>&6
9466 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9467 cat >> confdefs.h
<<EOF
9468 #define $ac_tr_hdr 1
9472 echo "$ac_t""no" 1>&6
9476 for ac_hdr
in wcstr.h
9478 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9480 echo "configure:9481: checking for $ac_hdr" >&5
9481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9482 echo $ac_n "(cached) $ac_c" 1>&6
9484 cat > conftest.
$ac_ext <<EOF
9485 #line 9486 "configure"
9486 #include "confdefs.h"
9489 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9490 { (eval echo configure
:9491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9491 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9492 if test -z "$ac_err"; then
9494 eval "ac_cv_header_$ac_safe=yes"
9497 echo "configure: failed program was:" >&5
9498 cat conftest.
$ac_ext >&5
9500 eval "ac_cv_header_$ac_safe=no"
9504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9505 echo "$ac_t""yes" 1>&6
9506 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9507 cat >> confdefs.h
<<EOF
9508 #define $ac_tr_hdr 1
9512 echo "$ac_t""no" 1>&6
9516 for ac_hdr
in fnmatch.h
9518 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9519 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9520 echo "configure:9521: checking for $ac_hdr" >&5
9521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9522 echo $ac_n "(cached) $ac_c" 1>&6
9524 cat > conftest.
$ac_ext <<EOF
9525 #line 9526 "configure"
9526 #include "confdefs.h"
9529 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9530 { (eval echo configure
:9531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9531 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9532 if test -z "$ac_err"; then
9534 eval "ac_cv_header_$ac_safe=yes"
9537 echo "configure: failed program was:" >&5
9538 cat conftest.
$ac_ext >&5
9540 eval "ac_cv_header_$ac_safe=no"
9544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9545 echo "$ac_t""yes" 1>&6
9546 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9547 cat >> confdefs.h
<<EOF
9548 #define $ac_tr_hdr 1
9552 echo "$ac_t""no" 1>&6
9556 for ac_hdr
in iconv.h
9558 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9559 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9560 echo "configure:9561: checking for $ac_hdr" >&5
9561 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9562 echo $ac_n "(cached) $ac_c" 1>&6
9564 cat > conftest.
$ac_ext <<EOF
9565 #line 9566 "configure"
9566 #include "confdefs.h"
9569 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9570 { (eval echo configure
:9571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9571 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9572 if test -z "$ac_err"; then
9574 eval "ac_cv_header_$ac_safe=yes"
9577 echo "configure: failed program was:" >&5
9578 cat conftest.
$ac_ext >&5
9580 eval "ac_cv_header_$ac_safe=no"
9584 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9585 echo "$ac_t""yes" 1>&6
9586 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9587 cat >> confdefs.h
<<EOF
9588 #define $ac_tr_hdr 1
9592 echo "$ac_t""no" 1>&6
9596 for ac_hdr
in langinfo.h
9598 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9600 echo "configure:9601: checking for $ac_hdr" >&5
9601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9602 echo $ac_n "(cached) $ac_c" 1>&6
9604 cat > conftest.
$ac_ext <<EOF
9605 #line 9606 "configure"
9606 #include "confdefs.h"
9609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9610 { (eval echo configure
:9611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9611 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9612 if test -z "$ac_err"; then
9614 eval "ac_cv_header_$ac_safe=yes"
9617 echo "configure: failed program was:" >&5
9618 cat conftest.
$ac_ext >&5
9620 eval "ac_cv_header_$ac_safe=no"
9624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9625 echo "$ac_t""yes" 1>&6
9626 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9627 cat >> confdefs.h
<<EOF
9628 #define $ac_tr_hdr 1
9632 echo "$ac_t""no" 1>&6
9637 if test "$wxUSE_GUI" = "yes"; then
9638 if test "$wxUSE_UNIX" = "yes"; then
9639 for ac_hdr
in X
11/XKBlib.h
9641 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9642 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9643 echo "configure:9644: checking for $ac_hdr" >&5
9644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9647 cat > conftest.
$ac_ext <<EOF
9648 #line 9649 "configure"
9649 #include "confdefs.h"
9652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9653 { (eval echo configure
:9654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9655 if test -z "$ac_err"; then
9657 eval "ac_cv_header_$ac_safe=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_header_$ac_safe=no"
9667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9668 echo "$ac_t""yes" 1>&6
9669 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9670 cat >> confdefs.h
<<EOF
9671 #define $ac_tr_hdr 1
9675 echo "$ac_t""no" 1>&6
9683 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9684 echo "configure:9685: checking for ANSI C header files" >&5
9685 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9686 echo $ac_n "(cached) $ac_c" 1>&6
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9696 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9697 { (eval echo configure
:9698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9698 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9699 if test -z "$ac_err"; then
9701 ac_cv_header_stdc
=yes
9704 echo "configure: failed program was:" >&5
9705 cat conftest.
$ac_ext >&5
9707 ac_cv_header_stdc
=no
9711 if test $ac_cv_header_stdc = yes; then
9712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9713 cat > conftest.
$ac_ext <<EOF
9714 #line 9715 "configure"
9715 #include "confdefs.h"
9718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9719 egrep "memchr" >/dev
/null
2>&1; then
9723 ac_cv_header_stdc
=no
9729 if test $ac_cv_header_stdc = yes; then
9730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9731 cat > conftest.
$ac_ext <<EOF
9732 #line 9733 "configure"
9733 #include "confdefs.h"
9736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9737 egrep "free" >/dev
/null
2>&1; then
9741 ac_cv_header_stdc
=no
9747 if test $ac_cv_header_stdc = yes; then
9748 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9749 if test "$cross_compiling" = yes; then
9752 cat > conftest.
$ac_ext <<EOF
9753 #line 9754 "configure"
9754 #include "confdefs.h"
9756 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9757 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9759 int main () { int i; for (i = 0; i < 256; i++)
9760 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9764 if { (eval echo configure
:9765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9768 echo "configure: failed program was:" >&5
9769 cat conftest.
$ac_ext >&5
9771 ac_cv_header_stdc
=no
9779 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9780 if test $ac_cv_header_stdc = yes; then
9781 cat >> confdefs.h
<<\EOF
9782 #define STDC_HEADERS 1
9787 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9788 echo "configure:9789: checking for mode_t" >&5
9789 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9790 echo $ac_n "(cached) $ac_c" 1>&6
9792 cat > conftest.
$ac_ext <<EOF
9793 #line 9794 "configure"
9794 #include "confdefs.h"
9795 #include <sys/types.h>
9801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9802 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9804 ac_cv_type_mode_t
=yes
9807 ac_cv_type_mode_t
=no
9812 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9813 if test $ac_cv_type_mode_t = no
; then
9814 cat >> confdefs.h
<<\EOF
9820 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9821 echo "configure:9822: checking for off_t" >&5
9822 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9825 cat > conftest.
$ac_ext <<EOF
9826 #line 9827 "configure"
9827 #include "confdefs.h"
9828 #include <sys/types.h>
9834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9835 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9837 ac_cv_type_off_t
=yes
9845 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9846 if test $ac_cv_type_off_t = no
; then
9847 cat >> confdefs.h
<<\EOF
9853 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9854 echo "configure:9855: checking for pid_t" >&5
9855 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9856 echo $ac_n "(cached) $ac_c" 1>&6
9858 cat > conftest.
$ac_ext <<EOF
9859 #line 9860 "configure"
9860 #include "confdefs.h"
9861 #include <sys/types.h>
9867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9868 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9870 ac_cv_type_pid_t
=yes
9878 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9879 if test $ac_cv_type_pid_t = no
; then
9880 cat >> confdefs.h
<<\EOF
9886 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9887 echo "configure:9888: checking for size_t" >&5
9888 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9889 echo $ac_n "(cached) $ac_c" 1>&6
9891 cat > conftest.
$ac_ext <<EOF
9892 #line 9893 "configure"
9893 #include "confdefs.h"
9894 #include <sys/types.h>
9900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9901 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9903 ac_cv_type_size_t
=yes
9906 ac_cv_type_size_t
=no
9911 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9912 if test $ac_cv_type_size_t = no
; then
9913 cat >> confdefs.h
<<\EOF
9914 #define size_t unsigned
9919 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9920 echo "configure:9921: checking for uid_t in sys/types.h" >&5
9921 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9922 echo $ac_n "(cached) $ac_c" 1>&6
9924 cat > conftest.
$ac_ext <<EOF
9925 #line 9926 "configure"
9926 #include "confdefs.h"
9927 #include <sys/types.h>
9929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9930 egrep "uid_t" >/dev
/null
2>&1; then
9932 ac_cv_type_uid_t
=yes
9941 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9942 if test $ac_cv_type_uid_t = no
; then
9943 cat >> confdefs.h
<<\EOF
9947 cat >> confdefs.h
<<\EOF
9955 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9956 echo "configure:9957: checking for pw_gecos in struct passwd" >&5
9957 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9958 echo $ac_n "(cached) $ac_c" 1>&6
9961 cat > conftest.
$ac_ext <<EOF
9962 #line 9963 "configure"
9963 #include "confdefs.h"
9973 if { (eval echo configure
:9974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9976 wx_cv_struct_pw_gecos
=yes
9979 echo "configure: failed program was:" >&5
9980 cat conftest.
$ac_ext >&5
9983 wx_cv_struct_pw_gecos
=no
9992 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9994 if test "$wx_cv_struct_pw_gecos" = "yes"; then
9995 cat >> confdefs.h
<<\EOF
9996 #define HAVE_PW_GECOS 1
10002 echo $ac_n "checking for working const""... $ac_c" 1>&6
10003 echo "configure:10004: checking for working const" >&5
10004 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10007 cat > conftest.
$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10013 /* Ultrix mips cc rejects this. */
10014 typedef int charset[2]; const charset x;
10015 /* SunOS 4.1.1 cc rejects this. */
10016 char const *const *ccp;
10018 /* NEC SVR4.0.2 mips cc rejects this. */
10019 struct point {int x, y;};
10020 static struct point const zero = {0,0};
10021 /* AIX XL C 1.02.0.0 rejects this.
10022 It does not let you subtract one const X* pointer from another in an arm
10023 of an if-expression whose if-part is not a constant expression */
10024 const char *g = "string";
10025 ccp = &g + (g ? g-g : 0);
10026 /* HPUX 7.0 cc rejects these. */
10029 ccp = (char const *const *) p;
10030 { /* SCO 3.2v4 cc rejects this. */
10032 char const *s = 0 ? (char *) 0 : (char const *) 0;
10036 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10037 int x[] = {25, 17};
10038 const int *foo = &x[0];
10041 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10042 typedef const int *iptr;
10046 { /* AIX XL C 1.02.0.0 rejects this saying
10047 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10048 struct s { int j; const int *ap[3]; };
10049 struct s *b; b->j = 5;
10051 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10052 const int foo = 10;
10057 if { (eval echo configure
:10058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10061 echo "configure: failed program was:" >&5
10062 cat conftest.
$ac_ext >&5
10069 echo "$ac_t""$ac_cv_c_const" 1>&6
10070 if test $ac_cv_c_const = no
; then
10071 cat >> confdefs.h
<<\EOF
10077 echo $ac_n "checking for inline""... $ac_c" 1>&6
10078 echo "configure:10079: checking for inline" >&5
10079 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10080 echo $ac_n "(cached) $ac_c" 1>&6
10083 for ac_kw
in inline __inline__ __inline
; do
10084 cat > conftest.
$ac_ext <<EOF
10085 #line 10086 "configure"
10086 #include "confdefs.h"
10092 if { (eval echo configure
:10093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10094 ac_cv_c_inline
=$ac_kw; break
10096 echo "configure: failed program was:" >&5
10097 cat conftest.
$ac_ext >&5
10104 echo "$ac_t""$ac_cv_c_inline" 1>&6
10105 case "$ac_cv_c_inline" in
10107 no
) cat >> confdefs.h
<<\EOF
10111 *) cat >> confdefs.h
<<EOF
10112 #define inline $ac_cv_c_inline
10118 echo $ac_n "checking size of char""... $ac_c" 1>&6
10119 echo "configure:10120: checking size of char" >&5
10120 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10121 echo $ac_n "(cached) $ac_c" 1>&6
10123 if test "$cross_compiling" = yes; then
10124 ac_cv_sizeof_char
=1
10126 cat > conftest.
$ac_ext <<EOF
10127 #line 10128 "configure"
10128 #include "confdefs.h"
10132 FILE *f=fopen("conftestval", "w");
10134 fprintf(f, "%d\n", sizeof(char));
10138 if { (eval echo configure
:10139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10140 ac_cv_sizeof_char
=`cat conftestval`
10142 echo "configure: failed program was:" >&5
10143 cat conftest.
$ac_ext >&5
10145 ac_cv_sizeof_char
=0
10151 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10152 cat >> confdefs.h
<<EOF
10153 #define SIZEOF_CHAR $ac_cv_sizeof_char
10157 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10158 echo "configure:10159: checking size of wchar_t" >&5
10159 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10160 echo $ac_n "(cached) $ac_c" 1>&6
10162 if test "$cross_compiling" = yes; then
10163 ac_cv_sizeof_wchar_t
=4
10165 cat > conftest.
$ac_ext <<EOF
10166 #line 10167 "configure"
10167 #include "confdefs.h"
10171 FILE *f=fopen("conftestval", "w");
10173 fprintf(f, "%d\n", sizeof(wchar_t));
10177 if { (eval echo configure
:10178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10179 ac_cv_sizeof_wchar_t
=`cat conftestval`
10181 echo "configure: failed program was:" >&5
10182 cat conftest.
$ac_ext >&5
10184 ac_cv_sizeof_wchar_t
=0
10190 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10191 cat >> confdefs.h
<<EOF
10192 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10196 echo $ac_n "checking size of short""... $ac_c" 1>&6
10197 echo "configure:10198: checking size of short" >&5
10198 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10199 echo $ac_n "(cached) $ac_c" 1>&6
10201 if test "$cross_compiling" = yes; then
10202 ac_cv_sizeof_short
=2
10204 cat > conftest.
$ac_ext <<EOF
10205 #line 10206 "configure"
10206 #include "confdefs.h"
10210 FILE *f=fopen("conftestval", "w");
10212 fprintf(f, "%d\n", sizeof(short));
10216 if { (eval echo configure
:10217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10218 ac_cv_sizeof_short
=`cat conftestval`
10220 echo "configure: failed program was:" >&5
10221 cat conftest.
$ac_ext >&5
10223 ac_cv_sizeof_short
=0
10229 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10230 cat >> confdefs.h
<<EOF
10231 #define SIZEOF_SHORT $ac_cv_sizeof_short
10235 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10236 echo "configure:10237: checking size of int *" >&5
10237 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10238 echo $ac_n "(cached) $ac_c" 1>&6
10240 if test "$cross_compiling" = yes; then
10241 ac_cv_sizeof_int_p
=4
10243 cat > conftest.
$ac_ext <<EOF
10244 #line 10245 "configure"
10245 #include "confdefs.h"
10249 FILE *f=fopen("conftestval", "w");
10251 fprintf(f, "%d\n", sizeof(int *));
10255 if { (eval echo configure
:10256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10257 ac_cv_sizeof_int_p
=`cat conftestval`
10259 echo "configure: failed program was:" >&5
10260 cat conftest.
$ac_ext >&5
10262 ac_cv_sizeof_int_p
=0
10268 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10269 cat >> confdefs.h
<<EOF
10270 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10274 echo $ac_n "checking size of int""... $ac_c" 1>&6
10275 echo "configure:10276: checking size of int" >&5
10276 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10277 echo $ac_n "(cached) $ac_c" 1>&6
10279 if test "$cross_compiling" = yes; then
10282 cat > conftest.
$ac_ext <<EOF
10283 #line 10284 "configure"
10284 #include "confdefs.h"
10288 FILE *f=fopen("conftestval", "w");
10290 fprintf(f, "%d\n", sizeof(int));
10294 if { (eval echo configure
:10295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10296 ac_cv_sizeof_int
=`cat conftestval`
10298 echo "configure: failed program was:" >&5
10299 cat conftest.
$ac_ext >&5
10307 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10308 cat >> confdefs.h
<<EOF
10309 #define SIZEOF_INT $ac_cv_sizeof_int
10313 echo $ac_n "checking size of long""... $ac_c" 1>&6
10314 echo "configure:10315: checking size of long" >&5
10315 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10316 echo $ac_n "(cached) $ac_c" 1>&6
10318 if test "$cross_compiling" = yes; then
10319 ac_cv_sizeof_long
=4
10321 cat > conftest.
$ac_ext <<EOF
10322 #line 10323 "configure"
10323 #include "confdefs.h"
10327 FILE *f=fopen("conftestval", "w");
10329 fprintf(f, "%d\n", sizeof(long));
10333 if { (eval echo configure
:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10335 ac_cv_sizeof_long
=`cat conftestval`
10337 echo "configure: failed program was:" >&5
10338 cat conftest.
$ac_ext >&5
10340 ac_cv_sizeof_long
=0
10346 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10347 cat >> confdefs.h
<<EOF
10348 #define SIZEOF_LONG $ac_cv_sizeof_long
10352 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10353 echo "configure:10354: checking size of long long" >&5
10354 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10355 echo $ac_n "(cached) $ac_c" 1>&6
10357 if test "$cross_compiling" = yes; then
10358 ac_cv_sizeof_long_long
=0
10360 cat > conftest.
$ac_ext <<EOF
10361 #line 10362 "configure"
10362 #include "confdefs.h"
10366 FILE *f=fopen("conftestval", "w");
10368 fprintf(f, "%d\n", sizeof(long long));
10372 if { (eval echo configure
:10373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10374 ac_cv_sizeof_long_long
=`cat conftestval`
10376 echo "configure: failed program was:" >&5
10377 cat conftest.
$ac_ext >&5
10379 ac_cv_sizeof_long_long
=0
10385 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10386 cat >> confdefs.h
<<EOF
10387 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10392 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10393 echo "configure:10394: checking whether byte ordering is bigendian" >&5
10394 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10395 echo $ac_n "(cached) $ac_c" 1>&6
10397 ac_cv_c_bigendian
=unknown
10398 # See if sys/param.h defines the BYTE_ORDER macro.
10399 cat > conftest.
$ac_ext <<EOF
10400 #line 10401 "configure"
10401 #include "confdefs.h"
10402 #include <sys/types.h>
10403 #include <sys/param.h>
10406 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10407 bogus endian macros
10411 if { (eval echo configure
:10412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10413 # It does; now see whether it defined to BIG_ENDIAN or not.
10414 cat > conftest.
$ac_ext <<EOF
10415 #line 10416 "configure"
10416 #include "confdefs.h"
10417 #include <sys/types.h>
10418 #include <sys/param.h>
10421 #if BYTE_ORDER != BIG_ENDIAN
10426 if { (eval echo configure
:10427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10428 ac_cv_c_bigendian
=yes
10430 echo "configure: failed program was:" >&5
10431 cat conftest.
$ac_ext >&5
10433 ac_cv_c_bigendian
=no
10437 echo "configure: failed program was:" >&5
10438 cat conftest.
$ac_ext >&5
10441 if test $ac_cv_c_bigendian = unknown
; then
10442 if test "$cross_compiling" = yes; then
10443 ac_cv_c_bigendian
=unknown
10445 cat > conftest.
$ac_ext <<EOF
10446 #line 10447 "configure"
10447 #include "confdefs.h"
10449 /* Are we little or big endian? From Harbison&Steele. */
10453 char c[sizeof (long)];
10456 exit (u.c[sizeof (long) - 1] == 1);
10459 if { (eval echo configure
:10460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10461 ac_cv_c_bigendian
=no
10463 echo "configure: failed program was:" >&5
10464 cat conftest.
$ac_ext >&5
10466 ac_cv_c_bigendian
=yes
10474 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10475 if test $ac_cv_c_bigendian = unknown
; then
10476 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
10478 if test $ac_cv_c_bigendian = yes; then
10479 cat >> confdefs.h
<<\EOF
10480 #define WORDS_BIGENDIAN 1
10487 if test "$cross_compiling" = "yes"; then
10488 cat >> confdefs.h
<<\EOF
10489 #define wxUSE_IOSTREAMH 1
10495 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10496 ac_cpp
='$CXXCPP $CPPFLAGS'
10497 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10498 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10499 cross_compiling
=$ac_cv_prog_cxx_cross
10502 for ac_hdr
in iostream
10504 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10505 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10506 echo "configure:10507: checking for $ac_hdr" >&5
10507 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10508 echo $ac_n "(cached) $ac_c" 1>&6
10510 cat > conftest.
$ac_ext <<EOF
10511 #line 10512 "configure"
10512 #include "confdefs.h"
10515 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10516 { (eval echo configure
:10517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10517 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10518 if test -z "$ac_err"; then
10520 eval "ac_cv_header_$ac_safe=yes"
10523 echo "configure: failed program was:" >&5
10524 cat conftest.
$ac_ext >&5
10526 eval "ac_cv_header_$ac_safe=no"
10530 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10531 echo "$ac_t""yes" 1>&6
10532 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10533 cat >> confdefs.h
<<EOF
10534 #define $ac_tr_hdr 1
10538 echo "$ac_t""no" 1>&6
10543 if test "x$HAVE_IOSTREAM" = x
; then
10544 cat >> confdefs.h
<<\EOF
10545 #define wxUSE_IOSTREAMH 1
10553 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10554 ac_cpp
='$CPP $CPPFLAGS'
10555 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10556 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10557 cross_compiling
=$ac_cv_prog_cc_cross
10563 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10564 echo "configure:10565: checking if C++ compiler supports bool" >&5
10565 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10566 echo $ac_n "(cached) $ac_c" 1>&6
10571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10572 ac_cpp
='$CXXCPP $CPPFLAGS'
10573 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10574 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10575 cross_compiling
=$ac_cv_prog_cxx_cross
10578 cat > conftest.
$ac_ext <<EOF
10579 #line 10580 "configure"
10580 #include "confdefs.h"
10591 if { (eval echo configure
:10592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10594 cat >> confdefs.h
<<\EOF
10595 #define HAVE_BOOL 1
10601 echo "configure: failed program was:" >&5
10602 cat conftest.
$ac_ext >&5
10612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10613 ac_cpp
='$CPP $CPPFLAGS'
10614 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10615 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10616 cross_compiling
=$ac_cv_prog_cc_cross
10621 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10623 if test "$wx_cv_cpp_bool" = "yes"; then
10624 cat >> confdefs.h
<<\EOF
10625 #define HAVE_BOOL 1
10632 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10633 echo "configure:10634: checking if you need GNU extensions" >&5
10634 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10635 echo $ac_n "(cached) $ac_c" 1>&6
10638 cat > conftest.
$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10641 #include <features.h>
10645 #ifndef __GNU_LIBRARY__
10646 Compile error wanted
10652 if { (eval echo configure
:10653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10654 wx_cv_gnu_extensions
=yes
10656 echo "configure: failed program was:" >&5
10657 cat conftest.
$ac_ext >&5
10659 wx_cv_gnu_extensions
=no
10666 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10667 if test "$wx_cv_gnu_extensions" = "yes"; then
10668 cat >> confdefs.h
<<EOF
10669 #define _GNU_SOURCE 1
10676 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10677 echo "configure:10678: checking for wcslen in -lc" >&5
10678 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10680 echo $ac_n "(cached) $ac_c" 1>&6
10682 ac_save_LIBS
="$LIBS"
10684 cat > conftest.
$ac_ext <<EOF
10685 #line 10686 "configure"
10686 #include "confdefs.h"
10687 /* Override any gcc2 internal prototype to avoid an error. */
10688 /* We use char because int might match the return type of a gcc2
10689 builtin and then its argument prototype would still apply. */
10696 if { (eval echo configure
:10697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10698 eval "ac_cv_lib_$ac_lib_var=yes"
10700 echo "configure: failed program was:" >&5
10701 cat conftest.
$ac_ext >&5
10703 eval "ac_cv_lib_$ac_lib_var=no"
10706 LIBS
="$ac_save_LIBS"
10709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10710 echo "$ac_t""yes" 1>&6
10712 cat >> confdefs.h
<<\EOF
10713 #define HAVE_WCSLEN 1
10719 echo "$ac_t""no" 1>&6
10721 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10722 echo "configure:10723: checking for wcslen in -lw" >&5
10723 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10724 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10725 echo $ac_n "(cached) $ac_c" 1>&6
10727 ac_save_LIBS
="$LIBS"
10729 cat > conftest.
$ac_ext <<EOF
10730 #line 10731 "configure"
10731 #include "confdefs.h"
10732 /* Override any gcc2 internal prototype to avoid an error. */
10733 /* We use char because int might match the return type of a gcc2
10734 builtin and then its argument prototype would still apply. */
10741 if { (eval echo configure
:10742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10743 eval "ac_cv_lib_$ac_lib_var=yes"
10745 echo "configure: failed program was:" >&5
10746 cat conftest.
$ac_ext >&5
10748 eval "ac_cv_lib_$ac_lib_var=no"
10751 LIBS
="$ac_save_LIBS"
10754 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10755 echo "$ac_t""yes" 1>&6
10757 cat >> confdefs.h
<<\EOF
10758 #define HAVE_WCSLEN 1
10764 echo "$ac_t""no" 1>&6
10771 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10772 echo "configure:10773: checking for vprintf" >&5
10773 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10774 echo $ac_n "(cached) $ac_c" 1>&6
10776 cat > conftest.
$ac_ext <<EOF
10777 #line 10778 "configure"
10778 #include "confdefs.h"
10779 /* System header to define __stub macros and hopefully few prototypes,
10780 which can conflict with char vprintf(); below. */
10781 #include <assert.h>
10782 /* Override any gcc2 internal prototype to avoid an error. */
10783 /* We use char because int might match the return type of a gcc2
10784 builtin and then its argument prototype would still apply. */
10789 /* The GNU C library defines this for functions which it implements
10790 to always fail with ENOSYS. Some functions are actually named
10791 something starting with __ and the normal name is an alias. */
10792 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10800 if { (eval echo configure
:10801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10802 eval "ac_cv_func_vprintf=yes"
10804 echo "configure: failed program was:" >&5
10805 cat conftest.
$ac_ext >&5
10807 eval "ac_cv_func_vprintf=no"
10812 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10813 echo "$ac_t""yes" 1>&6
10814 cat >> confdefs.h
<<\EOF
10815 #define HAVE_VPRINTF 1
10819 echo "$ac_t""no" 1>&6
10822 if test "$ac_cv_func_vprintf" != yes; then
10823 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10824 echo "configure:10825: checking for _doprnt" >&5
10825 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10826 echo $ac_n "(cached) $ac_c" 1>&6
10828 cat > conftest.
$ac_ext <<EOF
10829 #line 10830 "configure"
10830 #include "confdefs.h"
10831 /* System header to define __stub macros and hopefully few prototypes,
10832 which can conflict with char _doprnt(); below. */
10833 #include <assert.h>
10834 /* Override any gcc2 internal prototype to avoid an error. */
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10841 /* The GNU C library defines this for functions which it implements
10842 to always fail with ENOSYS. Some functions are actually named
10843 something starting with __ and the normal name is an alias. */
10844 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10852 if { (eval echo configure
:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10854 eval "ac_cv_func__doprnt=yes"
10856 echo "configure: failed program was:" >&5
10857 cat conftest.
$ac_ext >&5
10859 eval "ac_cv_func__doprnt=no"
10864 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10866 cat >> confdefs.h
<<\EOF
10867 #define HAVE_DOPRNT 1
10871 echo "$ac_t""no" 1>&6
10879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10880 ac_cpp
='$CXXCPP $CPPFLAGS'
10881 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10882 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10883 cross_compiling
=$ac_cv_prog_cxx_cross
10890 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10891 echo "configure:10892: checking for vsnprintf" >&5
10892 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10893 echo $ac_n "(cached) $ac_c" 1>&6
10896 cat > conftest.
$ac_ext <<EOF
10897 #line 10898 "configure"
10898 #include "confdefs.h"
10901 #include <stdarg.h>
10905 int wx_test_vsnprintf(const char *, ...);
10907 wx_test_vsnprintf("%s");
10911 int wx_test_vsnprintf(const char *fmt, ...)
10916 va_start(argp, fmt);
10917 vsnprintf(s, 42, fmt, argp);
10922 if { (eval echo configure
:10923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10925 wx_cv_func_vsnprintf
=yes
10928 echo "configure: failed program was:" >&5
10929 cat conftest.
$ac_ext >&5
10932 cat > conftest.
$ac_ext <<EOF
10933 #line 10934 "configure"
10934 #include "confdefs.h"
10937 #include <stdarg.h>
10941 int wx_test_vsnprintf(const char *, ...);
10943 wx_test_vsnprintf("%s");
10947 int wx_test_vsnprintf(const char *fmt, ...)
10952 va_start(argp, fmt);
10953 _vsnprintf(s, 42, fmt, argp);
10958 if { (eval echo configure
:10959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10961 wx_cv_func_vsnprintf
=yes
10964 echo "configure: failed program was:" >&5
10965 cat conftest.
$ac_ext >&5
10968 wx_cv_func_vsnprintf
=no
10978 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10980 if test "$wx_cv_func_vsnprintf" = yes; then
10981 cat >> confdefs.h
<<\EOF
10982 #define HAVE_VSNPRINTF 1
10986 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10989 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10990 echo "configure:10991: checking for vsscanf" >&5
10991 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10992 echo $ac_n "(cached) $ac_c" 1>&6
10995 cat > conftest.
$ac_ext <<EOF
10996 #line 10997 "configure"
10997 #include "confdefs.h"
11000 #include <stdarg.h>
11004 int wx_test_vsscanf(const char *, ...);
11006 wx_test_vsscanf("%d");
11010 int wx_test_vsscanf(const char *fmt, ...)
11013 va_start(argp, fmt);
11014 vsscanf("42", fmt, argp);
11019 if { (eval echo configure
:11020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11022 wx_cv_func_vsscanf
=yes
11025 echo "configure: failed program was:" >&5
11026 cat conftest.
$ac_ext >&5
11029 wx_cv_func_vsscanf
=no
11036 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
11038 if test "$wx_cv_func_vsscanf" = yes; then
11039 cat >> confdefs.h
<<\EOF
11040 #define HAVE_VSSCANF 1
11046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11047 ac_cpp
='$CPP $CPPFLAGS'
11048 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11049 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11050 cross_compiling
=$ac_cv_prog_cc_cross
11053 if test "$TOOLKIT" != "MSW"; then
11055 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
11056 for ac_func
in sigaction
11058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11059 echo "configure:11060: checking for $ac_func" >&5
11060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11061 echo $ac_n "(cached) $ac_c" 1>&6
11063 cat > conftest.
$ac_ext <<EOF
11064 #line 11065 "configure"
11065 #include "confdefs.h"
11066 /* System header to define __stub macros and hopefully few prototypes,
11067 which can conflict with char $ac_func(); below. */
11068 #include <assert.h>
11069 /* Override any gcc2 internal prototype to avoid an error. */
11070 /* We use char because int might match the return type of a gcc2
11071 builtin and then its argument prototype would still apply. */
11076 /* The GNU C library defines this for functions which it implements
11077 to always fail with ENOSYS. Some functions are actually named
11078 something starting with __ and the normal name is an alias. */
11079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11087 if { (eval echo configure
:11088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11089 eval "ac_cv_func_$ac_func=yes"
11091 echo "configure: failed program was:" >&5
11092 cat conftest.
$ac_ext >&5
11094 eval "ac_cv_func_$ac_func=no"
11099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11100 echo "$ac_t""yes" 1>&6
11101 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11102 cat >> confdefs.h
<<EOF
11103 #define $ac_tr_func 1
11107 echo "$ac_t""no" 1>&6
11112 if test "$ac_cv_func_sigaction" = "no"; then
11113 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11114 wxUSE_ON_FATAL_EXCEPTION
=no
11117 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11121 ac_cpp
='$CXXCPP $CPPFLAGS'
11122 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11123 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11124 cross_compiling
=$ac_cv_prog_cxx_cross
11127 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11128 echo "configure:11129: checking for sa_handler type" >&5
11129 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11130 echo $ac_n "(cached) $ac_c" 1>&6
11133 cat > conftest.
$ac_ext <<EOF
11134 #line 11135 "configure"
11135 #include "confdefs.h"
11136 #include <signal.h>
11139 extern void testSigHandler(int);
11141 struct sigaction sa;
11142 sa.sa_handler = testSigHandler;
11146 if { (eval echo configure
:11147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11149 wx_cv_type_sa_handler
=int
11152 echo "configure: failed program was:" >&5
11153 cat conftest.
$ac_ext >&5
11156 wx_cv_type_sa_handler
=void
11163 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11167 ac_cpp
='$CPP $CPPFLAGS'
11168 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11169 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11170 cross_compiling
=$ac_cv_prog_cc_cross
11173 cat >> confdefs.h
<<EOF
11174 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11180 for ac_func
in vfork
11182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11183 echo "configure:11184: checking for $ac_func" >&5
11184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11185 echo $ac_n "(cached) $ac_c" 1>&6
11187 cat > conftest.
$ac_ext <<EOF
11188 #line 11189 "configure"
11189 #include "confdefs.h"
11190 /* System header to define __stub macros and hopefully few prototypes,
11191 which can conflict with char $ac_func(); below. */
11192 #include <assert.h>
11193 /* Override any gcc2 internal prototype to avoid an error. */
11194 /* We use char because int might match the return type of a gcc2
11195 builtin and then its argument prototype would still apply. */
11200 /* The GNU C library defines this for functions which it implements
11201 to always fail with ENOSYS. Some functions are actually named
11202 something starting with __ and the normal name is an alias. */
11203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11211 if { (eval echo configure
:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11213 eval "ac_cv_func_$ac_func=yes"
11215 echo "configure: failed program was:" >&5
11216 cat conftest.
$ac_ext >&5
11218 eval "ac_cv_func_$ac_func=no"
11223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11224 echo "$ac_t""yes" 1>&6
11225 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11226 cat >> confdefs.h
<<EOF
11227 #define $ac_tr_func 1
11231 echo "$ac_t""no" 1>&6
11236 for ac_func
in timegm
11238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11239 echo "configure:11240: checking for $ac_func" >&5
11240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11243 cat > conftest.
$ac_ext <<EOF
11244 #line 11245 "configure"
11245 #include "confdefs.h"
11246 /* System header to define __stub macros and hopefully few prototypes,
11247 which can conflict with char $ac_func(); below. */
11248 #include <assert.h>
11249 /* Override any gcc2 internal prototype to avoid an error. */
11250 /* We use char because int might match the return type of a gcc2
11251 builtin and then its argument prototype would still apply. */
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11267 if { (eval echo configure
:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11269 eval "ac_cv_func_$ac_func=yes"
11271 echo "configure: failed program was:" >&5
11272 cat conftest.
$ac_ext >&5
11274 eval "ac_cv_func_$ac_func=no"
11279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11280 echo "$ac_t""yes" 1>&6
11281 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11282 cat >> confdefs.h
<<EOF
11283 #define $ac_tr_func 1
11287 echo "$ac_t""no" 1>&6
11292 for ac_func
in putenv setenv
11294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11295 echo "configure:11296: checking for $ac_func" >&5
11296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11297 echo $ac_n "(cached) $ac_c" 1>&6
11299 cat > conftest.
$ac_ext <<EOF
11300 #line 11301 "configure"
11301 #include "confdefs.h"
11302 /* System header to define __stub macros and hopefully few prototypes,
11303 which can conflict with char $ac_func(); below. */
11304 #include <assert.h>
11305 /* Override any gcc2 internal prototype to avoid an error. */
11306 /* We use char because int might match the return type of a gcc2
11307 builtin and then its argument prototype would still apply. */
11312 /* The GNU C library defines this for functions which it implements
11313 to always fail with ENOSYS. Some functions are actually named
11314 something starting with __ and the normal name is an alias. */
11315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11323 if { (eval echo configure
:11324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11325 eval "ac_cv_func_$ac_func=yes"
11327 echo "configure: failed program was:" >&5
11328 cat conftest.
$ac_ext >&5
11330 eval "ac_cv_func_$ac_func=no"
11335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11336 echo "$ac_t""yes" 1>&6
11337 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11338 cat >> confdefs.h
<<EOF
11339 #define $ac_tr_func 1
11343 echo "$ac_t""no" 1>&6
11348 HAVE_SOME_SLEEP_FUNC
=0
11349 if test "$USE_BEOS" = 1; then
11350 cat >> confdefs.h
<<\EOF
11351 #define HAVE_SLEEP 1
11354 HAVE_SOME_SLEEP_FUNC
=1
11357 if test "$USE_MAC" = 1; then
11358 cat >> confdefs.h
<<\EOF
11359 #define HAVE_USLEEP 1
11362 HAVE_SOME_SLEEP_FUNC
=1
11365 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11367 for ac_func
in nanosleep
11369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11370 echo "configure:11371: checking for $ac_func" >&5
11371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11372 echo $ac_n "(cached) $ac_c" 1>&6
11374 cat > conftest.
$ac_ext <<EOF
11375 #line 11376 "configure"
11376 #include "confdefs.h"
11377 /* System header to define __stub macros and hopefully few prototypes,
11378 which can conflict with char $ac_func(); below. */
11379 #include <assert.h>
11380 /* Override any gcc2 internal prototype to avoid an error. */
11381 /* We use char because int might match the return type of a gcc2
11382 builtin and then its argument prototype would still apply. */
11387 /* The GNU C library defines this for functions which it implements
11388 to always fail with ENOSYS. Some functions are actually named
11389 something starting with __ and the normal name is an alias. */
11390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11398 if { (eval echo configure
:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11400 eval "ac_cv_func_$ac_func=yes"
11402 echo "configure: failed program was:" >&5
11403 cat conftest.
$ac_ext >&5
11405 eval "ac_cv_func_$ac_func=no"
11410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11411 echo "$ac_t""yes" 1>&6
11412 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11413 cat >> confdefs.h
<<EOF
11414 #define $ac_tr_func 1
11416 cat >> confdefs.h
<<\EOF
11417 #define HAVE_NANOSLEEP 1
11421 echo "$ac_t""no" 1>&6
11422 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11423 echo "configure:11424: checking for nanosleep in -lposix4" >&5
11424 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11426 echo $ac_n "(cached) $ac_c" 1>&6
11428 ac_save_LIBS
="$LIBS"
11429 LIBS
="-lposix4 $LIBS"
11430 cat > conftest.
$ac_ext <<EOF
11431 #line 11432 "configure"
11432 #include "confdefs.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. */
11442 if { (eval echo configure
:11443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11444 eval "ac_cv_lib_$ac_lib_var=yes"
11446 echo "configure: failed program was:" >&5
11447 cat conftest.
$ac_ext >&5
11449 eval "ac_cv_lib_$ac_lib_var=no"
11452 LIBS
="$ac_save_LIBS"
11455 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11456 echo "$ac_t""yes" 1>&6
11458 cat >> confdefs.h
<<\EOF
11459 #define HAVE_NANOSLEEP 1
11462 POSIX4_LINK
="-lposix4"
11465 echo "$ac_t""no" 1>&6
11467 for ac_func
in usleep
11469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11470 echo "configure:11471: checking for $ac_func" >&5
11471 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11472 echo $ac_n "(cached) $ac_c" 1>&6
11474 cat > conftest.
$ac_ext <<EOF
11475 #line 11476 "configure"
11476 #include "confdefs.h"
11477 /* System header to define __stub macros and hopefully few prototypes,
11478 which can conflict with char $ac_func(); below. */
11479 #include <assert.h>
11480 /* Override any gcc2 internal prototype to avoid an error. */
11481 /* We use char because int might match the return type of a gcc2
11482 builtin and then its argument prototype would still apply. */
11487 /* The GNU C library defines this for functions which it implements
11488 to always fail with ENOSYS. Some functions are actually named
11489 something starting with __ and the normal name is an alias. */
11490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11498 if { (eval echo configure
:11499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11500 eval "ac_cv_func_$ac_func=yes"
11502 echo "configure: failed program was:" >&5
11503 cat conftest.
$ac_ext >&5
11505 eval "ac_cv_func_$ac_func=no"
11510 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11511 echo "$ac_t""yes" 1>&6
11512 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11513 cat >> confdefs.h
<<EOF
11514 #define $ac_tr_func 1
11516 cat >> confdefs.h
<<\EOF
11517 #define HAVE_USLEEP 1
11521 echo "$ac_t""no" 1>&6
11525 echo "configure: warning: wxSleep() function will not work" 1>&2
11537 for ac_func
in uname gethostname
11539 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11540 echo "configure:11541: checking for $ac_func" >&5
11541 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11542 echo $ac_n "(cached) $ac_c" 1>&6
11544 cat > conftest.
$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11547 /* System header to define __stub macros and hopefully few prototypes,
11548 which can conflict with char $ac_func(); below. */
11549 #include <assert.h>
11550 /* Override any gcc2 internal prototype to avoid an error. */
11551 /* We use char because int might match the return type of a gcc2
11552 builtin and then its argument prototype would still apply. */
11557 /* The GNU C library defines this for functions which it implements
11558 to always fail with ENOSYS. Some functions are actually named
11559 something starting with __ and the normal name is an alias. */
11560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11568 if { (eval echo configure
:11569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11570 eval "ac_cv_func_$ac_func=yes"
11572 echo "configure: failed program was:" >&5
11573 cat conftest.
$ac_ext >&5
11575 eval "ac_cv_func_$ac_func=no"
11580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11581 echo "$ac_t""yes" 1>&6
11582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11583 cat >> confdefs.h
<<EOF
11584 #define $ac_tr_func 1
11588 echo "$ac_t""no" 1>&6
11595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11596 ac_cpp
='$CXXCPP $CPPFLAGS'
11597 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11598 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11599 cross_compiling
=$ac_cv_prog_cxx_cross
11602 for ac_func
in strtok_r
11604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11605 echo "configure:11606: checking for $ac_func" >&5
11606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11607 echo $ac_n "(cached) $ac_c" 1>&6
11609 cat > conftest.
$ac_ext <<EOF
11610 #line 11611 "configure"
11611 #include "confdefs.h"
11612 /* System header to define __stub macros and hopefully few prototypes,
11613 which can conflict with char $ac_func(); below. */
11614 #include <assert.h>
11615 /* Override any gcc2 internal prototype to avoid an error. */
11619 /* We use char because int might match the return type of a gcc2
11620 builtin and then its argument prototype would still apply. */
11625 /* The GNU C library defines this for functions which it implements
11626 to always fail with ENOSYS. Some functions are actually named
11627 something starting with __ and the normal name is an alias. */
11628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11636 if { (eval echo configure
:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11638 eval "ac_cv_func_$ac_func=yes"
11640 echo "configure: failed program was:" >&5
11641 cat conftest.
$ac_ext >&5
11643 eval "ac_cv_func_$ac_func=no"
11648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11649 echo "$ac_t""yes" 1>&6
11650 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11651 cat >> confdefs.h
<<EOF
11652 #define $ac_tr_func 1
11656 echo "$ac_t""no" 1>&6
11662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11663 ac_cpp
='$CPP $CPPFLAGS'
11664 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11665 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11666 cross_compiling
=$ac_cv_prog_cc_cross
11670 for ac_func
in inet_addr
11672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11673 echo "configure:11674: checking for $ac_func" >&5
11674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11677 cat > conftest.
$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11680 /* System header to define __stub macros and hopefully few prototypes,
11681 which can conflict with char $ac_func(); below. */
11682 #include <assert.h>
11683 /* Override any gcc2 internal prototype to avoid an error. */
11684 /* We use char because int might match the return type of a gcc2
11685 builtin and then its argument prototype would still apply. */
11690 /* The GNU C library defines this for functions which it implements
11691 to always fail with ENOSYS. Some functions are actually named
11692 something starting with __ and the normal name is an alias. */
11693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11701 if { (eval echo configure
:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11703 eval "ac_cv_func_$ac_func=yes"
11705 echo "configure: failed program was:" >&5
11706 cat conftest.
$ac_ext >&5
11708 eval "ac_cv_func_$ac_func=no"
11713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11714 echo "$ac_t""yes" 1>&6
11715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11716 cat >> confdefs.h
<<EOF
11717 #define $ac_tr_func 1
11719 cat >> confdefs.h
<<\EOF
11720 #define HAVE_INET_ADDR 1
11724 echo "$ac_t""no" 1>&6
11725 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11726 echo "configure:11727: checking for inet_addr in -lnsl" >&5
11727 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11729 echo $ac_n "(cached) $ac_c" 1>&6
11731 ac_save_LIBS
="$LIBS"
11733 cat > conftest.
$ac_ext <<EOF
11734 #line 11735 "configure"
11735 #include "confdefs.h"
11736 /* Override any gcc2 internal prototype to avoid an error. */
11737 /* We use char because int might match the return type of a gcc2
11738 builtin and then its argument prototype would still apply. */
11745 if { (eval echo configure
:11746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11747 eval "ac_cv_lib_$ac_lib_var=yes"
11749 echo "configure: failed program was:" >&5
11750 cat conftest.
$ac_ext >&5
11752 eval "ac_cv_lib_$ac_lib_var=no"
11755 LIBS
="$ac_save_LIBS"
11758 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11759 echo "$ac_t""yes" 1>&6
11762 echo "$ac_t""no" 1>&6
11763 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11764 echo "configure:11765: checking for inet_addr in -lresolv" >&5
11765 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11767 echo $ac_n "(cached) $ac_c" 1>&6
11769 ac_save_LIBS
="$LIBS"
11770 LIBS
="-lresolv $LIBS"
11771 cat > conftest.
$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 /* Override any gcc2 internal prototype to avoid an error. */
11775 /* We use char because int might match the return type of a gcc2
11776 builtin and then its argument prototype would still apply. */
11783 if { (eval echo configure
:11784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11785 eval "ac_cv_lib_$ac_lib_var=yes"
11787 echo "configure: failed program was:" >&5
11788 cat conftest.
$ac_ext >&5
11790 eval "ac_cv_lib_$ac_lib_var=no"
11793 LIBS
="$ac_save_LIBS"
11796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11797 echo "$ac_t""yes" 1>&6
11801 echo "$ac_t""no" 1>&6
11813 for ac_func
in inet_aton
11815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11816 echo "configure:11817: checking for $ac_func" >&5
11817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11818 echo $ac_n "(cached) $ac_c" 1>&6
11820 cat > conftest.
$ac_ext <<EOF
11821 #line 11822 "configure"
11822 #include "confdefs.h"
11823 /* System header to define __stub macros and hopefully few prototypes,
11824 which can conflict with char $ac_func(); below. */
11825 #include <assert.h>
11826 /* Override any gcc2 internal prototype to avoid an error. */
11827 /* We use char because int might match the return type of a gcc2
11828 builtin and then its argument prototype would still apply. */
11833 /* The GNU C library defines this for functions which it implements
11834 to always fail with ENOSYS. Some functions are actually named
11835 something starting with __ and the normal name is an alias. */
11836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11844 if { (eval echo configure
:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11846 eval "ac_cv_func_$ac_func=yes"
11848 echo "configure: failed program was:" >&5
11849 cat conftest.
$ac_ext >&5
11851 eval "ac_cv_func_$ac_func=no"
11856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11857 echo "$ac_t""yes" 1>&6
11858 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11859 cat >> confdefs.h
<<EOF
11860 #define $ac_tr_func 1
11862 cat >> confdefs.h
<<\EOF
11863 #define HAVE_INET_ATON 1
11867 echo "$ac_t""no" 1>&6
11868 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11869 echo "configure:11870: checking for inet_aton in -l$INET_LINK" >&5
11870 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11872 echo $ac_n "(cached) $ac_c" 1>&6
11874 ac_save_LIBS
="$LIBS"
11875 LIBS
="-l$INET_LINK $LIBS"
11876 cat > conftest.
$ac_ext <<EOF
11877 #line 11878 "configure"
11878 #include "confdefs.h"
11879 /* Override any gcc2 internal prototype to avoid an error. */
11880 /* We use char because int might match the return type of a gcc2
11881 builtin and then its argument prototype would still apply. */
11888 if { (eval echo configure
:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11890 eval "ac_cv_lib_$ac_lib_var=yes"
11892 echo "configure: failed program was:" >&5
11893 cat conftest.
$ac_ext >&5
11895 eval "ac_cv_lib_$ac_lib_var=no"
11898 LIBS
="$ac_save_LIBS"
11901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11902 echo "$ac_t""yes" 1>&6
11903 cat >> confdefs.h
<<\EOF
11904 #define HAVE_INET_ATON 1
11908 echo "$ac_t""no" 1>&6
11916 if test "x$INET_LINK" != "x"; then
11917 cat >> confdefs.h
<<\EOF
11918 #define HAVE_INET_ADDR 1
11921 INET_LINK
="-l$INET_LINK"
11927 cat > confcache
<<\EOF
11928 # This file is a shell script that caches the results of configure
11929 # tests run on this system so they can be shared between configure
11930 # scripts and configure runs. It is not useful on other systems.
11931 # If it contains results you don't want to keep, you may remove or edit it.
11933 # By default, configure uses ./config.cache as the cache file,
11934 # creating it if it does not exist already. You can give configure
11935 # the --cache-file=FILE option to use a different cache file; that is
11936 # what configure does when it calls configure scripts in
11937 # subdirectories, so they share the cache.
11938 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11939 # config.status only pays attention to the cache file if you give it the
11940 # --recheck option to rerun configure.
11943 # The following way of writing the cache mishandles newlines in values,
11944 # but we know of no workaround that is simple, portable, and efficient.
11945 # So, don't put newlines in cache variables' values.
11946 # Ultrix sh set writes to stderr and can't be redirected directly,
11947 # and sets the high bit in the cache file unless we assign to the vars.
11949 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11951 # `set' does not quote correctly, so add quotes (double-quote substitution
11952 # turns \\\\ into \\, and sed turns \\ into \).
11954 -e "s/'/'\\\\''/g" \
11955 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11958 # `set' quotes correctly as required by POSIX, so do not add quotes.
11959 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11962 if cmp -s $cache_file confcache
; then
11965 if test -w $cache_file; then
11966 echo "updating cache $cache_file"
11967 cat confcache
> $cache_file
11969 echo "not updating unwritable cache $cache_file"
11976 if test "$TOOLKIT" != "MSW"; then
11982 if test "$wxUSE_THREADS" = "yes" ; then
11983 if test "$wxUSE_WINE" = 1 ; then
11984 echo "configure: warning: Threads are not supported under WINE" 1>&2
11986 elif test "$USE_BEOS" = 1; then
11987 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11992 if test "$wxUSE_THREADS" = "yes" ; then
11994 if test "$USE_AIX" = 1; then
11995 THREADS_LIB
=pthreads
11996 elif test "$USE_MAC" = 1; then
11997 THREADS_LIB
=cc_dynamic
11999 THREADS_LIB
=pthread
12002 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
12003 echo "configure:12004: checking for pthread_create in -l$THREADS_LIB" >&5
12004 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
12005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12006 echo $ac_n "(cached) $ac_c" 1>&6
12008 ac_save_LIBS
="$LIBS"
12009 LIBS
="-l$THREADS_LIB $LIBS"
12010 cat > conftest.
$ac_ext <<EOF
12011 #line 12012 "configure"
12012 #include "confdefs.h"
12013 /* Override any gcc2 internal prototype to avoid an error. */
12014 /* We use char because int might match the return type of a gcc2
12015 builtin and then its argument prototype would still apply. */
12016 char pthread_create();
12022 if { (eval echo configure
:12023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12024 eval "ac_cv_lib_$ac_lib_var=yes"
12026 echo "configure: failed program was:" >&5
12027 cat conftest.
$ac_ext >&5
12029 eval "ac_cv_lib_$ac_lib_var=no"
12032 LIBS
="$ac_save_LIBS"
12035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12036 echo "$ac_t""yes" 1>&6
12038 THREADS_OBJ
="threadpsx.lo"
12039 THREADS_LINK
=$THREADS_LIB
12042 echo "$ac_t""no" 1>&6
12044 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
12045 echo "configure:12046: checking for pthread_create in -lc_r" >&5
12046 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12050 ac_save_LIBS
="$LIBS"
12052 cat > conftest.
$ac_ext <<EOF
12053 #line 12054 "configure"
12054 #include "confdefs.h"
12055 /* Override any gcc2 internal prototype to avoid an error. */
12056 /* We use char because int might match the return type of a gcc2
12057 builtin and then its argument prototype would still apply. */
12058 char pthread_create();
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_lib_$ac_lib_var=yes"
12068 echo "configure: failed program was:" >&5
12069 cat conftest.
$ac_ext >&5
12071 eval "ac_cv_lib_$ac_lib_var=no"
12074 LIBS
="$ac_save_LIBS"
12077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12078 echo "$ac_t""yes" 1>&6
12080 THREADS_OBJ
="threadpsx.lo"
12084 echo "$ac_t""no" 1>&6
12086 echo $ac_n "checking for pthread_create in -lcc_dynamic""... $ac_c" 1>&6
12087 echo "configure:12088: checking for pthread_create in -lcc_dynamic" >&5
12088 ac_lib_var
=`echo cc_dynamic'_'pthread_create | sed 'y%./+-%__p_%'`
12089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12090 echo $ac_n "(cached) $ac_c" 1>&6
12092 ac_save_LIBS
="$LIBS"
12093 LIBS
="-lcc_dynamic $LIBS"
12094 cat > conftest.
$ac_ext <<EOF
12095 #line 12096 "configure"
12096 #include "confdefs.h"
12097 /* Override any gcc2 internal prototype to avoid an error. */
12098 /* We use char because int might match the return type of a gcc2
12099 builtin and then its argument prototype would still apply. */
12100 char pthread_create();
12106 if { (eval echo configure
:12107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12108 eval "ac_cv_lib_$ac_lib_var=yes"
12110 echo "configure: failed program was:" >&5
12111 cat conftest.
$ac_ext >&5
12113 eval "ac_cv_lib_$ac_lib_var=no"
12116 LIBS
="$ac_save_LIBS"
12119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12120 echo "$ac_t""yes" 1>&6
12122 THREADS_OBJ
="threadpsx.lo"
12123 THREADS_LINK
="cc_dynamic"
12126 echo "$ac_t""no" 1>&6
12128 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
12129 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
12130 echo "configure:12131: checking for sys/prctl.h" >&5
12131 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12132 echo $ac_n "(cached) $ac_c" 1>&6
12134 cat > conftest.
$ac_ext <<EOF
12135 #line 12136 "configure"
12136 #include "confdefs.h"
12137 #include <sys/prctl.h>
12139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12140 { (eval echo configure
:12141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12142 if test -z "$ac_err"; then
12144 eval "ac_cv_header_$ac_safe=yes"
12147 echo "configure: failed program was:" >&5
12148 cat conftest.
$ac_ext >&5
12150 eval "ac_cv_header_$ac_safe=no"
12154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12155 echo "$ac_t""yes" 1>&6
12157 THREADS_OBJ
="threadsgi.lo"
12160 echo "$ac_t""no" 1>&6
12173 if test -z "$THREADS_OBJ" ; then
12175 echo "configure: warning: No thread support on this system" 1>&2
12179 if test "$wxUSE_THREADS" = "yes" ; then
12180 for ac_func
in thr_setconcurrency
12182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12183 echo "configure:12184: checking for $ac_func" >&5
12184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12185 echo $ac_n "(cached) $ac_c" 1>&6
12187 cat > conftest.
$ac_ext <<EOF
12188 #line 12189 "configure"
12189 #include "confdefs.h"
12190 /* System header to define __stub macros and hopefully few prototypes,
12191 which can conflict with char $ac_func(); below. */
12192 #include <assert.h>
12193 /* Override any gcc2 internal prototype to avoid an error. */
12194 /* We use char because int might match the return type of a gcc2
12195 builtin and then its argument prototype would still apply. */
12200 /* The GNU C library defines this for functions which it implements
12201 to always fail with ENOSYS. Some functions are actually named
12202 something starting with __ and the normal name is an alias. */
12203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
12215 echo "configure: failed program was:" >&5
12216 cat conftest.
$ac_ext >&5
12218 eval "ac_cv_func_$ac_func=no"
12223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12224 echo "$ac_t""yes" 1>&6
12225 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12226 cat >> confdefs.h
<<EOF
12227 #define $ac_tr_func 1
12231 echo "$ac_t""no" 1>&6
12237 for ac_hdr
in sched.h
12239 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12241 echo "configure:12242: checking for $ac_hdr" >&5
12242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12243 echo $ac_n "(cached) $ac_c" 1>&6
12245 cat > conftest.
$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12250 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12251 { (eval echo configure
:12252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12252 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12253 if test -z "$ac_err"; then
12255 eval "ac_cv_header_$ac_safe=yes"
12258 echo "configure: failed program was:" >&5
12259 cat conftest.
$ac_ext >&5
12261 eval "ac_cv_header_$ac_safe=no"
12265 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12266 echo "$ac_t""yes" 1>&6
12267 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12268 cat >> confdefs.h
<<EOF
12269 #define $ac_tr_hdr 1
12273 echo "$ac_t""no" 1>&6
12278 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12279 echo "configure:12280: checking for sched_yield in -l$THREADS_LINK" >&5
12280 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 ac_save_LIBS
="$LIBS"
12285 LIBS
="-l$THREADS_LINK $LIBS"
12286 cat > conftest.
$ac_ext <<EOF
12287 #line 12288 "configure"
12288 #include "confdefs.h"
12289 /* Override any gcc2 internal prototype to avoid an error. */
12290 /* We use char because int might match the return type of a gcc2
12291 builtin and then its argument prototype would still apply. */
12292 char sched_yield();
12298 if { (eval echo configure
:12299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12300 eval "ac_cv_lib_$ac_lib_var=yes"
12302 echo "configure: failed program was:" >&5
12303 cat conftest.
$ac_ext >&5
12305 eval "ac_cv_lib_$ac_lib_var=no"
12308 LIBS
="$ac_save_LIBS"
12311 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12312 echo "$ac_t""yes" 1>&6
12313 cat >> confdefs.h
<<\EOF
12314 #define HAVE_SCHED_YIELD 1
12318 echo "$ac_t""no" 1>&6
12319 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12320 echo "configure:12321: checking for sched_yield in -l"posix4
"" >&5
12321 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12323 echo $ac_n "(cached) $ac_c" 1>&6
12325 ac_save_LIBS
="$LIBS"
12326 LIBS
="-l"posix4
" $LIBS"
12327 cat > conftest.
$ac_ext <<EOF
12328 #line 12329 "configure"
12329 #include "confdefs.h"
12330 /* Override any gcc2 internal prototype to avoid an error. */
12331 /* We use char because int might match the return type of a gcc2
12332 builtin and then its argument prototype would still apply. */
12333 char sched_yield();
12339 if { (eval echo configure
:12340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12341 eval "ac_cv_lib_$ac_lib_var=yes"
12343 echo "configure: failed program was:" >&5
12344 cat conftest.
$ac_ext >&5
12346 eval "ac_cv_lib_$ac_lib_var=no"
12349 LIBS
="$ac_save_LIBS"
12352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12353 echo "$ac_t""yes" 1>&6
12354 cat >> confdefs.h
<<\EOF
12355 #define HAVE_SCHED_YIELD 1
12357 POSIX4_LINK
="-lposix4"
12359 echo "$ac_t""no" 1>&6
12360 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12369 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12370 echo "configure:12371: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12371 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12372 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12373 echo $ac_n "(cached) $ac_c" 1>&6
12375 ac_save_LIBS
="$LIBS"
12376 LIBS
="-l$THREADS_LINK $LIBS"
12377 cat > conftest.
$ac_ext <<EOF
12378 #line 12379 "configure"
12379 #include "confdefs.h"
12380 /* Override any gcc2 internal prototype to avoid an error. */
12381 /* We use char because int might match the return type of a gcc2
12382 builtin and then its argument prototype would still apply. */
12383 char pthread_attr_getschedpolicy();
12386 pthread_attr_getschedpolicy()
12389 if { (eval echo configure
:12390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12391 eval "ac_cv_lib_$ac_lib_var=yes"
12393 echo "configure: failed program was:" >&5
12394 cat conftest.
$ac_ext >&5
12396 eval "ac_cv_lib_$ac_lib_var=no"
12399 LIBS
="$ac_save_LIBS"
12402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12403 echo "$ac_t""yes" 1>&6
12404 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12405 echo "configure:12406: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12406 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12408 echo $ac_n "(cached) $ac_c" 1>&6
12410 ac_save_LIBS
="$LIBS"
12411 LIBS
="-l$THREADS_LINK $LIBS"
12412 cat > conftest.
$ac_ext <<EOF
12413 #line 12414 "configure"
12414 #include "confdefs.h"
12415 /* Override any gcc2 internal prototype to avoid an error. */
12416 /* We use char because int might match the return type of a gcc2
12417 builtin and then its argument prototype would still apply. */
12418 char pthread_attr_setschedparam();
12421 pthread_attr_setschedparam()
12424 if { (eval echo configure
:12425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12426 eval "ac_cv_lib_$ac_lib_var=yes"
12428 echo "configure: failed program was:" >&5
12429 cat conftest.
$ac_ext >&5
12431 eval "ac_cv_lib_$ac_lib_var=no"
12434 LIBS
="$ac_save_LIBS"
12437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12438 echo "$ac_t""yes" 1>&6
12439 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12440 echo "configure:12441: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12441 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12442 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12445 ac_save_LIBS
="$LIBS"
12446 LIBS
="-l$THREADS_LINK $LIBS"
12447 cat > conftest.
$ac_ext <<EOF
12448 #line 12449 "configure"
12449 #include "confdefs.h"
12450 /* Override any gcc2 internal prototype to avoid an error. */
12451 /* We use char because int might match the return type of a gcc2
12452 builtin and then its argument prototype would still apply. */
12453 char sched_get_priority_max();
12456 sched_get_priority_max()
12459 if { (eval echo configure
:12460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12461 eval "ac_cv_lib_$ac_lib_var=yes"
12463 echo "configure: failed program was:" >&5
12464 cat conftest.
$ac_ext >&5
12466 eval "ac_cv_lib_$ac_lib_var=no"
12469 LIBS
="$ac_save_LIBS"
12472 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12473 echo "$ac_t""yes" 1>&6
12476 echo "$ac_t""no" 1>&6
12477 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12478 echo "configure:12479: checking for sched_get_priority_max in -l"posix4
"" >&5
12479 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12480 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12481 echo $ac_n "(cached) $ac_c" 1>&6
12483 ac_save_LIBS
="$LIBS"
12484 LIBS
="-l"posix4
" $LIBS"
12485 cat > conftest.
$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12488 /* Override any gcc2 internal prototype to avoid an error. */
12489 /* We use char because int might match the return type of a gcc2
12490 builtin and then its argument prototype would still apply. */
12491 char sched_get_priority_max();
12494 sched_get_priority_max()
12497 if { (eval echo configure
:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12499 eval "ac_cv_lib_$ac_lib_var=yes"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.
$ac_ext >&5
12504 eval "ac_cv_lib_$ac_lib_var=no"
12507 LIBS
="$ac_save_LIBS"
12510 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12511 echo "$ac_t""yes" 1>&6
12514 POSIX4_LINK
="-lposix4"
12517 echo "$ac_t""no" 1>&6
12525 echo "$ac_t""no" 1>&6
12530 echo "$ac_t""no" 1>&6
12534 if test "$HAVE_PRIOR_FUNCS" = 1; then
12535 cat >> confdefs.h
<<\EOF
12536 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12540 echo "configure: warning: Setting thread priority will not work" 1>&2
12543 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12544 echo "configure:12545: checking for pthread_cancel in -l$THREADS_LINK" >&5
12545 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12546 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12547 echo $ac_n "(cached) $ac_c" 1>&6
12549 ac_save_LIBS
="$LIBS"
12550 LIBS
="-l$THREADS_LINK $LIBS"
12551 cat > conftest.
$ac_ext <<EOF
12552 #line 12553 "configure"
12553 #include "confdefs.h"
12554 /* Override any gcc2 internal prototype to avoid an error. */
12555 /* We use char because int might match the return type of a gcc2
12556 builtin and then its argument prototype would still apply. */
12557 char pthread_cancel();
12563 if { (eval echo configure
:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12565 eval "ac_cv_lib_$ac_lib_var=yes"
12567 echo "configure: failed program was:" >&5
12568 cat conftest.
$ac_ext >&5
12570 eval "ac_cv_lib_$ac_lib_var=no"
12573 LIBS
="$ac_save_LIBS"
12576 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12577 echo "$ac_t""yes" 1>&6
12578 cat >> confdefs.h
<<\EOF
12579 #define HAVE_PTHREAD_CANCEL 1
12583 echo "$ac_t""no" 1>&6
12584 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12588 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12589 echo "configure:12590: checking for pthread_cleanup_push/pop" >&5
12590 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12591 echo $ac_n "(cached) $ac_c" 1>&6
12594 cat > conftest.
$ac_ext <<EOF
12595 #line 12596 "configure"
12596 #include "confdefs.h"
12597 #include <pthread.h>
12600 pthread_cleanup_push(NULL, NULL);
12601 pthread_cleanup_pop(0);
12605 if { (eval echo configure
:12606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12608 wx_cv_func_pthread_cleanup_push
=yes
12609 cat >> confdefs.h
<<\EOF
12610 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12615 echo "configure: failed program was:" >&5
12616 cat conftest.
$ac_ext >&5
12619 wx_cv_func_pthread_cleanup_push
=no
12626 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12628 THREADS_LINK
="-l$THREADS_LINK"
12630 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12631 CFLAGS
="${CFLAGS} -mt"
12632 CXXFLAGS
="${CXXFLAGS} -mt"
12633 LDFLAGS
="${LDFLAGS} -mt"
12639 if test "$wxUSE_THREADS" = "yes"; then
12640 cat >> confdefs.h
<<\EOF
12641 #define wxUSE_THREADS 1
12645 if test "$wxUSE_MAC" = "0"; then
12646 CFLAGS
="${CFLAGS} -D_REENTRANT"
12647 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12652 if test "$ac_cv_func_strtok_r" = "yes"; then
12653 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12654 echo "configure:12655: checking if -D_REENTRANT is needed" >&5
12655 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12656 CFLAGS
="${CFLAGS} -D_REENTRANT"
12657 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12658 echo "$ac_t""yes" 1>&6
12660 echo "$ac_t""no" 1>&6
12665 if test "$WXGTK20" = 1 ; then
12666 cat >> confdefs.h
<<EOF
12667 #define __WXGTK20__ $WXGTK20
12673 if test "$WXGTK12" = 1 ; then
12674 cat >> confdefs.h
<<EOF
12675 #define __WXGTK12__ $WXGTK12
12680 if test "$WXGTK127" = 1 ; then
12681 cat >> confdefs.h
<<EOF
12682 #define __WXGTK127__ $WXGTK127
12687 if test "$WXWINE" = 1 ; then
12688 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12691 if test "$wxUSE_MAC" = 1 ; then
12692 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
12693 TOOLKIT_INCLUDE
="${TOOLKIT_INCLUDE}"
12696 if test "$wxUSE_CYGWIN" = 1 ; then
12697 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12702 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12707 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12708 wxUSE_DEBUG_INFO
=yes
12712 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12713 cat >> confdefs.h
<<\EOF
12717 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12719 if test "$wxUSE_GTK" = 1 ; then
12720 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12724 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12725 cat >> confdefs.h
<<\EOF
12726 #define wxUSE_MEMORY_TRACING 1
12729 cat >> confdefs.h
<<\EOF
12730 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12733 cat >> confdefs.h
<<\EOF
12734 #define wxUSE_DEBUG_NEW_ALWAYS 1
12737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12740 if test "$wxUSE_DMALLOC" = "yes" ; then
12741 DMALLOC_LINK
="-ldmalloc"
12745 if test "$wxUSE_PROFILE" = "yes" ; then
12751 CODE_GEN_FLAGS_CXX
=
12752 if test "$GCC" = yes ; then
12753 if test "$wxUSE_NO_RTTI" = "yes" ; then
12754 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
12756 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12757 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
12759 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12760 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12762 if test "$wxUSE_NO_DEPS" = "no" ; then
12763 DEP_INFO_FLAGS
="-MMD"
12768 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12769 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12770 if test "$wxUSE_OPTIMISE" = "no" ; then
12773 if test "$GCC" = yes ; then
12776 i586
-*-*|i686
-*-* )
12777 OPTIMISE
="${OPTIMISE} "
12787 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12788 cat >> confdefs.h
<<\EOF
12789 #define wxUSE_ZLIB 1
12792 if test "$wxUSE_ZLIB" = "yes" ; then
12793 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12796 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12797 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12798 echo "configure:12799: checking for zlib.h" >&5
12799 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12800 echo $ac_n "(cached) $ac_c" 1>&6
12802 cat > conftest.
$ac_ext <<EOF
12803 #line 12804 "configure"
12804 #include "confdefs.h"
12807 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12808 { (eval echo configure
:12809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12809 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12810 if test -z "$ac_err"; then
12812 eval "ac_cv_header_$ac_safe=yes"
12815 echo "configure: failed program was:" >&5
12816 cat conftest.
$ac_ext >&5
12818 eval "ac_cv_header_$ac_safe=no"
12822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12823 echo "$ac_t""yes" 1>&6
12824 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12825 echo "configure:12826: checking for deflate in -lz" >&5
12826 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12828 echo $ac_n "(cached) $ac_c" 1>&6
12830 ac_save_LIBS
="$LIBS"
12832 cat > conftest.
$ac_ext <<EOF
12833 #line 12834 "configure"
12834 #include "confdefs.h"
12835 /* Override any gcc2 internal prototype to avoid an error. */
12836 /* We use char because int might match the return type of a gcc2
12837 builtin and then its argument prototype would still apply. */
12844 if { (eval echo configure
:12845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12846 eval "ac_cv_lib_$ac_lib_var=yes"
12848 echo "configure: failed program was:" >&5
12849 cat conftest.
$ac_ext >&5
12851 eval "ac_cv_lib_$ac_lib_var=no"
12854 LIBS
="$ac_save_LIBS"
12857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12858 echo "$ac_t""yes" 1>&6
12861 echo "$ac_t""no" 1>&6
12865 echo "$ac_t""no" 1>&6
12868 if test "x$ZLIB_LINK" = "x" ; then
12869 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12875 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12876 cat >> confdefs.h
<<\EOF
12877 #define wxUSE_LIBPNG 1
12880 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12881 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12885 if test "$wxUSE_LIBPNG" = "yes" ; then
12886 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12889 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12890 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12891 echo "configure:12892: checking for png.h" >&5
12892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12893 echo $ac_n "(cached) $ac_c" 1>&6
12895 cat > conftest.
$ac_ext <<EOF
12896 #line 12897 "configure"
12897 #include "confdefs.h"
12900 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12901 { (eval echo configure
:12902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12902 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12903 if test -z "$ac_err"; then
12905 eval "ac_cv_header_$ac_safe=yes"
12908 echo "configure: failed program was:" >&5
12909 cat conftest.
$ac_ext >&5
12911 eval "ac_cv_header_$ac_safe=no"
12915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12916 echo "$ac_t""yes" 1>&6
12917 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12918 echo "configure:12919: checking for png_check_sig in -lpng" >&5
12919 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12920 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12921 echo $ac_n "(cached) $ac_c" 1>&6
12923 ac_save_LIBS
="$LIBS"
12924 LIBS
="-lpng -lz -lm $LIBS"
12925 cat > conftest.
$ac_ext <<EOF
12926 #line 12927 "configure"
12927 #include "confdefs.h"
12928 /* Override any gcc2 internal prototype to avoid an error. */
12929 /* We use char because int might match the return type of a gcc2
12930 builtin and then its argument prototype would still apply. */
12931 char png_check_sig();
12937 if { (eval echo configure
:12938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12939 eval "ac_cv_lib_$ac_lib_var=yes"
12941 echo "configure: failed program was:" >&5
12942 cat conftest.
$ac_ext >&5
12944 eval "ac_cv_lib_$ac_lib_var=no"
12947 LIBS
="$ac_save_LIBS"
12950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12951 echo "$ac_t""yes" 1>&6
12954 echo "$ac_t""no" 1>&6
12959 echo "$ac_t""no" 1>&6
12962 if test "x$PNG_LINK" = "x" ; then
12963 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12971 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12972 cat >> confdefs.h
<<\EOF
12973 #define wxUSE_LIBJPEG 1
12976 if test "$wxUSE_LIBJPEG" = "yes" ; then
12977 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12980 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12981 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12982 echo "configure:12983: checking for jpeglib.h" >&5
12983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12984 echo $ac_n "(cached) $ac_c" 1>&6
12986 cat > conftest.
$ac_ext <<EOF
12987 #line 12988 "configure"
12988 #include "confdefs.h"
12989 #include <jpeglib.h>
12991 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12992 { (eval echo configure
:12993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12993 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12994 if test -z "$ac_err"; then
12996 eval "ac_cv_header_$ac_safe=yes"
12999 echo "configure: failed program was:" >&5
13000 cat conftest.
$ac_ext >&5
13002 eval "ac_cv_header_$ac_safe=no"
13006 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13007 echo "$ac_t""yes" 1>&6
13008 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
13009 echo "configure:13010: checking for jpeg_read_header in -ljpeg" >&5
13010 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
13011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13012 echo $ac_n "(cached) $ac_c" 1>&6
13014 ac_save_LIBS
="$LIBS"
13015 LIBS
="-ljpeg $LIBS"
13016 cat > conftest.
$ac_ext <<EOF
13017 #line 13018 "configure"
13018 #include "confdefs.h"
13019 /* Override any gcc2 internal prototype to avoid an error. */
13020 /* We use char because int might match the return type of a gcc2
13021 builtin and then its argument prototype would still apply. */
13022 char jpeg_read_header();
13028 if { (eval echo configure
:13029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13030 eval "ac_cv_lib_$ac_lib_var=yes"
13032 echo "configure: failed program was:" >&5
13033 cat conftest.
$ac_ext >&5
13035 eval "ac_cv_lib_$ac_lib_var=no"
13038 LIBS
="$ac_save_LIBS"
13041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13042 echo "$ac_t""yes" 1>&6
13045 echo "$ac_t""no" 1>&6
13049 echo "$ac_t""no" 1>&6
13052 if test "x$JPEG_LINK" = "x" ; then
13053 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
13059 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
13060 cat >> confdefs.h
<<\EOF
13061 #define wxUSE_LIBTIFF 1
13064 if test "$wxUSE_LIBTIFF" = "yes" ; then
13065 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
13068 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
13069 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
13070 echo "configure:13071: checking for tiffio.h" >&5
13071 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13072 echo $ac_n "(cached) $ac_c" 1>&6
13074 cat > conftest.
$ac_ext <<EOF
13075 #line 13076 "configure"
13076 #include "confdefs.h"
13077 #include <tiffio.h>
13079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13080 { (eval echo configure
:13081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13082 if test -z "$ac_err"; then
13084 eval "ac_cv_header_$ac_safe=yes"
13087 echo "configure: failed program was:" >&5
13088 cat conftest.
$ac_ext >&5
13090 eval "ac_cv_header_$ac_safe=no"
13094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13095 echo "$ac_t""yes" 1>&6
13096 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
13097 echo "configure:13098: checking for TIFFError in -ltiff" >&5
13098 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
13099 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13100 echo $ac_n "(cached) $ac_c" 1>&6
13102 ac_save_LIBS
="$LIBS"
13103 LIBS
="-ltiff -lm $LIBS"
13104 cat > conftest.
$ac_ext <<EOF
13105 #line 13106 "configure"
13106 #include "confdefs.h"
13107 /* Override any gcc2 internal prototype to avoid an error. */
13108 /* We use char because int might match the return type of a gcc2
13109 builtin and then its argument prototype would still apply. */
13116 if { (eval echo configure
:13117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13118 eval "ac_cv_lib_$ac_lib_var=yes"
13120 echo "configure: failed program was:" >&5
13121 cat conftest.
$ac_ext >&5
13123 eval "ac_cv_lib_$ac_lib_var=no"
13126 LIBS
="$ac_save_LIBS"
13129 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13130 echo "$ac_t""yes" 1>&6
13133 echo "$ac_t""no" 1>&6
13137 echo "$ac_t""no" 1>&6
13140 if test "x$TIFF_LINK" = "x" ; then
13141 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
13147 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
13148 cat >> confdefs.h
<<\EOF
13149 #define wxUSE_FREETYPE 1
13152 if test "$wxUSE_FREETYPE" = "yes" ; then
13153 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
13156 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13157 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13158 echo "configure:13159: checking for freetype.h" >&5
13159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13160 echo $ac_n "(cached) $ac_c" 1>&6
13162 cat > conftest.
$ac_ext <<EOF
13163 #line 13164 "configure"
13164 #include "confdefs.h"
13165 #include <freetype.h>
13167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13168 { (eval echo configure
:13169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13170 if test -z "$ac_err"; then
13172 eval "ac_cv_header_$ac_safe=yes"
13175 echo "configure: failed program was:" >&5
13176 cat conftest.
$ac_ext >&5
13178 eval "ac_cv_header_$ac_safe=no"
13182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13183 echo "$ac_t""yes" 1>&6
13184 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13185 echo "configure:13186: checking for FT_Render_Glyph in -lfreetype" >&5
13186 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13187 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13188 echo $ac_n "(cached) $ac_c" 1>&6
13190 ac_save_LIBS
="$LIBS"
13191 LIBS
="-lfreetype -lm $LIBS"
13192 cat > conftest.
$ac_ext <<EOF
13193 #line 13194 "configure"
13194 #include "confdefs.h"
13195 /* Override any gcc2 internal prototype to avoid an error. */
13196 /* We use char because int might match the return type of a gcc2
13197 builtin and then its argument prototype would still apply. */
13198 char FT_Render_Glyph();
13204 if { (eval echo configure
:13205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13206 eval "ac_cv_lib_$ac_lib_var=yes"
13208 echo "configure: failed program was:" >&5
13209 cat conftest.
$ac_ext >&5
13211 eval "ac_cv_lib_$ac_lib_var=no"
13214 LIBS
="$ac_save_LIBS"
13217 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13218 echo "$ac_t""yes" 1>&6
13219 FREETYPE_LINK
="-lfreetype"
13221 echo "$ac_t""no" 1>&6
13226 echo "$ac_t""no" 1>&6
13229 if test "x$FREETYPE_LINK" = "x" ; then
13230 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13235 if test "$wxUSE_OPENGL" = "yes"; then
13236 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13237 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13238 echo "configure:13239: checking for GL/gl.h" >&5
13239 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13240 echo $ac_n "(cached) $ac_c" 1>&6
13242 cat > conftest.
$ac_ext <<EOF
13243 #line 13244 "configure"
13244 #include "confdefs.h"
13247 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13248 { (eval echo configure
:13249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13249 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13250 if test -z "$ac_err"; then
13252 eval "ac_cv_header_$ac_safe=yes"
13255 echo "configure: failed program was:" >&5
13256 cat conftest.
$ac_ext >&5
13258 eval "ac_cv_header_$ac_safe=no"
13262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13263 echo "$ac_t""yes" 1>&6
13265 cat >> confdefs.h
<<\EOF
13266 #define wxUSE_OPENGL 1
13269 cat >> confdefs.h
<<\EOF
13270 #define wxUSE_GLCANVAS 1
13273 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13274 echo "configure:13275: checking for glFlush in -lGL" >&5
13275 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13277 echo $ac_n "(cached) $ac_c" 1>&6
13279 ac_save_LIBS
="$LIBS"
13281 cat > conftest.
$ac_ext <<EOF
13282 #line 13283 "configure"
13283 #include "confdefs.h"
13284 /* Override any gcc2 internal prototype to avoid an error. */
13285 /* We use char because int might match the return type of a gcc2
13286 builtin and then its argument prototype would still apply. */
13293 if { (eval echo configure
:13294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13295 eval "ac_cv_lib_$ac_lib_var=yes"
13297 echo "configure: failed program was:" >&5
13298 cat conftest.
$ac_ext >&5
13300 eval "ac_cv_lib_$ac_lib_var=no"
13303 LIBS
="$ac_save_LIBS"
13306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13307 echo "$ac_t""yes" 1>&6
13309 OPENGL_LINK
="-lGL -lGLU"
13312 echo "$ac_t""no" 1>&6
13314 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13315 echo "configure:13316: checking for glFlush in -lMesaGL" >&5
13316 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13318 echo $ac_n "(cached) $ac_c" 1>&6
13320 ac_save_LIBS
="$LIBS"
13321 LIBS
="-lMesaGL $LIBS"
13322 cat > conftest.
$ac_ext <<EOF
13323 #line 13324 "configure"
13324 #include "confdefs.h"
13325 /* Override any gcc2 internal prototype to avoid an error. */
13326 /* We use char because int might match the return type of a gcc2
13327 builtin and then its argument prototype would still apply. */
13334 if { (eval echo configure
:13335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13336 eval "ac_cv_lib_$ac_lib_var=yes"
13338 echo "configure: failed program was:" >&5
13339 cat conftest.
$ac_ext >&5
13341 eval "ac_cv_lib_$ac_lib_var=no"
13344 LIBS
="$ac_save_LIBS"
13347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13348 echo "$ac_t""yes" 1>&6
13350 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13353 echo "$ac_t""no" 1>&6
13361 echo "$ac_t""no" 1>&6
13368 if test "$wxUSE_GUI" = "yes"; then
13369 cat >> confdefs.h
<<\EOF
13370 #define wxUSE_GUI 1
13375 cat >> confdefs.h
<<\EOF
13376 #define wxUSE_NOGUI 1
13382 if test "$wxUSE_UNIX" = "yes"; then
13383 cat >> confdefs.h
<<\EOF
13384 #define wxUSE_UNIX 1
13390 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13391 cat >> confdefs.h
<<\EOF
13392 #define wxUSE_APPLE_IEEE 1
13397 if test "$wxUSE_WAVE" = "yes"; then
13398 cat >> confdefs.h
<<\EOF
13399 #define wxUSE_WAVE 1
13404 if test "$wxUSE_FILE" = "yes"; then
13405 cat >> confdefs.h
<<\EOF
13406 #define wxUSE_FILE 1
13411 if test "$wxUSE_FILESYSTEM" = "yes"; then
13412 cat >> confdefs.h
<<\EOF
13413 #define wxUSE_FILESYSTEM 1
13418 if test "$wxUSE_FS_INET" = "yes"; then
13419 cat >> confdefs.h
<<\EOF
13420 #define wxUSE_FS_INET 1
13425 if test "$wxUSE_FS_ZIP" = "yes"; then
13426 cat >> confdefs.h
<<\EOF
13427 #define wxUSE_FS_ZIP 1
13432 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13433 cat >> confdefs.h
<<\EOF
13434 #define wxUSE_ZIPSTREAM 1
13439 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13440 cat >> confdefs.h
<<\EOF
13441 #define wxUSE_ON_FATAL_EXCEPTION 1
13446 if test "$wxUSE_BUSYINFO" = "yes"; then
13447 cat >> confdefs.h
<<\EOF
13448 #define wxUSE_BUSYINFO 1
13453 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13454 cat >> confdefs.h
<<\EOF
13455 #define wxUSE_STD_IOSTREAM 1
13460 if test "$wxUSE_TEXTFILE" = "yes"; then
13461 if test "$wxUSE_FILE" != "yes"; then
13462 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13464 cat >> confdefs.h
<<\EOF
13465 #define wxUSE_TEXTFILE 1
13471 if test "$wxUSE_CONFIG" = "yes" ; then
13472 if test "$wxUSE_TEXTFILE" != "yes"; then
13473 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13475 cat >> confdefs.h
<<\EOF
13476 #define wxUSE_CONFIG 1
13479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13483 if test "$wxUSE_INTL" = "yes" ; then
13484 if test "$wxUSE_FILE" != "yes"; then
13485 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13487 cat >> confdefs.h
<<\EOF
13488 #define wxUSE_INTL 1
13491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13492 GUIDIST
="$GUIDIST INTL_DIST"
13496 if test "$wxUSE_LOG" = "yes"; then
13497 cat >> confdefs.h
<<\EOF
13498 #define wxUSE_LOG 1
13503 if test "$wxUSE_LONGLONG" = "yes"; then
13504 cat >> confdefs.h
<<\EOF
13505 #define wxUSE_LONGLONG 1
13510 if test "$wxUSE_GEOMETRY" = "yes"; then
13511 cat >> confdefs.h
<<\EOF
13512 #define wxUSE_GEOMETRY 1
13517 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13518 cat >> confdefs.h
<<\EOF
13519 #define wxUSE_DIALUP_MANAGER 1
13522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13525 if test "$wxUSE_STREAMS" = "yes" ; then
13526 cat >> confdefs.h
<<\EOF
13527 #define wxUSE_STREAMS 1
13533 if test "$wxUSE_TIMEDATE" = "yes"; then
13534 for ac_func
in strptime
13536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13537 echo "configure:13538: checking for $ac_func" >&5
13538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13541 cat > conftest.
$ac_ext <<EOF
13542 #line 13543 "configure"
13543 #include "confdefs.h"
13544 /* System header to define __stub macros and hopefully few prototypes,
13545 which can conflict with char $ac_func(); below. */
13546 #include <assert.h>
13547 /* Override any gcc2 internal prototype to avoid an error. */
13548 /* We use char because int might match the return type of a gcc2
13549 builtin and then its argument prototype would still apply. */
13554 /* The GNU C library defines this for functions which it implements
13555 to always fail with ENOSYS. Some functions are actually named
13556 something starting with __ and the normal name is an alias. */
13557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13565 if { (eval echo configure
:13566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13567 eval "ac_cv_func_$ac_func=yes"
13569 echo "configure: failed program was:" >&5
13570 cat conftest.
$ac_ext >&5
13572 eval "ac_cv_func_$ac_func=no"
13577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13578 echo "$ac_t""yes" 1>&6
13579 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13580 cat >> confdefs.h
<<EOF
13581 #define $ac_tr_func 1
13585 echo "$ac_t""no" 1>&6
13590 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13591 echo "configure:13592: checking for timezone variable in <time.h>" >&5
13592 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13593 echo $ac_n "(cached) $ac_c" 1>&6
13596 cat > conftest.
$ac_ext <<EOF
13597 #line 13598 "configure"
13598 #include "confdefs.h"
13609 if { (eval echo configure
:13610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13612 wx_cv_var_timezone
=__timezone
13615 echo "configure: failed program was:" >&5
13616 cat conftest.
$ac_ext >&5
13619 cat > conftest.
$ac_ext <<EOF
13620 #line 13621 "configure"
13621 #include "confdefs.h"
13632 if { (eval echo configure
:13633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13635 wx_cv_var_timezone
=_timezone
13638 echo "configure: failed program was:" >&5
13639 cat conftest.
$ac_ext >&5
13642 cat > conftest.
$ac_ext <<EOF
13643 #line 13644 "configure"
13644 #include "confdefs.h"
13655 if { (eval echo configure
:13656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13658 wx_cv_var_timezone
=timezone
13661 echo "configure: failed program was:" >&5
13662 cat conftest.
$ac_ext >&5
13664 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13680 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13682 cat >> confdefs.h
<<EOF
13683 #define WX_TIMEZONE $wx_cv_var_timezone
13687 for ac_func
in localtime
13689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13690 echo "configure:13691: checking for $ac_func" >&5
13691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13692 echo $ac_n "(cached) $ac_c" 1>&6
13694 cat > conftest.
$ac_ext <<EOF
13695 #line 13696 "configure"
13696 #include "confdefs.h"
13697 /* System header to define __stub macros and hopefully few prototypes,
13698 which can conflict with char $ac_func(); below. */
13699 #include <assert.h>
13700 /* Override any gcc2 internal prototype to avoid an error. */
13701 /* We use char because int might match the return type of a gcc2
13702 builtin and then its argument prototype would still apply. */
13707 /* The GNU C library defines this for functions which it implements
13708 to always fail with ENOSYS. Some functions are actually named
13709 something starting with __ and the normal name is an alias. */
13710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13718 if { (eval echo configure
:13719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13720 eval "ac_cv_func_$ac_func=yes"
13722 echo "configure: failed program was:" >&5
13723 cat conftest.
$ac_ext >&5
13725 eval "ac_cv_func_$ac_func=no"
13730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13731 echo "$ac_t""yes" 1>&6
13732 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13733 cat >> confdefs.h
<<EOF
13734 #define $ac_tr_func 1
13738 echo "$ac_t""no" 1>&6
13743 if test "$ac_cv_func_localtime" = "yes"; then
13744 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13745 echo "configure:13746: checking for tm_gmtoff in struct tm" >&5
13746 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13747 echo $ac_n "(cached) $ac_c" 1>&6
13750 cat > conftest.
$ac_ext <<EOF
13751 #line 13752 "configure"
13752 #include "confdefs.h"
13763 if { (eval echo configure
:13764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13766 wx_cv_struct_tm_has_gmtoff
=yes
13767 cat >> confdefs.h
<<\EOF
13768 #define WX_GMTOFF_IN_TM 1
13773 echo "configure: failed program was:" >&5
13774 cat conftest.
$ac_ext >&5
13776 wx_cv_struct_tm_has_gmtoff
=no
13783 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
13786 for ac_func
in gettimeofday ftime
13788 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13789 echo "configure:13790: checking for $ac_func" >&5
13790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13791 echo $ac_n "(cached) $ac_c" 1>&6
13793 cat > conftest.
$ac_ext <<EOF
13794 #line 13795 "configure"
13795 #include "confdefs.h"
13796 /* System header to define __stub macros and hopefully few prototypes,
13797 which can conflict with char $ac_func(); below. */
13798 #include <assert.h>
13799 /* Override any gcc2 internal prototype to avoid an error. */
13800 /* We use char because int might match the return type of a gcc2
13801 builtin and then its argument prototype would still apply. */
13806 /* The GNU C library defines this for functions which it implements
13807 to always fail with ENOSYS. Some functions are actually named
13808 something starting with __ and the normal name is an alias. */
13809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13817 if { (eval echo configure
:13818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13819 eval "ac_cv_func_$ac_func=yes"
13821 echo "configure: failed program was:" >&5
13822 cat conftest.
$ac_ext >&5
13824 eval "ac_cv_func_$ac_func=no"
13829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13830 echo "$ac_t""yes" 1>&6
13831 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13832 cat >> confdefs.h
<<EOF
13833 #define $ac_tr_func 1
13837 echo "$ac_t""no" 1>&6
13842 if test "$ac_cv_func_gettimeofday" = "yes"; then
13843 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
13844 echo "configure:13845: checking whether gettimeofday takes two arguments" >&5
13845 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
13846 echo $ac_n "(cached) $ac_c" 1>&6
13851 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13852 ac_cpp
='$CXXCPP $CPPFLAGS'
13853 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13854 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13855 cross_compiling
=$ac_cv_prog_cxx_cross
13858 cat > conftest.
$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13862 #include <sys/time.h>
13863 #include <unistd.h>
13868 struct timezone tz;
13869 gettimeofday(&tv, &tz);
13873 if { (eval echo configure
:13874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13875 wx_cv_func_gettimeofday_has_2_args
=yes
13877 echo "configure: failed program was:" >&5
13878 cat conftest.
$ac_ext >&5
13880 cat > conftest.
$ac_ext <<EOF
13881 #line 13882 "configure"
13882 #include "confdefs.h"
13884 #include <sys/time.h>
13885 #include <unistd.h>
13894 if { (eval echo configure
:13895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13896 wx_cv_func_gettimeofday_has_2_args
=no
13898 echo "configure: failed program was:" >&5
13899 cat conftest.
$ac_ext >&5
13901 wx_cv_func_gettimeofday_has_2_args
=unknown
13909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13910 ac_cpp
='$CPP $CPPFLAGS'
13911 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13912 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13913 cross_compiling
=$ac_cv_prog_cc_cross
13918 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13920 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13921 cat >> confdefs.h
<<\EOF
13922 #define WX_GETTIMEOFDAY_NO_TZ 1
13928 cat >> confdefs.h
<<\EOF
13929 #define wxUSE_TIMEDATE 1
13932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13936 if test "$TOOLKIT" != "MSW"; then
13938 if test "$wxUSE_SOCKETS" = "yes"; then
13939 echo $ac_n "checking for socket""... $ac_c" 1>&6
13940 echo "configure:13941: checking for socket" >&5
13941 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13942 echo $ac_n "(cached) $ac_c" 1>&6
13944 cat > conftest.
$ac_ext <<EOF
13945 #line 13946 "configure"
13946 #include "confdefs.h"
13947 /* System header to define __stub macros and hopefully few prototypes,
13948 which can conflict with char socket(); below. */
13949 #include <assert.h>
13950 /* Override any gcc2 internal prototype to avoid an error. */
13951 /* We use char because int might match the return type of a gcc2
13952 builtin and then its argument prototype would still apply. */
13957 /* The GNU C library defines this for functions which it implements
13958 to always fail with ENOSYS. Some functions are actually named
13959 something starting with __ and the normal name is an alias. */
13960 #if defined (__stub_socket) || defined (__stub___socket)
13968 if { (eval echo configure
:13969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13970 eval "ac_cv_func_socket=yes"
13972 echo "configure: failed program was:" >&5
13973 cat conftest.
$ac_ext >&5
13975 eval "ac_cv_func_socket=no"
13980 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13981 echo "$ac_t""yes" 1>&6
13984 echo "$ac_t""no" 1>&6
13985 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13986 echo "configure:13987: checking for socket in -lsocket" >&5
13987 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13988 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13989 echo $ac_n "(cached) $ac_c" 1>&6
13991 ac_save_LIBS
="$LIBS"
13992 LIBS
="-lsocket $LIBS"
13993 cat > conftest.
$ac_ext <<EOF
13994 #line 13995 "configure"
13995 #include "confdefs.h"
13996 /* Override any gcc2 internal prototype to avoid an error. */
13997 /* We use char because int might match the return type of a gcc2
13998 builtin and then its argument prototype would still apply. */
14005 if { (eval echo configure
:14006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14007 eval "ac_cv_lib_$ac_lib_var=yes"
14009 echo "configure: failed program was:" >&5
14010 cat conftest.
$ac_ext >&5
14012 eval "ac_cv_lib_$ac_lib_var=no"
14015 LIBS
="$ac_save_LIBS"
14018 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14019 echo "$ac_t""yes" 1>&6
14020 INET_LINK
="$INET_LINK -lsocket"
14022 echo "$ac_t""no" 1>&6
14024 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
14036 if test "$wxUSE_SOCKETS" = "yes" ; then
14037 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
14038 echo "configure:14039: checking what is the type of the third argument of getsockname" >&5
14039 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
14040 echo $ac_n "(cached) $ac_c" 1>&6
14045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14046 ac_cpp
='$CXXCPP $CPPFLAGS'
14047 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14048 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14049 cross_compiling
=$ac_cv_prog_cxx_cross
14052 cat > conftest.
$ac_ext <<EOF
14053 #line 14054 "configure"
14054 #include "confdefs.h"
14056 #include <sys/types.h>
14057 #include <sys/socket.h>
14062 getsockname(0, 0, &len);
14066 if { (eval echo configure
:14067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14068 wx_cv_type_getsockname3
=socklen_t
14070 echo "configure: failed program was:" >&5
14071 cat conftest.
$ac_ext >&5
14073 cat > conftest.
$ac_ext <<EOF
14074 #line 14075 "configure"
14075 #include "confdefs.h"
14077 #include <sys/types.h>
14078 #include <sys/socket.h>
14083 getsockname(0, 0, &len);
14087 if { (eval echo configure
:14088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14089 wx_cv_type_getsockname3
=size_t
14091 echo "configure: failed program was:" >&5
14092 cat conftest.
$ac_ext >&5
14094 cat > conftest.
$ac_ext <<EOF
14095 #line 14096 "configure"
14096 #include "confdefs.h"
14098 #include <sys/types.h>
14099 #include <sys/socket.h>
14104 getsockname(0, 0, &len);
14108 if { (eval echo configure
:14109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14110 wx_cv_type_getsockname3
=int
14112 echo "configure: failed program was:" >&5
14113 cat conftest.
$ac_ext >&5
14115 wx_cv_type_getsockname3
=unknown
14127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14128 ac_cpp
='$CPP $CPPFLAGS'
14129 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14130 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14131 cross_compiling
=$ac_cv_prog_cc_cross
14136 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
14138 if test "$wx_cv_type_getsockname3" = "unknown"; then
14140 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
14142 cat >> confdefs.h
<<EOF
14143 #define SOCKLEN_T $wx_cv_type_getsockname3
14151 if test "$wxUSE_SOCKETS" = "yes" ; then
14152 cat >> confdefs.h
<<\EOF
14153 #define wxUSE_SOCKETS 1
14156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14157 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14161 if test "$wxUSE_GUI" = "yes"; then
14163 if test "$TOOLKIT" != "MSW"; then
14165 if test "$wxUSE_JOYSTICK" = "yes"; then
14166 for ac_hdr
in linux
/joystick.h
14168 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14170 echo "configure:14171: checking for $ac_hdr" >&5
14171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14172 echo $ac_n "(cached) $ac_c" 1>&6
14174 cat > conftest.
$ac_ext <<EOF
14175 #line 14176 "configure"
14176 #include "confdefs.h"
14179 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14180 { (eval echo configure
:14181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14181 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14182 if test -z "$ac_err"; then
14184 eval "ac_cv_header_$ac_safe=yes"
14187 echo "configure: failed program was:" >&5
14188 cat conftest.
$ac_ext >&5
14190 eval "ac_cv_header_$ac_safe=no"
14194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14195 echo "$ac_t""yes" 1>&6
14196 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14197 cat >> confdefs.h
<<EOF
14198 #define $ac_tr_hdr 1
14202 echo "$ac_t""no" 1>&6
14206 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14208 echo "configure: warning: Joystick not supported by this system" 1>&2
14214 if test "$wxUSE_JOYSTICK" = "yes"; then
14215 cat >> confdefs.h
<<\EOF
14216 #define wxUSE_JOYSTICK 1
14219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14225 if test "$TOOLKIT" != "MSW"; then
14229 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14230 if test "$USE_MAC" = 1; then
14233 for ac_func
in dlopen
14235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14236 echo "configure:14237: checking for $ac_func" >&5
14237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14238 echo $ac_n "(cached) $ac_c" 1>&6
14240 cat > conftest.
$ac_ext <<EOF
14241 #line 14242 "configure"
14242 #include "confdefs.h"
14243 /* System header to define __stub macros and hopefully few prototypes,
14244 which can conflict with char $ac_func(); below. */
14245 #include <assert.h>
14246 /* Override any gcc2 internal prototype to avoid an error. */
14247 /* We use char because int might match the return type of a gcc2
14248 builtin and then its argument prototype would still apply. */
14253 /* The GNU C library defines this for functions which it implements
14254 to always fail with ENOSYS. Some functions are actually named
14255 something starting with __ and the normal name is an alias. */
14256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14264 if { (eval echo configure
:14265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14266 eval "ac_cv_func_$ac_func=yes"
14268 echo "configure: failed program was:" >&5
14269 cat conftest.
$ac_ext >&5
14271 eval "ac_cv_func_$ac_func=no"
14276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14277 echo "$ac_t""yes" 1>&6
14278 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14279 cat >> confdefs.h
<<EOF
14280 #define $ac_tr_func 1
14283 cat >> confdefs.h
<<\EOF
14284 #define HAVE_DLOPEN 1
14290 echo "$ac_t""no" 1>&6
14291 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14292 echo "configure:14293: checking for dlopen in -ldl" >&5
14293 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14295 echo $ac_n "(cached) $ac_c" 1>&6
14297 ac_save_LIBS
="$LIBS"
14299 cat > conftest.
$ac_ext <<EOF
14300 #line 14301 "configure"
14301 #include "confdefs.h"
14302 /* Override any gcc2 internal prototype to avoid an error. */
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14311 if { (eval echo configure
:14312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14313 eval "ac_cv_lib_$ac_lib_var=yes"
14315 echo "configure: failed program was:" >&5
14316 cat conftest.
$ac_ext >&5
14318 eval "ac_cv_lib_$ac_lib_var=no"
14321 LIBS
="$ac_save_LIBS"
14324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14325 echo "$ac_t""yes" 1>&6
14327 cat >> confdefs.h
<<\EOF
14328 #define HAVE_DLOPEN 1
14335 echo "$ac_t""no" 1>&6
14337 for ac_func
in shl_load
14339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14340 echo "configure:14341: checking for $ac_func" >&5
14341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14342 echo $ac_n "(cached) $ac_c" 1>&6
14344 cat > conftest.
$ac_ext <<EOF
14345 #line 14346 "configure"
14346 #include "confdefs.h"
14347 /* System header to define __stub macros and hopefully few prototypes,
14348 which can conflict with char $ac_func(); below. */
14349 #include <assert.h>
14350 /* Override any gcc2 internal prototype to avoid an error. */
14351 /* We use char because int might match the return type of a gcc2
14352 builtin and then its argument prototype would still apply. */
14357 /* The GNU C library defines this for functions which it implements
14358 to always fail with ENOSYS. Some functions are actually named
14359 something starting with __ and the normal name is an alias. */
14360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14368 if { (eval echo configure
:14369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14370 eval "ac_cv_func_$ac_func=yes"
14372 echo "configure: failed program was:" >&5
14373 cat conftest.
$ac_ext >&5
14375 eval "ac_cv_func_$ac_func=no"
14380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14381 echo "$ac_t""yes" 1>&6
14382 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14383 cat >> confdefs.h
<<EOF
14384 #define $ac_tr_func 1
14387 cat >> confdefs.h
<<\EOF
14388 #define HAVE_SHL_LOAD 1
14394 echo "$ac_t""no" 1>&6
14395 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14396 echo "configure:14397: checking for dld in -lshl_load" >&5
14397 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14399 echo $ac_n "(cached) $ac_c" 1>&6
14401 ac_save_LIBS
="$LIBS"
14402 LIBS
="-lshl_load $LIBS"
14403 cat > conftest.
$ac_ext <<EOF
14404 #line 14405 "configure"
14405 #include "confdefs.h"
14406 /* Override any gcc2 internal prototype to avoid an error. */
14407 /* We use char because int might match the return type of a gcc2
14408 builtin and then its argument prototype would still apply. */
14415 if { (eval echo configure
:14416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14417 eval "ac_cv_lib_$ac_lib_var=yes"
14419 echo "configure: failed program was:" >&5
14420 cat conftest.
$ac_ext >&5
14422 eval "ac_cv_lib_$ac_lib_var=no"
14425 LIBS
="$ac_save_LIBS"
14428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14429 echo "$ac_t""yes" 1>&6
14435 echo "$ac_t""no" 1>&6
14450 if test "$HAVE_DL_FUNCS" = 1; then
14451 for ac_func
in dlerror
14453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14454 echo "configure:14455: checking for $ac_func" >&5
14455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14456 echo $ac_n "(cached) $ac_c" 1>&6
14458 cat > conftest.
$ac_ext <<EOF
14459 #line 14460 "configure"
14460 #include "confdefs.h"
14461 /* System header to define __stub macros and hopefully few prototypes,
14462 which can conflict with char $ac_func(); below. */
14463 #include <assert.h>
14464 /* Override any gcc2 internal prototype to avoid an error. */
14465 /* We use char because int might match the return type of a gcc2
14466 builtin and then its argument prototype would still apply. */
14471 /* The GNU C library defines this for functions which it implements
14472 to always fail with ENOSYS. Some functions are actually named
14473 something starting with __ and the normal name is an alias. */
14474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14482 if { (eval echo configure
:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14484 eval "ac_cv_func_$ac_func=yes"
14486 echo "configure: failed program was:" >&5
14487 cat conftest.
$ac_ext >&5
14489 eval "ac_cv_func_$ac_func=no"
14494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14495 echo "$ac_t""yes" 1>&6
14496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14497 cat >> confdefs.h
<<EOF
14498 #define $ac_tr_func 1
14500 cat >> confdefs.h
<<\EOF
14501 #define HAVE_DLERROR 1
14505 echo "$ac_t""no" 1>&6
14506 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14507 echo "configure:14508: checking for dlerror in -ldl" >&5
14508 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14510 echo $ac_n "(cached) $ac_c" 1>&6
14512 ac_save_LIBS
="$LIBS"
14514 cat > conftest.
$ac_ext <<EOF
14515 #line 14516 "configure"
14516 #include "confdefs.h"
14517 /* Override any gcc2 internal prototype to avoid an error. */
14518 /* We use char because int might match the return type of a gcc2
14519 builtin and then its argument prototype would still apply. */
14526 if { (eval echo configure
:14527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14528 eval "ac_cv_lib_$ac_lib_var=yes"
14530 echo "configure: failed program was:" >&5
14531 cat conftest.
$ac_ext >&5
14533 eval "ac_cv_lib_$ac_lib_var=no"
14536 LIBS
="$ac_save_LIBS"
14539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14540 echo "$ac_t""yes" 1>&6
14541 cat >> confdefs.h
<<\EOF
14542 #define HAVE_DLERROR 1
14546 echo "$ac_t""no" 1>&6
14555 if test "$HAVE_DL_FUNCS" = 0; then
14556 if test "$HAVE_SHL_FUNCS" = 0; then
14557 if test "$USE_UNIX" = 1; then
14558 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14559 wxUSE_DYNLIB_CLASS
=no
14561 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14569 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14570 cat >> confdefs.h
<<\EOF
14571 #define wxUSE_DYNLIB_CLASS 1
14580 if test "$wxUSE_UNICODE" = "yes" ; then
14581 cat >> confdefs.h
<<\EOF
14582 #define wxUSE_UNICODE 1
14587 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14588 cat >> confdefs.h
<<\EOF
14589 #define wxUSE_WCSRTOMBS 1
14594 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14595 cat >> confdefs.h
<<\EOF
14596 #define wxUSE_EXPERIMENTAL_PRINTF 1
14602 if test "$wxUSE_SERIAL" = "yes" ; then
14603 cat >> confdefs.h
<<\EOF
14604 #define wxUSE_SERIAL 1
14611 if test "$wxUSE_ODBC" = "yes" ; then
14612 cat >> confdefs.h
<<\EOF
14613 #define wxUSE_ODBC 1
14616 WXODBCFLAG
="-D_IODBC_"
14617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14621 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14622 cat >> confdefs.h
<<\EOF
14623 #define wxUSE_POSTSCRIPT 1
14628 cat >> confdefs.h
<<\EOF
14629 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14633 cat >> confdefs.h
<<\EOF
14634 #define wxUSE_NORMALIZED_PS_FONTS 1
14639 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14640 cat >> confdefs.h
<<\EOF
14641 #define wxUSE_CONSTRAINTS 1
14644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14647 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14648 cat >> confdefs.h
<<\EOF
14649 #define wxUSE_MDI_ARCHITECTURE 1
14652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14655 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14656 cat >> confdefs.h
<<\EOF
14657 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14661 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14666 if test "$wxUSE_HELP" = "yes"; then
14667 cat >> confdefs.h
<<\EOF
14668 #define wxUSE_HELP 1
14671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14674 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14675 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14676 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14678 cat >> confdefs.h
<<\EOF
14679 #define wxUSE_PRINTING_ARCHITECTURE 1
14683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14686 if test "$wxUSE_PROLOGIO" = "yes" ; then
14687 cat >> confdefs.h
<<\EOF
14688 #define wxUSE_PROLOGIO 1
14693 if test "$wxUSE_RESOURCES" = "yes" ; then
14694 if test "$wxUSE_PROLOGIO" = "yes" ; then
14695 cat >> confdefs.h
<<\EOF
14696 #define wxUSE_RESOURCES 1
14699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14701 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14705 if test "$wxUSE_X_RESOURCES" = "yes"; then
14706 cat >> confdefs.h
<<\EOF
14707 #define wxUSE_X_RESOURCES 1
14713 if test "$wxUSE_IPC" = "yes"; then
14714 if test "$wxUSE_SOCKETS" != "yes"; then
14715 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14718 cat >> confdefs.h
<<\EOF
14719 #define wxUSE_IPC 1
14724 if test "$wxUSE_CLIPBOARD" = "yes"; then
14725 cat >> confdefs.h
<<\EOF
14726 #define wxUSE_CLIPBOARD 1
14731 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14732 if test "$wxUSE_GTK" = 1; then
14733 if test "$WXGTK12" != 1; then
14734 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14735 wxUSE_DRAG_AND_DROP
=no
14739 if test "$wxUSE_MOTIF" = 1; then
14740 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14741 wxUSE_DRAG_AND_DROP
=no
14744 if test "$wxUSE_MAC" = 1; then
14745 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
14746 wxUSE_DRAG_AND_DROP
=no
14749 if test "$USE_WIN32" = 1; then
14751 for ac_hdr
in ole2.h
14753 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14755 echo "configure:14756: checking for $ac_hdr" >&5
14756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14757 echo $ac_n "(cached) $ac_c" 1>&6
14759 cat > conftest.
$ac_ext <<EOF
14760 #line 14761 "configure"
14761 #include "confdefs.h"
14764 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14765 { (eval echo configure
:14766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14766 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14767 if test -z "$ac_err"; then
14769 eval "ac_cv_header_$ac_safe=yes"
14772 echo "configure: failed program was:" >&5
14773 cat conftest.
$ac_ext >&5
14775 eval "ac_cv_header_$ac_safe=no"
14779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14780 echo "$ac_t""yes" 1>&6
14781 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14782 cat >> confdefs.h
<<EOF
14783 #define $ac_tr_hdr 1
14787 echo "$ac_t""no" 1>&6
14792 if test "$ac_cv_header_ole2_h" = "yes" ; then
14793 if test "$GCC" = yes ; then
14794 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
14795 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
14796 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
14797 LIBS
="$LIBS -lole32 -luuid"
14799 if test "$wxUSE_METAFILE" = "yes"; then
14800 cat >> confdefs.h
<<\EOF
14801 #define wxUSE_METAFILE 1
14804 cat >> confdefs.h
<<\EOF
14805 #define wxUSE_ENH_METAFILE 1
14811 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
14812 wxUSE_DRAG_AND_DROP
=no
14816 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
14817 cat >> confdefs.h
<<\EOF
14818 #define wxUSE_DRAG_AND_DROP 1
14821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
14826 if test "$wxUSE_SPLINES" = "yes" ; then
14827 cat >> confdefs.h
<<\EOF
14828 #define wxUSE_SPLINES 1
14834 if test "$wxUSE_ACCEL" = "yes"; then
14835 cat >> confdefs.h
<<\EOF
14836 #define wxUSE_ACCEL 1
14841 if test "$wxUSE_CARET" = "yes"; then
14842 cat >> confdefs.h
<<\EOF
14843 #define wxUSE_CARET 1
14846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
14849 if test "$wxUSE_COMBOBOX" = "yes"; then
14850 cat >> confdefs.h
<<\EOF
14851 #define wxUSE_COMBOBOX 1
14856 if test "$wxUSE_CHOICE" = "yes"; then
14857 cat >> confdefs.h
<<\EOF
14858 #define wxUSE_CHOICE 1
14863 if test "$wxUSE_BMPBUTTON" = "yes"; then
14864 cat >> confdefs.h
<<\EOF
14865 #define wxUSE_BMPBUTTON 1
14870 if test "$wxUSE_CHECKBOX" = "yes"; then
14871 cat >> confdefs.h
<<\EOF
14872 #define wxUSE_CHECKBOX 1
14877 if test "$wxUSE_CHECKLST" = "yes"; then
14878 cat >> confdefs.h
<<\EOF
14879 #define wxUSE_CHECKLISTBOX 1
14882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14885 if test "$wxUSE_GAUGE" = "yes"; then
14886 cat >> confdefs.h
<<\EOF
14887 #define wxUSE_GAUGE 1
14892 if test "$wxUSE_NEW_GRID" = "yes"; then
14894 cat >> confdefs.h
<<\EOF
14895 #define wxUSE_NEW_GRID 1
14898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14901 if test "$wxUSE_GRID" = "yes"; then
14902 cat >> confdefs.h
<<\EOF
14903 #define wxUSE_GRID 1
14906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14909 if test "$wxUSE_IMAGLIST" = "yes"; then
14910 cat >> confdefs.h
<<\EOF
14911 #define wxUSE_IMAGLIST 1
14916 if test "$wxUSE_LISTBOX" = "yes"; then
14917 cat >> confdefs.h
<<\EOF
14918 #define wxUSE_LISTBOX 1
14923 if test "$wxUSE_LISTCTRL" = "yes"; then
14924 if test "$wxUSE_IMAGLIST" = "yes"; then
14925 cat >> confdefs.h
<<\EOF
14926 #define wxUSE_LISTCTRL 1
14929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14931 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14935 if test "$wxUSE_NOTEBOOK" = "yes"; then
14936 cat >> confdefs.h
<<\EOF
14937 #define wxUSE_NOTEBOOK 1
14940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14943 if test "$wxUSE_RADIOBOX" = "yes"; then
14944 cat >> confdefs.h
<<\EOF
14945 #define wxUSE_RADIOBOX 1
14950 if test "$wxUSE_RADIOBTN" = "yes"; then
14951 cat >> confdefs.h
<<\EOF
14952 #define wxUSE_RADIOBTN 1
14957 if test "$wxUSE_SASH" = "yes"; then
14958 cat >> confdefs.h
<<\EOF
14959 #define wxUSE_SASH 1
14962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14965 if test "$wxUSE_SCROLLBAR" = "yes"; then
14966 cat >> confdefs.h
<<\EOF
14967 #define wxUSE_SCROLLBAR 1
14970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14973 if test "$wxUSE_SLIDER" = "yes"; then
14974 cat >> confdefs.h
<<\EOF
14975 #define wxUSE_SLIDER 1
14980 if test "$wxUSE_SPINBTN" = "yes"; then
14981 cat >> confdefs.h
<<\EOF
14982 #define wxUSE_SPINBTN 1
14987 if test "$wxUSE_SPINCTRL" = "yes"; then
14988 cat >> confdefs.h
<<\EOF
14989 #define wxUSE_SPINCTRL 1
14994 if test "$wxUSE_SPLITTER" = "yes"; then
14995 cat >> confdefs.h
<<\EOF
14996 #define wxUSE_SPLITTER 1
14999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
15002 if test "$wxUSE_STATBMP" = "yes"; then
15003 cat >> confdefs.h
<<\EOF
15004 #define wxUSE_STATBMP 1
15009 if test "$wxUSE_STATBOX" = "yes"; then
15010 cat >> confdefs.h
<<\EOF
15011 #define wxUSE_STATBOX 1
15016 if test "$wxUSE_STATLINE" = "yes"; then
15017 if test "$wxUSE_WINE" = 1 ; then
15018 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
15020 cat >> confdefs.h
<<\EOF
15021 #define wxUSE_STATLINE 1
15027 if test "$wxUSE_STATUSBAR" = "yes"; then
15028 cat >> confdefs.h
<<\EOF
15029 #define wxUSE_STATUSBAR 1
15033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
15036 if test "$wxUSE_TABDIALOG" = "yes"; then
15037 cat >> confdefs.h
<<\EOF
15038 #define wxUSE_TAB_DIALOG 1
15041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
15044 if test "$wxUSE_TOGGLEBTN" = "yes"; then
15045 cat >> confdefs.h
<<\EOF
15046 #define wxUSE_TOGGLEBTN 1
15051 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
15052 cat >> confdefs.h
<<\EOF
15053 #define wxUSE_TOOLBAR_SIMPLE 1
15056 wxUSE_TOOLBAR
="yes"
15059 if test "$wxUSE_TOOLBAR" = "yes"; then
15060 cat >> confdefs.h
<<\EOF
15061 #define wxUSE_TOOLBAR 1
15065 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
15066 wxUSE_TOOLBAR_NATIVE
="yes"
15069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
15072 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
15073 cat >> confdefs.h
<<\EOF
15074 #define wxUSE_TOOLBAR_NATIVE 1
15079 if test "$wxUSE_TOOLTIPS" = "yes"; then
15080 if test "$wxUSE_MOTIF" = 1; then
15081 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
15083 if test "$wxUSE_WINE" = 1; then
15084 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
15086 cat >> confdefs.h
<<\EOF
15087 #define wxUSE_TOOLTIPS 1
15094 if test "$wxUSE_TREECTRL" = "yes"; then
15095 if test "$wxUSE_IMAGLIST" = "yes"; then
15096 cat >> confdefs.h
<<\EOF
15097 #define wxUSE_TREECTRL 1
15100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
15102 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
15108 if test "$wxUSE_DIRDLG" = "yes"; then
15109 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15110 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
15112 if test "$wxUSE_TREECTRL" != "yes"; then
15113 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
15115 cat >> confdefs.h
<<\EOF
15116 #define wxUSE_DIRDLG 1
15123 if test "$wxUSE_TEXTDLG" = "yes"; then
15124 cat >> confdefs.h
<<\EOF
15125 #define wxUSE_TEXTDLG 1
15130 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
15131 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15132 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
15134 cat >> confdefs.h
<<\EOF
15135 #define wxUSE_STARTUP_TIPS 1
15141 if test "$wxUSE_PROGRESSDLG" = "yes"; then
15142 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15143 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
15145 cat >> confdefs.h
<<\EOF
15146 #define wxUSE_PROGRESSDLG 1
15152 if test "$wxUSE_MINIFRAME" = "yes"; then
15153 cat >> confdefs.h
<<\EOF
15154 #define wxUSE_MINIFRAME 1
15157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
15160 if test "$wxUSE_HTML" = "yes"; then
15161 cat >> confdefs.h
<<\EOF
15162 #define wxUSE_HTML 1
15165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
15166 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
15169 if test "$wxUSE_VALIDATORS" = "yes"; then
15170 cat >> confdefs.h
<<\EOF
15171 #define wxUSE_VALIDATORS 1
15174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15177 if test "$wxUSE_GIF" = "yes" ; then
15178 cat >> confdefs.h
<<\EOF
15179 #define wxUSE_GIF 1
15184 if test "$wxUSE_PCX" = "yes" ; then
15185 cat >> confdefs.h
<<\EOF
15186 #define wxUSE_PCX 1
15191 if test "$wxUSE_PNM" = "yes" ; then
15192 cat >> confdefs.h
<<\EOF
15193 #define wxUSE_PNM 1
15199 if test "$cross_compiling" = "yes"; then
15202 OSINFO
=`uname -s -r -m`
15203 OSINFO
="\"$OSINFO\""
15206 cat >> confdefs.h
<<EOF
15207 #define WXWIN_OS_DESCRIPTION $OSINFO
15212 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15213 OPENGL_LIBS
="$OPENGL_LINK"
15215 if test "$USE_MAC" = 1 ; then
15216 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -Llib -lxpm -framework Carbon -framework System"
15217 CFLAGS
="${CFLAGS} -fpascal-strings"
15218 CPPFLAGS
="${CPPFLAGS} -fpascal-strings"
15220 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15222 if test "$wxUSE_GUI" = "yes"; then
15223 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15226 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15228 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15230 if test "$wxUSE_GTK" = 1; then
15231 WXCONFIG_INCLUDE
=""
15233 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15236 if test "$GXX" = yes ; then
15237 CXXWARNINGS
="-Wall"
15239 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15241 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15242 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15244 LDFLAGS
="$LDFLAGS $PROFILE"
15246 if test "$wxUSE_GUI" = "yes"; then
15248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
15249 drawing dynamic event font fractal image menu \
15252 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15257 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15344 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15345 echo "configure:15346: checking whether ${MAKE-make} sets \${MAKE}" >&5
15346 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15347 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15348 echo $ac_n "(cached) $ac_c" 1>&6
15350 cat > conftestmake
<<\EOF
15352 @
echo 'ac_maketemp="${MAKE}"'
15354 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15355 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15356 if test -n "$ac_maketemp"; then
15357 eval ac_cv_prog_make_
${ac_make}_set
=yes
15359 eval ac_cv_prog_make_
${ac_make}_set
=no
15363 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15364 echo "$ac_t""yes" 1>&6
15367 echo "$ac_t""no" 1>&6
15368 SET_MAKE
="MAKE=${MAKE-make}"
15372 if test -d include
; then
15373 if test -d include
/wx
; then
15374 if test -d include
/wx
/${TOOLKIT_DIR}; then
15375 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15376 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15384 if test "$wxUSE_GUI" = "yes"; then
15385 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15386 wx_cv_path_ifs
=$PATH_IFS
15387 wx_cv_program_ext
=$PROGRAM_EXT
15388 wx_cv_target_library
=$WX_TARGET_LIBRARY
15389 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15390 subdirs
="demos samples utils contrib"
15395 cat > confcache
<<\EOF
15396 # This file is a shell script that caches the results of configure
15397 # tests run on this system so they can be shared between configure
15398 # scripts and configure runs. It is not useful on other systems.
15399 # If it contains results you don't want to keep, you may remove or edit it.
15401 # By default, configure uses ./config.cache as the cache file,
15402 # creating it if it does not exist already. You can give configure
15403 # the --cache-file=FILE option to use a different cache file; that is
15404 # what configure does when it calls configure scripts in
15405 # subdirectories, so they share the cache.
15406 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15407 # config.status only pays attention to the cache file if you give it the
15408 # --recheck option to rerun configure.
15411 # The following way of writing the cache mishandles newlines in values,
15412 # but we know of no workaround that is simple, portable, and efficient.
15413 # So, don't put newlines in cache variables' values.
15414 # Ultrix sh set writes to stderr and can't be redirected directly,
15415 # and sets the high bit in the cache file unless we assign to the vars.
15417 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15419 # `set' does not quote correctly, so add quotes (double-quote substitution
15420 # turns \\\\ into \\, and sed turns \\ into \).
15422 -e "s/'/'\\\\''/g" \
15423 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15426 # `set' quotes correctly as required by POSIX, so do not add quotes.
15427 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15430 if cmp -s $cache_file confcache
; then
15433 if test -w $cache_file; then
15434 echo "updating cache $cache_file"
15435 cat confcache
> $cache_file
15437 echo "not updating unwritable cache $cache_file"
15442 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15444 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15445 # Let make expand exec_prefix.
15446 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15448 # Any assignment to VPATH causes Sun make to only execute
15449 # the first set of double-colon rules, so remove it if not needed.
15450 # If there is a colon in the path, we need to keep it.
15451 if test "x$srcdir" = x.
; then
15452 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15455 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15457 DEFS
=-DHAVE_CONFIG_H
15459 # Without the "./", some shells look in PATH for config.status.
15460 : ${CONFIG_STATUS=./config.status}
15462 echo creating
$CONFIG_STATUS
15463 rm -f $CONFIG_STATUS
15464 cat > $CONFIG_STATUS <<EOF
15466 # Generated automatically by configure.
15467 # Run this file to recreate the current configuration.
15468 # This directory was configured as follows,
15469 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15471 # $0 $ac_configure_args
15473 # Compiler output produced by configure, useful for debugging
15474 # configure, is in ./config.log if it exists.
15476 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15479 case "\$ac_option" in
15480 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15481 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15482 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15483 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15484 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15486 -help | --help | --hel | --he | --h)
15487 echo "\$ac_cs_usage"; exit 0 ;;
15488 *) echo "\$ac_cs_usage"; exit 1 ;;
15492 ac_given_srcdir=$srcdir
15493 ac_given_INSTALL="$INSTALL"
15495 trap 'rm -fr `echo "
15501 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15503 cat >> $CONFIG_STATUS <<EOF
15505 # Protect against being on the right side of a sed subst in config.status.
15506 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15507 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15511 s%@CFLAGS@%$CFLAGS%g
15512 s%@CPPFLAGS@%$CPPFLAGS%g
15513 s%@CXXFLAGS@%$CXXFLAGS%g
15514 s%@FFLAGS@%$FFLAGS%g
15516 s%@LDFLAGS@%$LDFLAGS%g
15518 s%@exec_prefix@%$exec_prefix%g
15519 s%@prefix@%$prefix%g
15520 s%@program_transform_name@%$program_transform_name%g
15521 s%@bindir@%$bindir%g
15522 s%@sbindir@%$sbindir%g
15523 s%@libexecdir@%$libexecdir%g
15524 s%@datadir@%$datadir%g
15525 s%@sysconfdir@%$sysconfdir%g
15526 s%@sharedstatedir@%$sharedstatedir%g
15527 s%@localstatedir@%$localstatedir%g
15528 s%@libdir@%$libdir%g
15529 s%@includedir@%$includedir%g
15530 s%@oldincludedir@%$oldincludedir%g
15531 s%@infodir@%$infodir%g
15532 s%@mandir@%$mandir%g
15534 s%@host_alias@%$host_alias%g
15535 s%@host_cpu@%$host_cpu%g
15536 s%@host_vendor@%$host_vendor%g
15537 s%@host_os@%$host_os%g
15538 s%@target@%$target%g
15539 s%@target_alias@%$target_alias%g
15540 s%@target_cpu@%$target_cpu%g
15541 s%@target_vendor@%$target_vendor%g
15542 s%@target_os@%$target_os%g
15544 s%@build_alias@%$build_alias%g
15545 s%@build_cpu@%$build_cpu%g
15546 s%@build_vendor@%$build_vendor%g
15547 s%@build_os@%$build_os%g
15551 s%@CXXCPP@%$CXXCPP%g
15552 s%@RANLIB@%$RANLIB%g
15554 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15555 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15556 s%@INSTALL_DATA@%$INSTALL_DATA%g
15560 s%@LEXLIB@%$LEXLIB%g
15562 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15563 s%@GTK_CONFIG@%$GTK_CONFIG%g
15564 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15565 s%@GTK_LIBS@%$GTK_LIBS%g
15566 s%@X_CFLAGS@%$X_CFLAGS%g
15567 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15568 s%@X_LIBS@%$X_LIBS%g
15569 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15570 s%@LEX_STEM@%$LEX_STEM%g
15571 s%@PATH_IFS@%$PATH_IFS%g
15572 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15573 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15574 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15575 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15576 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15577 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15578 s%@WX_LIBRARY@%$WX_LIBRARY%g
15579 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15580 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15581 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15582 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15583 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15584 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15585 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15586 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15587 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15588 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15589 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15590 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15591 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15592 s%@WX_ALL@%$WX_ALL%g
15593 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15594 s%@SHARED_LD@%$SHARED_LD%g
15595 s%@PIC_FLAG@%$PIC_FLAG%g
15596 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15597 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15598 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
15599 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15600 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15601 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15602 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15603 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15604 s%@USE_GUI@%$USE_GUI%g
15605 s%@AFMINSTALL@%$AFMINSTALL%g
15606 s%@TOOLKIT@%$TOOLKIT%g
15607 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15608 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15609 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15610 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15611 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15612 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15613 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15614 s%@GUIDIST@%$GUIDIST%g
15615 s%@PORT_FILES@%$PORT_FILES%g
15616 s%@DISTDIR@%$DISTDIR%g
15617 s%@RPM_SPEC@%$RPM_SPEC%g
15618 s%@RPM_FILES@%$RPM_FILES%g
15619 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15620 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15621 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15622 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15623 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15624 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15625 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15626 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15627 s%@EXTRADEFS@%$EXTRADEFS%g
15628 s%@LD_LIBS@%$LD_LIBS%g
15629 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15630 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15631 s%@RESPROGRAM@%$RESPROGRAM%g
15632 s%@RESCOMP@%$RESCOMP%g
15633 s%@RESFLAGS@%$RESFLAGS%g
15634 s%@DLLTOOL@%$DLLTOOL%g
15638 s%@MAKEINFO@%$MAKEINFO%g
15639 s%@SET_MAKE@%$SET_MAKE%g
15640 s%@subdirs@%$subdirs%g
15645 cat >> $CONFIG_STATUS <<\EOF
15647 # Split the substitutions into bite-sized pieces for seds with
15648 # small command number limits, like on Digital OSF/1 and HP-UX.
15649 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15650 ac_file
=1 # Number of current file.
15651 ac_beg
=1 # First line for current file.
15652 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15655 while $ac_more_lines; do
15656 if test $ac_beg -gt 1; then
15657 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15659 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15661 if test ! -s conftest.s
$ac_file; then
15662 ac_more_lines
=false
15663 rm -f conftest.s
$ac_file
15665 if test -z "$ac_sed_cmds"; then
15666 ac_sed_cmds
="sed -f conftest.s$ac_file"
15668 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15670 ac_file
=`expr $ac_file + 1`
15672 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15675 if test -z "$ac_sed_cmds"; then
15680 cat >> $CONFIG_STATUS <<EOF
15682 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15689 cat >> $CONFIG_STATUS <<\EOF
15690 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15691 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15693 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15694 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15695 *) ac_file_in
="${ac_file}.in" ;;
15698 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15700 # Remove last slash and all that follows it. Not all systems have dirname.
15701 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15702 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15703 # The file is in a subdirectory.
15704 test ! -d "$ac_dir" && mkdir "$ac_dir"
15705 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15706 # A "../" for each directory in $ac_dir_suffix.
15707 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15709 ac_dir_suffix
= ac_dots
=
15712 case "$ac_given_srcdir" in
15714 if test -z "$ac_dots"; then top_srcdir
=.
15715 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15716 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15717 *) # Relative path.
15718 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15719 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15722 case "$ac_given_INSTALL" in
15723 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15724 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15727 echo creating
"$ac_file"
15729 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15731 *Makefile
*) ac_comsub
="1i\\
15732 # $configure_input" ;;
15736 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15738 s%@configure_input@%$configure_input%g
15739 s%@srcdir@%$srcdir%g
15740 s%@top_srcdir@%$top_srcdir%g
15741 s%@INSTALL@%$INSTALL%g
15742 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15746 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15747 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15749 # ac_d sets the value in "#define NAME VALUE" lines.
15750 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15751 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15754 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15755 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15756 ac_uB
='\([ ]\)%\1#\2define\3'
15759 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15760 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15761 ac_eB
='$%\1#\2define\3'
15765 if test "${CONFIG_HEADERS+set}" != set; then
15767 cat >> $CONFIG_STATUS <<EOF
15768 CONFIG_HEADERS="setup.h:setup.h.in"
15770 cat >> $CONFIG_STATUS <<\EOF
15772 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
15773 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15775 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15776 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15777 *) ac_file_in
="${ac_file}.in" ;;
15780 echo creating
$ac_file
15782 rm -f conftest.frag conftest.
in conftest.out
15783 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15784 cat $ac_file_inputs > conftest.
in
15788 # Transform confdefs.h into a sed script conftest.vals that substitutes
15789 # the proper values into config.h.in to produce config.h. And first:
15790 # Protect against being on the right side of a sed subst in config.status.
15791 # Protect against being in an unquoted here document in config.status.
15792 rm -f conftest.vals
15793 cat > conftest.hdr
<<\EOF
15796 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
15800 sed -n -f conftest.hdr confdefs.h > conftest.vals
15803 # This sed command replaces #undef with comments. This is necessary, for
15804 # example, in the case of _POSIX_SOURCE, which is predefined and required
15805 # on some systems where configure will not decide to define it.
15806 cat >> conftest.vals <<\EOF
15807 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
15810 # Break up conftest.vals because some shells have a limit on
15811 # the size of here documents, and old seds have small limits too.
15813 rm -f conftest.tail
15816 ac_lines=`grep -c . conftest.vals
`
15817 # grep -c gives empty output for an empty file on some AIX systems.
15818 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
15819 # Write a limited-size here document to conftest.frag.
15820 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
15821 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
15823 sed -f conftest.frag conftest.in > conftest.out
15825 mv conftest.out conftest.in
15826 ' >> $CONFIG_STATUS
15827 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
15828 rm -f conftest.vals
15829 mv conftest.tail conftest.vals
15831 rm -f conftest.vals
15833 cat >> $CONFIG_STATUS <<\EOF
15834 rm -f conftest.frag conftest.h
15835 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
15836 cat conftest.in >> conftest.h
15838 if cmp -s $ac_file conftest.h 2>/dev/null; then
15839 echo "$ac_file is unchanged"
15842 # Remove last slash and all that follows it. Not all systems have dirname.
15843 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15844 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15845 # The file is in a subdirectory.
15846 test ! -d "$ac_dir" && mkdir "$ac_dir"
15849 mv conftest.h $ac_file
15854 cat >> $CONFIG_STATUS <<EOF
15856 TOOLKIT_DIR="${TOOLKIT_DIR}"
15857 TOOLKIT_NAME="${TOOLKIT_NAME}"
15862 cat >> $CONFIG_STATUS <<\EOF
15865 mv wx-config wx${TOOLKIT_NAME}-config
15866 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15869 if test ! -d lib; then
15872 if test ! -d lib/wx; then
15875 if test ! -d lib/wx/include; then
15876 mkdir lib/wx/include
15878 if test ! -d lib/wx/include/wx; then
15879 mkdir lib/wx/include/wx
15881 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15882 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15884 if test -f setup.h; then
15885 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15889 if test ! -d include; then
15892 if test ! -d include/wx; then
15895 if test ! -d include/wx/${TOOLKIT_DIR}; then
15896 mkdir include/wx/${TOOLKIT_DIR}
15898 if test -f setup.h; then
15899 cp -fp setup.h include/wx/${TOOLKIT_DIR}/setup.h
15905 chmod +x $CONFIG_STATUS
15906 rm -fr confdefs* $ac_clean_files
15907 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15909 if test "$no_recursion" != yes; then
15911 # Remove --cache-file and --srcdir arguments so they do not pile up.
15912 ac_sub_configure_args=
15914 for ac_arg in $ac_configure_args; do
15915 if test -n "$ac_prev"; then
15920 -cache-file | --cache-file | --cache-fil | --cache-fi \
15921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15922 ac_prev=cache_file ;;
15923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15926 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15928 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15930 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15934 for ac_config_dir in demos samples utils contrib; do
15936 # Do not complain, so a configure script can configure whichever
15937 # parts of a large source tree are present.
15938 if test ! -d $srcdir/$ac_config_dir; then
15942 echo configuring in $ac_config_dir
15947 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15949 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15957 # A "../" for each directory in /$ac_config_dir.
15958 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15961 .) # No --srcdir option. We are building in place.
15962 ac_sub_srcdir=$srcdir ;;
15963 /*) # Absolute path.
15964 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15965 *) # Relative path.
15966 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15969 # Check for guested configure; otherwise get Cygnus style configure.
15970 if test -f $ac_sub_srcdir/configure; then
15971 ac_sub_configure=$ac_sub_srcdir/configure
15972 elif test -f $ac_sub_srcdir/configure.in; then
15973 ac_sub_configure=$ac_configure
15975 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15979 # The recursion is here.
15980 if test -n "$ac_sub_configure"; then
15982 # Make the cache file name correct relative to the subdirectory.
15983 case "$cache_file" in
15984 /*) ac_sub_cache_file=$cache_file ;;
15985 *) # Relative path.
15986 ac_sub_cache_file="$ac_dots$cache_file" ;;
15988 case "$ac_given_INSTALL" in
15989 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15990 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15993 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
15994 # The eval makes quoting arguments work.
15995 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
15998 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }