3 # From configure.in Id: configure.in
42 # Configure paths for GTK+
46 # Guess values for system-dependent variables and create Makefiles.
47 # Generated automatically using autoconf version 2.13
48 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 # This configure script is free software; the Free Software Foundation
51 # gives unlimited permission to copy, distribute and modify it.
55 ac_default_prefix
=/usr
/local
56 # Any additions from configure.in:
58 --enable-gui use GUI classes"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-cygwin use Cygwin for MS-Windows"
70 --with-mingw use GCC Minimal MS-Windows"
72 --with-pm use OS/2 Presentation Manager"
74 --with-gtk-prefix=PFX Prefix where GTK is installed"
76 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
90 --with-zlib use zlib for LZW compression"
92 --with-odbc use the IODBC and wxODBC classes"
94 --enable-shared create shared library code"
96 --enable-burnt_name create set name in shared library "
98 --enable-optimise create optimised code"
100 --enable-debug same as debug_flag and debug_info"
102 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
104 --enable-debug_info create code with debugging information"
106 --enable-debug_gdb create code with extra GDB debugging information"
108 --enable-debug_cntxt use wxDebugContext"
110 --enable-mem_tracing create code with memory tracing"
112 --enable-profile create code with profiling information"
114 --enable-no_rtti create code without RTTI information"
116 --enable-no_exceptions create code without exceptions information"
118 --enable-permissive compile code disregarding strict ANSI"
120 --enable-no_deps create code without dependency information"
122 --enable-intl use internationalization system"
124 --enable-config use wxConfig (and derived) classes"
126 --enable-sockets use socket/network classes"
128 --enable-ipc use interprocess communication (wxSocket etc.)"
130 --enable-dialupman use dialup network classes"
132 --enable-apple_ieee use the Apple IEEE codec"
134 --enable-timedate use date/time classes"
136 --enable-wave use wxWave class"
138 --enable-fraction use wxFraction class"
140 --enable-dynlib use wxLibrary class for DLL loading"
142 --enable-longlong use wxLongLong class"
144 --enable-geometry use geometry class"
146 --enable-log use logging system"
148 --enable-streams use wxStream etc classes"
150 --enable-file use wxFile classes"
152 --enable-textfile use wxTextFile classes"
154 --enable-unicode compile wxString with Unicode support"
156 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
158 --enable-wxprintfv use wxWindows implementation of vprintf()"
160 --enable-std_iostreams use standard C++ stream classes"
162 --enable-filesystem use virtual file systems classes"
164 --enable-fs_inet use virtual HTTP/FTP filesystems"
166 --enable-fs_zip use virtual ZIP filesystems"
168 --enable-zipstream use wxZipInputStream"
170 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
172 --enable-threads use threads"
174 --enable-serial use class serialization"
176 --enable-docview use document view architecture"
178 --enable-help use help (using external browser at present)"
180 --enable-constraints use layout-constraints system"
182 --enable-printarch use printing architecture"
184 --enable-mdi use multiple document interface architecture"
186 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
188 --enable-prologio use Prolog IO library"
190 --enable-resources use wxWindows resources"
192 --enable-xresources use X resources for save (default for gtk+)"
194 --enable-clipboard use wxClipboard classes"
196 --enable-dnd use Drag'n'Drop classes"
198 --enable-metafile use win32 metafiles"
200 --enable-wxtree make wxTree library"
202 --enable-controls use all usual controls"
204 --enable-accel use accelerators"
206 --enable-caret use wxCaret class"
208 --enable-bmpbutton use wxBitmapButton class"
210 --enable-checkbox use wxCheckBox class"
212 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
214 --enable-choice use wxChoice class"
216 --enable-combobox use wxComboBox classes"
218 --enable-gauge use wxGauge class"
220 --enable-grid use wxGrid class"
222 --enable-newgrid use new wxGrid class"
224 --enable-imaglist use wxImageList class"
226 --enable-listbox use wxListBox class"
228 --enable-listctrl use wxListCtrl class"
230 --enable-notebook use wxNotebook class"
232 --enable-radiobox use wxRadioBox class"
234 --enable-radiobtn use wxRadioButton class"
236 --enable-sash use wxSashWindow class"
238 --enable-scrollbar use wxScrollBar class and scrollable windows"
240 --enable-slider use wxSlider class"
242 --enable-spinbtn use wxSpinButton class"
244 --enable-spinctrl use wxSpinCtrl class"
246 --enable-splitter use wxSplitterWindow class"
248 --enable-statbmp use wxStaticBitmap class"
250 --enable-statbox use wxStaticBox class"
252 --enable-statline use wxStaticLine class"
254 --enable-statusbar use wxStatusBar class"
256 --enable-tabdialog use wxTabControl class"
258 --enable-togglebtn use wxToggleButton class"
260 --enable-toolbar use wxToolBar class"
262 --enable-tbarnative use native wxToolBar class"
264 --enable-tbarsmpl use wxToolBarSimple class"
266 --enable-treectrl use wxTreeCtrl class"
268 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
270 --enable-dirdlg use wxDirDialog"
272 --enable-textdlg use wxTextDialog"
274 --enable-tipdlg use startup tips"
276 --enable-progressdlg use wxProgressDialog"
278 --enable-miniframe use wxMiniFrame class"
280 --enable-html use wxHTML sub-library"
282 --enable-tooltips use wxToolTip class"
284 --enable-splines use spline drawing code"
286 --enable-validators use wxValidator and derived classes"
288 --enable-busyinfo use wxBusyInfo"
290 --enable-joystick compile in joystick support (Linux only)"
292 --enable-image use wxImage class"
294 --enable-gif use gif images (GIF file format)"
296 --enable-pcx use pcx images (PCX file format)"
298 --enable-pnm use pnm images (PNM file format)"
300 --enable-xpm use xpm images (XPM file format)"
302 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
304 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
306 --disable-gtktest Do not try to compile and run a test GTK program"
308 --with-x use the X Window System"
310 # Initialize some variables set by options.
311 # The variables have the same names as the options, with
312 # dashes changed to underlines.
314 cache_file
=.
/config.cache
323 program_transform_name
=s
,x
,x
,
331 bindir
='${exec_prefix}/bin'
332 sbindir
='${exec_prefix}/sbin'
333 libexecdir
='${exec_prefix}/libexec'
334 datadir
='${prefix}/share'
335 sysconfdir
='${prefix}/etc'
336 sharedstatedir
='${prefix}/com'
337 localstatedir
='${prefix}/var'
338 libdir
='${exec_prefix}/lib'
339 includedir
='${prefix}/include'
340 oldincludedir
='/usr/include'
341 infodir
='${prefix}/info'
342 mandir
='${prefix}/man'
344 # Initialize some other variables.
347 SHELL
=${CONFIG_SHELL-/bin/sh}
348 # Maximum number of lines to put in a shell here document.
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
363 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir
="$ac_optarg" ;;
376 -build | --build | --buil | --bui | --bu)
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build
="$ac_optarg" ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev
=cache_file
;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file
="$ac_optarg" ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir
="$ac_optarg" ;;
394 -disable-* | --disable-*)
395 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
396 # Reject names that are not valid shell variable names.
397 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
398 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
400 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
401 eval "enable_${ac_feature}=no" ;;
403 -enable-* | --enable-*)
404 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
409 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
414 eval "enable_${ac_feature}='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix
="$ac_optarg" ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he)
430 # Omit some internal or obsolete options to make the list less imposing.
431 # This message is too long to be a string in the A/UX 3.1 sh.
433 Usage: configure [options] [host]
434 Options: [defaults in brackets after descriptions]
436 --cache-file=FILE cache test results in FILE
437 --help print this message
438 --no-create do not create output files
439 --quiet, --silent do not print \`checking...' messages
440 --version print the version of autoconf that created configure
441 Directory and file names:
442 --prefix=PREFIX install architecture-independent files in PREFIX
444 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
446 --bindir=DIR user executables in DIR [EPREFIX/bin]
447 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
448 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
449 --datadir=DIR read-only architecture-independent data in DIR
451 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
452 --sharedstatedir=DIR modifiable architecture-independent data in DIR
454 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
455 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
456 --includedir=DIR C header files in DIR [PREFIX/include]
457 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
458 --infodir=DIR info documentation in DIR [PREFIX/info]
459 --mandir=DIR man documentation in DIR [PREFIX/man]
460 --srcdir=DIR find the sources in DIR [configure dir or ..]
461 --program-prefix=PREFIX prepend PREFIX to installed program names
462 --program-suffix=SUFFIX append SUFFIX to installed program names
463 --program-transform-name=PROGRAM
464 run sed PROGRAM on installed program names
468 --build=BUILD configure for building on BUILD [BUILD=HOST]
469 --host=HOST configure for HOST [guessed]
470 --target=TARGET configure for TARGET [TARGET=HOST]
471 Features and packages:
472 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
473 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
476 --x-includes=DIR X include files are in DIR
477 --x-libraries=DIR X library files are in DIR
479 if test -n "$ac_help"; then
480 echo "--enable and --with options recognized:$ac_help"
484 -host | --host | --hos | --ho)
486 -host=* | --host=* | --hos=* | --ho=*)
489 -includedir | --includedir | --includedi | --included | --include \
490 | --includ | --inclu | --incl | --inc)
491 ac_prev
=includedir
;;
492 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
493 | --includ=* | --inclu=* | --incl=* | --inc=*)
494 includedir
="$ac_optarg" ;;
496 -infodir | --infodir | --infodi | --infod | --info | --inf)
498 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
499 infodir
="$ac_optarg" ;;
501 -libdir | --libdir | --libdi | --libd)
503 -libdir=* | --libdir=* | --libdi=* | --libd=*)
504 libdir
="$ac_optarg" ;;
506 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
507 | --libexe | --libex | --libe)
508 ac_prev
=libexecdir
;;
509 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
510 | --libexe=* | --libex=* | --libe=*)
511 libexecdir
="$ac_optarg" ;;
513 -localstatedir | --localstatedir | --localstatedi | --localstated \
514 | --localstate | --localstat | --localsta | --localst \
515 | --locals | --local | --loca | --loc | --lo)
516 ac_prev
=localstatedir
;;
517 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
518 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
519 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
520 localstatedir
="$ac_optarg" ;;
522 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
524 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
525 mandir
="$ac_optarg" ;;
528 # Obsolete; use --without-fp.
531 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
535 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
536 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
539 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
540 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
541 | --oldin | --oldi | --old | --ol | --o)
542 ac_prev
=oldincludedir
;;
543 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
544 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
545 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
546 oldincludedir
="$ac_optarg" ;;
548 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
550 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
551 prefix
="$ac_optarg" ;;
553 -program-prefix | --program-prefix | --program-prefi | --program-pref \
554 | --program-pre | --program-pr | --program-p)
555 ac_prev
=program_prefix
;;
556 -program-prefix=* | --program-prefix=* | --program-prefi=* \
557 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
558 program_prefix
="$ac_optarg" ;;
560 -program-suffix | --program-suffix | --program-suffi | --program-suff \
561 | --program-suf | --program-su | --program-s)
562 ac_prev
=program_suffix
;;
563 -program-suffix=* | --program-suffix=* | --program-suffi=* \
564 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
565 program_suffix
="$ac_optarg" ;;
567 -program-transform-name | --program-transform-name \
568 | --program-transform-nam | --program-transform-na \
569 | --program-transform-n | --program-transform- \
570 | --program-transform | --program-transfor \
571 | --program-transfo | --program-transf \
572 | --program-trans | --program-tran \
573 | --progr-tra | --program-tr | --program-t)
574 ac_prev
=program_transform_name
;;
575 -program-transform-name=* | --program-transform-name=* \
576 | --program-transform-nam=* | --program-transform-na=* \
577 | --program-transform-n=* | --program-transform-=* \
578 | --program-transform=* | --program-transfor=* \
579 | --program-transfo=* | --program-transf=* \
580 | --program-trans=* | --program-tran=* \
581 | --progr-tra=* | --program-tr=* | --program-t=*)
582 program_transform_name
="$ac_optarg" ;;
584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
585 | -silent | --silent | --silen | --sile | --sil)
588 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
590 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
592 sbindir
="$ac_optarg" ;;
594 -sharedstatedir | --sharedstatedir | --sharedstatedi \
595 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
596 | --sharedst | --shareds | --shared | --share | --shar \
598 ac_prev
=sharedstatedir
;;
599 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
600 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
601 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
603 sharedstatedir
="$ac_optarg" ;;
605 -site | --site | --sit)
607 -site=* | --site=* | --sit=*)
610 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
612 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
613 srcdir
="$ac_optarg" ;;
615 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
616 | --syscon | --sysco | --sysc | --sys | --sy)
617 ac_prev
=sysconfdir
;;
618 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
619 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
620 sysconfdir
="$ac_optarg" ;;
622 -target | --target | --targe | --targ | --tar | --ta | --t)
624 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
625 target
="$ac_optarg" ;;
627 -v | -verbose | --verbose | --verbos | --verbo | --verb)
630 -version | --version | --versio | --versi | --vers)
631 echo "configure generated by autoconf version 2.13"
635 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
636 # Reject names that are not valid shell variable names.
637 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
638 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
640 ac_package
=`echo $ac_package| sed 's/-/_/g'`
645 eval "with_${ac_package}='$ac_optarg'" ;;
647 -without-* | --without-*)
648 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
649 # Reject names that are not valid shell variable names.
650 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
651 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
653 ac_package
=`echo $ac_package| sed 's/-/_/g'`
654 eval "with_${ac_package}=no" ;;
657 # Obsolete; use --with-x.
660 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
661 | --x-incl | --x-inc | --x-in | --x-i)
662 ac_prev
=x_includes
;;
663 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
664 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
665 x_includes
="$ac_optarg" ;;
667 -x-libraries | --x-libraries | --x-librarie | --x-librari \
668 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
669 ac_prev
=x_libraries
;;
670 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
671 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
672 x_libraries
="$ac_optarg" ;;
674 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
678 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
679 echo "configure: warning: $ac_option: invalid host type" 1>&2
681 if test "x$nonopt" != xNONE
; then
682 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
690 if test -n "$ac_prev"; then
691 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
694 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
696 # File descriptor usage:
699 # 2 errors and warnings
700 # 3 some systems may open it to /dev/tty
701 # 4 used on the Kubota Titan
702 # 6 checking for... messages and results
703 # 5 compiler messages saved in config.log
704 if test "$silent" = yes; then
712 This file contains any messages produced by compilers while
713 running configure, to aid debugging if configure makes a mistake.
716 # Strip out --no-create and --no-recursion so they do not pile up.
717 # Also quote any args containing shell metacharacters.
722 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
723 | --no-cr | --no-c) ;;
724 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
725 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
726 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
727 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
728 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
733 # Only set these to C if already set. These must not be set unconditionally
734 # because not all systems understand e.g. LANG=C (notably SCO).
735 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
736 # Non-C LC_CTYPE values break the ctype check.
737 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
738 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
739 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
740 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
742 # confdefs.h avoids OS command line length limits that DEFS can exceed.
743 rm -rf conftest
* confdefs.h
744 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
747 # A filename unique to this package, relative to the directory that
748 # configure is in, which we can look for to find out if srcdir is correct.
749 ac_unique_file
=wx
-config.
in
751 # Find the source files, if location was not specified.
752 if test -z "$srcdir"; then
753 ac_srcdir_defaulted
=yes
754 # Try the directory containing this script, then its parent.
756 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
757 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
759 if test ! -r $srcdir/$ac_unique_file; then
763 ac_srcdir_defaulted
=no
765 if test ! -r $srcdir/$ac_unique_file; then
766 if test "$ac_srcdir_defaulted" = yes; then
767 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
769 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
772 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
774 # Prefer explicitly selected file to automatically selected ones.
775 if test -z "$CONFIG_SITE"; then
776 if test "x$prefix" != xNONE
; then
777 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
779 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
782 for ac_site_file
in $CONFIG_SITE; do
783 if test -r "$ac_site_file"; then
784 echo "loading site script $ac_site_file"
789 if test -r "$cache_file"; then
790 echo "loading cache $cache_file"
793 echo "creating cache $cache_file"
798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
799 ac_cpp
='$CPP $CPPFLAGS'
800 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
801 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
802 cross_compiling
=$ac_cv_prog_cc_cross
806 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
807 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
808 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
815 ac_n
= ac_c
='\c' ac_t
=
821 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
822 if test -f $ac_dir/install-sh; then
824 ac_install_sh
="$ac_aux_dir/install-sh -c"
826 elif test -f $ac_dir/install.sh
; then
828 ac_install_sh
="$ac_aux_dir/install.sh -c"
832 if test -z "$ac_aux_dir"; then
833 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
835 ac_config_guess
=$ac_aux_dir/config.guess
836 ac_config_sub
=$ac_aux_dir/config.sub
837 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
840 # Do some error checking and defaulting for the host and target type.
842 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
845 # 1. You are not allowed to specify --host, --target, and nonopt at the
847 # 2. Host defaults to nonopt.
848 # 3. If nonopt is not specified, then host defaults to the current host,
849 # as determined by config.guess.
850 # 4. Target and build default to nonopt.
851 # 5. If nonopt is not specified, then target and build default to host.
853 # The aliases save the names the user supplied, while $host etc.
854 # will get canonicalized.
855 case $host---$target---$nonopt in
856 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
857 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
861 # Make sure we can run config.sub.
862 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
863 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
866 echo $ac_n "checking host system type""... $ac_c" 1>&6
867 echo "configure:868: checking host system type" >&5
870 case "$host_alias" in
874 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
875 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
877 *) host_alias
=$nonopt ;;
881 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
882 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
883 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
884 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
885 echo "$ac_t""$host" 1>&6
887 echo $ac_n "checking target system type""... $ac_c" 1>&6
888 echo "configure:889: checking target system type" >&5
891 case "$target_alias" in
894 NONE
) target_alias
=$host_alias ;;
895 *) target_alias
=$nonopt ;;
899 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
900 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
901 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
902 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
903 echo "$ac_t""$target" 1>&6
905 echo $ac_n "checking build system type""... $ac_c" 1>&6
906 echo "configure:907: checking build system type" >&5
909 case "$build_alias" in
912 NONE
) build_alias
=$host_alias ;;
913 *) build_alias
=$nonopt ;;
917 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
918 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
919 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
920 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
921 echo "$ac_t""$build" 1>&6
923 test "$host_alias" != "$target_alias" &&
924 test "$program_prefix$program_suffix$program_transform_name" = \
926 program_prefix
=${target_alias}-
930 WX_MAJOR_VERSION_NUMBER
=2
931 WX_MINOR_VERSION_NUMBER
=3
934 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
935 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
967 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
969 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF MAC WINE PM"
972 DEFAULT_wxUSE_MOTIF
=0
978 DEFAULT_DEFAULT_wxUSE_GTK
=0
979 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
980 DEFAULT_DEFAULT_wxUSE_MSW
=0
981 DEFAULT_DEFAULT_wxUSE_MAC
=0
982 DEFAULT_DEFAULT_wxUSE_WINE
=0
983 DEFAULT_DEFAULT_wxUSE_PM
=0
990 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
991 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
992 cat >> confdefs.h
<<\EOF
999 cat >> confdefs.h
<<\EOF
1004 if test "x$TMP" = "xalpha"; then
1006 cat >> confdefs.h
<<\EOF
1011 DEFAULT_DEFAULT_wxUSE_GTK
=1
1013 *-*-irix5* | *-*-irix6* )
1016 cat >> confdefs.h
<<\EOF
1020 cat >> confdefs.h
<<\EOF
1024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1030 cat >> confdefs.h
<<\EOF
1034 cat >> confdefs.h
<<\EOF
1035 #define __SOLARIS__ 1
1038 cat >> confdefs.h
<<\EOF
1042 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1043 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1049 cat >> confdefs.h
<<\EOF
1053 cat >> confdefs.h
<<\EOF
1057 cat >> confdefs.h
<<\EOF
1061 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1066 cat >> confdefs.h
<<\EOF
1067 #define __FREEBSD__ 1
1070 cat >> confdefs.h
<<\EOF
1074 DEFAULT_DEFAULT_wxUSE_GTK
=1
1079 cat >> confdefs.h
<<\EOF
1080 #define __FREEBSD__ 1
1083 cat >> confdefs.h
<<\EOF
1084 #define __NETBSD__ 1
1087 DEFAULT_DEFAULT_wxUSE_GTK
=1
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1101 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1114 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1119 cat >> confdefs.h
<<\EOF
1123 cat >> confdefs.h
<<\EOF
1127 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 cat >> confdefs.h
<<\EOF
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1148 *-*-cygwin32* | *-*-mingw32* )
1151 cat >> confdefs.h
<<\EOF
1155 cat >> confdefs.h
<<\EOF
1159 cat >> confdefs.h
<<\EOF
1160 #define __WINDOWS__ 1
1163 cat >> confdefs.h
<<\EOF
1164 #define __GNUWIN32__ 1
1167 cat >> confdefs.h
<<\EOF
1171 cat >> confdefs.h
<<\EOF
1172 #define WINVER 0x0400
1176 DEFAULT_DEFAULT_wxUSE_MSW
=1
1180 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_PM
=1
1191 cat >> confdefs.h
<<\EOF
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1203 DEFAULT_DEFAULT_wxUSE_MAC
=1
1208 cat >> confdefs.h
<<\EOF
1215 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1218 if test "$USE_UNIX" = 1 ; then
1220 cat >> confdefs.h
<<\EOF
1225 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1226 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1229 if test "$USE_BEOS" = 1; then
1230 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1231 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1234 if test "$USE_LINUX" = 1; then
1235 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1236 echo "configure:1237: checking for gettext in -lc" >&5
1237 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1239 echo $ac_n "(cached) $ac_c" 1>&6
1241 ac_save_LIBS
="$LIBS"
1243 cat > conftest.
$ac_ext <<EOF
1244 #line 1245 "configure"
1245 #include "confdefs.h"
1246 /* Override any gcc2 internal prototype to avoid an error. */
1247 /* We use char because int might match the return type of a gcc2
1248 builtin and then its argument prototype would still apply. */
1255 if { (eval echo configure
:1256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1257 eval "ac_cv_lib_$ac_lib_var=yes"
1259 echo "configure: failed program was:" >&5
1260 cat conftest.
$ac_ext >&5
1262 eval "ac_cv_lib_$ac_lib_var=no"
1265 LIBS
="$ac_save_LIBS"
1268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1269 echo "$ac_t""yes" 1>&6
1270 cat >> confdefs.h
<<\EOF
1271 #define wxHAVE_GLIBC2 1
1275 echo "$ac_t""no" 1>&6
1283 wx_arg_cache_file
="configarg.cache"
1284 echo "loading argument cache $wx_arg_cache_file"
1285 rm -f ${wx_arg_cache_file}.tmp
1286 touch ${wx_arg_cache_file}.tmp
1287 touch ${wx_arg_cache_file}
1291 if test $DEBUG_CONFIGURE = 1; then
1292 DEFAULT_wxUSE_THREADS
=yes
1294 DEFAULT_wxUSE_SHARED
=yes
1295 DEFAULT_wxUSE_BURNT_NAME
=no
1296 DEFAULT_wxUSE_OPTIMISE
=yes
1297 DEFAULT_wxUSE_PROFILE
=no
1298 DEFAULT_wxUSE_NO_DEPS
=no
1299 DEFAULT_wxUSE_NO_RTTI
=no
1300 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1301 DEFAULT_wxUSE_PERMISSIVE
=no
1302 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1303 DEFAULT_wxUSE_DEBUG_INFO
=yes
1304 DEFAULT_wxUSE_DEBUG_GDB
=yes
1305 DEFAULT_wxUSE_MEM_TRACING
=no
1306 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1307 DEFAULT_wxUSE_DMALLOC
=no
1308 DEFAULT_wxUSE_APPLE_IEEE
=no
1310 DEFAULT_wxUSE_LOG
=yes
1312 DEFAULT_wxUSE_GUI
=yes
1314 DEFAULT_wxUSE_ZLIB
=no
1315 DEFAULT_wxUSE_LIBPNG
=no
1316 DEFAULT_wxUSE_LIBJPEG
=no
1317 DEFAULT_wxUSE_LIBTIFF
=no
1318 DEFAULT_wxUSE_ODBC
=no
1319 DEFAULT_wxUSE_FREETYPE
=no
1320 DEFAULT_wxUSE_OPENGL
=no
1322 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1323 DEFAULT_wxUSE_STD_IOSTREAM
=no
1324 DEFAULT_wxUSE_FILE
=no
1325 DEFAULT_wxUSE_TEXTFILE
=no
1326 DEFAULT_wxUSE_TIMEDATE
=no
1327 DEFAULT_wxUSE_WAVE
=no
1328 DEFAULT_wxUSE_INTL
=no
1329 DEFAULT_wxUSE_CONFIG
=no
1330 DEFAULT_wxUSE_STREAMS
=no
1331 DEFAULT_wxUSE_SOCKETS
=no
1332 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1333 DEFAULT_wxUSE_SERIAL
=no
1334 DEFAULT_wxUSE_JOYSTICK
=no
1335 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1336 DEFAULT_wxUSE_LONGLONG
=no
1337 DEFAULT_wxUSE_GEOMETRY
=no
1339 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1340 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1341 DEFAULT_wxUSE_POSTSCRIPT
=no
1343 DEFAULT_wxUSE_X_RESOURCES
=no
1344 DEFAULT_wxUSE_CLIPBOARD
=no
1345 DEFAULT_wxUSE_TOOLTIPS
=no
1346 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1347 DEFAULT_wxUSE_SPLINES
=no
1349 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1350 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1351 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1353 DEFAULT_wxUSE_PROLOGIO
=no
1354 DEFAULT_wxUSE_RESOURCES
=no
1355 DEFAULT_wxUSE_CONSTRAINTS
=no
1356 DEFAULT_wxUSE_IPC
=no
1357 DEFAULT_wxUSE_HELP
=no
1358 DEFAULT_wxUSE_WXTREE
=no
1359 DEFAULT_wxUSE_METAFILE
=no
1361 DEFAULT_wxUSE_COMMONDLGS
=no
1362 DEFAULT_wxUSE_DIRDLG
=no
1363 DEFAULT_wxUSE_TEXTDLG
=no
1364 DEFAULT_wxUSE_STARTUP_TIPS
=no
1365 DEFAULT_wxUSE_PROGRESSDLG
=no
1366 DEFAULT_wxUSE_MINIFRAME
=no
1367 DEFAULT_wxUSE_HTML
=no
1368 DEFAULT_wxUSE_FILESYSTEM
=no
1369 DEFAULT_wxUSE_FS_INET
=no
1370 DEFAULT_wxUSE_FS_ZIP
=no
1371 DEFAULT_wxUSE_BUSYINFO
=no
1372 DEFAULT_wxUSE_ZIPSTREAM
=no
1373 DEFAULT_wxUSE_VALIDATORS
=yes
1375 DEFAULT_wxUSE_ACCEL
=no
1376 DEFAULT_wxUSE_CARET
=no
1377 DEFAULT_wxUSE_BMPBUTTON
=no
1378 DEFAULT_wxUSE_CHECKBOX
=no
1379 DEFAULT_wxUSE_CHECKLST
=no
1380 DEFAULT_wxUSE_CHOICE
=yes
1381 DEFAULT_wxUSE_COMBOBOX
=no
1382 DEFAULT_wxUSE_GAUGE
=no
1383 DEFAULT_wxUSE_GRID
=no
1384 DEFAULT_wxUSE_NEW_GRID
=no
1385 DEFAULT_wxUSE_IMAGLIST
=no
1386 DEFAULT_wxUSE_LISTBOX
=no
1387 DEFAULT_wxUSE_LISTCTRL
=no
1388 DEFAULT_wxUSE_NOTEBOOK
=no
1389 DEFAULT_wxUSE_RADIOBOX
=no
1390 DEFAULT_wxUSE_RADIOBTN
=no
1391 DEFAULT_wxUSE_SASH
=no
1392 DEFAULT_wxUSE_SCROLLBAR
=no
1393 DEFAULT_wxUSE_SLIDER
=no
1394 DEFAULT_wxUSE_SPINBTN
=no
1395 DEFAULT_wxUSE_SPINCTRL
=no
1396 DEFAULT_wxUSE_SPLITTER
=no
1397 DEFAULT_wxUSE_STATBMP
=no
1398 DEFAULT_wxUSE_STATBOX
=no
1399 DEFAULT_wxUSE_STATLINE
=no
1400 DEFAULT_wxUSE_STATUSBAR
=yes
1401 DEFAULT_wxUSE_TABDIALOG
=no
1402 DEFAULT_wxUSE_TOGGLEBTN
=no
1403 DEFAULT_wxUSE_TOOLBAR
=no
1404 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1405 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1406 DEFAULT_wxUSE_TREECTRL
=no
1408 DEFAULT_wxUSE_UNICODE
=no
1409 DEFAULT_wxUSE_WCSRTOMBS
=no
1411 DEFAULT_wxUSE_IMAGE
=no
1412 DEFAULT_wxUSE_GIF
=no
1413 DEFAULT_wxUSE_PCX
=no
1414 DEFAULT_wxUSE_PNM
=no
1415 DEFAULT_wxUSE_XPM
=no
1417 DEFAULT_wxUSE_THREADS
=yes
1419 DEFAULT_wxUSE_SHARED
=yes
1420 DEFAULT_wxUSE_BURNT_NAME
=no
1421 DEFAULT_wxUSE_OPTIMISE
=yes
1422 DEFAULT_wxUSE_PROFILE
=no
1423 DEFAULT_wxUSE_NO_DEPS
=no
1424 DEFAULT_wxUSE_NO_RTTI
=no
1425 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1426 DEFAULT_wxUSE_PERMISSIVE
=no
1427 DEFAULT_wxUSE_DEBUG_FLAG
=no
1428 DEFAULT_wxUSE_DEBUG_INFO
=no
1429 DEFAULT_wxUSE_DEBUG_GDB
=no
1430 DEFAULT_wxUSE_MEM_TRACING
=no
1431 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1432 DEFAULT_wxUSE_DMALLOC
=no
1433 DEFAULT_wxUSE_APPLE_IEEE
=yes
1435 DEFAULT_wxUSE_LOG
=yes
1437 DEFAULT_wxUSE_GUI
=yes
1439 DEFAULT_wxUSE_ZLIB
=yes
1440 DEFAULT_wxUSE_LIBPNG
=yes
1441 DEFAULT_wxUSE_LIBJPEG
=yes
1442 DEFAULT_wxUSE_LIBTIFF
=yes
1443 DEFAULT_wxUSE_ODBC
=no
1444 DEFAULT_wxUSE_FREETYPE
=no
1445 DEFAULT_wxUSE_OPENGL
=no
1447 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1448 DEFAULT_wxUSE_STD_IOSTREAM
=no
1449 DEFAULT_wxUSE_FILE
=yes
1450 DEFAULT_wxUSE_TEXTFILE
=yes
1451 DEFAULT_wxUSE_TIMEDATE
=yes
1452 DEFAULT_wxUSE_WAVE
=no
1453 DEFAULT_wxUSE_INTL
=yes
1454 DEFAULT_wxUSE_CONFIG
=yes
1455 DEFAULT_wxUSE_STREAMS
=yes
1456 DEFAULT_wxUSE_SOCKETS
=yes
1457 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1458 DEFAULT_wxUSE_SERIAL
=yes
1459 DEFAULT_wxUSE_JOYSTICK
=yes
1460 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1461 DEFAULT_wxUSE_LONGLONG
=yes
1462 DEFAULT_wxUSE_GEOMETRY
=yes
1464 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1465 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1466 DEFAULT_wxUSE_POSTSCRIPT
=yes
1468 DEFAULT_wxUSE_X_RESOURCES
=no
1469 DEFAULT_wxUSE_CLIPBOARD
=yes
1470 DEFAULT_wxUSE_TOOLTIPS
=yes
1471 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1472 DEFAULT_wxUSE_SPLINES
=yes
1474 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1475 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1476 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1478 DEFAULT_wxUSE_PROLOGIO
=yes
1479 DEFAULT_wxUSE_RESOURCES
=yes
1480 DEFAULT_wxUSE_CONSTRAINTS
=yes
1481 DEFAULT_wxUSE_IPC
=yes
1482 DEFAULT_wxUSE_HELP
=yes
1483 DEFAULT_wxUSE_WXTREE
=yes
1484 DEFAULT_wxUSE_METAFILE
=yes
1486 DEFAULT_wxUSE_COMMONDLGS
=yes
1487 DEFAULT_wxUSE_DIRDLG
=yes
1488 DEFAULT_wxUSE_TEXTDLG
=yes
1489 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1490 DEFAULT_wxUSE_PROGRESSDLG
=yes
1491 DEFAULT_wxUSE_MINIFRAME
=yes
1492 DEFAULT_wxUSE_HTML
=yes
1493 DEFAULT_wxUSE_FILESYSTEM
=yes
1494 DEFAULT_wxUSE_FS_INET
=yes
1495 DEFAULT_wxUSE_FS_ZIP
=yes
1496 DEFAULT_wxUSE_BUSYINFO
=yes
1497 DEFAULT_wxUSE_ZIPSTREAM
=yes
1498 DEFAULT_wxUSE_VALIDATORS
=yes
1500 DEFAULT_wxUSE_ACCEL
=yes
1501 DEFAULT_wxUSE_CARET
=yes
1502 DEFAULT_wxUSE_BMPBUTTON
=yes
1503 DEFAULT_wxUSE_CHECKBOX
=yes
1504 DEFAULT_wxUSE_CHECKLST
=yes
1505 DEFAULT_wxUSE_CHOICE
=yes
1506 DEFAULT_wxUSE_COMBOBOX
=yes
1507 DEFAULT_wxUSE_GAUGE
=yes
1508 DEFAULT_wxUSE_GRID
=yes
1509 DEFAULT_wxUSE_NEW_GRID
=yes
1510 DEFAULT_wxUSE_IMAGLIST
=yes
1511 DEFAULT_wxUSE_LISTBOX
=yes
1512 DEFAULT_wxUSE_LISTCTRL
=yes
1513 DEFAULT_wxUSE_NOTEBOOK
=yes
1514 DEFAULT_wxUSE_RADIOBOX
=yes
1515 DEFAULT_wxUSE_RADIOBTN
=yes
1516 DEFAULT_wxUSE_SASH
=yes
1517 DEFAULT_wxUSE_SCROLLBAR
=yes
1518 DEFAULT_wxUSE_SLIDER
=yes
1519 DEFAULT_wxUSE_SPINBTN
=yes
1520 DEFAULT_wxUSE_SPINCTRL
=yes
1521 DEFAULT_wxUSE_SPLITTER
=yes
1522 DEFAULT_wxUSE_STATBMP
=yes
1523 DEFAULT_wxUSE_STATBOX
=yes
1524 DEFAULT_wxUSE_STATLINE
=yes
1525 DEFAULT_wxUSE_STATUSBAR
=yes
1526 DEFAULT_wxUSE_TABDIALOG
=no
1527 DEFAULT_wxUSE_TOGGLEBTN
=yes
1528 DEFAULT_wxUSE_TOOLBAR
=yes
1529 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1530 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1531 DEFAULT_wxUSE_TREECTRL
=yes
1533 DEFAULT_wxUSE_UNICODE
=no
1534 DEFAULT_wxUSE_WCSRTOMBS
=no
1536 DEFAULT_wxUSE_IMAGE
=yes
1537 DEFAULT_wxUSE_GIF
=yes
1538 DEFAULT_wxUSE_PCX
=yes
1539 DEFAULT_wxUSE_PNM
=yes
1540 DEFAULT_wxUSE_XPM
=yes
1545 for toolkit
in `echo $ALL_TOOLKITS`; do
1546 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1547 if test "x$LINE" != x
; then
1548 has_toolkit_in_cache
=1
1549 eval "DEFAULT_$LINE"
1550 eval "CACHE_$toolkit=1"
1556 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1557 echo "configure:1558: checking "for --enable-gui"" >&5
1559 # Check whether --enable-gui or --disable-gui was given.
1560 if test "${enable_gui+set}" = set; then
1561 enableval
="$enable_gui"
1563 if test "$enableval" = yes; then
1564 ac_cv_use_gui
='wxUSE_GUI=yes'
1566 ac_cv_use_gui
='wxUSE_GUI=no'
1571 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1572 if test "x$LINE" != x
; then
1573 eval "DEFAULT_$LINE"
1578 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1583 eval "$ac_cv_use_gui"
1584 if test "$no_cache" != 1; then
1585 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1588 if test "$wxUSE_GUI" = yes; then
1589 echo "$ac_t""yes" 1>&6
1591 echo "$ac_t""no" 1>&6
1595 if test "$wxUSE_GUI" = "yes"; then
1597 # Check whether --with-gtk or --without-gtk was given.
1598 if test "${with_gtk+set}" = set; then
1600 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1603 # Check whether --with-motif or --without-motif was given.
1604 if test "${with_motif+set}" = set; then
1605 withval
="$with_motif"
1606 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1609 # Check whether --with-mac or --without-mac was given.
1610 if test "${with_mac+set}" = set; then
1612 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1615 # Check whether --with-wine or --without-wine was given.
1616 if test "${with_wine+set}" = set; then
1617 withval
="$with_wine"
1618 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1621 # Check whether --with-cygwin or --without-cygwin was given.
1622 if test "${with_cygwin+set}" = set; then
1623 withval
="$with_cygwin"
1624 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1627 # Check whether --with-mingw or --without-mingw was given.
1628 if test "${with_mingw+set}" = set; then
1629 withval
="$with_mingw"
1630 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1633 # Check whether --with-pm or --without-pm was given.
1634 if test "${with_pm+set}" = set; then
1636 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1640 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1641 if test "${with_gtk_prefix+set}" = set; then
1642 withval
="$with_gtk_prefix"
1643 gtk_config_prefix
="$withval"
1645 gtk_config_prefix
=""
1648 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1649 if test "${with_gtk_exec_prefix+set}" = set; then
1650 withval
="$with_gtk_exec_prefix"
1651 gtk_config_exec_prefix
="$withval"
1653 gtk_config_exec_prefix
=""
1658 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1659 echo "configure:1660: checking "for --with-libpng"" >&5
1661 # Check whether --with-libpng or --without-libpng was given.
1662 if test "${with_libpng+set}" = set; then
1663 withval
="$with_libpng"
1665 if test "$withval" = yes; then
1666 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1667 elif test "$withval" = no
; then
1668 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1669 elif test "$withval" = sys
; then
1670 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1672 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1677 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1678 if test "x$LINE" != x
; then
1679 eval "DEFAULT_$LINE"
1684 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1689 eval "$ac_cv_use_libpng"
1690 if test "$no_cache" != 1; then
1691 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1694 if test "$wxUSE_LIBPNG" = yes; then
1695 echo "$ac_t""yes" 1>&6
1696 elif test "$wxUSE_LIBPNG" = no
; then
1697 echo "$ac_t""no" 1>&6
1698 elif test "$wxUSE_LIBPNG" = sys
; then
1699 echo "$ac_t""system version" 1>&6
1701 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1705 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1706 echo "configure:1707: checking "for --with-libjpeg"" >&5
1708 # Check whether --with-libjpeg or --without-libjpeg was given.
1709 if test "${with_libjpeg+set}" = set; then
1710 withval
="$with_libjpeg"
1712 if test "$withval" = yes; then
1713 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1714 elif test "$withval" = no
; then
1715 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1716 elif test "$withval" = sys
; then
1717 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1719 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1724 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1725 if test "x$LINE" != x
; then
1726 eval "DEFAULT_$LINE"
1731 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1736 eval "$ac_cv_use_libjpeg"
1737 if test "$no_cache" != 1; then
1738 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1741 if test "$wxUSE_LIBJPEG" = yes; then
1742 echo "$ac_t""yes" 1>&6
1743 elif test "$wxUSE_LIBJPEG" = no
; then
1744 echo "$ac_t""no" 1>&6
1745 elif test "$wxUSE_LIBJPEG" = sys
; then
1746 echo "$ac_t""system version" 1>&6
1748 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1752 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1753 echo "configure:1754: checking "for --with-libtiff"" >&5
1755 # Check whether --with-libtiff or --without-libtiff was given.
1756 if test "${with_libtiff+set}" = set; then
1757 withval
="$with_libtiff"
1759 if test "$withval" = yes; then
1760 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1761 elif test "$withval" = no
; then
1762 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1763 elif test "$withval" = sys
; then
1764 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1766 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1771 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1772 if test "x$LINE" != x
; then
1773 eval "DEFAULT_$LINE"
1778 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1783 eval "$ac_cv_use_libtiff"
1784 if test "$no_cache" != 1; then
1785 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1788 if test "$wxUSE_LIBTIFF" = yes; then
1789 echo "$ac_t""yes" 1>&6
1790 elif test "$wxUSE_LIBTIFF" = no
; then
1791 echo "$ac_t""no" 1>&6
1792 elif test "$wxUSE_LIBTIFF" = sys
; then
1793 echo "$ac_t""system version" 1>&6
1795 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1799 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1800 echo "configure:1801: checking "for --with-freetype"" >&5
1802 # Check whether --with-freetype or --without-freetype was given.
1803 if test "${with_freetype+set}" = set; then
1804 withval
="$with_freetype"
1806 if test "$withval" = yes; then
1807 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1808 elif test "$withval" = no
; then
1809 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1810 elif test "$withval" = sys
; then
1811 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1813 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1818 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1819 if test "x$LINE" != x
; then
1820 eval "DEFAULT_$LINE"
1825 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1830 eval "$ac_cv_use_freetype"
1831 if test "$no_cache" != 1; then
1832 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1835 if test "$wxUSE_FREETYPE" = yes; then
1836 echo "$ac_t""yes" 1>&6
1837 elif test "$wxUSE_FREETYPE" = no
; then
1838 echo "$ac_t""no" 1>&6
1839 elif test "$wxUSE_FREETYPE" = sys
; then
1840 echo "$ac_t""system version" 1>&6
1842 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1846 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1847 echo "configure:1848: checking "for --with-opengl"" >&5
1849 # Check whether --with-opengl or --without-opengl was given.
1850 if test "${with_opengl+set}" = set; then
1851 withval
="$with_opengl"
1853 if test "$withval" = yes; then
1854 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1856 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1861 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x
; then
1863 eval "DEFAULT_$LINE"
1868 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1873 eval "$ac_cv_use_opengl"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1878 if test "$wxUSE_OPENGL" = yes; then
1879 echo "$ac_t""yes" 1>&6
1881 echo "$ac_t""no" 1>&6
1888 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1889 echo "configure:1890: checking "for --with-dmalloc"" >&5
1891 # Check whether --with-dmalloc or --without-dmalloc was given.
1892 if test "${with_dmalloc+set}" = set; then
1893 withval
="$with_dmalloc"
1895 if test "$withval" = yes; then
1896 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1898 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1903 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1904 if test "x$LINE" != x
; then
1905 eval "DEFAULT_$LINE"
1910 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1915 eval "$ac_cv_use_dmalloc"
1916 if test "$no_cache" != 1; then
1917 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1920 if test "$wxUSE_DMALLOC" = yes; then
1921 echo "$ac_t""yes" 1>&6
1923 echo "$ac_t""no" 1>&6
1927 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1928 echo "configure:1929: checking "for --with-zlib"" >&5
1930 # Check whether --with-zlib or --without-zlib was given.
1931 if test "${with_zlib+set}" = set; then
1932 withval
="$with_zlib"
1934 if test "$withval" = yes; then
1935 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1936 elif test "$withval" = no
; then
1937 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1938 elif test "$withval" = sys
; then
1939 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1941 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1946 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1947 if test "x$LINE" != x
; then
1948 eval "DEFAULT_$LINE"
1953 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1958 eval "$ac_cv_use_zlib"
1959 if test "$no_cache" != 1; then
1960 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1963 if test "$wxUSE_ZLIB" = yes; then
1964 echo "$ac_t""yes" 1>&6
1965 elif test "$wxUSE_ZLIB" = no
; then
1966 echo "$ac_t""no" 1>&6
1967 elif test "$wxUSE_ZLIB" = sys
; then
1968 echo "$ac_t""system version" 1>&6
1970 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1974 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1975 echo "configure:1976: checking "for --with-odbc"" >&5
1977 # Check whether --with-odbc or --without-odbc was given.
1978 if test "${with_odbc+set}" = set; then
1979 withval
="$with_odbc"
1981 if test "$withval" = yes; then
1982 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1984 ac_cv_use_odbc
='wxUSE_ODBC=no'
1989 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1990 if test "x$LINE" != x
; then
1991 eval "DEFAULT_$LINE"
1996 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2001 eval "$ac_cv_use_odbc"
2002 if test "$no_cache" != 1; then
2003 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2006 if test "$wxUSE_ODBC" = yes; then
2007 echo "$ac_t""yes" 1>&6
2009 echo "$ac_t""no" 1>&6
2016 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
2017 echo "configure:2018: checking "for --enable-shared"" >&5
2019 # Check whether --enable-shared or --disable-shared was given.
2020 if test "${enable_shared+set}" = set; then
2021 enableval
="$enable_shared"
2023 if test "$enableval" = yes; then
2024 ac_cv_use_shared
='wxUSE_SHARED=yes'
2026 ac_cv_use_shared
='wxUSE_SHARED=no'
2031 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2032 if test "x$LINE" != x
; then
2033 eval "DEFAULT_$LINE"
2038 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2043 eval "$ac_cv_use_shared"
2044 if test "$no_cache" != 1; then
2045 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2048 if test "$wxUSE_SHARED" = yes; then
2049 echo "$ac_t""yes" 1>&6
2051 echo "$ac_t""no" 1>&6
2055 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2056 echo "configure:2057: checking "for --enable-burnt_name"" >&5
2058 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2059 if test "${enable_burnt_name+set}" = set; then
2060 enableval
="$enable_burnt_name"
2062 if test "$enableval" = yes; then
2063 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2065 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2070 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2071 if test "x$LINE" != x
; then
2072 eval "DEFAULT_$LINE"
2077 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2082 eval "$ac_cv_use_burnt_name"
2083 if test "$no_cache" != 1; then
2084 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2087 if test "$wxUSE_BURNT_NAME" = yes; then
2088 echo "$ac_t""yes" 1>&6
2090 echo "$ac_t""no" 1>&6
2094 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2095 echo "configure:2096: checking "for --enable-optimise"" >&5
2097 # Check whether --enable-optimise or --disable-optimise was given.
2098 if test "${enable_optimise+set}" = set; then
2099 enableval
="$enable_optimise"
2101 if test "$enableval" = yes; then
2102 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2104 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2109 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2110 if test "x$LINE" != x
; then
2111 eval "DEFAULT_$LINE"
2116 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2121 eval "$ac_cv_use_optimise"
2122 if test "$no_cache" != 1; then
2123 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2126 if test "$wxUSE_OPTIMISE" = yes; then
2127 echo "$ac_t""yes" 1>&6
2129 echo "$ac_t""no" 1>&6
2133 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2134 echo "configure:2135: checking "for --enable-debug"" >&5
2136 # Check whether --enable-debug or --disable-debug was given.
2137 if test "${enable_debug+set}" = set; then
2138 enableval
="$enable_debug"
2140 if test "$enableval" = yes; then
2141 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2143 ac_cv_use_debug
='wxUSE_DEBUG=no'
2148 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2149 if test "x$LINE" != x
; then
2150 eval "DEFAULT_$LINE"
2155 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2160 eval "$ac_cv_use_debug"
2161 if test "$no_cache" != 1; then
2162 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2165 if test "$wxUSE_DEBUG" = yes; then
2166 echo "$ac_t""yes" 1>&6
2168 echo "$ac_t""no" 1>&6
2172 if test "$wxUSE_DEBUG" = "yes"; then
2173 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2174 DEFAULT_wxUSE_DEBUG_INFO
=yes
2175 elif test "$wxUSE_DEBUG" = "no"; then
2176 DEFAULT_wxUSE_DEBUG_FLAG
=no
2177 DEFAULT_wxUSE_DEBUG_INFO
=no
2181 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2182 echo "configure:2183: checking "for --enable-debug_flag"" >&5
2184 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2185 if test "${enable_debug_flag+set}" = set; then
2186 enableval
="$enable_debug_flag"
2188 if test "$enableval" = yes; then
2189 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2191 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2196 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2197 if test "x$LINE" != x
; then
2198 eval "DEFAULT_$LINE"
2203 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2208 eval "$ac_cv_use_debug_flag"
2209 if test "$no_cache" != 1; then
2210 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2213 if test "$wxUSE_DEBUG_FLAG" = yes; then
2214 echo "$ac_t""yes" 1>&6
2216 echo "$ac_t""no" 1>&6
2220 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2221 echo "configure:2222: checking "for --enable-debug_info"" >&5
2223 # Check whether --enable-debug_info or --disable-debug_info was given.
2224 if test "${enable_debug_info+set}" = set; then
2225 enableval
="$enable_debug_info"
2227 if test "$enableval" = yes; then
2228 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2230 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2235 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2236 if test "x$LINE" != x
; then
2237 eval "DEFAULT_$LINE"
2242 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2247 eval "$ac_cv_use_debug_info"
2248 if test "$no_cache" != 1; then
2249 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2252 if test "$wxUSE_DEBUG_INFO" = yes; then
2253 echo "$ac_t""yes" 1>&6
2255 echo "$ac_t""no" 1>&6
2259 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2260 echo "configure:2261: checking "for --enable-debug_gdb"" >&5
2262 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2263 if test "${enable_debug_gdb+set}" = set; then
2264 enableval
="$enable_debug_gdb"
2266 if test "$enableval" = yes; then
2267 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2269 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2274 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2275 if test "x$LINE" != x
; then
2276 eval "DEFAULT_$LINE"
2281 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2286 eval "$ac_cv_use_debug_gdb"
2287 if test "$no_cache" != 1; then
2288 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2291 if test "$wxUSE_DEBUG_GDB" = yes; then
2292 echo "$ac_t""yes" 1>&6
2294 echo "$ac_t""no" 1>&6
2298 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2299 echo "configure:2300: checking "for --enable-debug_cntxt"" >&5
2301 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2302 if test "${enable_debug_cntxt+set}" = set; then
2303 enableval
="$enable_debug_cntxt"
2305 if test "$enableval" = yes; then
2306 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2308 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2313 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2314 if test "x$LINE" != x
; then
2315 eval "DEFAULT_$LINE"
2320 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2325 eval "$ac_cv_use_debug_cntxt"
2326 if test "$no_cache" != 1; then
2327 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2330 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2331 echo "$ac_t""yes" 1>&6
2333 echo "$ac_t""no" 1>&6
2337 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2338 echo "configure:2339: checking "for --enable-mem_tracing"" >&5
2340 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2341 if test "${enable_mem_tracing+set}" = set; then
2342 enableval
="$enable_mem_tracing"
2344 if test "$enableval" = yes; then
2345 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2347 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2352 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x
; then
2354 eval "DEFAULT_$LINE"
2359 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2364 eval "$ac_cv_use_mem_tracing"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2369 if test "$wxUSE_MEM_TRACING" = yes; then
2370 echo "$ac_t""yes" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2377 echo "configure:2378: checking "for --enable-profile"" >&5
2379 # Check whether --enable-profile or --disable-profile was given.
2380 if test "${enable_profile+set}" = set; then
2381 enableval
="$enable_profile"
2383 if test "$enableval" = yes; then
2384 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2386 ac_cv_use_profile
='wxUSE_PROFILE=no'
2391 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x
; then
2393 eval "DEFAULT_$LINE"
2398 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2403 eval "$ac_cv_use_profile"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2408 if test "$wxUSE_PROFILE" = yes; then
2409 echo "$ac_t""yes" 1>&6
2411 echo "$ac_t""no" 1>&6
2415 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2416 echo "configure:2417: checking "for --enable-no_rtti"" >&5
2418 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2419 if test "${enable_no_rtti+set}" = set; then
2420 enableval
="$enable_no_rtti"
2422 if test "$enableval" = yes; then
2423 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2425 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2430 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2431 if test "x$LINE" != x
; then
2432 eval "DEFAULT_$LINE"
2437 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2442 eval "$ac_cv_use_no_rtti"
2443 if test "$no_cache" != 1; then
2444 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2447 if test "$wxUSE_NO_RTTI" = yes; then
2448 echo "$ac_t""yes" 1>&6
2450 echo "$ac_t""no" 1>&6
2454 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2455 echo "configure:2456: checking "for --enable-no_exceptions"" >&5
2457 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2458 if test "${enable_no_exceptions+set}" = set; then
2459 enableval
="$enable_no_exceptions"
2461 if test "$enableval" = yes; then
2462 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2464 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2469 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x
; then
2471 eval "DEFAULT_$LINE"
2476 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2481 eval "$ac_cv_use_no_exceptions"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2487 echo "$ac_t""yes" 1>&6
2489 echo "$ac_t""no" 1>&6
2493 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2494 echo "configure:2495: checking "for --enable-permissive"" >&5
2496 # Check whether --enable-permissive or --disable-permissive was given.
2497 if test "${enable_permissive+set}" = set; then
2498 enableval
="$enable_permissive"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2503 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2508 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2520 eval "$ac_cv_use_permissive"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_PERMISSIVE" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2532 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2533 echo "configure:2534: checking "for --enable-no_deps"" >&5
2535 # Check whether --enable-no_deps or --disable-no_deps was given.
2536 if test "${enable_no_deps+set}" = set; then
2537 enableval
="$enable_no_deps"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2542 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2547 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x
; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2559 eval "$ac_cv_use_no_deps"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_NO_DEPS" = yes; then
2565 echo "$ac_t""yes" 1>&6
2567 echo "$ac_t""no" 1>&6
2573 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2574 echo "configure:2575: checking "for --enable-intl"" >&5
2576 # Check whether --enable-intl or --disable-intl was given.
2577 if test "${enable_intl+set}" = set; then
2578 enableval
="$enable_intl"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_intl
='wxUSE_INTL=yes'
2583 ac_cv_use_intl
='wxUSE_INTL=no'
2588 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2600 eval "$ac_cv_use_intl"
2601 if test "$no_cache" != 1; then
2602 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2605 if test "$wxUSE_INTL" = yes; then
2606 echo "$ac_t""yes" 1>&6
2608 echo "$ac_t""no" 1>&6
2612 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2613 echo "configure:2614: checking "for --enable-config"" >&5
2615 # Check whether --enable-config or --disable-config was given.
2616 if test "${enable_config+set}" = set; then
2617 enableval
="$enable_config"
2619 if test "$enableval" = yes; then
2620 ac_cv_use_config
='wxUSE_CONFIG=yes'
2622 ac_cv_use_config
='wxUSE_CONFIG=no'
2627 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2639 eval "$ac_cv_use_config"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2644 if test "$wxUSE_CONFIG" = yes; then
2645 echo "$ac_t""yes" 1>&6
2647 echo "$ac_t""no" 1>&6
2652 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2653 echo "configure:2654: checking "for --enable-sockets"" >&5
2655 # Check whether --enable-sockets or --disable-sockets was given.
2656 if test "${enable_sockets+set}" = set; then
2657 enableval
="$enable_sockets"
2659 if test "$enableval" = yes; then
2660 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2662 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2667 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x
; then
2669 eval "DEFAULT_$LINE"
2674 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2679 eval "$ac_cv_use_sockets"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_SOCKETS" = yes; then
2685 echo "$ac_t""yes" 1>&6
2687 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2693 echo "configure:2694: checking "for --enable-ipc"" >&5
2695 # Check whether --enable-ipc or --disable-ipc was given.
2696 if test "${enable_ipc+set}" = set; then
2697 enableval
="$enable_ipc"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_ipc
='wxUSE_IPC=yes'
2702 ac_cv_use_ipc
='wxUSE_IPC=no'
2707 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2719 eval "$ac_cv_use_ipc"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_IPC" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2732 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2733 echo "configure:2734: checking "for --enable-dialupman"" >&5
2735 # Check whether --enable-dialupman or --disable-dialupman was given.
2736 if test "${enable_dialupman+set}" = set; then
2737 enableval
="$enable_dialupman"
2739 if test "$enableval" = yes; then
2740 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2742 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2747 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2748 if test "x$LINE" != x
; then
2749 eval "DEFAULT_$LINE"
2754 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2759 eval "$ac_cv_use_dialupman"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2764 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2765 echo "$ac_t""yes" 1>&6
2767 echo "$ac_t""no" 1>&6
2771 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2772 echo "configure:2773: checking "for --enable-apple_ieee"" >&5
2774 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2775 if test "${enable_apple_ieee+set}" = set; then
2776 enableval
="$enable_apple_ieee"
2778 if test "$enableval" = yes; then
2779 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2781 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2786 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2798 eval "$ac_cv_use_apple_ieee"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2803 if test "$wxUSE_APPLE_IEEE" = yes; then
2804 echo "$ac_t""yes" 1>&6
2806 echo "$ac_t""no" 1>&6
2810 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2811 echo "configure:2812: checking "for --enable-timedate"" >&5
2813 # Check whether --enable-timedate or --disable-timedate was given.
2814 if test "${enable_timedate+set}" = set; then
2815 enableval
="$enable_timedate"
2817 if test "$enableval" = yes; then
2818 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2820 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2825 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2837 eval "$ac_cv_use_timedate"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_TIMEDATE" = yes; then
2843 echo "$ac_t""yes" 1>&6
2845 echo "$ac_t""no" 1>&6
2849 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2850 echo "configure:2851: checking "for --enable-wave"" >&5
2852 # Check whether --enable-wave or --disable-wave was given.
2853 if test "${enable_wave+set}" = set; then
2854 enableval
="$enable_wave"
2856 if test "$enableval" = yes; then
2857 ac_cv_use_wave
='wxUSE_WAVE=yes'
2859 ac_cv_use_wave
='wxUSE_WAVE=no'
2864 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2865 if test "x$LINE" != x
; then
2866 eval "DEFAULT_$LINE"
2871 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2876 eval "$ac_cv_use_wave"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2881 if test "$wxUSE_WAVE" = yes; then
2882 echo "$ac_t""yes" 1>&6
2884 echo "$ac_t""no" 1>&6
2888 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2889 echo "configure:2890: checking "for --enable-fraction"" >&5
2891 # Check whether --enable-fraction or --disable-fraction was given.
2892 if test "${enable_fraction+set}" = set; then
2893 enableval
="$enable_fraction"
2895 if test "$enableval" = yes; then
2896 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2898 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2903 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2915 eval "$ac_cv_use_fraction"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_FRACTION" = yes; then
2921 echo "$ac_t""yes" 1>&6
2923 echo "$ac_t""no" 1>&6
2927 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2928 echo "configure:2929: checking "for --enable-dynlib"" >&5
2930 # Check whether --enable-dynlib or --disable-dynlib was given.
2931 if test "${enable_dynlib+set}" = set; then
2932 enableval
="$enable_dynlib"
2934 if test "$enableval" = yes; then
2935 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2937 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2942 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x
; then
2944 eval "DEFAULT_$LINE"
2949 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2954 eval "$ac_cv_use_dynlib"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2960 echo "$ac_t""yes" 1>&6
2962 echo "$ac_t""no" 1>&6
2966 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2967 echo "configure:2968: checking "for --enable-longlong"" >&5
2969 # Check whether --enable-longlong or --disable-longlong was given.
2970 if test "${enable_longlong+set}" = set; then
2971 enableval
="$enable_longlong"
2973 if test "$enableval" = yes; then
2974 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2976 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2981 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2993 eval "$ac_cv_use_longlong"
2994 if test "$no_cache" != 1; then
2995 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2998 if test "$wxUSE_LONGLONG" = yes; then
2999 echo "$ac_t""yes" 1>&6
3001 echo "$ac_t""no" 1>&6
3005 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
3006 echo "configure:3007: checking "for --enable-geometry"" >&5
3008 # Check whether --enable-geometry or --disable-geometry was given.
3009 if test "${enable_geometry+set}" = set; then
3010 enableval
="$enable_geometry"
3012 if test "$enableval" = yes; then
3013 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3015 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3020 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x
; then
3022 eval "DEFAULT_$LINE"
3027 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3032 eval "$ac_cv_use_geometry"
3033 if test "$no_cache" != 1; then
3034 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3037 if test "$wxUSE_GEOMETRY" = yes; then
3038 echo "$ac_t""yes" 1>&6
3040 echo "$ac_t""no" 1>&6
3044 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3045 echo "configure:3046: checking "for --enable-log"" >&5
3047 # Check whether --enable-log or --disable-log was given.
3048 if test "${enable_log+set}" = set; then
3049 enableval
="$enable_log"
3051 if test "$enableval" = yes; then
3052 ac_cv_use_log
='wxUSE_LOG=yes'
3054 ac_cv_use_log
='wxUSE_LOG=no'
3059 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x
; then
3061 eval "DEFAULT_$LINE"
3066 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3071 eval "$ac_cv_use_log"
3072 if test "$no_cache" != 1; then
3073 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3076 if test "$wxUSE_LOG" = yes; then
3077 echo "$ac_t""yes" 1>&6
3079 echo "$ac_t""no" 1>&6
3083 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3084 echo "configure:3085: checking "for --enable-streams"" >&5
3086 # Check whether --enable-streams or --disable-streams was given.
3087 if test "${enable_streams+set}" = set; then
3088 enableval
="$enable_streams"
3090 if test "$enableval" = yes; then
3091 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3093 ac_cv_use_streams
='wxUSE_STREAMS=no'
3098 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3110 eval "$ac_cv_use_streams"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3115 if test "$wxUSE_STREAMS" = yes; then
3116 echo "$ac_t""yes" 1>&6
3118 echo "$ac_t""no" 1>&6
3122 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3123 echo "configure:3124: checking "for --enable-file"" >&5
3125 # Check whether --enable-file or --disable-file was given.
3126 if test "${enable_file+set}" = set; then
3127 enableval
="$enable_file"
3129 if test "$enableval" = yes; then
3130 ac_cv_use_file
='wxUSE_FILE=yes'
3132 ac_cv_use_file
='wxUSE_FILE=no'
3137 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3149 eval "$ac_cv_use_file"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_FILE" = yes; then
3155 echo "$ac_t""yes" 1>&6
3157 echo "$ac_t""no" 1>&6
3161 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3162 echo "configure:3163: checking "for --enable-textfile"" >&5
3164 # Check whether --enable-textfile or --disable-textfile was given.
3165 if test "${enable_textfile+set}" = set; then
3166 enableval
="$enable_textfile"
3168 if test "$enableval" = yes; then
3169 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3171 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3176 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x
; then
3178 eval "DEFAULT_$LINE"
3183 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3188 eval "$ac_cv_use_textfile"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3193 if test "$wxUSE_TEXTFILE" = yes; then
3194 echo "$ac_t""yes" 1>&6
3196 echo "$ac_t""no" 1>&6
3200 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3201 echo "configure:3202: checking "for --enable-unicode"" >&5
3203 # Check whether --enable-unicode or --disable-unicode was given.
3204 if test "${enable_unicode+set}" = set; then
3205 enableval
="$enable_unicode"
3207 if test "$enableval" = yes; then
3208 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3210 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3215 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3227 eval "$ac_cv_use_unicode"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_UNICODE" = yes; then
3233 echo "$ac_t""yes" 1>&6
3235 echo "$ac_t""no" 1>&6
3239 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3240 echo "configure:3241: checking "for --enable-wcsrtombs"" >&5
3242 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3243 if test "${enable_wcsrtombs+set}" = set; then
3244 enableval
="$enable_wcsrtombs"
3246 if test "$enableval" = yes; then
3247 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3249 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3254 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3266 eval "$ac_cv_use_wcsrtombs"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_WCSRTOMBS" = yes; then
3272 echo "$ac_t""yes" 1>&6
3274 echo "$ac_t""no" 1>&6
3278 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3279 echo "configure:3280: checking "for --enable-wxprintfv"" >&5
3281 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3282 if test "${enable_wxprintfv+set}" = set; then
3283 enableval
="$enable_wxprintfv"
3285 if test "$enableval" = yes; then
3286 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3288 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3293 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3305 eval "$ac_cv_use_wxprintfv"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3311 echo "$ac_t""yes" 1>&6
3313 echo "$ac_t""no" 1>&6
3317 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3318 echo "configure:3319: checking "for --enable-std_iostreams"" >&5
3320 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3321 if test "${enable_std_iostreams+set}" = set; then
3322 enableval
="$enable_std_iostreams"
3324 if test "$enableval" = yes; then
3325 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3327 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3332 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x
; then
3334 eval "DEFAULT_$LINE"
3339 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3344 eval "$ac_cv_use_std_iostreams"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_STD_IOSTREAM" = yes; then
3350 echo "$ac_t""yes" 1>&6
3352 echo "$ac_t""no" 1>&6
3356 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3357 echo "configure:3358: checking "for --enable-filesystem"" >&5
3359 # Check whether --enable-filesystem or --disable-filesystem was given.
3360 if test "${enable_filesystem+set}" = set; then
3361 enableval
="$enable_filesystem"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3366 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3371 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3383 eval "$ac_cv_use_filesystem"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3388 if test "$wxUSE_FILESYSTEM" = yes; then
3389 echo "$ac_t""yes" 1>&6
3391 echo "$ac_t""no" 1>&6
3395 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3396 echo "configure:3397: checking "for --enable-fs_inet"" >&5
3398 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3399 if test "${enable_fs_inet+set}" = set; then
3400 enableval
="$enable_fs_inet"
3402 if test "$enableval" = yes; then
3403 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3405 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3410 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3411 if test "x$LINE" != x
; then
3412 eval "DEFAULT_$LINE"
3417 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3422 eval "$ac_cv_use_fs_inet"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_FS_INET" = yes; then
3428 echo "$ac_t""yes" 1>&6
3430 echo "$ac_t""no" 1>&6
3434 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3435 echo "configure:3436: checking "for --enable-fs_zip"" >&5
3437 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3438 if test "${enable_fs_zip+set}" = set; then
3439 enableval
="$enable_fs_zip"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3444 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3449 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3461 eval "$ac_cv_use_fs_zip"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_FS_ZIP" = yes; then
3467 echo "$ac_t""yes" 1>&6
3469 echo "$ac_t""no" 1>&6
3473 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3474 echo "configure:3475: checking "for --enable-zipstream"" >&5
3476 # Check whether --enable-zipstream or --disable-zipstream was given.
3477 if test "${enable_zipstream+set}" = set; then
3478 enableval
="$enable_zipstream"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3483 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3488 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3500 eval "$ac_cv_use_zipstream"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3505 if test "$wxUSE_ZIPSTREAM" = yes; then
3506 echo "$ac_t""yes" 1>&6
3508 echo "$ac_t""no" 1>&6
3513 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3514 echo "configure:3515: checking "for --enable-catch_segvs"" >&5
3516 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3517 if test "${enable_catch_segvs+set}" = set; then
3518 enableval
="$enable_catch_segvs"
3520 if test "$enableval" = yes; then
3521 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3523 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3528 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x
; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3540 eval "$ac_cv_use_catch_segvs"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3546 echo "$ac_t""yes" 1>&6
3548 echo "$ac_t""no" 1>&6
3554 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3555 echo "configure:3556: checking "for --enable-threads"" >&5
3557 # Check whether --enable-threads or --disable-threads was given.
3558 if test "${enable_threads+set}" = set; then
3559 enableval
="$enable_threads"
3561 if test "$enableval" = yes; then
3562 ac_cv_use_threads
='wxUSE_THREADS=yes'
3564 ac_cv_use_threads
='wxUSE_THREADS=no'
3569 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x
; then
3571 eval "DEFAULT_$LINE"
3576 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3581 eval "$ac_cv_use_threads"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_THREADS" = yes; then
3587 echo "$ac_t""yes" 1>&6
3589 echo "$ac_t""no" 1>&6
3593 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3594 echo "configure:3595: checking "for --enable-serial"" >&5
3596 # Check whether --enable-serial or --disable-serial was given.
3597 if test "${enable_serial+set}" = set; then
3598 enableval
="$enable_serial"
3600 if test "$enableval" = yes; then
3601 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3603 ac_cv_use_serial
='wxUSE_SERIAL=no'
3608 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3609 if test "x$LINE" != x
; then
3610 eval "DEFAULT_$LINE"
3615 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3620 eval "$ac_cv_use_serial"
3621 if test "$no_cache" != 1; then
3622 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3625 if test "$wxUSE_SERIAL" = yes; then
3626 echo "$ac_t""yes" 1>&6
3628 echo "$ac_t""no" 1>&6
3632 if test "$wxUSE_GUI" = "yes"; then
3636 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3637 echo "configure:3638: checking "for --enable-docview"" >&5
3639 # Check whether --enable-docview or --disable-docview was given.
3640 if test "${enable_docview+set}" = set; then
3641 enableval
="$enable_docview"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3646 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3651 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x
; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3663 eval "$ac_cv_use_docview"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3668 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3669 echo "$ac_t""yes" 1>&6
3671 echo "$ac_t""no" 1>&6
3675 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3676 echo "configure:3677: checking "for --enable-help"" >&5
3678 # Check whether --enable-help or --disable-help was given.
3679 if test "${enable_help+set}" = set; then
3680 enableval
="$enable_help"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_help
='wxUSE_HELP=yes'
3685 ac_cv_use_help
='wxUSE_HELP=no'
3690 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3702 eval "$ac_cv_use_help"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_HELP" = yes; then
3708 echo "$ac_t""yes" 1>&6
3710 echo "$ac_t""no" 1>&6
3714 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3715 echo "configure:3716: checking "for --enable-constraints"" >&5
3717 # Check whether --enable-constraints or --disable-constraints was given.
3718 if test "${enable_constraints+set}" = set; then
3719 enableval
="$enable_constraints"
3721 if test "$enableval" = yes; then
3722 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3724 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3729 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x
; then
3731 eval "DEFAULT_$LINE"
3736 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3741 eval "$ac_cv_use_constraints"
3742 if test "$no_cache" != 1; then
3743 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3746 if test "$wxUSE_CONSTRAINTS" = yes; then
3747 echo "$ac_t""yes" 1>&6
3749 echo "$ac_t""no" 1>&6
3753 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3754 echo "configure:3755: checking "for --enable-printarch"" >&5
3756 # Check whether --enable-printarch or --disable-printarch was given.
3757 if test "${enable_printarch+set}" = set; then
3758 enableval
="$enable_printarch"
3760 if test "$enableval" = yes; then
3761 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3763 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3768 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3769 if test "x$LINE" != x
; then
3770 eval "DEFAULT_$LINE"
3775 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3780 eval "$ac_cv_use_printarch"
3781 if test "$no_cache" != 1; then
3782 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3785 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3786 echo "$ac_t""yes" 1>&6
3788 echo "$ac_t""no" 1>&6
3792 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3793 echo "configure:3794: checking "for --enable-mdi"" >&5
3795 # Check whether --enable-mdi or --disable-mdi was given.
3796 if test "${enable_mdi+set}" = set; then
3797 enableval
="$enable_mdi"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3802 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3807 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3819 eval "$ac_cv_use_mdi"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3825 echo "$ac_t""yes" 1>&6
3827 echo "$ac_t""no" 1>&6
3832 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3833 echo "configure:3834: checking "for --enable-postscript"" >&5
3835 # Check whether --enable-postscript or --disable-postscript was given.
3836 if test "${enable_postscript+set}" = set; then
3837 enableval
="$enable_postscript"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3842 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3847 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3859 eval "$ac_cv_use_postscript"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_POSTSCRIPT" = yes; then
3865 echo "$ac_t""yes" 1>&6
3867 echo "$ac_t""no" 1>&6
3873 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3874 echo "configure:3875: checking "for --enable-prologio"" >&5
3876 # Check whether --enable-prologio or --disable-prologio was given.
3877 if test "${enable_prologio+set}" = set; then
3878 enableval
="$enable_prologio"
3880 if test "$enableval" = yes; then
3881 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3883 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3888 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3889 if test "x$LINE" != x
; then
3890 eval "DEFAULT_$LINE"
3895 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3900 eval "$ac_cv_use_prologio"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_PROLOGIO" = yes; then
3906 echo "$ac_t""yes" 1>&6
3908 echo "$ac_t""no" 1>&6
3912 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3913 echo "configure:3914: checking "for --enable-resources"" >&5
3915 # Check whether --enable-resources or --disable-resources was given.
3916 if test "${enable_resources+set}" = set; then
3917 enableval
="$enable_resources"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3922 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3927 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3939 eval "$ac_cv_use_resources"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_RESOURCES" = yes; then
3945 echo "$ac_t""yes" 1>&6
3947 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3953 echo "configure:3954: checking "for --enable-xresources"" >&5
3955 # Check whether --enable-xresources or --disable-xresources was given.
3956 if test "${enable_xresources+set}" = set; then
3957 enableval
="$enable_xresources"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3962 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3967 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3979 eval "$ac_cv_use_xresources"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_X_RESOURCES" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3993 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3994 echo "configure:3995: checking "for --enable-clipboard"" >&5
3996 # Check whether --enable-clipboard or --disable-clipboard was given.
3997 if test "${enable_clipboard+set}" = set; then
3998 enableval
="$enable_clipboard"
4000 if test "$enableval" = yes; then
4001 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4003 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4008 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4009 if test "x$LINE" != x
; then
4010 eval "DEFAULT_$LINE"
4015 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4020 eval "$ac_cv_use_clipboard"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4025 if test "$wxUSE_CLIPBOARD" = yes; then
4026 echo "$ac_t""yes" 1>&6
4028 echo "$ac_t""no" 1>&6
4032 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
4033 echo "configure:4034: checking "for --enable-dnd"" >&5
4035 # Check whether --enable-dnd or --disable-dnd was given.
4036 if test "${enable_dnd+set}" = set; then
4037 enableval
="$enable_dnd"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4042 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4047 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4059 eval "$ac_cv_use_dnd"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4065 echo "$ac_t""yes" 1>&6
4067 echo "$ac_t""no" 1>&6
4071 echo $ac_n "checking "for --enable-metafile"""... $ac_c" 1>&6
4072 echo "configure:4073: checking "for --enable-metafile"" >&5
4074 # Check whether --enable-metafile or --disable-metafile was given.
4075 if test "${enable_metafile+set}" = set; then
4076 enableval
="$enable_metafile"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4081 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4086 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x
; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4098 eval "$ac_cv_use_metafile"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4103 if test "$wxUSE_METAFILE" = yes; then
4104 echo "$ac_t""yes" 1>&6
4106 echo "$ac_t""no" 1>&6
4111 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4112 echo "configure:4113: checking "for --enable-wxtree"" >&5
4114 # Check whether --enable-wxtree or --disable-wxtree was given.
4115 if test "${enable_wxtree+set}" = set; then
4116 enableval
="$enable_wxtree"
4118 if test "$enableval" = yes; then
4119 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4121 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4126 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x
; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4138 eval "$ac_cv_use_wxtree"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_WXTREE" = yes; then
4144 echo "$ac_t""yes" 1>&6
4146 echo "$ac_t""no" 1>&6
4152 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4153 echo "configure:4154: checking "for --enable-controls"" >&5
4155 # Check whether --enable-controls or --disable-controls was given.
4156 if test "${enable_controls+set}" = set; then
4157 enableval
="$enable_controls"
4159 if test "$enableval" = yes; then
4160 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4162 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4167 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4168 if test "x$LINE" != x
; then
4169 eval "DEFAULT_$LINE"
4174 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4179 eval "$ac_cv_use_controls"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4184 if test "$wxUSE_CONTROLS" = yes; then
4185 echo "$ac_t""yes" 1>&6
4187 echo "$ac_t""no" 1>&6
4191 if test "$wxUSE_CONTROLS" = "yes"; then
4192 DEFAULT_wxUSE_ACCEL
=yes
4193 DEFAULT_wxUSE_CARET
=yes
4194 DEFAULT_wxUSE_COMBOBOX
=yes
4195 DEFAULT_wxUSE_BMPBUTTON
=yes
4196 DEFAULT_wxUSE_CHECKBOX
=yes
4197 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4198 DEFAULT_wxUSE_CHOICE
=yes
4199 DEFAULT_wxUSE_GAUGE
=yes
4200 DEFAULT_wxUSE_GRID
=yes
4201 DEFAULT_wxUSE_NEW_GRID
=yes
4202 DEFAULT_wxUSE_IMAGLIST
=yes
4203 DEFAULT_wxUSE_LISTBOX
=yes
4204 DEFAULT_wxUSE_LISTCTRL
=yes
4205 DEFAULT_wxUSE_NOTEBOOK
=yes
4206 DEFAULT_wxUSE_RADIOBOX
=yes
4207 DEFAULT_wxUSE_RADIOBTN
=yes
4208 DEFAULT_wxUSE_SASH
=yes
4209 DEFAULT_wxUSE_SCROLLBAR
=yes
4210 DEFAULT_wxUSE_SLIDER
=yes
4211 DEFAULT_wxUSE_SPINBTN
=yes
4212 DEFAULT_wxUSE_SPINCTRL
=yes
4213 DEFAULT_wxUSE_SPLITTER
=yes
4214 DEFAULT_wxUSE_STATBMP
=yes
4215 DEFAULT_wxUSE_STATBOX
=yes
4216 DEFAULT_wxUSE_STATLINE
=yes
4217 DEFAULT_wxUSE_STATUSBAR
=yes
4218 DEFAULT_wxUSE_TAB_DIALOG
=yes
4219 DEFAULT_wxUSE_TOGGLEBTN
=yes
4220 DEFAULT_wxUSE_TOOLBAR
=yes
4221 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4222 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4223 DEFAULT_wxUSE_TOOLTIPS
=yes
4224 DEFAULT_wxUSE_TREECTRL
=yes
4225 elif test "$wxUSE_CONTROLS" = "no"; then
4226 DEFAULT_wxUSE_ACCEL
=no
4227 DEFAULT_wxUSE_CARET
=no
4228 DEFAULT_wxUSE_COMBOBOX
=no
4229 DEFAULT_wxUSE_BMPBUTTON
=no
4230 DEFAULT_wxUSE_CHECKBOX
=no
4231 DEFAULT_wxUSE_CHECKLISTBOX
=no
4232 DEFAULT_wxUSE_CHOICE
=no
4233 DEFAULT_wxUSE_GAUGE
=no
4234 DEFAULT_wxUSE_GRID
=no
4235 DEFAULT_wxUSE_NEW_GRID
=no
4236 DEFAULT_wxUSE_IMAGLIST
=no
4237 DEFAULT_wxUSE_LISTBOX
=no
4238 DEFAULT_wxUSE_LISTCTRL
=no
4239 DEFAULT_wxUSE_NOTEBOOK
=no
4240 DEFAULT_wxUSE_RADIOBOX
=no
4241 DEFAULT_wxUSE_RADIOBTN
=no
4242 DEFAULT_wxUSE_SASH
=no
4243 DEFAULT_wxUSE_SCROLLBAR
=no
4244 DEFAULT_wxUSE_SLIDER
=no
4245 DEFAULT_wxUSE_SPINBTN
=no
4246 DEFAULT_wxUSE_SPINCTRL
=no
4247 DEFAULT_wxUSE_SPLITTER
=no
4248 DEFAULT_wxUSE_STATBMP
=no
4249 DEFAULT_wxUSE_STATBOX
=no
4250 DEFAULT_wxUSE_STATLINE
=no
4251 DEFAULT_wxUSE_STATUSBAR
=no
4252 DEFAULT_wxUSE_TAB_DIALOG
=no
4253 DEFAULT_wxUSE_TOGGLEBTN
=no
4254 DEFAULT_wxUSE_TOOLBAR
=no
4255 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4256 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4257 DEFAULT_wxUSE_TOOLTIPS
=no
4258 DEFAULT_wxUSE_TREECTRL
=no
4262 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4263 echo "configure:4264: checking "for --enable-accel"" >&5
4265 # Check whether --enable-accel or --disable-accel was given.
4266 if test "${enable_accel+set}" = set; then
4267 enableval
="$enable_accel"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4272 ac_cv_use_accel
='wxUSE_ACCEL=no'
4277 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x
; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4289 eval "$ac_cv_use_accel"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_ACCEL" = yes; then
4295 echo "$ac_t""yes" 1>&6
4297 echo "$ac_t""no" 1>&6
4301 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4302 echo "configure:4303: checking "for --enable-caret"" >&5
4304 # Check whether --enable-caret or --disable-caret was given.
4305 if test "${enable_caret+set}" = set; then
4306 enableval
="$enable_caret"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_caret
='wxUSE_CARET=yes'
4311 ac_cv_use_caret
='wxUSE_CARET=no'
4316 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x
; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4328 eval "$ac_cv_use_caret"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_CARET" = yes; then
4334 echo "$ac_t""yes" 1>&6
4336 echo "$ac_t""no" 1>&6
4340 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4341 echo "configure:4342: checking "for --enable-bmpbutton"" >&5
4343 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4344 if test "${enable_bmpbutton+set}" = set; then
4345 enableval
="$enable_bmpbutton"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4350 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4355 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4367 eval "$ac_cv_use_bmpbutton"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4372 if test "$wxUSE_BMPBUTTON" = yes; then
4373 echo "$ac_t""yes" 1>&6
4375 echo "$ac_t""no" 1>&6
4379 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4380 echo "configure:4381: checking "for --enable-checkbox"" >&5
4382 # Check whether --enable-checkbox or --disable-checkbox was given.
4383 if test "${enable_checkbox+set}" = set; then
4384 enableval
="$enable_checkbox"
4386 if test "$enableval" = yes; then
4387 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4389 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4394 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4395 if test "x$LINE" != x
; then
4396 eval "DEFAULT_$LINE"
4401 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4406 eval "$ac_cv_use_checkbox"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4411 if test "$wxUSE_CHECKBOX" = yes; then
4412 echo "$ac_t""yes" 1>&6
4414 echo "$ac_t""no" 1>&6
4418 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4419 echo "configure:4420: checking "for --enable-checklst"" >&5
4421 # Check whether --enable-checklst or --disable-checklst was given.
4422 if test "${enable_checklst+set}" = set; then
4423 enableval
="$enable_checklst"
4425 if test "$enableval" = yes; then
4426 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4428 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4433 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4440 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4445 eval "$ac_cv_use_checklst"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_CHECKLST" = yes; then
4451 echo "$ac_t""yes" 1>&6
4453 echo "$ac_t""no" 1>&6
4457 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4458 echo "configure:4459: checking "for --enable-choice"" >&5
4460 # Check whether --enable-choice or --disable-choice was given.
4461 if test "${enable_choice+set}" = set; then
4462 enableval
="$enable_choice"
4464 if test "$enableval" = yes; then
4465 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4467 ac_cv_use_choice
='wxUSE_CHOICE=no'
4472 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x
; then
4474 eval "DEFAULT_$LINE"
4479 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4484 eval "$ac_cv_use_choice"
4485 if test "$no_cache" != 1; then
4486 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4489 if test "$wxUSE_CHOICE" = yes; then
4490 echo "$ac_t""yes" 1>&6
4492 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4497 echo "configure:4498: checking "for --enable-combobox"" >&5
4499 # Check whether --enable-combobox or --disable-combobox was given.
4500 if test "${enable_combobox+set}" = set; then
4501 enableval
="$enable_combobox"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4506 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4511 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4523 eval "$ac_cv_use_combobox"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_COMBOBOX" = yes; then
4529 echo "$ac_t""yes" 1>&6
4531 echo "$ac_t""no" 1>&6
4535 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4536 echo "configure:4537: checking "for --enable-gauge"" >&5
4538 # Check whether --enable-gauge or --disable-gauge was given.
4539 if test "${enable_gauge+set}" = set; then
4540 enableval
="$enable_gauge"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4545 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4550 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4562 eval "$ac_cv_use_gauge"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_GAUGE" = yes; then
4568 echo "$ac_t""yes" 1>&6
4570 echo "$ac_t""no" 1>&6
4574 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4575 echo "configure:4576: checking "for --enable-grid"" >&5
4577 # Check whether --enable-grid or --disable-grid was given.
4578 if test "${enable_grid+set}" = set; then
4579 enableval
="$enable_grid"
4581 if test "$enableval" = yes; then
4582 ac_cv_use_grid
='wxUSE_GRID=yes'
4584 ac_cv_use_grid
='wxUSE_GRID=no'
4589 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4596 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4601 eval "$ac_cv_use_grid"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4606 if test "$wxUSE_GRID" = yes; then
4607 echo "$ac_t""yes" 1>&6
4609 echo "$ac_t""no" 1>&6
4613 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4614 echo "configure:4615: checking "for --enable-newgrid"" >&5
4616 # Check whether --enable-newgrid or --disable-newgrid was given.
4617 if test "${enable_newgrid+set}" = set; then
4618 enableval
="$enable_newgrid"
4620 if test "$enableval" = yes; then
4621 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4623 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4628 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x
; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4640 eval "$ac_cv_use_newgrid"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_NEW_GRID" = yes; then
4646 echo "$ac_t""yes" 1>&6
4648 echo "$ac_t""no" 1>&6
4652 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4653 echo "configure:4654: checking "for --enable-imaglist"" >&5
4655 # Check whether --enable-imaglist or --disable-imaglist was given.
4656 if test "${enable_imaglist+set}" = set; then
4657 enableval
="$enable_imaglist"
4659 if test "$enableval" = yes; then
4660 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4662 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4667 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x
; then
4669 eval "DEFAULT_$LINE"
4674 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4679 eval "$ac_cv_use_imaglist"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_IMAGLIST" = yes; then
4685 echo "$ac_t""yes" 1>&6
4687 echo "$ac_t""no" 1>&6
4691 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4692 echo "configure:4693: checking "for --enable-listbox"" >&5
4694 # Check whether --enable-listbox or --disable-listbox was given.
4695 if test "${enable_listbox+set}" = set; then
4696 enableval
="$enable_listbox"
4698 if test "$enableval" = yes; then
4699 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4701 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4706 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x
; then
4708 eval "DEFAULT_$LINE"
4713 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4718 eval "$ac_cv_use_listbox"
4719 if test "$no_cache" != 1; then
4720 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4723 if test "$wxUSE_LISTBOX" = yes; then
4724 echo "$ac_t""yes" 1>&6
4726 echo "$ac_t""no" 1>&6
4730 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4731 echo "configure:4732: checking "for --enable-listctrl"" >&5
4733 # Check whether --enable-listctrl or --disable-listctrl was given.
4734 if test "${enable_listctrl+set}" = set; then
4735 enableval
="$enable_listctrl"
4737 if test "$enableval" = yes; then
4738 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4740 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4745 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x
; then
4747 eval "DEFAULT_$LINE"
4752 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4757 eval "$ac_cv_use_listctrl"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_LISTCTRL" = yes; then
4763 echo "$ac_t""yes" 1>&6
4765 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4770 echo "configure:4771: checking "for --enable-notebook"" >&5
4772 # Check whether --enable-notebook or --disable-notebook was given.
4773 if test "${enable_notebook+set}" = set; then
4774 enableval
="$enable_notebook"
4776 if test "$enableval" = yes; then
4777 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4779 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4784 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4785 if test "x$LINE" != x
; then
4786 eval "DEFAULT_$LINE"
4791 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4796 eval "$ac_cv_use_notebook"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_NOTEBOOK" = yes; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4808 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4809 echo "configure:4810: checking "for --enable-radiobox"" >&5
4811 # Check whether --enable-radiobox or --disable-radiobox was given.
4812 if test "${enable_radiobox+set}" = set; then
4813 enableval
="$enable_radiobox"
4815 if test "$enableval" = yes; then
4816 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4818 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4823 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x
; then
4825 eval "DEFAULT_$LINE"
4830 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4835 eval "$ac_cv_use_radiobox"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4840 if test "$wxUSE_RADIOBOX" = yes; then
4841 echo "$ac_t""yes" 1>&6
4843 echo "$ac_t""no" 1>&6
4847 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4848 echo "configure:4849: checking "for --enable-radiobtn"" >&5
4850 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4851 if test "${enable_radiobtn+set}" = set; then
4852 enableval
="$enable_radiobtn"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4857 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4862 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x
; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4874 eval "$ac_cv_use_radiobtn"
4875 if test "$no_cache" != 1; then
4876 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4879 if test "$wxUSE_RADIOBTN" = yes; then
4880 echo "$ac_t""yes" 1>&6
4882 echo "$ac_t""no" 1>&6
4886 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4887 echo "configure:4888: checking "for --enable-sash"" >&5
4889 # Check whether --enable-sash or --disable-sash was given.
4890 if test "${enable_sash+set}" = set; then
4891 enableval
="$enable_sash"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_sash
='wxUSE_SASH=yes'
4896 ac_cv_use_sash
='wxUSE_SASH=no'
4901 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4913 eval "$ac_cv_use_sash"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_SASH" = yes; then
4919 echo "$ac_t""yes" 1>&6
4921 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4926 echo "configure:4927: checking "for --enable-scrollbar"" >&5
4928 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4929 if test "${enable_scrollbar+set}" = set; then
4930 enableval
="$enable_scrollbar"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4935 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4940 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4952 eval "$ac_cv_use_scrollbar"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_SCROLLBAR" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4964 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4965 echo "configure:4966: checking "for --enable-slider"" >&5
4967 # Check whether --enable-slider or --disable-slider was given.
4968 if test "${enable_slider+set}" = set; then
4969 enableval
="$enable_slider"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4974 ac_cv_use_slider
='wxUSE_SLIDER=no'
4979 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x
; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4991 eval "$ac_cv_use_slider"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_SLIDER" = yes; then
4997 echo "$ac_t""yes" 1>&6
4999 echo "$ac_t""no" 1>&6
5003 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
5004 echo "configure:5005: checking "for --enable-spinbtn"" >&5
5006 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5007 if test "${enable_spinbtn+set}" = set; then
5008 enableval
="$enable_spinbtn"
5010 if test "$enableval" = yes; then
5011 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5013 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5018 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x
; then
5020 eval "DEFAULT_$LINE"
5025 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5030 eval "$ac_cv_use_spinbtn"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_SPINBTN" = yes; then
5036 echo "$ac_t""yes" 1>&6
5038 echo "$ac_t""no" 1>&6
5042 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
5043 echo "configure:5044: checking "for --enable-spinctrl"" >&5
5045 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5046 if test "${enable_spinctrl+set}" = set; then
5047 enableval
="$enable_spinctrl"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5052 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5057 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5069 eval "$ac_cv_use_spinctrl"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_SPINCTRL" = yes; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5082 echo "configure:5083: checking "for --enable-splitter"" >&5
5084 # Check whether --enable-splitter or --disable-splitter was given.
5085 if test "${enable_splitter+set}" = set; then
5086 enableval
="$enable_splitter"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5091 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5096 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5108 eval "$ac_cv_use_splitter"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_SPLITTER" = yes; then
5114 echo "$ac_t""yes" 1>&6
5116 echo "$ac_t""no" 1>&6
5120 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5121 echo "configure:5122: checking "for --enable-statbmp"" >&5
5123 # Check whether --enable-statbmp or --disable-statbmp was given.
5124 if test "${enable_statbmp+set}" = set; then
5125 enableval
="$enable_statbmp"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5130 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5135 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x
; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5147 eval "$ac_cv_use_statbmp"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_STATBMP" = yes; then
5153 echo "$ac_t""yes" 1>&6
5155 echo "$ac_t""no" 1>&6
5159 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5160 echo "configure:5161: checking "for --enable-statbox"" >&5
5162 # Check whether --enable-statbox or --disable-statbox was given.
5163 if test "${enable_statbox+set}" = set; then
5164 enableval
="$enable_statbox"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5169 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5174 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5186 eval "$ac_cv_use_statbox"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5191 if test "$wxUSE_STATBOX" = yes; then
5192 echo "$ac_t""yes" 1>&6
5194 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5199 echo "configure:5200: checking "for --enable-statline"" >&5
5201 # Check whether --enable-statline or --disable-statline was given.
5202 if test "${enable_statline+set}" = set; then
5203 enableval
="$enable_statline"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5208 ac_cv_use_statline
='wxUSE_STATLINE=no'
5213 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5225 eval "$ac_cv_use_statline"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_STATLINE" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5237 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5238 echo "configure:5239: checking "for --enable-statusbar"" >&5
5240 # Check whether --enable-statusbar or --disable-statusbar was given.
5241 if test "${enable_statusbar+set}" = set; then
5242 enableval
="$enable_statusbar"
5244 if test "$enableval" = yes; then
5245 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5247 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5252 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5253 if test "x$LINE" != x
; then
5254 eval "DEFAULT_$LINE"
5259 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5264 eval "$ac_cv_use_statusbar"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_STATUSBAR" = yes; then
5270 echo "$ac_t""yes" 1>&6
5272 echo "$ac_t""no" 1>&6
5276 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5277 echo "configure:5278: checking "for --enable-tabdialog"" >&5
5279 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5280 if test "${enable_tabdialog+set}" = set; then
5281 enableval
="$enable_tabdialog"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5286 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5291 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5303 eval "$ac_cv_use_tabdialog"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_TABDIALOG" = yes; then
5309 echo "$ac_t""yes" 1>&6
5311 echo "$ac_t""no" 1>&6
5315 echo $ac_n "checking "for --enable-togglebtn"""... $ac_c" 1>&6
5316 echo "configure:5317: checking "for --enable-togglebtn"" >&5
5318 # Check whether --enable-togglebtn or --disable-togglebtn was given.
5319 if test "${enable_togglebtn+set}" = set; then
5320 enableval
="$enable_togglebtn"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
5325 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
5330 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
5342 eval "$ac_cv_use_togglebtn"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_TOGGLEBTN" = yes; then
5348 echo "$ac_t""yes" 1>&6
5350 echo "$ac_t""no" 1>&6
5354 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5355 echo "configure:5356: checking "for --enable-toolbar"" >&5
5357 # Check whether --enable-toolbar or --disable-toolbar was given.
5358 if test "${enable_toolbar+set}" = set; then
5359 enableval
="$enable_toolbar"
5361 if test "$enableval" = yes; then
5362 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5364 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5369 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5370 if test "x$LINE" != x
; then
5371 eval "DEFAULT_$LINE"
5376 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5381 eval "$ac_cv_use_toolbar"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_TOOLBAR" = yes; then
5387 echo "$ac_t""yes" 1>&6
5389 echo "$ac_t""no" 1>&6
5393 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5394 echo "configure:5395: checking "for --enable-tbarnative"" >&5
5396 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5397 if test "${enable_tbarnative+set}" = set; then
5398 enableval
="$enable_tbarnative"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5403 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5408 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5420 eval "$ac_cv_use_tbarnative"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5426 echo "$ac_t""yes" 1>&6
5428 echo "$ac_t""no" 1>&6
5432 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5433 echo "configure:5434: checking "for --enable-tbarsmpl"" >&5
5435 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5436 if test "${enable_tbarsmpl+set}" = set; then
5437 enableval
="$enable_tbarsmpl"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5442 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5447 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5459 eval "$ac_cv_use_tbarsmpl"
5460 if test "$no_cache" != 1; then
5461 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5464 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5465 echo "$ac_t""yes" 1>&6
5467 echo "$ac_t""no" 1>&6
5471 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5472 echo "configure:5473: checking "for --enable-treectrl"" >&5
5474 # Check whether --enable-treectrl or --disable-treectrl was given.
5475 if test "${enable_treectrl+set}" = set; then
5476 enableval
="$enable_treectrl"
5478 if test "$enableval" = yes; then
5479 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5481 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5486 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x
; then
5488 eval "DEFAULT_$LINE"
5493 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5498 eval "$ac_cv_use_treectrl"
5499 if test "$no_cache" != 1; then
5500 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5503 if test "$wxUSE_TREECTRL" = yes; then
5504 echo "$ac_t""yes" 1>&6
5506 echo "$ac_t""no" 1>&6
5512 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5513 echo "configure:5514: checking "for --enable-commondlg"" >&5
5515 # Check whether --enable-commondlg or --disable-commondlg was given.
5516 if test "${enable_commondlg+set}" = set; then
5517 enableval
="$enable_commondlg"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5522 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5527 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5539 eval "$ac_cv_use_commondlg"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_COMMONDLGS" = yes; then
5545 echo "$ac_t""yes" 1>&6
5547 echo "$ac_t""no" 1>&6
5551 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5552 echo "configure:5553: checking "for --enable-dirdlg"" >&5
5554 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5555 if test "${enable_dirdlg+set}" = set; then
5556 enableval
="$enable_dirdlg"
5558 if test "$enableval" = yes; then
5559 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5561 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5566 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x
; then
5568 eval "DEFAULT_$LINE"
5573 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5578 eval "$ac_cv_use_dirdlg"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_DIRDLG" = yes; then
5584 echo "$ac_t""yes" 1>&6
5586 echo "$ac_t""no" 1>&6
5590 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5591 echo "configure:5592: checking "for --enable-textdlg"" >&5
5593 # Check whether --enable-textdlg or --disable-textdlg was given.
5594 if test "${enable_textdlg+set}" = set; then
5595 enableval
="$enable_textdlg"
5597 if test "$enableval" = yes; then
5598 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5600 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5605 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x
; then
5607 eval "DEFAULT_$LINE"
5612 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5617 eval "$ac_cv_use_textdlg"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5622 if test "$wxUSE_TEXTDLG" = yes; then
5623 echo "$ac_t""yes" 1>&6
5625 echo "$ac_t""no" 1>&6
5629 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5630 echo "configure:5631: checking "for --enable-tipdlg"" >&5
5632 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5633 if test "${enable_tipdlg+set}" = set; then
5634 enableval
="$enable_tipdlg"
5636 if test "$enableval" = yes; then
5637 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5639 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5644 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5651 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5656 eval "$ac_cv_use_tipdlg"
5657 if test "$no_cache" != 1; then
5658 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5661 if test "$wxUSE_STARTUP_TIPS" = yes; then
5662 echo "$ac_t""yes" 1>&6
5664 echo "$ac_t""no" 1>&6
5668 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5669 echo "configure:5670: checking "for --enable-progressdlg"" >&5
5671 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5672 if test "${enable_progressdlg+set}" = set; then
5673 enableval
="$enable_progressdlg"
5675 if test "$enableval" = yes; then
5676 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5678 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5683 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5684 if test "x$LINE" != x
; then
5685 eval "DEFAULT_$LINE"
5690 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5695 eval "$ac_cv_use_progressdlg"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5700 if test "$wxUSE_PROGRESSDLG" = yes; then
5701 echo "$ac_t""yes" 1>&6
5703 echo "$ac_t""no" 1>&6
5707 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5708 echo "configure:5709: checking "for --enable-miniframe"" >&5
5710 # Check whether --enable-miniframe or --disable-miniframe was given.
5711 if test "${enable_miniframe+set}" = set; then
5712 enableval
="$enable_miniframe"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5717 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5722 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x
; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5734 eval "$ac_cv_use_miniframe"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5739 if test "$wxUSE_MINIFRAME" = yes; then
5740 echo "$ac_t""yes" 1>&6
5742 echo "$ac_t""no" 1>&6
5746 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5747 echo "configure:5748: checking "for --enable-html"" >&5
5749 # Check whether --enable-html or --disable-html was given.
5750 if test "${enable_html+set}" = set; then
5751 enableval
="$enable_html"
5753 if test "$enableval" = yes; then
5754 ac_cv_use_html
='wxUSE_HTML=yes'
5756 ac_cv_use_html
='wxUSE_HTML=no'
5761 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5773 eval "$ac_cv_use_html"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_HTML" = yes; then
5779 echo "$ac_t""yes" 1>&6
5781 echo "$ac_t""no" 1>&6
5785 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5786 echo "configure:5787: checking "for --enable-tooltips"" >&5
5788 # Check whether --enable-tooltips or --disable-tooltips was given.
5789 if test "${enable_tooltips+set}" = set; then
5790 enableval
="$enable_tooltips"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5795 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5800 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x
; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5812 eval "$ac_cv_use_tooltips"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_TOOLTIPS" = yes; then
5818 echo "$ac_t""yes" 1>&6
5820 echo "$ac_t""no" 1>&6
5824 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5825 echo "configure:5826: checking "for --enable-splines"" >&5
5827 # Check whether --enable-splines or --disable-splines was given.
5828 if test "${enable_splines+set}" = set; then
5829 enableval
="$enable_splines"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5834 ac_cv_use_splines
='wxUSE_SPLINES=no'
5839 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x
; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5851 eval "$ac_cv_use_splines"
5852 if test "$no_cache" != 1; then
5853 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5856 if test "$wxUSE_SPLINES" = yes; then
5857 echo "$ac_t""yes" 1>&6
5859 echo "$ac_t""no" 1>&6
5863 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5864 echo "configure:5865: checking "for --enable-validators"" >&5
5866 # Check whether --enable-validators or --disable-validators was given.
5867 if test "${enable_validators+set}" = set; then
5868 enableval
="$enable_validators"
5870 if test "$enableval" = yes; then
5871 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5873 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5878 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5879 if test "x$LINE" != x
; then
5880 eval "DEFAULT_$LINE"
5885 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5890 eval "$ac_cv_use_validators"
5891 if test "$no_cache" != 1; then
5892 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5895 if test "$wxUSE_VALIDATORS" = yes; then
5896 echo "$ac_t""yes" 1>&6
5898 echo "$ac_t""no" 1>&6
5902 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5903 echo "configure:5904: checking "for --enable-busyinfo"" >&5
5905 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5906 if test "${enable_busyinfo+set}" = set; then
5907 enableval
="$enable_busyinfo"
5909 if test "$enableval" = yes; then
5910 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5912 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5917 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x
; then
5919 eval "DEFAULT_$LINE"
5924 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5929 eval "$ac_cv_use_busyinfo"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5934 if test "$wxUSE_BUSYINFO" = yes; then
5935 echo "$ac_t""yes" 1>&6
5937 echo "$ac_t""no" 1>&6
5941 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5942 echo "configure:5943: checking "for --enable-joystick"" >&5
5944 # Check whether --enable-joystick or --disable-joystick was given.
5945 if test "${enable_joystick+set}" = set; then
5946 enableval
="$enable_joystick"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5951 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5956 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x
; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5968 eval "$ac_cv_use_joystick"
5969 if test "$no_cache" != 1; then
5970 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5973 if test "$wxUSE_JOYSTICK" = yes; then
5974 echo "$ac_t""yes" 1>&6
5976 echo "$ac_t""no" 1>&6
5982 echo $ac_n "checking "for --enable-image"""... $ac_c" 1>&6
5983 echo "configure:5984: checking "for --enable-image"" >&5
5985 # Check whether --enable-image or --disable-image was given.
5986 if test "${enable_image+set}" = set; then
5987 enableval
="$enable_image"
5989 if test "$enableval" = yes; then
5990 ac_cv_use_image
='wxUSE_IMAGE=yes'
5992 ac_cv_use_image
='wxUSE_IMAGE=no'
5997 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x
; then
5999 eval "DEFAULT_$LINE"
6004 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
6009 eval "$ac_cv_use_image"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
6014 if test "$wxUSE_IMAGE" = yes; then
6015 echo "$ac_t""yes" 1>&6
6017 echo "$ac_t""no" 1>&6
6021 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
6022 echo "configure:6023: checking "for --enable-gif"" >&5
6024 # Check whether --enable-gif or --disable-gif was given.
6025 if test "${enable_gif+set}" = set; then
6026 enableval
="$enable_gif"
6028 if test "$enableval" = yes; then
6029 ac_cv_use_gif
='wxUSE_GIF=yes'
6031 ac_cv_use_gif
='wxUSE_GIF=no'
6036 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x
; then
6038 eval "DEFAULT_$LINE"
6043 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
6048 eval "$ac_cv_use_gif"
6049 if test "$no_cache" != 1; then
6050 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
6053 if test "$wxUSE_GIF" = yes; then
6054 echo "$ac_t""yes" 1>&6
6056 echo "$ac_t""no" 1>&6
6060 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
6061 echo "configure:6062: checking "for --enable-pcx"" >&5
6063 # Check whether --enable-pcx or --disable-pcx was given.
6064 if test "${enable_pcx+set}" = set; then
6065 enableval
="$enable_pcx"
6067 if test "$enableval" = yes; then
6068 ac_cv_use_pcx
='wxUSE_PCX=yes'
6070 ac_cv_use_pcx
='wxUSE_PCX=no'
6075 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x
; then
6077 eval "DEFAULT_$LINE"
6082 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
6087 eval "$ac_cv_use_pcx"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
6092 if test "$wxUSE_PCX" = yes; then
6093 echo "$ac_t""yes" 1>&6
6095 echo "$ac_t""no" 1>&6
6099 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
6100 echo "configure:6101: checking "for --enable-pnm"" >&5
6102 # Check whether --enable-pnm or --disable-pnm was given.
6103 if test "${enable_pnm+set}" = set; then
6104 enableval
="$enable_pnm"
6106 if test "$enableval" = yes; then
6107 ac_cv_use_pnm
='wxUSE_PNM=yes'
6109 ac_cv_use_pnm
='wxUSE_PNM=no'
6114 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x
; then
6116 eval "DEFAULT_$LINE"
6121 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
6126 eval "$ac_cv_use_pnm"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6131 if test "$wxUSE_PNM" = yes; then
6132 echo "$ac_t""yes" 1>&6
6134 echo "$ac_t""no" 1>&6
6138 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
6139 echo "configure:6140: checking "for --enable-pnm"" >&5
6141 # Check whether --enable-pnm or --disable-pnm was given.
6142 if test "${enable_pnm+set}" = set; then
6143 enableval
="$enable_pnm"
6145 if test "$enableval" = yes; then
6146 ac_cv_use_pnm
='wxUSE_XPM=yes'
6148 ac_cv_use_pnm
='wxUSE_XPM=no'
6153 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x
; then
6155 eval "DEFAULT_$LINE"
6160 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
6165 eval "$ac_cv_use_pnm"
6166 if test "$no_cache" != 1; then
6167 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6170 if test "$wxUSE_XPM" = yes; then
6171 echo "$ac_t""yes" 1>&6
6173 echo "$ac_t""no" 1>&6
6180 echo "saving argument cache $wx_arg_cache_file"
6181 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6185 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6186 echo "configure:6187: checking for toolkit" >&5
6188 if test "$wxUSE_GUI" = "yes"; then
6190 if test "$USE_BEOS" = 1; then
6191 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6194 if test "$TOOLKIT_GIVEN" = 1; then
6195 for toolkit
in `echo $ALL_TOOLKITS`; do
6197 eval "value=\$${var}"
6198 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6201 for toolkit
in `echo $ALL_TOOLKITS`; do
6202 if test "$has_toolkit_in_cache" != 1; then
6203 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6205 var
=DEFAULT_wxUSE_
$toolkit
6207 eval "wxUSE_$toolkit=\$${var}"
6211 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6215 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6216 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6225 case "$NUM_TOOLKITS" in
6229 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6232 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6235 for toolkit
in `echo $ALL_TOOLKITS`; do
6237 eval "value=\$${var}"
6238 if test "x$value" != x
; then
6239 cache_var
=CACHE_
$toolkit
6240 eval "cache=\$${cache_var}"
6241 if test "$cache" = 1; then
6242 echo "$var=$value" >> ${wx_arg_cache_file}
6244 if test "$value" = 1; then
6245 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6252 echo "$ac_t""base only" 1>&6
6256 cat > confcache
<<\EOF
6257 # This file is a shell script that caches the results of configure
6258 # tests run on this system so they can be shared between configure
6259 # scripts and configure runs. It is not useful on other systems.
6260 # If it contains results you don't want to keep, you may remove or edit it.
6262 # By default, configure uses ./config.cache as the cache file,
6263 # creating it if it does not exist already. You can give configure
6264 # the --cache-file=FILE option to use a different cache file; that is
6265 # what configure does when it calls configure scripts in
6266 # subdirectories, so they share the cache.
6267 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6268 # config.status only pays attention to the cache file if you give it the
6269 # --recheck option to rerun configure.
6272 # The following way of writing the cache mishandles newlines in values,
6273 # but we know of no workaround that is simple, portable, and efficient.
6274 # So, don't put newlines in cache variables' values.
6275 # Ultrix sh set writes to stderr and can't be redirected directly,
6276 # and sets the high bit in the cache file unless we assign to the vars.
6278 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6280 # `set' does not quote correctly, so add quotes (double-quote substitution
6281 # turns \\\\ into \\, and sed turns \\ into \).
6283 -e "s/'/'\\\\''/g" \
6284 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6287 # `set' quotes correctly as required by POSIX, so do not add quotes.
6288 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6291 if cmp -s $cache_file confcache
; then
6294 if test -w $cache_file; then
6295 echo "updating cache $cache_file"
6296 cat confcache
> $cache_file
6298 echo "not updating unwritable cache $cache_file"
6304 if test "$build" != "$host" ; then
6308 RANLIB
=$host_alias-ranlib
6309 DLLTOOL
=$host_alias-dlltool
6310 RESCOMP
=$host_alias-windres
6313 STRIP
=$host_alias-strip
6316 # Extract the first word of "gcc", so it can be a program name with args.
6317 set dummy gcc
; ac_word
=$2
6318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6319 echo "configure:6320: checking for $ac_word" >&5
6320 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6321 echo $ac_n "(cached) $ac_c" 1>&6
6323 if test -n "$CC"; then
6324 ac_cv_prog_CC
="$CC" # Let the user override the test.
6326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6328 for ac_dir
in $ac_dummy; do
6329 test -z "$ac_dir" && ac_dir
=.
6330 if test -f $ac_dir/$ac_word; then
6339 if test -n "$CC"; then
6340 echo "$ac_t""$CC" 1>&6
6342 echo "$ac_t""no" 1>&6
6345 if test -z "$CC"; then
6346 # Extract the first word of "cc", so it can be a program name with args.
6347 set dummy cc
; ac_word
=$2
6348 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6349 echo "configure:6350: checking for $ac_word" >&5
6350 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6351 echo $ac_n "(cached) $ac_c" 1>&6
6353 if test -n "$CC"; then
6354 ac_cv_prog_CC
="$CC" # Let the user override the test.
6356 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6359 for ac_dir
in $ac_dummy; do
6360 test -z "$ac_dir" && ac_dir
=.
6361 if test -f $ac_dir/$ac_word; then
6362 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6363 ac_prog_rejected
=yes
6371 if test $ac_prog_rejected = yes; then
6372 # We found a bogon in the path, so make sure we never use it.
6373 set dummy
$ac_cv_prog_CC
6375 if test $# -gt 0; then
6376 # We chose a different compiler from the bogus one.
6377 # However, it has the same basename, so the bogon will be chosen
6378 # first if we set CC to just the basename; use the full file name.
6380 set dummy
"$ac_dir/$ac_word" "$@"
6388 if test -n "$CC"; then
6389 echo "$ac_t""$CC" 1>&6
6391 echo "$ac_t""no" 1>&6
6394 if test -z "$CC"; then
6395 case "`uname -s`" in
6397 # Extract the first word of "cl", so it can be a program name with args.
6398 set dummy cl
; ac_word
=$2
6399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6400 echo "configure:6401: checking for $ac_word" >&5
6401 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6402 echo $ac_n "(cached) $ac_c" 1>&6
6404 if test -n "$CC"; then
6405 ac_cv_prog_CC
="$CC" # Let the user override the test.
6407 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6409 for ac_dir
in $ac_dummy; do
6410 test -z "$ac_dir" && ac_dir
=.
6411 if test -f $ac_dir/$ac_word; then
6420 if test -n "$CC"; then
6421 echo "$ac_t""$CC" 1>&6
6423 echo "$ac_t""no" 1>&6
6428 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6431 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6432 echo "configure:6433: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6436 ac_cpp
='$CPP $CPPFLAGS'
6437 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6438 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6439 cross_compiling
=$ac_cv_prog_cc_cross
6441 cat > conftest.
$ac_ext << EOF
6443 #line 6444 "configure"
6444 #include "confdefs.h"
6448 if { (eval echo configure
:6449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6449 ac_cv_prog_cc_works
=yes
6450 # If we can't run a trivial program, we are probably using a cross compiler.
6451 if (.
/conftest
; exit) 2>/dev
/null
; then
6452 ac_cv_prog_cc_cross
=no
6454 ac_cv_prog_cc_cross
=yes
6457 echo "configure: failed program was:" >&5
6458 cat conftest.
$ac_ext >&5
6459 ac_cv_prog_cc_works
=no
6463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6464 ac_cpp
='$CPP $CPPFLAGS'
6465 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6466 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6467 cross_compiling
=$ac_cv_prog_cc_cross
6469 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6470 if test $ac_cv_prog_cc_works = no
; then
6471 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6473 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6474 echo "configure:6475: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6475 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6476 cross_compiling
=$ac_cv_prog_cc_cross
6478 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6479 echo "configure:6480: checking whether we are using GNU C" >&5
6480 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6481 echo $ac_n "(cached) $ac_c" 1>&6
6483 cat > conftest.c
<<EOF
6488 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6495 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6497 if test $ac_cv_prog_gcc = yes; then
6503 ac_test_CFLAGS
="${CFLAGS+set}"
6504 ac_save_CFLAGS
="$CFLAGS"
6506 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6507 echo "configure:6508: checking whether ${CC-cc} accepts -g" >&5
6508 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6509 echo $ac_n "(cached) $ac_c" 1>&6
6511 echo 'void f(){}' > conftest.c
6512 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6521 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6522 if test "$ac_test_CFLAGS" = set; then
6523 CFLAGS
="$ac_save_CFLAGS"
6524 elif test $ac_cv_prog_cc_g = yes; then
6525 if test "$GCC" = yes; then
6531 if test "$GCC" = yes; then
6539 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6541 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6542 echo "configure:6543: checking how to run the C preprocessor" >&5
6543 # On Suns, sometimes $CPP names a directory.
6544 if test -n "$CPP" && test -d "$CPP"; then
6547 if test -z "$CPP"; then
6548 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6549 echo $ac_n "(cached) $ac_c" 1>&6
6551 # This must be in double quotes, not single quotes, because CPP may get
6552 # substituted into the Makefile and "${CC-cc}" will confuse make.
6554 # On the NeXT, cc -E runs the code through the compiler's parser,
6555 # not just through cpp.
6556 cat > conftest.
$ac_ext <<EOF
6557 #line 6558 "configure"
6558 #include "confdefs.h"
6562 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6563 { (eval echo configure
:6564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6564 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6565 if test -z "$ac_err"; then
6569 echo "configure: failed program was:" >&5
6570 cat conftest.
$ac_ext >&5
6572 CPP
="${CC-cc} -E -traditional-cpp"
6573 cat > conftest.
$ac_ext <<EOF
6574 #line 6575 "configure"
6575 #include "confdefs.h"
6579 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6580 { (eval echo configure
:6581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6581 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6582 if test -z "$ac_err"; then
6586 echo "configure: failed program was:" >&5
6587 cat conftest.
$ac_ext >&5
6589 CPP
="${CC-cc} -nologo -E"
6590 cat > conftest.
$ac_ext <<EOF
6591 #line 6592 "configure"
6592 #include "confdefs.h"
6596 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6597 { (eval echo configure
:6598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6598 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6599 if test -z "$ac_err"; then
6603 echo "configure: failed program was:" >&5
6604 cat conftest.
$ac_ext >&5
6613 ac_cv_prog_CPP
="$CPP"
6615 CPP
="$ac_cv_prog_CPP"
6617 ac_cv_prog_CPP
="$CPP"
6619 echo "$ac_t""$CPP" 1>&6
6622 if test $ac_cv_prog_gcc = yes; then
6623 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6624 echo "configure:6625: checking whether ${CC-cc} needs -traditional" >&5
6625 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6626 echo $ac_n "(cached) $ac_c" 1>&6
6628 ac_pattern
="Autoconf.*'x'"
6629 cat > conftest.
$ac_ext <<EOF
6630 #line 6631 "configure"
6631 #include "confdefs.h"
6635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6636 egrep "$ac_pattern" >/dev
/null
2>&1; then
6638 ac_cv_prog_gcc_traditional
=yes
6641 ac_cv_prog_gcc_traditional
=no
6646 if test $ac_cv_prog_gcc_traditional = no
; then
6647 cat > conftest.
$ac_ext <<EOF
6648 #line 6649 "configure"
6649 #include "confdefs.h"
6653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6654 egrep "$ac_pattern" >/dev
/null
2>&1; then
6656 ac_cv_prog_gcc_traditional
=yes
6663 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6664 if test $ac_cv_prog_gcc_traditional = yes; then
6665 CC
="$CC -traditional"
6672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6673 ac_cpp
='$CXXCPP $CPPFLAGS'
6674 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6675 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6676 cross_compiling
=$ac_cv_prog_cxx_cross
6679 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6681 # Extract the first word of "$ac_prog", so it can be a program name with args.
6682 set dummy
$ac_prog; ac_word
=$2
6683 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6684 echo "configure:6685: checking for $ac_word" >&5
6685 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6686 echo $ac_n "(cached) $ac_c" 1>&6
6688 if test -n "$CXX"; then
6689 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6691 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6693 for ac_dir
in $ac_dummy; do
6694 test -z "$ac_dir" && ac_dir
=.
6695 if test -f $ac_dir/$ac_word; then
6696 ac_cv_prog_CXX
="$ac_prog"
6703 CXX
="$ac_cv_prog_CXX"
6704 if test -n "$CXX"; then
6705 echo "$ac_t""$CXX" 1>&6
6707 echo "$ac_t""no" 1>&6
6710 test -n "$CXX" && break
6712 test -n "$CXX" || CXX
="gcc"
6715 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6716 echo "configure:6717: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6719 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6720 ac_cpp
='$CXXCPP $CPPFLAGS'
6721 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6722 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6723 cross_compiling
=$ac_cv_prog_cxx_cross
6725 cat > conftest.
$ac_ext << EOF
6727 #line 6728 "configure"
6728 #include "confdefs.h"
6730 int main(){return(0);}
6732 if { (eval echo configure
:6733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6733 ac_cv_prog_cxx_works
=yes
6734 # If we can't run a trivial program, we are probably using a cross compiler.
6735 if (.
/conftest
; exit) 2>/dev
/null
; then
6736 ac_cv_prog_cxx_cross
=no
6738 ac_cv_prog_cxx_cross
=yes
6741 echo "configure: failed program was:" >&5
6742 cat conftest.
$ac_ext >&5
6743 ac_cv_prog_cxx_works
=no
6747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6748 ac_cpp
='$CXXCPP $CPPFLAGS'
6749 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6750 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6751 cross_compiling
=$ac_cv_prog_cxx_cross
6753 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6754 if test $ac_cv_prog_cxx_works = no
; then
6755 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6757 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6758 echo "configure:6759: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6759 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6760 cross_compiling
=$ac_cv_prog_cxx_cross
6762 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6763 echo "configure:6764: checking whether we are using GNU C++" >&5
6764 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6765 echo $ac_n "(cached) $ac_c" 1>&6
6767 cat > conftest.C
<<EOF
6772 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6779 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6781 if test $ac_cv_prog_gxx = yes; then
6787 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6788 ac_save_CXXFLAGS
="$CXXFLAGS"
6790 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6791 echo "configure:6792: checking whether ${CXX-g++} accepts -g" >&5
6792 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6793 echo $ac_n "(cached) $ac_c" 1>&6
6795 echo 'void f(){}' > conftest.cc
6796 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6797 ac_cv_prog_cxx_g
=yes
6805 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6806 if test "$ac_test_CXXFLAGS" = set; then
6807 CXXFLAGS
="$ac_save_CXXFLAGS"
6808 elif test $ac_cv_prog_cxx_g = yes; then
6809 if test "$GXX" = yes; then
6815 if test "$GXX" = yes; then
6823 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6824 echo "configure:6825: checking how to run the C++ preprocessor" >&5
6825 if test -z "$CXXCPP"; then
6826 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6827 echo $ac_n "(cached) $ac_c" 1>&6
6830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6831 ac_cpp
='$CXXCPP $CPPFLAGS'
6832 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6833 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6834 cross_compiling
=$ac_cv_prog_cxx_cross
6835 CXXCPP
="${CXX-g++} -E"
6836 cat > conftest.
$ac_ext <<EOF
6837 #line 6838 "configure"
6838 #include "confdefs.h"
6841 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6842 { (eval echo configure
:6843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6843 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6844 if test -z "$ac_err"; then
6848 echo "configure: failed program was:" >&5
6849 cat conftest.
$ac_ext >&5
6854 ac_cv_prog_CXXCPP
="$CXXCPP"
6856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6857 ac_cpp
='$CXXCPP $CPPFLAGS'
6858 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6859 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6860 cross_compiling
=$ac_cv_prog_cxx_cross
6863 CXXCPP
="$ac_cv_prog_CXXCPP"
6864 echo "$ac_t""$CXXCPP" 1>&6
6867 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6871 ac_cpp
='$CPP $CPPFLAGS'
6872 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6873 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6874 cross_compiling
=$ac_cv_prog_cc_cross
6877 # Extract the first word of "ranlib", so it can be a program name with args.
6878 set dummy ranlib
; ac_word
=$2
6879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6880 echo "configure:6881: checking for $ac_word" >&5
6881 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6882 echo $ac_n "(cached) $ac_c" 1>&6
6884 if test -n "$RANLIB"; then
6885 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6887 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6889 for ac_dir
in $ac_dummy; do
6890 test -z "$ac_dir" && ac_dir
=.
6891 if test -f $ac_dir/$ac_word; then
6892 ac_cv_prog_RANLIB
="ranlib"
6897 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6900 RANLIB
="$ac_cv_prog_RANLIB"
6901 if test -n "$RANLIB"; then
6902 echo "$ac_t""$RANLIB" 1>&6
6904 echo "$ac_t""no" 1>&6
6908 # Extract the first word of "ar", so it can be a program name with args.
6909 set dummy
ar; ac_word
=$2
6910 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6911 echo "configure:6912: checking for $ac_word" >&5
6912 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6913 echo $ac_n "(cached) $ac_c" 1>&6
6915 if test -n "$AR"; then
6916 ac_cv_prog_AR
="$AR" # Let the user override the test.
6918 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6920 for ac_dir
in $ac_dummy; do
6921 test -z "$ac_dir" && ac_dir
=.
6922 if test -f $ac_dir/$ac_word; then
6928 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6932 if test -n "$AR"; then
6933 echo "$ac_t""$AR" 1>&6
6935 echo "$ac_t""no" 1>&6
6939 # Find a good install program. We prefer a C program (faster),
6940 # so one script is as good as another. But avoid the broken or
6941 # incompatible versions:
6942 # SysV /etc/install, /usr/sbin/install
6943 # SunOS /usr/etc/install
6944 # IRIX /sbin/install
6946 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6947 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6948 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6949 # ./install, which can be erroneously created by make from ./install.sh.
6950 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6951 echo "configure:6952: checking for a BSD compatible install" >&5
6952 if test -z "$INSTALL"; then
6953 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6954 echo $ac_n "(cached) $ac_c" 1>&6
6956 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6957 for ac_dir
in $PATH; do
6958 # Account for people who put trailing slashes in PATH elements.
6960 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6962 # OSF1 and SCO ODT 3.0 have their own names for install.
6963 # Don't use installbsd from OSF since it installs stuff as root
6965 for ac_prog
in ginstall scoinst
install; do
6966 if test -f $ac_dir/$ac_prog; then
6967 if test $ac_prog = install &&
6968 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6969 # AIX install. It has an incompatible calling convention.
6972 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6983 if test "${ac_cv_path_install+set}" = set; then
6984 INSTALL
="$ac_cv_path_install"
6986 # As a last resort, use the slow shell script. We don't cache a
6987 # path for INSTALL within a source directory, because that will
6988 # break other packages using the cache if that directory is
6989 # removed, or if the path is relative.
6990 INSTALL
="$ac_install_sh"
6993 echo "$ac_t""$INSTALL" 1>&6
6995 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6996 # It thinks the first close brace ends the variable substitution.
6997 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6999 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
7001 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7004 # Extract the first word of "strip", so it can be a program name with args.
7005 set dummy strip
; ac_word
=$2
7006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7007 echo "configure:7008: checking for $ac_word" >&5
7008 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
7009 echo $ac_n "(cached) $ac_c" 1>&6
7011 if test -n "$STRIP"; then
7012 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7014 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7016 for ac_dir
in $ac_dummy; do
7017 test -z "$ac_dir" && ac_dir
=.
7018 if test -f $ac_dir/$ac_word; then
7019 ac_cv_prog_STRIP
="strip"
7024 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
7027 STRIP
="$ac_cv_prog_STRIP"
7028 if test -n "$STRIP"; then
7029 echo "$ac_t""$STRIP" 1>&6
7031 echo "$ac_t""no" 1>&6
7035 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
7036 echo "configure:7037: checking "make for VPATH support
"" >&5
7037 cat - << EOF > confMake
7043 if test ! -d sub
; then
7046 echo dummy
> sub
/file
7047 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
7049 rm -f sub
/file check final_file confMake
7051 if test "$RESULT" = 0; then
7052 echo "$ac_t""yes" 1>&6
7054 echo "$ac_t""no" 1>&6
7055 { echo "configure: error: You need a make-utility that is able to use the variable
7057 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
7060 for ac_prog
in 'bison -y' byacc
7062 # Extract the first word of "$ac_prog", so it can be a program name with args.
7063 set dummy
$ac_prog; ac_word
=$2
7064 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7065 echo "configure:7066: checking for $ac_word" >&5
7066 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
7067 echo $ac_n "(cached) $ac_c" 1>&6
7069 if test -n "$YACC"; then
7070 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7072 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7074 for ac_dir
in $ac_dummy; do
7075 test -z "$ac_dir" && ac_dir
=.
7076 if test -f $ac_dir/$ac_word; then
7077 ac_cv_prog_YACC
="$ac_prog"
7084 YACC
="$ac_cv_prog_YACC"
7085 if test -n "$YACC"; then
7086 echo "$ac_t""$YACC" 1>&6
7088 echo "$ac_t""no" 1>&6
7091 test -n "$YACC" && break
7093 test -n "$YACC" || YACC
="yacc"
7096 # Extract the first word of "flex", so it can be a program name with args.
7097 set dummy flex
; ac_word
=$2
7098 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7099 echo "configure:7100: checking for $ac_word" >&5
7100 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
7101 echo $ac_n "(cached) $ac_c" 1>&6
7103 if test -n "$LEX"; then
7104 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
7106 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7108 for ac_dir
in $ac_dummy; do
7109 test -z "$ac_dir" && ac_dir
=.
7110 if test -f $ac_dir/$ac_word; then
7111 ac_cv_prog_LEX
="flex"
7116 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
7119 LEX
="$ac_cv_prog_LEX"
7120 if test -n "$LEX"; then
7121 echo "$ac_t""$LEX" 1>&6
7123 echo "$ac_t""no" 1>&6
7126 if test -z "$LEXLIB"
7132 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
7133 echo "configure:7134: checking for yywrap in -l$ac_lib" >&5
7134 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
7135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7136 echo $ac_n "(cached) $ac_c" 1>&6
7138 ac_save_LIBS
="$LIBS"
7139 LIBS
="-l$ac_lib $LIBS"
7140 cat > conftest.
$ac_ext <<EOF
7141 #line 7142 "configure"
7142 #include "confdefs.h"
7143 /* Override any gcc2 internal prototype to avoid an error. */
7144 /* We use char because int might match the return type of a gcc2
7145 builtin and then its argument prototype would still apply. */
7152 if { (eval echo configure
:7153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7154 eval "ac_cv_lib_$ac_lib_var=yes"
7156 echo "configure: failed program was:" >&5
7157 cat conftest.
$ac_ext >&5
7159 eval "ac_cv_lib_$ac_lib_var=no"
7162 LIBS
="$ac_save_LIBS"
7165 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7166 echo "$ac_t""yes" 1>&6
7169 echo "$ac_t""no" 1>&6
7175 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7176 echo "configure:7177: checking whether ln -s works" >&5
7177 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7178 echo $ac_n "(cached) $ac_c" 1>&6
7181 if ln -s X conftestdata
2>/dev
/null
7184 ac_cv_prog_LN_S
="ln -s"
7189 LN_S
="$ac_cv_prog_LN_S"
7190 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7191 echo "$ac_t""yes" 1>&6
7193 echo "$ac_t""no" 1>&6
7199 /usr/local/include \
7201 /usr/Motif-1.2/include \
7202 /usr/Motif-2.1/include \
7204 /usr/include/Motif1.2 \
7205 /opt/xpm/include/X11 \
7206 /opt/GBxpm/include/ \
7207 /opt/GBxpm/X11/include/ \
7209 /usr/Motif1.2/include \
7211 /usr/openwin/include \
7215 /usr/X11R6/include \
7216 /usr/X11R6.4/include \
7217 /usr/X11R5/include \
7218 /usr/X11R4/include \
7220 /usr/include/X11R6 \
7221 /usr/include/X11R5 \
7222 /usr/include/X11R4 \
7224 /usr/local/X11R6/include \
7225 /usr/local/X11R5/include \
7226 /usr/local/X11R4/include \
7228 /usr/local/include/X11R6 \
7229 /usr/local/include/X11R5 \
7230 /usr/local/include/X11R4 \
7234 /usr/local/X11/include \
7235 /usr/local/include/X11 \
7239 /usr/XFree86/include/X11 \
7241 X:/XFree86/include \
7242 X:/XFree86/include/X11 \
7245 /usr/local/include/gtk \
7247 /usr/local/include/glib \
7250 /usr/local/include/qt \
7252 /usr/include/windows \
7254 /usr/local/include/wine \
7256 /usr/unsupported/include \
7257 /usr/athena/include \
7258 /usr/local/x11r5/include \
7259 /usr/lpp/Xamples/include \
7261 /usr/openwin/share/include \
7265 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7268 cat > confcache
<<\EOF
7269 # This file is a shell script that caches the results of configure
7270 # tests run on this system so they can be shared between configure
7271 # scripts and configure runs. It is not useful on other systems.
7272 # If it contains results you don't want to keep, you may remove or edit it.
7274 # By default, configure uses ./config.cache as the cache file,
7275 # creating it if it does not exist already. You can give configure
7276 # the --cache-file=FILE option to use a different cache file; that is
7277 # what configure does when it calls configure scripts in
7278 # subdirectories, so they share the cache.
7279 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7280 # config.status only pays attention to the cache file if you give it the
7281 # --recheck option to rerun configure.
7284 # The following way of writing the cache mishandles newlines in values,
7285 # but we know of no workaround that is simple, portable, and efficient.
7286 # So, don't put newlines in cache variables' values.
7287 # Ultrix sh set writes to stderr and can't be redirected directly,
7288 # and sets the high bit in the cache file unless we assign to the vars.
7290 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7292 # `set' does not quote correctly, so add quotes (double-quote substitution
7293 # turns \\\\ into \\, and sed turns \\ into \).
7295 -e "s/'/'\\\\''/g" \
7296 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7299 # `set' quotes correctly as required by POSIX, so do not add quotes.
7300 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7303 if cmp -s $cache_file confcache
; then
7306 if test -w $cache_file; then
7307 echo "updating cache $cache_file"
7308 cat confcache
> $cache_file
7310 echo "not updating unwritable cache $cache_file"
7319 if test "$wxUSE_GUI" = "yes"; then
7335 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7336 if test "$cross_compiling" = "yes" ; then
7337 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7339 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7340 echo "configure:7341: checking for Windows headers" >&5
7343 for ac_dir
in $SEARCH_INCLUDE;
7345 if test -f "$ac_dir/windows.h"; then
7346 ac_find_includes
=$ac_dir
7351 if test "$ac_find_includes" != "" ; then
7352 echo "$ac_t""found $ac_find_includes" 1>&6
7353 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7355 echo "$ac_t""no" 1>&6
7356 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7360 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7361 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7363 if test "$wxUSE_ODBC" = "yes" ; then
7364 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7367 if test "$wxUSE_MINGW" = 1; then
7368 LDFLAGS
="$LDFLAGS -mwindows"
7374 RCINCSWITCH
="--include-dir"
7375 RCDEFSWITCH
="--define"
7376 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7379 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7381 RESPROGRAM
="\$(RES_PROGRAM)"
7385 if test "$wxUSE_GTK" = 1; then
7386 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7387 if test "${with_gtk_prefix+set}" = set; then
7388 withval
="$with_gtk_prefix"
7389 gtk_config_prefix
="$withval"
7391 gtk_config_prefix
=""
7394 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7395 if test "${with_gtk_exec_prefix+set}" = set; then
7396 withval
="$with_gtk_exec_prefix"
7397 gtk_config_exec_prefix
="$withval"
7399 gtk_config_exec_prefix
=""
7402 # Check whether --enable-gtktest or --disable-gtktest was given.
7403 if test "${enable_gtktest+set}" = set; then
7404 enableval
="$enable_gtktest"
7411 for module
in . gthread
7415 gtk_config_args
="$gtk_config_args gthread"
7420 if test x
$gtk_config_exec_prefix != x
; then
7421 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7422 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7423 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7426 if test x
$gtk_config_prefix != x
; then
7427 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7428 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7429 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7433 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7434 set dummy gtk
-config-2.0
; ac_word
=$2
7435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7436 echo "configure:7437: checking for $ac_word" >&5
7437 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7440 case "$GTK_CONFIG_2_0" in
7442 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7445 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7448 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7450 for ac_dir
in $ac_dummy; do
7451 test -z "$ac_dir" && ac_dir
=.
7452 if test -f $ac_dir/$ac_word; then
7453 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7458 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7462 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7463 if test -n "$GTK_CONFIG_2_0"; then
7464 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7466 echo "$ac_t""no" 1>&6
7469 min_gtk_version
=1.3.1
7470 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7471 echo "configure:7472: checking for GTK - version >= $min_gtk_version" >&5
7473 if test "$GTK_CONFIG_2_0" = "no" ; then
7476 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7477 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7478 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7480 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7482 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7484 if test "x$enable_gtktest" = "xyes" ; then
7485 ac_save_CFLAGS
="$CFLAGS"
7486 ac_save_LIBS
="$LIBS"
7487 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7488 LIBS
="$GTK_LIBS $LIBS"
7490 if test "$cross_compiling" = yes; then
7491 echo $ac_n "cross compiling; assumed OK... $ac_c"
7493 cat > conftest.
$ac_ext <<EOF
7494 #line 7495 "configure"
7495 #include "confdefs.h"
7497 #include <gtk/gtk.h>
7504 int major, minor, micro;
7507 system ("touch conf.gtktest");
7509 /* HP/UX 9 (%@#!) writes to sscanf strings */
7510 tmp_version = g_strdup("$min_gtk_version");
7511 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7512 printf("%s, bad version string\n", "$min_gtk_version");
7516 if ((gtk_major_version != $gtk_config_major_version) ||
7517 (gtk_minor_version != $gtk_config_minor_version) ||
7518 (gtk_micro_version != $gtk_config_micro_version))
7520 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7521 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7522 gtk_major_version, gtk_minor_version, gtk_micro_version);
7523 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7524 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7525 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7526 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7527 printf("*** required on your system.\n");
7528 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7529 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7530 printf("*** before re-running configure\n");
7532 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7533 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7534 (gtk_minor_version != GTK_MINOR_VERSION) ||
7535 (gtk_micro_version != GTK_MICRO_VERSION))
7537 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7538 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7539 printf("*** library (version %d.%d.%d)\n",
7540 gtk_major_version, gtk_minor_version, gtk_micro_version);
7542 #endif /* defined (GTK_MAJOR_VERSION) ... */
7545 if ((gtk_major_version > major) ||
7546 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7547 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7553 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7554 gtk_major_version, gtk_minor_version, gtk_micro_version);
7555 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7556 major, minor, micro);
7557 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7559 printf("*** If you have already installed a sufficiently new version, this error\n");
7560 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7561 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7562 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7563 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7564 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7565 printf("*** so that the correct libraries are found at run-time))\n");
7572 if { (eval echo configure
:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7576 echo "configure: failed program was:" >&5
7577 cat conftest.
$ac_ext >&5
7584 CFLAGS
="$ac_save_CFLAGS"
7585 LIBS
="$ac_save_LIBS"
7588 if test "x$no_gtk" = x
; then
7589 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7592 echo "$ac_t""no" 1>&6
7593 if test "$GTK_CONFIG_2_0" = "no" ; then
7594 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7595 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7596 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7597 echo "*** full path to gtk-config-2.0."
7599 if test -f conf.gtktest
; then
7602 echo "*** Could not run GTK test program, checking why..."
7603 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7604 LIBS
="$LIBS $GTK_LIBS"
7605 cat > conftest.
$ac_ext <<EOF
7606 #line 7607 "configure"
7607 #include "confdefs.h"
7609 #include <gtk/gtk.h>
7613 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7616 if { (eval echo configure
:7617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7618 echo "*** The test program compiled, but did not run. This usually means"
7619 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7620 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7621 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7622 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7623 echo "*** is required on your system"
7625 echo "*** If you have an old version installed, it is best to remove it, although"
7626 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7628 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7629 echo "*** came with the system with the command"
7631 echo "*** rpm --erase --nodeps gtk gtk-devel"
7633 echo "configure: failed program was:" >&5
7634 cat conftest.
$ac_ext >&5
7636 echo "*** The test program failed to compile or link. See the file config.log for the"
7637 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7638 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7639 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7642 CFLAGS
="$ac_save_CFLAGS"
7643 LIBS
="$ac_save_LIBS"
7650 if test x
$gtk_config_exec_prefix != x
; then
7651 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7652 if test x
${GTK_CONFIG+set} != xset
; then
7653 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7656 if test x
$gtk_config_prefix != x
; then
7657 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7658 if test x
${GTK_CONFIG+set} != xset
; then
7659 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7663 # Extract the first word of "gtk-config", so it can be a program name with args.
7664 set dummy gtk
-config; ac_word
=$2
7665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7666 echo "configure:7667: checking for $ac_word" >&5
7667 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7668 echo $ac_n "(cached) $ac_c" 1>&6
7670 case "$GTK_CONFIG" in
7672 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7675 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7678 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7680 for ac_dir
in $ac_dummy; do
7681 test -z "$ac_dir" && ac_dir
=.
7682 if test -f $ac_dir/$ac_word; then
7683 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7688 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7692 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7693 if test -n "$GTK_CONFIG"; then
7694 echo "$ac_t""$GTK_CONFIG" 1>&6
7696 echo "$ac_t""no" 1>&6
7699 min_gtk_version
=1.2.7
7700 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7701 echo "configure:7702: checking for GTK - version >= $min_gtk_version" >&5
7703 if test "$GTK_CONFIG" != "no" ; then
7704 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7705 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7706 ac_save_CFLAGS
="$CFLAGS"
7707 ac_save_LIBS
="$LIBS"
7708 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7709 LIBS
="$LIBS $GTK_LIBS"
7710 if test "$cross_compiling" = yes; then
7711 echo $ac_n "cross compiling; assumed OK... $ac_c"
7713 cat > conftest.
$ac_ext <<EOF
7714 #line 7715 "configure"
7715 #include "confdefs.h"
7717 #include <gtk/gtk.h>
7718 #include <gtk/gtkfeatures.h>
7725 int major, minor, micro;
7727 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7728 printf("%s, bad version string\n", "$min_gtk_version");
7732 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7733 (GTK_MINOR_VERSION != gtk_minor_version) ||
7734 (GTK_MICRO_VERSION != gtk_micro_version)) {
7735 printf("Headers vs. library version mismatch!\n");
7739 if (gtk_minor_version == 1) return FALSE;
7741 return !((gtk_major_version > major) ||
7742 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7743 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7747 if { (eval echo configure
:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7751 echo "configure: failed program was:" >&5
7752 cat conftest.
$ac_ext >&5
7759 CFLAGS
="$ac_save_CFLAGS"
7760 LIBS
="$ac_save_LIBS"
7764 if test "x$no_gtk" = x
; then
7765 echo "$ac_t""yes" 1>&6
7768 echo "$ac_t""no" 1>&6
7777 if test x
$gtk_config_exec_prefix != x
; then
7778 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7779 if test x
${GTK_CONFIG+set} != xset
; then
7780 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7783 if test x
$gtk_config_prefix != x
; then
7784 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7785 if test x
${GTK_CONFIG+set} != xset
; then
7786 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7790 # Extract the first word of "gtk-config", so it can be a program name with args.
7791 set dummy gtk
-config; ac_word
=$2
7792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7793 echo "configure:7794: checking for $ac_word" >&5
7794 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7795 echo $ac_n "(cached) $ac_c" 1>&6
7797 case "$GTK_CONFIG" in
7799 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7802 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7805 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7807 for ac_dir
in $ac_dummy; do
7808 test -z "$ac_dir" && ac_dir
=.
7809 if test -f $ac_dir/$ac_word; then
7810 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7815 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7819 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7820 if test -n "$GTK_CONFIG"; then
7821 echo "$ac_t""$GTK_CONFIG" 1>&6
7823 echo "$ac_t""no" 1>&6
7826 min_gtk_version
=1.2.3
7827 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7828 echo "configure:7829: checking for GTK - version >= $min_gtk_version" >&5
7830 if test "$GTK_CONFIG" != "no" ; then
7831 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7832 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7833 ac_save_CFLAGS
="$CFLAGS"
7834 ac_save_LIBS
="$LIBS"
7835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7836 LIBS
="$LIBS $GTK_LIBS"
7837 if test "$cross_compiling" = yes; then
7838 echo $ac_n "cross compiling; assumed OK... $ac_c"
7840 cat > conftest.
$ac_ext <<EOF
7841 #line 7842 "configure"
7842 #include "confdefs.h"
7844 #include <gtk/gtk.h>
7845 #include <gtk/gtkfeatures.h>
7852 int major, minor, micro;
7854 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7855 printf("%s, bad version string\n", "$min_gtk_version");
7859 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7860 (GTK_MINOR_VERSION != gtk_minor_version) ||
7861 (GTK_MICRO_VERSION != gtk_micro_version)) {
7862 printf("Headers vs. library version mismatch!\n");
7866 if (gtk_minor_version == 1) return FALSE;
7868 return !((gtk_major_version > major) ||
7869 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7870 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7874 if { (eval echo configure
:7875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7878 echo "configure: failed program was:" >&5
7879 cat conftest.
$ac_ext >&5
7886 CFLAGS
="$ac_save_CFLAGS"
7887 LIBS
="$ac_save_LIBS"
7891 if test "x$no_gtk" = x
; then
7892 echo "$ac_t""yes" 1>&6
7895 echo "$ac_t""no" 1>&6
7910 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7911 { echo "configure: error:
7912 Please check that gtk-config is in path, the directory
7913 where GTK+ libraries are installed (returned by
7914 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7915 equivalent variable and GTK+ is version 1.2.3 or above.
7919 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7922 GUI_TK_LIBRARY
="$GTK_LIBS"
7925 AFMINSTALL
=afminstall
7929 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7930 echo "configure:7931: checking for gdk_im_open in -lgdk" >&5
7931 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7933 echo $ac_n "(cached) $ac_c" 1>&6
7935 ac_save_LIBS
="$LIBS"
7937 cat > conftest.
$ac_ext <<EOF
7938 #line 7939 "configure"
7939 #include "confdefs.h"
7940 /* Override any gcc2 internal prototype to avoid an error. */
7941 /* We use char because int might match the return type of a gcc2
7942 builtin and then its argument prototype would still apply. */
7949 if { (eval echo configure
:7950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7951 eval "ac_cv_lib_$ac_lib_var=yes"
7953 echo "configure: failed program was:" >&5
7954 cat conftest.
$ac_ext >&5
7956 eval "ac_cv_lib_$ac_lib_var=no"
7959 LIBS
="$ac_save_LIBS"
7962 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7963 echo "$ac_t""yes" 1>&6
7964 cat >> confdefs.h
<<\EOF
7969 echo "$ac_t""no" 1>&6
7974 if test "$wxUSE_WINE" = 1; then
7975 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7976 echo "configure:7977: checking for WINE includes" >&5
7979 for ac_dir
in $SEARCH_INCLUDE;
7981 if test -f "$ac_dir/windows.h"; then
7982 ac_find_includes
=$ac_dir
7987 if test "$ac_find_includes" != "" ; then
7988 echo "$ac_t""found $ac_find_includes" 1>&6
7989 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7991 echo "$ac_t""no" 1>&6
7992 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7996 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7997 echo "configure:7998: checking for Xpm library" >&5
8000 for ac_dir
in $SEARCH_LIB;
8002 for ac_extension
in a so sl
; do
8003 if test -f "$ac_dir/libXpm.$ac_extension"; then
8004 ac_find_libraries
=$ac_dir
8010 if test "$ac_find_libraries" != "" ; then
8011 GUI_TK_LIBRARY
="-L$ac_find_libraries"
8013 cat >> confdefs.h
<<\EOF
8014 #define wxHAVE_LIB_XPM 1
8017 echo "$ac_t""found at $ac_find_libraries" 1>&6
8019 echo "$ac_t""no" 1>&6
8020 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8024 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
8025 echo "configure:8026: checking for Mesa library" >&5
8028 for ac_dir
in $SEARCH_LIB;
8030 for ac_extension
in a so sl
; do
8031 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
8032 ac_find_libraries
=$ac_dir
8038 if test "$ac_find_libraries" != "" ; then
8039 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
8040 MESA_LINK
="-lMesaGL"
8041 echo "$ac_t""found at $ac_find_libraries" 1>&6
8043 { echo "configure: error: no" 1>&2; exit 1; }
8046 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
8047 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8054 # If we find X, set shell vars x_includes and x_libraries to the
8055 # paths, otherwise set no_x=yes.
8056 # Uses ac_ vars as temps to allow command line to override cache and checks.
8057 # --without-x overrides everything else, but does not touch the cache.
8058 echo $ac_n "checking for X""... $ac_c" 1>&6
8059 echo "configure:8060: checking for X" >&5
8061 # Check whether --with-x or --without-x was given.
8062 if test "${with_x+set}" = set; then
8067 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8068 if test "x$with_x" = xno
; then
8069 # The user explicitly disabled X.
8072 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8073 # Both variables are already set.
8076 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
8077 echo $ac_n "(cached) $ac_c" 1>&6
8079 # One or both of the vars are not set, and there is no cached value.
8080 ac_x_includes
=NO ac_x_libraries
=NO
8082 if mkdir conftestdir
; then
8084 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8085 cat > Imakefile
<<'EOF'
8087 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8089 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8090 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8091 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8092 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8093 for ac_extension
in a so sl
; do
8094 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8095 test -f $ac_im_libdir/libX11.
$ac_extension; then
8096 ac_im_usrlibdir
=$ac_im_libdir; break
8099 # Screen out bogus values from the imake configuration. They are
8100 # bogus both because they are the default anyway, and because
8101 # using them would break gcc on systems where it needs fixed includes.
8102 case "$ac_im_incroot" in
8104 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
8106 case "$ac_im_usrlibdir" in
8108 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
8115 if test "$ac_x_includes" = NO
; then
8116 # Guess where to find include files, by looking for this one X11 .h file.
8117 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
8119 # First, try using that file with no special directory specified.
8120 cat > conftest.
$ac_ext <<EOF
8121 #line 8122 "configure"
8122 #include "confdefs.h"
8123 #include <$x_direct_test_include>
8125 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8126 { (eval echo configure
:8127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8127 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8128 if test -z "$ac_err"; then
8130 # We can compile using X headers with no special include directory.
8134 echo "configure: failed program was:" >&5
8135 cat conftest.
$ac_ext >&5
8137 # Look for the header file in a standard set of common directories.
8138 # Check X11 before X11Rn because it is often a symlink to the current release.
8141 /usr
/X
11R
6/include \
8142 /usr
/X
11R
5/include \
8143 /usr
/X
11R
4/include \
8146 /usr
/include
/X11R6 \
8147 /usr
/include
/X11R5 \
8148 /usr
/include
/X11R4 \
8150 /usr
/local
/X
11/include \
8151 /usr
/local
/X
11R
6/include \
8152 /usr
/local
/X
11R
5/include \
8153 /usr
/local
/X
11R
4/include \
8155 /usr
/local
/include
/X11 \
8156 /usr
/local
/include
/X11R6 \
8157 /usr
/local
/include
/X11R5 \
8158 /usr
/local
/include
/X11R4 \
8162 /usr
/XFree
86/include
/X11 \
8165 /usr
/local
/include \
8166 /usr
/unsupported
/include \
8167 /usr
/athena
/include \
8168 /usr
/local
/x
11r
5/include \
8169 /usr
/lpp
/Xamples
/include \
8171 /usr
/openwin
/include \
8172 /usr
/openwin
/share
/include \
8175 if test -r "$ac_dir/$x_direct_test_include"; then
8176 ac_x_includes
=$ac_dir
8182 fi # $ac_x_includes = NO
8184 if test "$ac_x_libraries" = NO
; then
8185 # Check for the libraries.
8187 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8188 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8190 # See if we find them without any special options.
8191 # Don't add to $LIBS permanently.
8192 ac_save_LIBS
="$LIBS"
8193 LIBS
="-l$x_direct_test_library $LIBS"
8194 cat > conftest.
$ac_ext <<EOF
8195 #line 8196 "configure"
8196 #include "confdefs.h"
8199 ${x_direct_test_function}()
8202 if { (eval echo configure
:8203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8204 LIBS
="$ac_save_LIBS"
8205 # We can link X programs with no special library path.
8208 echo "configure: failed program was:" >&5
8209 cat conftest.
$ac_ext >&5
8211 LIBS
="$ac_save_LIBS"
8212 # First see if replacing the include by lib works.
8213 # Check X11 before X11Rn because it is often a symlink to the current release.
8214 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8225 /usr
/local
/X
11/lib \
8226 /usr
/local
/X
11R
6/lib \
8227 /usr
/local
/X
11R
5/lib \
8228 /usr
/local
/X
11R
4/lib \
8230 /usr
/local
/lib
/X11 \
8231 /usr
/local
/lib
/X11R6 \
8232 /usr
/local
/lib
/X11R5 \
8233 /usr
/local
/lib
/X11R4 \
8237 /usr
/XFree
86/lib
/X11 \
8241 /usr
/unsupported
/lib \
8243 /usr
/local
/x
11r
5/lib \
8244 /usr
/lpp
/Xamples
/lib \
8248 /usr
/openwin
/share
/lib \
8251 for ac_extension
in a so sl
; do
8252 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8253 ac_x_libraries
=$ac_dir
8260 fi # $ac_x_libraries = NO
8262 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8263 # Didn't find X anywhere. Cache the known absence of X.
8264 ac_cv_have_x
="have_x=no"
8266 # Record where we found X for the cache.
8267 ac_cv_have_x
="have_x=yes \
8268 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8272 eval "$ac_cv_have_x"
8275 if test "$have_x" != yes; then
8276 echo "$ac_t""$have_x" 1>&6
8279 # If each of the values was on the command line, it overrides each guess.
8280 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8281 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8282 # Update the cache value to reflect the command line values.
8283 ac_cv_have_x
="have_x=yes \
8284 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8285 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8288 if test "$no_x" = yes; then
8289 # Not all programs may use this symbol, but it does not hurt to define it.
8290 cat >> confdefs.h
<<\EOF
8291 #define X_DISPLAY_MISSING 1
8294 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8296 if test -n "$x_includes"; then
8297 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8300 # It would also be nice to do this for all -L options, not just this one.
8301 if test -n "$x_libraries"; then
8302 X_LIBS
="$X_LIBS -L$x_libraries"
8303 # For Solaris; some versions of Sun CC require a space after -R and
8304 # others require no space. Words are not sufficient . . . .
8305 case "`(uname -sr) 2>/dev/null`" in
8307 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8308 echo "configure:8309: checking whether -R must be followed by a space" >&5
8309 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8310 cat > conftest.
$ac_ext <<EOF
8311 #line 8312 "configure"
8312 #include "confdefs.h"
8318 if { (eval echo configure
:8319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8322 echo "configure: failed program was:" >&5
8323 cat conftest.
$ac_ext >&5
8328 if test $ac_R_nospace = yes; then
8329 echo "$ac_t""no" 1>&6
8330 X_LIBS
="$X_LIBS -R$x_libraries"
8332 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8333 cat > conftest.
$ac_ext <<EOF
8334 #line 8335 "configure"
8335 #include "confdefs.h"
8341 if { (eval echo configure
:8342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8345 echo "configure: failed program was:" >&5
8346 cat conftest.
$ac_ext >&5
8351 if test $ac_R_space = yes; then
8352 echo "$ac_t""yes" 1>&6
8353 X_LIBS
="$X_LIBS -R $x_libraries"
8355 echo "$ac_t""neither works" 1>&6
8358 LIBS
="$ac_xsave_LIBS"
8362 # Check for system-dependent libraries X programs must link with.
8363 # Do this before checking for the system-independent R6 libraries
8364 # (-lICE), since we may need -lsocket or whatever for X linking.
8366 if test "$ISC" = yes; then
8367 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8369 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8370 # libraries were built with DECnet support. And karl@cs.umb.edu says
8371 # the Alpha needs dnet_stub (dnet does not exist).
8372 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8373 echo "configure:8374: checking for dnet_ntoa in -ldnet" >&5
8374 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8375 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8376 echo $ac_n "(cached) $ac_c" 1>&6
8378 ac_save_LIBS
="$LIBS"
8380 cat > conftest.
$ac_ext <<EOF
8381 #line 8382 "configure"
8382 #include "confdefs.h"
8383 /* Override any gcc2 internal prototype to avoid an error. */
8384 /* We use char because int might match the return type of a gcc2
8385 builtin and then its argument prototype would still apply. */
8392 if { (eval echo configure
:8393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8394 eval "ac_cv_lib_$ac_lib_var=yes"
8396 echo "configure: failed program was:" >&5
8397 cat conftest.
$ac_ext >&5
8399 eval "ac_cv_lib_$ac_lib_var=no"
8402 LIBS
="$ac_save_LIBS"
8405 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8406 echo "$ac_t""yes" 1>&6
8407 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8409 echo "$ac_t""no" 1>&6
8412 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8413 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8414 echo "configure:8415: checking for dnet_ntoa in -ldnet_stub" >&5
8415 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8416 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8417 echo $ac_n "(cached) $ac_c" 1>&6
8419 ac_save_LIBS
="$LIBS"
8420 LIBS
="-ldnet_stub $LIBS"
8421 cat > conftest.
$ac_ext <<EOF
8422 #line 8423 "configure"
8423 #include "confdefs.h"
8424 /* Override any gcc2 internal prototype to avoid an error. */
8425 /* We use char because int might match the return type of a gcc2
8426 builtin and then its argument prototype would still apply. */
8433 if { (eval echo configure
:8434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8435 eval "ac_cv_lib_$ac_lib_var=yes"
8437 echo "configure: failed program was:" >&5
8438 cat conftest.
$ac_ext >&5
8440 eval "ac_cv_lib_$ac_lib_var=no"
8443 LIBS
="$ac_save_LIBS"
8446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8447 echo "$ac_t""yes" 1>&6
8448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8450 echo "$ac_t""no" 1>&6
8455 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8456 # to get the SysV transport functions.
8457 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8459 # The nsl library prevents programs from opening the X display
8460 # on Irix 5.2, according to dickey@clark.net.
8461 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8462 echo "configure:8463: checking for gethostbyname" >&5
8463 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8464 echo $ac_n "(cached) $ac_c" 1>&6
8466 cat > conftest.
$ac_ext <<EOF
8467 #line 8468 "configure"
8468 #include "confdefs.h"
8469 /* System header to define __stub macros and hopefully few prototypes,
8470 which can conflict with char gethostbyname(); below. */
8472 /* Override any gcc2 internal prototype to avoid an error. */
8473 /* We use char because int might match the return type of a gcc2
8474 builtin and then its argument prototype would still apply. */
8475 char gethostbyname();
8479 /* The GNU C library defines this for functions which it implements
8480 to always fail with ENOSYS. Some functions are actually named
8481 something starting with __ and the normal name is an alias. */
8482 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8490 if { (eval echo configure
:8491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8492 eval "ac_cv_func_gethostbyname=yes"
8494 echo "configure: failed program was:" >&5
8495 cat conftest.
$ac_ext >&5
8497 eval "ac_cv_func_gethostbyname=no"
8502 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8503 echo "$ac_t""yes" 1>&6
8506 echo "$ac_t""no" 1>&6
8509 if test $ac_cv_func_gethostbyname = no
; then
8510 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8511 echo "configure:8512: checking for gethostbyname in -lnsl" >&5
8512 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8514 echo $ac_n "(cached) $ac_c" 1>&6
8516 ac_save_LIBS
="$LIBS"
8518 cat > conftest.
$ac_ext <<EOF
8519 #line 8520 "configure"
8520 #include "confdefs.h"
8521 /* Override any gcc2 internal prototype to avoid an error. */
8522 /* We use char because int might match the return type of a gcc2
8523 builtin and then its argument prototype would still apply. */
8524 char gethostbyname();
8530 if { (eval echo configure
:8531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8532 eval "ac_cv_lib_$ac_lib_var=yes"
8534 echo "configure: failed program was:" >&5
8535 cat conftest.
$ac_ext >&5
8537 eval "ac_cv_lib_$ac_lib_var=no"
8540 LIBS
="$ac_save_LIBS"
8543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8544 echo "$ac_t""yes" 1>&6
8545 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8547 echo "$ac_t""no" 1>&6
8552 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8553 # socket/setsockopt and other routines are undefined under SCO ODT
8554 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8555 # on later versions), says simon@lia.di.epfl.ch: it contains
8556 # gethostby* variants that don't use the nameserver (or something).
8557 # -lsocket must be given before -lnsl if both are needed.
8558 # We assume that if connect needs -lnsl, so does gethostbyname.
8559 echo $ac_n "checking for connect""... $ac_c" 1>&6
8560 echo "configure:8561: checking for connect" >&5
8561 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8562 echo $ac_n "(cached) $ac_c" 1>&6
8564 cat > conftest.
$ac_ext <<EOF
8565 #line 8566 "configure"
8566 #include "confdefs.h"
8567 /* System header to define __stub macros and hopefully few prototypes,
8568 which can conflict with char connect(); below. */
8570 /* Override any gcc2 internal prototype to avoid an error. */
8571 /* We use char because int might match the return type of a gcc2
8572 builtin and then its argument prototype would still apply. */
8577 /* The GNU C library defines this for functions which it implements
8578 to always fail with ENOSYS. Some functions are actually named
8579 something starting with __ and the normal name is an alias. */
8580 #if defined (__stub_connect) || defined (__stub___connect)
8588 if { (eval echo configure
:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8590 eval "ac_cv_func_connect=yes"
8592 echo "configure: failed program was:" >&5
8593 cat conftest.
$ac_ext >&5
8595 eval "ac_cv_func_connect=no"
8600 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8601 echo "$ac_t""yes" 1>&6
8604 echo "$ac_t""no" 1>&6
8607 if test $ac_cv_func_connect = no
; then
8608 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8609 echo "configure:8610: checking for connect in -lsocket" >&5
8610 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8611 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8612 echo $ac_n "(cached) $ac_c" 1>&6
8614 ac_save_LIBS
="$LIBS"
8615 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8616 cat > conftest.
$ac_ext <<EOF
8617 #line 8618 "configure"
8618 #include "confdefs.h"
8619 /* Override any gcc2 internal prototype to avoid an error. */
8620 /* We use char because int might match the return type of a gcc2
8621 builtin and then its argument prototype would still apply. */
8628 if { (eval echo configure
:8629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8630 eval "ac_cv_lib_$ac_lib_var=yes"
8632 echo "configure: failed program was:" >&5
8633 cat conftest.
$ac_ext >&5
8635 eval "ac_cv_lib_$ac_lib_var=no"
8638 LIBS
="$ac_save_LIBS"
8641 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8642 echo "$ac_t""yes" 1>&6
8643 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8645 echo "$ac_t""no" 1>&6
8650 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8651 echo $ac_n "checking for remove""... $ac_c" 1>&6
8652 echo "configure:8653: checking for remove" >&5
8653 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8654 echo $ac_n "(cached) $ac_c" 1>&6
8656 cat > conftest.
$ac_ext <<EOF
8657 #line 8658 "configure"
8658 #include "confdefs.h"
8659 /* System header to define __stub macros and hopefully few prototypes,
8660 which can conflict with char remove(); below. */
8662 /* Override any gcc2 internal prototype to avoid an error. */
8663 /* We use char because int might match the return type of a gcc2
8664 builtin and then its argument prototype would still apply. */
8669 /* The GNU C library defines this for functions which it implements
8670 to always fail with ENOSYS. Some functions are actually named
8671 something starting with __ and the normal name is an alias. */
8672 #if defined (__stub_remove) || defined (__stub___remove)
8680 if { (eval echo configure
:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8682 eval "ac_cv_func_remove=yes"
8684 echo "configure: failed program was:" >&5
8685 cat conftest.
$ac_ext >&5
8687 eval "ac_cv_func_remove=no"
8692 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8693 echo "$ac_t""yes" 1>&6
8696 echo "$ac_t""no" 1>&6
8699 if test $ac_cv_func_remove = no
; then
8700 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8701 echo "configure:8702: checking for remove in -lposix" >&5
8702 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8704 echo $ac_n "(cached) $ac_c" 1>&6
8706 ac_save_LIBS
="$LIBS"
8707 LIBS
="-lposix $LIBS"
8708 cat > conftest.
$ac_ext <<EOF
8709 #line 8710 "configure"
8710 #include "confdefs.h"
8711 /* Override any gcc2 internal prototype to avoid an error. */
8712 /* We use char because int might match the return type of a gcc2
8713 builtin and then its argument prototype would still apply. */
8720 if { (eval echo configure
:8721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8722 eval "ac_cv_lib_$ac_lib_var=yes"
8724 echo "configure: failed program was:" >&5
8725 cat conftest.
$ac_ext >&5
8727 eval "ac_cv_lib_$ac_lib_var=no"
8730 LIBS
="$ac_save_LIBS"
8733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8734 echo "$ac_t""yes" 1>&6
8735 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8737 echo "$ac_t""no" 1>&6
8742 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8743 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8744 echo "configure:8745: checking for shmat" >&5
8745 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8746 echo $ac_n "(cached) $ac_c" 1>&6
8748 cat > conftest.
$ac_ext <<EOF
8749 #line 8750 "configure"
8750 #include "confdefs.h"
8751 /* System header to define __stub macros and hopefully few prototypes,
8752 which can conflict with char shmat(); below. */
8754 /* Override any gcc2 internal prototype to avoid an error. */
8755 /* We use char because int might match the return type of a gcc2
8756 builtin and then its argument prototype would still apply. */
8761 /* The GNU C library defines this for functions which it implements
8762 to always fail with ENOSYS. Some functions are actually named
8763 something starting with __ and the normal name is an alias. */
8764 #if defined (__stub_shmat) || defined (__stub___shmat)
8772 if { (eval echo configure
:8773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8774 eval "ac_cv_func_shmat=yes"
8776 echo "configure: failed program was:" >&5
8777 cat conftest.
$ac_ext >&5
8779 eval "ac_cv_func_shmat=no"
8784 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8785 echo "$ac_t""yes" 1>&6
8788 echo "$ac_t""no" 1>&6
8791 if test $ac_cv_func_shmat = no
; then
8792 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8793 echo "configure:8794: checking for shmat in -lipc" >&5
8794 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8796 echo $ac_n "(cached) $ac_c" 1>&6
8798 ac_save_LIBS
="$LIBS"
8800 cat > conftest.
$ac_ext <<EOF
8801 #line 8802 "configure"
8802 #include "confdefs.h"
8803 /* Override any gcc2 internal prototype to avoid an error. */
8804 /* We use char because int might match the return type of a gcc2
8805 builtin and then its argument prototype would still apply. */
8812 if { (eval echo configure
:8813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8814 eval "ac_cv_lib_$ac_lib_var=yes"
8816 echo "configure: failed program was:" >&5
8817 cat conftest.
$ac_ext >&5
8819 eval "ac_cv_lib_$ac_lib_var=no"
8822 LIBS
="$ac_save_LIBS"
8825 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8826 echo "$ac_t""yes" 1>&6
8827 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8829 echo "$ac_t""no" 1>&6
8835 # Check for libraries that X11R6 Xt/Xaw programs need.
8836 ac_save_LDFLAGS
="$LDFLAGS"
8837 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8838 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8839 # check for ICE first), but we must link in the order -lSM -lICE or
8840 # we get undefined symbols. So assume we have SM if we have ICE.
8841 # These have to be linked with before -lX11, unlike the other
8842 # libraries we check for below, so use a different variable.
8843 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8844 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8845 echo "configure:8846: checking for IceConnectionNumber in -lICE" >&5
8846 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8847 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8848 echo $ac_n "(cached) $ac_c" 1>&6
8850 ac_save_LIBS
="$LIBS"
8851 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8852 cat > conftest.
$ac_ext <<EOF
8853 #line 8854 "configure"
8854 #include "confdefs.h"
8855 /* Override any gcc2 internal prototype to avoid an error. */
8856 /* We use char because int might match the return type of a gcc2
8857 builtin and then its argument prototype would still apply. */
8858 char IceConnectionNumber();
8861 IceConnectionNumber()
8864 if { (eval echo configure
:8865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8866 eval "ac_cv_lib_$ac_lib_var=yes"
8868 echo "configure: failed program was:" >&5
8869 cat conftest.
$ac_ext >&5
8871 eval "ac_cv_lib_$ac_lib_var=no"
8874 LIBS
="$ac_save_LIBS"
8877 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8878 echo "$ac_t""yes" 1>&6
8879 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8881 echo "$ac_t""no" 1>&6
8884 LDFLAGS
="$ac_save_LDFLAGS"
8888 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8889 LDFLAGS
="$LDFLAGS $X_LIBS"
8891 if test "$wxUSE_MOTIF" = 1; then
8892 if test "$no_x" = "yes"; then
8893 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8896 GUI_TK_LIBRARY
="$X_LIBS"
8897 TOOLKIT_INCLUDE
="$X_CFLAGS"
8899 AFMINSTALL
=afminstall
8902 COMPILED_X_PROGRAM
=0
8904 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8905 echo "configure:8906: checking for Motif/Lesstif headers" >&5
8908 for ac_dir
in $SEARCH_INCLUDE;
8910 if test -f "$ac_dir/Xm/Xm.h"; then
8911 ac_find_includes
=$ac_dir
8916 if test "$ac_find_includes" != "" ; then
8917 echo "$ac_t""found $ac_find_includes" 1>&6
8919 cat > conftest.
$ac_ext <<EOF
8920 #line 8921 "configure"
8921 #include "confdefs.h"
8929 version = xmUseVersion;
8933 if { (eval echo configure
:8934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8936 echo "$ac_t""found in default search path" 1>&6
8937 COMPILED_X_PROGRAM
=1
8940 echo "configure: failed program was:" >&5
8941 cat conftest.
$ac_ext >&5
8944 echo "$ac_t""no" 1>&6
8945 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8952 if test "$COMPILED_X_PROGRAM" = 0; then
8953 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8954 echo "configure:8955: checking for Motif/Lesstif library" >&5
8957 for ac_dir
in $SEARCH_LIB;
8959 for ac_extension
in a so sl
; do
8960 if test -f "$ac_dir/libXm.$ac_extension"; then
8961 ac_find_libraries
=$ac_dir
8967 if test "$ac_find_libraries" != "" ; then
8969 ac_path_to_include
=$ac_find_includes
8970 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8972 if test $result = 0; then
8973 ac_path_to_include
=""
8975 ac_path_to_include
="-I$ac_find_includes"
8979 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8981 if test $result = 0; then
8984 ac_path_to_link
="-L$ac_find_libraries"
8988 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8989 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8990 echo "$ac_t""found at $ac_find_libraries" 1>&6
8992 cat > conftest.
$ac_ext <<EOF
8993 #line 8994 "configure"
8994 #include "confdefs.h"
9002 version = xmUseVersion;
9006 if { (eval echo configure
:9007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9009 echo "$ac_t""found in default search path" 1>&6
9010 COMPILED_X_PROGRAM
=1
9013 echo "configure: failed program was:" >&5
9014 cat conftest.
$ac_ext >&5
9017 echo "$ac_t""no" 1>&6
9018 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
9028 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9029 echo "configure:9030: checking for Xpm library" >&5
9032 for ac_dir
in $SEARCH_LIB;
9034 for ac_extension
in a so sl
; do
9035 if test -f "$ac_dir/libXpm.$ac_extension"; then
9036 ac_find_libraries
=$ac_dir
9042 if test "$ac_find_libraries" != "" ; then
9044 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
9046 if test $result = 0; then
9049 ac_path_to_link
="-L$ac_find_libraries"
9052 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
9054 cat >> confdefs.h
<<\EOF
9055 #define wxHAVE_LIB_XPM 1
9058 echo "$ac_t""found at $ac_find_libraries" 1>&6
9060 cat > conftest.
$ac_ext <<EOF
9061 #line 9062 "configure"
9062 #include "confdefs.h"
9064 #include <X11/xpm.h>
9070 version = XpmLibraryVersion();
9074 if { (eval echo configure
:9075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9078 cat >> confdefs.h
<<\EOF
9079 #define wxHAVE_LIB_XPM 1
9082 echo "$ac_t""found in default search path" 1>&6
9083 COMPILED_X_PROGRAM
=0
9086 echo "configure: failed program was:" >&5
9087 cat conftest.
$ac_ext >&5
9090 echo "$ac_t""no" 1>&6
9091 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9098 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
9099 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9104 if test "$wxUSE_MAC" = 1; then
9109 if test "$wxUSE_PM" = 1; then
9114 if test "$TOOLKIT" != "PM" ; then
9115 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9120 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9121 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9123 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9126 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9128 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9130 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9132 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
9133 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9136 if test "$wxUSE_LIBJPEG" = "yes" ; then
9137 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9139 if test "$wxUSE_LIBTIFF" = "yes" ; then
9140 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9142 if test "$wxUSE_LIBPNG" = "yes" ; then
9143 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9145 if test "$wxUSE_ZLIB" = "yes" ; then
9146 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9148 if test "$wxUSE_FREETYPE" = "yes" ; then
9149 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9151 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9153 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9154 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9155 RPM_SPEC
="wx\$(TOOLKIT).spec"
9157 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9158 DISTDIR
="wx\$(TOOLKIT)"
9164 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9165 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9167 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9170 TOOLKIT_DEF
="-D__WXBASE__"
9172 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
9173 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
9175 if test "$wxUSE_ZLIB" = "yes" ; then
9176 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9179 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9181 PORT_FILES
="src/files.lst"
9182 RPM_FILES
="src/rpmfiles.lst"
9183 RPM_SPEC
="wxBase.spec"
9189 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9190 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9192 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9193 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9195 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9196 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9198 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9199 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9200 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9201 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9202 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9203 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9210 WX_TARGET_LIBRARY_SONAME
=
9213 if test "$wxUSE_SHARED" = "yes"; then
9216 if test "$GCC" = yes ; then
9217 SHARED_LD
="${CC} -shared -fPIC -o"
9220 LDFLAGS
="-L/usr/lib"
9222 SHARED_LD
="${CXX} -b -o"
9225 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9226 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9227 if test "$wxUSE_OPENGL" = "yes"; then
9228 WX_ALL_INSTALLED
="preinstall_gl"
9229 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9231 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9236 SHARED_LD
="${CC} -shared -o"
9238 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9239 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9240 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9241 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9243 if test "$wxUSE_OPENGL" = "yes"; then
9244 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9245 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9247 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9248 WX_ALL
="CREATE_LINKS"
9251 *-*-irix5* | *-*-irix6* )
9252 if test "$GCC" = yes ; then
9253 SHARED_LD
="${CC} -shared -o"
9256 SHARED_LD
="${CXX} -shared -o"
9258 if test "$wxUSE_OPENGL" = "yes"; then
9259 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9260 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9262 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9263 WX_ALL
="CREATE_LINKS"
9267 if test "$GCC" = yes ; then
9268 SHARED_LD
="${CC} -shared -o"
9271 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9273 SHARED_LD
="${CXX} -G -o"
9276 if test "$wxUSE_OPENGL" = "yes"; then
9277 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9278 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9280 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9281 WX_ALL
="CREATE_LINKS"
9285 SHARED_LD
="${CC} -shared -o"
9287 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9288 WX_ALL
="CREATE_LINKS"
9290 *-*-freebsd* | *-*-netbsd* )
9291 SHARED_LD
="${CC} -shared -o"
9293 if test "$wxUSE_OPENGL" = "yes"; then
9294 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9295 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9297 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9298 WX_ALL
="CREATE_LINKS"
9302 SHARED_LD
="${CXX} -dynamiclib -o"
9303 PIC_FLAG
="-dynamic -fPIC"
9304 if test "$wxUSE_OPENGL" = "yes"; then
9305 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9306 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9308 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9309 WX_ALL
="CREATE_LINKS"
9311 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.dylib"
9312 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.dylib"
9313 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.${WX_CURRENT}.dylib"
9314 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
9315 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
9316 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.${WX_CURRENT}.dylib"
9317 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
9318 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
9321 SHARED_LD
="${CXX} -shared -o"
9323 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9324 WX_ALL
="CREATE_LINKS"
9327 SHARED_LD
="${CXX} -shared -o"
9329 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9330 WX_ALL
="CREATE_LINKS"
9333 SHARED_LD
="${CC} -shared -o"
9335 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9336 WX_ALL
="CREATE_LINKS"
9339 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9340 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9343 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9344 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9345 if test "$wxUSE_OPENGL" = "yes"; then
9346 WX_ALL_INSTALLED
="preinstall_gl"
9347 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9349 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9353 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9354 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9355 if test "$wxUSE_OPENGL" = "yes"; then
9356 WX_ALL_INSTALLED
="preinstall_gl"
9357 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9359 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9363 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9364 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9367 SHARED_LD
="${LD} -shared -o"
9369 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9370 WX_ALL
="CREATE_LINKS"
9373 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9376 if test "x$WX_TARGET_LIBRARY" = "x"; then
9377 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9378 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9380 WX_TARGET_LIBRARY_TYPE
="so"
9382 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9383 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9385 if test "$wxUSE_OPENGL" = "yes"; then
9386 WX_ALL_INSTALLED
="preinstall_gl"
9387 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9389 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9392 if test "$wxUSE_GUI" = "no"; then
9393 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9396 WX_TARGET_LIBRARY_TYPE
="a"
9400 for ac_hdr
in strings.h
9402 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9404 echo "configure:9405: checking for $ac_hdr" >&5
9405 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9406 echo $ac_n "(cached) $ac_c" 1>&6
9408 cat > conftest.
$ac_ext <<EOF
9409 #line 9410 "configure"
9410 #include "confdefs.h"
9413 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9414 { (eval echo configure
:9415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9415 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9416 if test -z "$ac_err"; then
9418 eval "ac_cv_header_$ac_safe=yes"
9421 echo "configure: failed program was:" >&5
9422 cat conftest.
$ac_ext >&5
9424 eval "ac_cv_header_$ac_safe=no"
9428 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9429 echo "$ac_t""yes" 1>&6
9430 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9431 cat >> confdefs.h
<<EOF
9432 #define $ac_tr_hdr 1
9436 echo "$ac_t""no" 1>&6
9440 for ac_hdr
in unistd.h
9442 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9443 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9444 echo "configure:9445: checking for $ac_hdr" >&5
9445 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9446 echo $ac_n "(cached) $ac_c" 1>&6
9448 cat > conftest.
$ac_ext <<EOF
9449 #line 9450 "configure"
9450 #include "confdefs.h"
9453 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9454 { (eval echo configure
:9455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9455 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9456 if test -z "$ac_err"; then
9458 eval "ac_cv_header_$ac_safe=yes"
9461 echo "configure: failed program was:" >&5
9462 cat conftest.
$ac_ext >&5
9464 eval "ac_cv_header_$ac_safe=no"
9468 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9469 echo "$ac_t""yes" 1>&6
9470 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9471 cat >> confdefs.h
<<EOF
9472 #define $ac_tr_hdr 1
9476 echo "$ac_t""no" 1>&6
9480 for ac_hdr
in fcntl.h
9482 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9483 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9484 echo "configure:9485: checking for $ac_hdr" >&5
9485 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9486 echo $ac_n "(cached) $ac_c" 1>&6
9488 cat > conftest.
$ac_ext <<EOF
9489 #line 9490 "configure"
9490 #include "confdefs.h"
9493 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9494 { (eval echo configure
:9495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9495 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9496 if test -z "$ac_err"; then
9498 eval "ac_cv_header_$ac_safe=yes"
9501 echo "configure: failed program was:" >&5
9502 cat conftest.
$ac_ext >&5
9504 eval "ac_cv_header_$ac_safe=no"
9508 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9509 echo "$ac_t""yes" 1>&6
9510 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9511 cat >> confdefs.h
<<EOF
9512 #define $ac_tr_hdr 1
9516 echo "$ac_t""no" 1>&6
9520 for ac_hdr
in wchar.h
9522 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9523 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9524 echo "configure:9525: checking for $ac_hdr" >&5
9525 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9526 echo $ac_n "(cached) $ac_c" 1>&6
9528 cat > conftest.
$ac_ext <<EOF
9529 #line 9530 "configure"
9530 #include "confdefs.h"
9533 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9534 { (eval echo configure
:9535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9535 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9536 if test -z "$ac_err"; then
9538 eval "ac_cv_header_$ac_safe=yes"
9541 echo "configure: failed program was:" >&5
9542 cat conftest.
$ac_ext >&5
9544 eval "ac_cv_header_$ac_safe=no"
9548 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9549 echo "$ac_t""yes" 1>&6
9550 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9551 cat >> confdefs.h
<<EOF
9552 #define $ac_tr_hdr 1
9556 echo "$ac_t""no" 1>&6
9560 for ac_hdr
in wcstr.h
9562 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9563 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9564 echo "configure:9565: checking for $ac_hdr" >&5
9565 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9566 echo $ac_n "(cached) $ac_c" 1>&6
9568 cat > conftest.
$ac_ext <<EOF
9569 #line 9570 "configure"
9570 #include "confdefs.h"
9573 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9574 { (eval echo configure
:9575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9575 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9576 if test -z "$ac_err"; then
9578 eval "ac_cv_header_$ac_safe=yes"
9581 echo "configure: failed program was:" >&5
9582 cat conftest.
$ac_ext >&5
9584 eval "ac_cv_header_$ac_safe=no"
9588 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9589 echo "$ac_t""yes" 1>&6
9590 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9591 cat >> confdefs.h
<<EOF
9592 #define $ac_tr_hdr 1
9596 echo "$ac_t""no" 1>&6
9600 for ac_hdr
in fnmatch.h
9602 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9603 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9604 echo "configure:9605: checking for $ac_hdr" >&5
9605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9608 cat > conftest.
$ac_ext <<EOF
9609 #line 9610 "configure"
9610 #include "confdefs.h"
9613 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9614 { (eval echo configure
:9615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9615 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9616 if test -z "$ac_err"; then
9618 eval "ac_cv_header_$ac_safe=yes"
9621 echo "configure: failed program was:" >&5
9622 cat conftest.
$ac_ext >&5
9624 eval "ac_cv_header_$ac_safe=no"
9628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9629 echo "$ac_t""yes" 1>&6
9630 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9631 cat >> confdefs.h
<<EOF
9632 #define $ac_tr_hdr 1
9636 echo "$ac_t""no" 1>&6
9640 for ac_hdr
in iconv.h
9642 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9644 echo "configure:9645: checking for $ac_hdr" >&5
9645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9648 cat > conftest.
$ac_ext <<EOF
9649 #line 9650 "configure"
9650 #include "confdefs.h"
9653 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9654 { (eval echo configure
:9655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9655 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9656 if test -z "$ac_err"; then
9658 eval "ac_cv_header_$ac_safe=yes"
9661 echo "configure: failed program was:" >&5
9662 cat conftest.
$ac_ext >&5
9664 eval "ac_cv_header_$ac_safe=no"
9668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9671 cat >> confdefs.h
<<EOF
9672 #define $ac_tr_hdr 1
9676 echo "$ac_t""no" 1>&6
9680 for ac_hdr
in langinfo.h
9682 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9684 echo "configure:9685: checking for $ac_hdr" >&5
9685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
9693 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9694 { (eval echo configure
:9695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9695 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9696 if test -z "$ac_err"; then
9698 eval "ac_cv_header_$ac_safe=yes"
9701 echo "configure: failed program was:" >&5
9702 cat conftest.
$ac_ext >&5
9704 eval "ac_cv_header_$ac_safe=no"
9708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9709 echo "$ac_t""yes" 1>&6
9710 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9711 cat >> confdefs.h
<<EOF
9712 #define $ac_tr_hdr 1
9716 echo "$ac_t""no" 1>&6
9721 if test "$wxUSE_GUI" = "yes"; then
9722 if test "$wxUSE_UNIX" = "yes"; then
9723 for ac_hdr
in X
11/XKBlib.h
9725 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9726 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9727 echo "configure:9728: checking for $ac_hdr" >&5
9728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9729 echo $ac_n "(cached) $ac_c" 1>&6
9731 cat > conftest.
$ac_ext <<EOF
9732 #line 9733 "configure"
9733 #include "confdefs.h"
9736 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9737 { (eval echo configure
:9738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9738 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9739 if test -z "$ac_err"; then
9741 eval "ac_cv_header_$ac_safe=yes"
9744 echo "configure: failed program was:" >&5
9745 cat conftest.
$ac_ext >&5
9747 eval "ac_cv_header_$ac_safe=no"
9751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9752 echo "$ac_t""yes" 1>&6
9753 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9754 cat >> confdefs.h
<<EOF
9755 #define $ac_tr_hdr 1
9759 echo "$ac_t""no" 1>&6
9767 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9768 echo "configure:9769: checking for ANSI C header files" >&5
9769 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9770 echo $ac_n "(cached) $ac_c" 1>&6
9772 cat > conftest.
$ac_ext <<EOF
9773 #line 9774 "configure"
9774 #include "confdefs.h"
9780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9781 { (eval echo configure
:9782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9783 if test -z "$ac_err"; then
9785 ac_cv_header_stdc
=yes
9788 echo "configure: failed program was:" >&5
9789 cat conftest.
$ac_ext >&5
9791 ac_cv_header_stdc
=no
9795 if test $ac_cv_header_stdc = yes; then
9796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9797 cat > conftest.
$ac_ext <<EOF
9798 #line 9799 "configure"
9799 #include "confdefs.h"
9802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9803 egrep "memchr" >/dev
/null
2>&1; then
9807 ac_cv_header_stdc
=no
9813 if test $ac_cv_header_stdc = yes; then
9814 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9815 cat > conftest.
$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9821 egrep "free" >/dev
/null
2>&1; then
9825 ac_cv_header_stdc
=no
9831 if test $ac_cv_header_stdc = yes; then
9832 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9833 if test "$cross_compiling" = yes; then
9836 cat > conftest.
$ac_ext <<EOF
9837 #line 9838 "configure"
9838 #include "confdefs.h"
9840 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9841 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9842 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9843 int main () { int i; for (i = 0; i < 256; i++)
9844 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9848 if { (eval echo configure
:9849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9852 echo "configure: failed program was:" >&5
9853 cat conftest.
$ac_ext >&5
9855 ac_cv_header_stdc
=no
9863 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9864 if test $ac_cv_header_stdc = yes; then
9865 cat >> confdefs.h
<<\EOF
9866 #define STDC_HEADERS 1
9871 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9872 echo "configure:9873: checking for mode_t" >&5
9873 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9874 echo $ac_n "(cached) $ac_c" 1>&6
9876 cat > conftest.
$ac_ext <<EOF
9877 #line 9878 "configure"
9878 #include "confdefs.h"
9879 #include <sys/types.h>
9885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9886 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9888 ac_cv_type_mode_t
=yes
9891 ac_cv_type_mode_t
=no
9896 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9897 if test $ac_cv_type_mode_t = no
; then
9898 cat >> confdefs.h
<<\EOF
9904 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9905 echo "configure:9906: checking for off_t" >&5
9906 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9907 echo $ac_n "(cached) $ac_c" 1>&6
9909 cat > conftest.
$ac_ext <<EOF
9910 #line 9911 "configure"
9911 #include "confdefs.h"
9912 #include <sys/types.h>
9918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9919 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9921 ac_cv_type_off_t
=yes
9929 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9930 if test $ac_cv_type_off_t = no
; then
9931 cat >> confdefs.h
<<\EOF
9937 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9938 echo "configure:9939: checking for pid_t" >&5
9939 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9940 echo $ac_n "(cached) $ac_c" 1>&6
9942 cat > conftest.
$ac_ext <<EOF
9943 #line 9944 "configure"
9944 #include "confdefs.h"
9945 #include <sys/types.h>
9951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9952 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9954 ac_cv_type_pid_t
=yes
9962 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9963 if test $ac_cv_type_pid_t = no
; then
9964 cat >> confdefs.h
<<\EOF
9970 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9971 echo "configure:9972: checking for size_t" >&5
9972 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9973 echo $ac_n "(cached) $ac_c" 1>&6
9975 cat > conftest.
$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9978 #include <sys/types.h>
9984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9985 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9987 ac_cv_type_size_t
=yes
9990 ac_cv_type_size_t
=no
9995 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9996 if test $ac_cv_type_size_t = no
; then
9997 cat >> confdefs.h
<<\EOF
9998 #define size_t unsigned
10003 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
10004 echo "configure:10005: checking for uid_t in sys/types.h" >&5
10005 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
10006 echo $ac_n "(cached) $ac_c" 1>&6
10008 cat > conftest.
$ac_ext <<EOF
10009 #line 10010 "configure"
10010 #include "confdefs.h"
10011 #include <sys/types.h>
10013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10014 egrep "uid_t" >/dev
/null
2>&1; then
10016 ac_cv_type_uid_t
=yes
10019 ac_cv_type_uid_t
=no
10025 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
10026 if test $ac_cv_type_uid_t = no
; then
10027 cat >> confdefs.h
<<\EOF
10031 cat >> confdefs.h
<<\EOF
10038 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
10039 echo "configure:10040: checking for wchar_t" >&5
10040 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
10041 echo $ac_n "(cached) $ac_c" 1>&6
10044 cat > conftest.
$ac_ext <<EOF
10045 #line 10046 "configure"
10046 #include "confdefs.h"
10052 ws = L"Hello, world!";
10056 if { (eval echo configure
:10057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10058 wx_cv_type_wchar_t
=yes
10060 echo "configure: failed program was:" >&5
10061 cat conftest.
$ac_ext >&5
10063 wx_cv_type_wchar_t
=no
10069 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
10070 if test "$wx_cv_type_wchar_t" = yes ; then
10071 cat >> confdefs.h
<<\EOF
10072 #define wxUSE_WCHAR_T 1
10078 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
10079 echo "configure:10080: checking for pw_gecos in struct passwd" >&5
10080 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
10081 echo $ac_n "(cached) $ac_c" 1>&6
10084 cat > conftest.
$ac_ext <<EOF
10085 #line 10086 "configure"
10086 #include "confdefs.h"
10096 if { (eval echo configure
:10097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10099 wx_cv_struct_pw_gecos
=yes
10102 echo "configure: failed program was:" >&5
10103 cat conftest.
$ac_ext >&5
10106 wx_cv_struct_pw_gecos
=no
10115 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
10117 if test "$wx_cv_struct_pw_gecos" = "yes"; then
10118 cat >> confdefs.h
<<\EOF
10119 #define HAVE_PW_GECOS 1
10125 echo $ac_n "checking for working const""... $ac_c" 1>&6
10126 echo "configure:10127: checking for working const" >&5
10127 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10128 echo $ac_n "(cached) $ac_c" 1>&6
10130 cat > conftest.
$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10136 /* Ultrix mips cc rejects this. */
10137 typedef int charset[2]; const charset x;
10138 /* SunOS 4.1.1 cc rejects this. */
10139 char const *const *ccp;
10141 /* NEC SVR4.0.2 mips cc rejects this. */
10142 struct point {int x, y;};
10143 static struct point const zero = {0,0};
10144 /* AIX XL C 1.02.0.0 rejects this.
10145 It does not let you subtract one const X* pointer from another in an arm
10146 of an if-expression whose if-part is not a constant expression */
10147 const char *g = "string";
10148 ccp = &g + (g ? g-g : 0);
10149 /* HPUX 7.0 cc rejects these. */
10152 ccp = (char const *const *) p;
10153 { /* SCO 3.2v4 cc rejects this. */
10155 char const *s = 0 ? (char *) 0 : (char const *) 0;
10159 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10160 int x[] = {25, 17};
10161 const int *foo = &x[0];
10164 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10165 typedef const int *iptr;
10169 { /* AIX XL C 1.02.0.0 rejects this saying
10170 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10171 struct s { int j; const int *ap[3]; };
10172 struct s *b; b->j = 5;
10174 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10175 const int foo = 10;
10180 if { (eval echo configure
:10181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10184 echo "configure: failed program was:" >&5
10185 cat conftest.
$ac_ext >&5
10192 echo "$ac_t""$ac_cv_c_const" 1>&6
10193 if test $ac_cv_c_const = no
; then
10194 cat >> confdefs.h
<<\EOF
10200 echo $ac_n "checking for inline""... $ac_c" 1>&6
10201 echo "configure:10202: checking for inline" >&5
10202 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10203 echo $ac_n "(cached) $ac_c" 1>&6
10206 for ac_kw
in inline __inline__ __inline
; do
10207 cat > conftest.
$ac_ext <<EOF
10208 #line 10209 "configure"
10209 #include "confdefs.h"
10215 if { (eval echo configure
:10216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10217 ac_cv_c_inline
=$ac_kw; break
10219 echo "configure: failed program was:" >&5
10220 cat conftest.
$ac_ext >&5
10227 echo "$ac_t""$ac_cv_c_inline" 1>&6
10228 case "$ac_cv_c_inline" in
10230 no
) cat >> confdefs.h
<<\EOF
10234 *) cat >> confdefs.h
<<EOF
10235 #define inline $ac_cv_c_inline
10241 echo $ac_n "checking size of char""... $ac_c" 1>&6
10242 echo "configure:10243: checking size of char" >&5
10243 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10244 echo $ac_n "(cached) $ac_c" 1>&6
10246 if test "$cross_compiling" = yes; then
10247 ac_cv_sizeof_char
=1
10249 cat > conftest.
$ac_ext <<EOF
10250 #line 10251 "configure"
10251 #include "confdefs.h"
10255 FILE *f=fopen("conftestval", "w");
10257 fprintf(f, "%d\n", sizeof(char));
10261 if { (eval echo configure
:10262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10263 ac_cv_sizeof_char
=`cat conftestval`
10265 echo "configure: failed program was:" >&5
10266 cat conftest.
$ac_ext >&5
10268 ac_cv_sizeof_char
=0
10274 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10275 cat >> confdefs.h
<<EOF
10276 #define SIZEOF_CHAR $ac_cv_sizeof_char
10280 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10281 echo "configure:10282: checking size of wchar_t" >&5
10282 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10283 echo $ac_n "(cached) $ac_c" 1>&6
10285 if test "$cross_compiling" = yes; then
10286 ac_cv_sizeof_wchar_t
=4
10288 cat > conftest.
$ac_ext <<EOF
10289 #line 10290 "configure"
10290 #include "confdefs.h"
10294 FILE *f=fopen("conftestval", "w");
10296 fprintf(f, "%d\n", sizeof(wchar_t));
10300 if { (eval echo configure
:10301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10302 ac_cv_sizeof_wchar_t
=`cat conftestval`
10304 echo "configure: failed program was:" >&5
10305 cat conftest.
$ac_ext >&5
10307 ac_cv_sizeof_wchar_t
=0
10313 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10314 cat >> confdefs.h
<<EOF
10315 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10319 echo $ac_n "checking size of short""... $ac_c" 1>&6
10320 echo "configure:10321: checking size of short" >&5
10321 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10322 echo $ac_n "(cached) $ac_c" 1>&6
10324 if test "$cross_compiling" = yes; then
10325 ac_cv_sizeof_short
=2
10327 cat > conftest.
$ac_ext <<EOF
10328 #line 10329 "configure"
10329 #include "confdefs.h"
10333 FILE *f=fopen("conftestval", "w");
10335 fprintf(f, "%d\n", sizeof(short));
10339 if { (eval echo configure
:10340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10341 ac_cv_sizeof_short
=`cat conftestval`
10343 echo "configure: failed program was:" >&5
10344 cat conftest.
$ac_ext >&5
10346 ac_cv_sizeof_short
=0
10352 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10353 cat >> confdefs.h
<<EOF
10354 #define SIZEOF_SHORT $ac_cv_sizeof_short
10358 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10359 echo "configure:10360: checking size of int *" >&5
10360 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10361 echo $ac_n "(cached) $ac_c" 1>&6
10363 if test "$cross_compiling" = yes; then
10364 ac_cv_sizeof_int_p
=4
10366 cat > conftest.
$ac_ext <<EOF
10367 #line 10368 "configure"
10368 #include "confdefs.h"
10372 FILE *f=fopen("conftestval", "w");
10374 fprintf(f, "%d\n", sizeof(int *));
10378 if { (eval echo configure
:10379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10380 ac_cv_sizeof_int_p
=`cat conftestval`
10382 echo "configure: failed program was:" >&5
10383 cat conftest.
$ac_ext >&5
10385 ac_cv_sizeof_int_p
=0
10391 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10392 cat >> confdefs.h
<<EOF
10393 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10397 echo $ac_n "checking size of int""... $ac_c" 1>&6
10398 echo "configure:10399: checking size of int" >&5
10399 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10400 echo $ac_n "(cached) $ac_c" 1>&6
10402 if test "$cross_compiling" = yes; then
10405 cat > conftest.
$ac_ext <<EOF
10406 #line 10407 "configure"
10407 #include "confdefs.h"
10411 FILE *f=fopen("conftestval", "w");
10413 fprintf(f, "%d\n", sizeof(int));
10417 if { (eval echo configure
:10418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10419 ac_cv_sizeof_int
=`cat conftestval`
10421 echo "configure: failed program was:" >&5
10422 cat conftest.
$ac_ext >&5
10430 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10431 cat >> confdefs.h
<<EOF
10432 #define SIZEOF_INT $ac_cv_sizeof_int
10436 echo $ac_n "checking size of long""... $ac_c" 1>&6
10437 echo "configure:10438: checking size of long" >&5
10438 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10439 echo $ac_n "(cached) $ac_c" 1>&6
10441 if test "$cross_compiling" = yes; then
10442 ac_cv_sizeof_long
=4
10444 cat > conftest.
$ac_ext <<EOF
10445 #line 10446 "configure"
10446 #include "confdefs.h"
10450 FILE *f=fopen("conftestval", "w");
10452 fprintf(f, "%d\n", sizeof(long));
10456 if { (eval echo configure
:10457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10458 ac_cv_sizeof_long
=`cat conftestval`
10460 echo "configure: failed program was:" >&5
10461 cat conftest.
$ac_ext >&5
10463 ac_cv_sizeof_long
=0
10469 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10470 cat >> confdefs.h
<<EOF
10471 #define SIZEOF_LONG $ac_cv_sizeof_long
10475 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10476 echo "configure:10477: checking size of long long" >&5
10477 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10478 echo $ac_n "(cached) $ac_c" 1>&6
10480 if test "$cross_compiling" = yes; then
10481 ac_cv_sizeof_long_long
=0
10483 cat > conftest.
$ac_ext <<EOF
10484 #line 10485 "configure"
10485 #include "confdefs.h"
10489 FILE *f=fopen("conftestval", "w");
10491 fprintf(f, "%d\n", sizeof(long long));
10495 if { (eval echo configure
:10496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10497 ac_cv_sizeof_long_long
=`cat conftestval`
10499 echo "configure: failed program was:" >&5
10500 cat conftest.
$ac_ext >&5
10502 ac_cv_sizeof_long_long
=0
10508 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10509 cat >> confdefs.h
<<EOF
10510 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10515 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10516 echo "configure:10517: checking whether byte ordering is bigendian" >&5
10517 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10518 echo $ac_n "(cached) $ac_c" 1>&6
10520 ac_cv_c_bigendian
=unknown
10521 # See if sys/param.h defines the BYTE_ORDER macro.
10522 cat > conftest.
$ac_ext <<EOF
10523 #line 10524 "configure"
10524 #include "confdefs.h"
10525 #include <sys/types.h>
10526 #include <sys/param.h>
10529 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10530 bogus endian macros
10534 if { (eval echo configure
:10535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10536 # It does; now see whether it defined to BIG_ENDIAN or not.
10537 cat > conftest.
$ac_ext <<EOF
10538 #line 10539 "configure"
10539 #include "confdefs.h"
10540 #include <sys/types.h>
10541 #include <sys/param.h>
10544 #if BYTE_ORDER != BIG_ENDIAN
10549 if { (eval echo configure
:10550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10551 ac_cv_c_bigendian
=yes
10553 echo "configure: failed program was:" >&5
10554 cat conftest.
$ac_ext >&5
10556 ac_cv_c_bigendian
=no
10560 echo "configure: failed program was:" >&5
10561 cat conftest.
$ac_ext >&5
10564 if test $ac_cv_c_bigendian = unknown
; then
10565 if test "$cross_compiling" = yes; then
10566 ac_cv_c_bigendian
=unknown
10568 cat > conftest.
$ac_ext <<EOF
10569 #line 10570 "configure"
10570 #include "confdefs.h"
10572 /* Are we little or big endian? From Harbison&Steele. */
10576 char c[sizeof (long)];
10579 exit (u.c[sizeof (long) - 1] == 1);
10582 if { (eval echo configure
:10583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10584 ac_cv_c_bigendian
=no
10586 echo "configure: failed program was:" >&5
10587 cat conftest.
$ac_ext >&5
10589 ac_cv_c_bigendian
=yes
10597 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10598 if test $ac_cv_c_bigendian = unknown
; then
10599 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
10601 if test $ac_cv_c_bigendian = yes; then
10602 cat >> confdefs.h
<<\EOF
10603 #define WORDS_BIGENDIAN 1
10610 if test "$cross_compiling" = "yes"; then
10611 cat >> confdefs.h
<<\EOF
10612 #define wxUSE_IOSTREAMH 1
10618 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10619 ac_cpp
='$CXXCPP $CPPFLAGS'
10620 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10621 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10622 cross_compiling
=$ac_cv_prog_cxx_cross
10625 for ac_hdr
in iostream
10627 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10628 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10629 echo "configure:10630: checking for $ac_hdr" >&5
10630 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10631 echo $ac_n "(cached) $ac_c" 1>&6
10633 cat > conftest.
$ac_ext <<EOF
10634 #line 10635 "configure"
10635 #include "confdefs.h"
10638 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10639 { (eval echo configure
:10640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10640 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10641 if test -z "$ac_err"; then
10643 eval "ac_cv_header_$ac_safe=yes"
10646 echo "configure: failed program was:" >&5
10647 cat conftest.
$ac_ext >&5
10649 eval "ac_cv_header_$ac_safe=no"
10653 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10654 echo "$ac_t""yes" 1>&6
10655 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10656 cat >> confdefs.h
<<EOF
10657 #define $ac_tr_hdr 1
10661 echo "$ac_t""no" 1>&6
10666 if test "x$HAVE_IOSTREAM" = x
; then
10667 cat >> confdefs.h
<<\EOF
10668 #define wxUSE_IOSTREAMH 1
10676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10677 ac_cpp
='$CPP $CPPFLAGS'
10678 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10679 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10680 cross_compiling
=$ac_cv_prog_cc_cross
10686 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10687 echo "configure:10688: checking if C++ compiler supports bool" >&5
10688 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10689 echo $ac_n "(cached) $ac_c" 1>&6
10694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10695 ac_cpp
='$CXXCPP $CPPFLAGS'
10696 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10697 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10698 cross_compiling
=$ac_cv_prog_cxx_cross
10701 cat > conftest.
$ac_ext <<EOF
10702 #line 10703 "configure"
10703 #include "confdefs.h"
10714 if { (eval echo configure
:10715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10717 cat >> confdefs.h
<<\EOF
10718 #define HAVE_BOOL 1
10724 echo "configure: failed program was:" >&5
10725 cat conftest.
$ac_ext >&5
10735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10736 ac_cpp
='$CPP $CPPFLAGS'
10737 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10738 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10739 cross_compiling
=$ac_cv_prog_cc_cross
10744 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10746 if test "$wx_cv_cpp_bool" = "yes"; then
10747 cat >> confdefs.h
<<\EOF
10748 #define HAVE_BOOL 1
10755 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10756 echo "configure:10757: checking if you need GNU extensions" >&5
10757 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10758 echo $ac_n "(cached) $ac_c" 1>&6
10761 cat > conftest.
$ac_ext <<EOF
10762 #line 10763 "configure"
10763 #include "confdefs.h"
10764 #include <features.h>
10768 #ifndef __GNU_LIBRARY__
10769 Compile error wanted
10775 if { (eval echo configure
:10776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10777 wx_cv_gnu_extensions
=yes
10779 echo "configure: failed program was:" >&5
10780 cat conftest.
$ac_ext >&5
10782 wx_cv_gnu_extensions
=no
10789 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10790 if test "$wx_cv_gnu_extensions" = "yes"; then
10791 cat >> confdefs.h
<<EOF
10792 #define _GNU_SOURCE 1
10799 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10800 echo "configure:10801: checking for wcslen in -lc" >&5
10801 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10803 echo $ac_n "(cached) $ac_c" 1>&6
10805 ac_save_LIBS
="$LIBS"
10807 cat > conftest.
$ac_ext <<EOF
10808 #line 10809 "configure"
10809 #include "confdefs.h"
10810 /* Override any gcc2 internal prototype to avoid an error. */
10811 /* We use char because int might match the return type of a gcc2
10812 builtin and then its argument prototype would still apply. */
10819 if { (eval echo configure
:10820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10821 eval "ac_cv_lib_$ac_lib_var=yes"
10823 echo "configure: failed program was:" >&5
10824 cat conftest.
$ac_ext >&5
10826 eval "ac_cv_lib_$ac_lib_var=no"
10829 LIBS
="$ac_save_LIBS"
10832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10833 echo "$ac_t""yes" 1>&6
10835 cat >> confdefs.h
<<\EOF
10836 #define HAVE_WCSLEN 1
10842 echo "$ac_t""no" 1>&6
10844 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10845 echo "configure:10846: checking for wcslen in -lw" >&5
10846 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10847 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10848 echo $ac_n "(cached) $ac_c" 1>&6
10850 ac_save_LIBS
="$LIBS"
10852 cat > conftest.
$ac_ext <<EOF
10853 #line 10854 "configure"
10854 #include "confdefs.h"
10855 /* Override any gcc2 internal prototype to avoid an error. */
10856 /* We use char because int might match the return type of a gcc2
10857 builtin and then its argument prototype would still apply. */
10864 if { (eval echo configure
:10865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10866 eval "ac_cv_lib_$ac_lib_var=yes"
10868 echo "configure: failed program was:" >&5
10869 cat conftest.
$ac_ext >&5
10871 eval "ac_cv_lib_$ac_lib_var=no"
10874 LIBS
="$ac_save_LIBS"
10877 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10878 echo "$ac_t""yes" 1>&6
10880 cat >> confdefs.h
<<\EOF
10881 #define HAVE_WCSLEN 1
10887 echo "$ac_t""no" 1>&6
10894 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10895 echo "configure:10896: checking for vprintf" >&5
10896 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10897 echo $ac_n "(cached) $ac_c" 1>&6
10899 cat > conftest.
$ac_ext <<EOF
10900 #line 10901 "configure"
10901 #include "confdefs.h"
10902 /* System header to define __stub macros and hopefully few prototypes,
10903 which can conflict with char vprintf(); below. */
10904 #include <assert.h>
10905 /* Override any gcc2 internal prototype to avoid an error. */
10906 /* We use char because int might match the return type of a gcc2
10907 builtin and then its argument prototype would still apply. */
10912 /* The GNU C library defines this for functions which it implements
10913 to always fail with ENOSYS. Some functions are actually named
10914 something starting with __ and the normal name is an alias. */
10915 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10923 if { (eval echo configure
:10924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10925 eval "ac_cv_func_vprintf=yes"
10927 echo "configure: failed program was:" >&5
10928 cat conftest.
$ac_ext >&5
10930 eval "ac_cv_func_vprintf=no"
10935 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10936 echo "$ac_t""yes" 1>&6
10937 cat >> confdefs.h
<<\EOF
10938 #define HAVE_VPRINTF 1
10942 echo "$ac_t""no" 1>&6
10945 if test "$ac_cv_func_vprintf" != yes; then
10946 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10947 echo "configure:10948: checking for _doprnt" >&5
10948 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10949 echo $ac_n "(cached) $ac_c" 1>&6
10951 cat > conftest.
$ac_ext <<EOF
10952 #line 10953 "configure"
10953 #include "confdefs.h"
10954 /* System header to define __stub macros and hopefully few prototypes,
10955 which can conflict with char _doprnt(); below. */
10956 #include <assert.h>
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 /* We use char because int might match the return type of a gcc2
10959 builtin and then its argument prototype would still apply. */
10964 /* The GNU C library defines this for functions which it implements
10965 to always fail with ENOSYS. Some functions are actually named
10966 something starting with __ and the normal name is an alias. */
10967 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10975 if { (eval echo configure
:10976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10977 eval "ac_cv_func__doprnt=yes"
10979 echo "configure: failed program was:" >&5
10980 cat conftest.
$ac_ext >&5
10982 eval "ac_cv_func__doprnt=no"
10987 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10988 echo "$ac_t""yes" 1>&6
10989 cat >> confdefs.h
<<\EOF
10990 #define HAVE_DOPRNT 1
10994 echo "$ac_t""no" 1>&6
11002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11003 ac_cpp
='$CXXCPP $CPPFLAGS'
11004 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11005 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11006 cross_compiling
=$ac_cv_prog_cxx_cross
11013 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
11014 echo "configure:11015: checking for vsnprintf" >&5
11015 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
11016 echo $ac_n "(cached) $ac_c" 1>&6
11019 cat > conftest.
$ac_ext <<EOF
11020 #line 11021 "configure"
11021 #include "confdefs.h"
11024 #include <stdarg.h>
11028 int wx_test_vsnprintf(const char *, ...);
11030 wx_test_vsnprintf("%s");
11034 int wx_test_vsnprintf(const char *fmt, ...)
11039 va_start(argp, fmt);
11040 vsnprintf(s, 42, fmt, argp);
11045 if { (eval echo configure
:11046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11048 wx_cv_func_vsnprintf
=yes
11051 echo "configure: failed program was:" >&5
11052 cat conftest.
$ac_ext >&5
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11060 #include <stdarg.h>
11064 int wx_test_vsnprintf(const char *, ...);
11066 wx_test_vsnprintf("%s");
11070 int wx_test_vsnprintf(const char *fmt, ...)
11075 va_start(argp, fmt);
11076 _vsnprintf(s, 42, fmt, argp);
11081 if { (eval echo configure
:11082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11084 wx_cv_func_vsnprintf
=yes
11087 echo "configure: failed program was:" >&5
11088 cat conftest.
$ac_ext >&5
11091 wx_cv_func_vsnprintf
=no
11101 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
11103 if test "$wx_cv_func_vsnprintf" = yes; then
11104 cat >> confdefs.h
<<\EOF
11105 #define HAVE_VSNPRINTF 1
11109 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
11112 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
11113 echo "configure:11114: checking for vsscanf" >&5
11114 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
11115 echo $ac_n "(cached) $ac_c" 1>&6
11118 cat > conftest.
$ac_ext <<EOF
11119 #line 11120 "configure"
11120 #include "confdefs.h"
11123 #include <stdarg.h>
11127 int wx_test_vsscanf(const char *, ...);
11129 wx_test_vsscanf("%d");
11133 int wx_test_vsscanf(const char *fmt, ...)
11136 va_start(argp, fmt);
11137 vsscanf("42", fmt, argp);
11142 if { (eval echo configure
:11143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11145 wx_cv_func_vsscanf
=yes
11148 echo "configure: failed program was:" >&5
11149 cat conftest.
$ac_ext >&5
11152 wx_cv_func_vsscanf
=no
11159 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
11161 if test "$wx_cv_func_vsscanf" = yes; then
11162 cat >> confdefs.h
<<\EOF
11163 #define HAVE_VSSCANF 1
11169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11170 ac_cpp
='$CPP $CPPFLAGS'
11171 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11172 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11173 cross_compiling
=$ac_cv_prog_cc_cross
11176 if test "$TOOLKIT" != "MSW"; then
11178 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
11179 for ac_func
in sigaction
11181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11182 echo "configure:11183: checking for $ac_func" >&5
11183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11184 echo $ac_n "(cached) $ac_c" 1>&6
11186 cat > conftest.
$ac_ext <<EOF
11187 #line 11188 "configure"
11188 #include "confdefs.h"
11189 /* System header to define __stub macros and hopefully few prototypes,
11190 which can conflict with char $ac_func(); below. */
11191 #include <assert.h>
11192 /* Override any gcc2 internal prototype to avoid an error. */
11193 /* We use char because int might match the return type of a gcc2
11194 builtin and then its argument prototype would still apply. */
11199 /* The GNU C library defines this for functions which it implements
11200 to always fail with ENOSYS. Some functions are actually named
11201 something starting with __ and the normal name is an alias. */
11202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11210 if { (eval echo configure
:11211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11212 eval "ac_cv_func_$ac_func=yes"
11214 echo "configure: failed program was:" >&5
11215 cat conftest.
$ac_ext >&5
11217 eval "ac_cv_func_$ac_func=no"
11222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11223 echo "$ac_t""yes" 1>&6
11224 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11225 cat >> confdefs.h
<<EOF
11226 #define $ac_tr_func 1
11230 echo "$ac_t""no" 1>&6
11235 if test "$ac_cv_func_sigaction" = "no"; then
11236 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11237 wxUSE_ON_FATAL_EXCEPTION
=no
11240 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11244 ac_cpp
='$CXXCPP $CPPFLAGS'
11245 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11246 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11247 cross_compiling
=$ac_cv_prog_cxx_cross
11250 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11251 echo "configure:11252: checking for sa_handler type" >&5
11252 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11253 echo $ac_n "(cached) $ac_c" 1>&6
11256 cat > conftest.
$ac_ext <<EOF
11257 #line 11258 "configure"
11258 #include "confdefs.h"
11259 #include <signal.h>
11262 extern void testSigHandler(int);
11264 struct sigaction sa;
11265 sa.sa_handler = testSigHandler;
11269 if { (eval echo configure
:11270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11272 wx_cv_type_sa_handler
=int
11275 echo "configure: failed program was:" >&5
11276 cat conftest.
$ac_ext >&5
11279 wx_cv_type_sa_handler
=void
11286 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11289 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11290 ac_cpp
='$CPP $CPPFLAGS'
11291 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11292 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11293 cross_compiling
=$ac_cv_prog_cc_cross
11296 cat >> confdefs.h
<<EOF
11297 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11303 for ac_func
in vfork
11305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11306 echo "configure:11307: checking for $ac_func" >&5
11307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11308 echo $ac_n "(cached) $ac_c" 1>&6
11310 cat > conftest.
$ac_ext <<EOF
11311 #line 11312 "configure"
11312 #include "confdefs.h"
11313 /* System header to define __stub macros and hopefully few prototypes,
11314 which can conflict with char $ac_func(); below. */
11315 #include <assert.h>
11316 /* Override any gcc2 internal prototype to avoid an error. */
11317 /* We use char because int might match the return type of a gcc2
11318 builtin and then its argument prototype would still apply. */
11323 /* The GNU C library defines this for functions which it implements
11324 to always fail with ENOSYS. Some functions are actually named
11325 something starting with __ and the normal name is an alias. */
11326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11334 if { (eval echo configure
:11335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11336 eval "ac_cv_func_$ac_func=yes"
11338 echo "configure: failed program was:" >&5
11339 cat conftest.
$ac_ext >&5
11341 eval "ac_cv_func_$ac_func=no"
11346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11347 echo "$ac_t""yes" 1>&6
11348 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11349 cat >> confdefs.h
<<EOF
11350 #define $ac_tr_func 1
11354 echo "$ac_t""no" 1>&6
11359 for ac_func
in timegm
11361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11362 echo "configure:11363: checking for $ac_func" >&5
11363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11364 echo $ac_n "(cached) $ac_c" 1>&6
11366 cat > conftest.
$ac_ext <<EOF
11367 #line 11368 "configure"
11368 #include "confdefs.h"
11369 /* System header to define __stub macros and hopefully few prototypes,
11370 which can conflict with char $ac_func(); below. */
11371 #include <assert.h>
11372 /* Override any gcc2 internal prototype to avoid an error. */
11373 /* We use char because int might match the return type of a gcc2
11374 builtin and then its argument prototype would still apply. */
11379 /* The GNU C library defines this for functions which it implements
11380 to always fail with ENOSYS. Some functions are actually named
11381 something starting with __ and the normal name is an alias. */
11382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11390 if { (eval echo configure
:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11392 eval "ac_cv_func_$ac_func=yes"
11394 echo "configure: failed program was:" >&5
11395 cat conftest.
$ac_ext >&5
11397 eval "ac_cv_func_$ac_func=no"
11402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11403 echo "$ac_t""yes" 1>&6
11404 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11405 cat >> confdefs.h
<<EOF
11406 #define $ac_tr_func 1
11410 echo "$ac_t""no" 1>&6
11415 for ac_func
in putenv setenv
11417 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11418 echo "configure:11419: checking for $ac_func" >&5
11419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11422 cat > conftest.
$ac_ext <<EOF
11423 #line 11424 "configure"
11424 #include "confdefs.h"
11425 /* System header to define __stub macros and hopefully few prototypes,
11426 which can conflict with char $ac_func(); below. */
11427 #include <assert.h>
11428 /* Override any gcc2 internal prototype to avoid an error. */
11429 /* We use char because int might match the return type of a gcc2
11430 builtin and then its argument prototype would still apply. */
11435 /* The GNU C library defines this for functions which it implements
11436 to always fail with ENOSYS. Some functions are actually named
11437 something starting with __ and the normal name is an alias. */
11438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11446 if { (eval echo configure
:11447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11448 eval "ac_cv_func_$ac_func=yes"
11450 echo "configure: failed program was:" >&5
11451 cat conftest.
$ac_ext >&5
11453 eval "ac_cv_func_$ac_func=no"
11458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11459 echo "$ac_t""yes" 1>&6
11460 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11461 cat >> confdefs.h
<<EOF
11462 #define $ac_tr_func 1
11466 echo "$ac_t""no" 1>&6
11471 HAVE_SOME_SLEEP_FUNC
=0
11472 if test "$USE_BEOS" = 1; then
11473 cat >> confdefs.h
<<\EOF
11474 #define HAVE_SLEEP 1
11477 HAVE_SOME_SLEEP_FUNC
=1
11480 if test "$USE_MAC" = 1; then
11481 cat >> confdefs.h
<<\EOF
11482 #define HAVE_USLEEP 1
11485 HAVE_SOME_SLEEP_FUNC
=1
11488 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11490 for ac_func
in nanosleep
11492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11493 echo "configure:11494: checking for $ac_func" >&5
11494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11495 echo $ac_n "(cached) $ac_c" 1>&6
11497 cat > conftest.
$ac_ext <<EOF
11498 #line 11499 "configure"
11499 #include "confdefs.h"
11500 /* System header to define __stub macros and hopefully few prototypes,
11501 which can conflict with char $ac_func(); below. */
11502 #include <assert.h>
11503 /* Override any gcc2 internal prototype to avoid an error. */
11504 /* We use char because int might match the return type of a gcc2
11505 builtin and then its argument prototype would still apply. */
11510 /* The GNU C library defines this for functions which it implements
11511 to always fail with ENOSYS. Some functions are actually named
11512 something starting with __ and the normal name is an alias. */
11513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11521 if { (eval echo configure
:11522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11523 eval "ac_cv_func_$ac_func=yes"
11525 echo "configure: failed program was:" >&5
11526 cat conftest.
$ac_ext >&5
11528 eval "ac_cv_func_$ac_func=no"
11533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11534 echo "$ac_t""yes" 1>&6
11535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11536 cat >> confdefs.h
<<EOF
11537 #define $ac_tr_func 1
11539 cat >> confdefs.h
<<\EOF
11540 #define HAVE_NANOSLEEP 1
11544 echo "$ac_t""no" 1>&6
11545 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11546 echo "configure:11547: checking for nanosleep in -lposix4" >&5
11547 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11551 ac_save_LIBS
="$LIBS"
11552 LIBS
="-lposix4 $LIBS"
11553 cat > conftest.
$ac_ext <<EOF
11554 #line 11555 "configure"
11555 #include "confdefs.h"
11556 /* Override any gcc2 internal prototype to avoid an error. */
11557 /* We use char because int might match the return type of a gcc2
11558 builtin and then its argument prototype would still apply. */
11565 if { (eval echo configure
:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11567 eval "ac_cv_lib_$ac_lib_var=yes"
11569 echo "configure: failed program was:" >&5
11570 cat conftest.
$ac_ext >&5
11572 eval "ac_cv_lib_$ac_lib_var=no"
11575 LIBS
="$ac_save_LIBS"
11578 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11579 echo "$ac_t""yes" 1>&6
11581 cat >> confdefs.h
<<\EOF
11582 #define HAVE_NANOSLEEP 1
11585 POSIX4_LINK
="-lposix4"
11588 echo "$ac_t""no" 1>&6
11590 for ac_func
in usleep
11592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11593 echo "configure:11594: checking for $ac_func" >&5
11594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11595 echo $ac_n "(cached) $ac_c" 1>&6
11597 cat > conftest.
$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 /* System header to define __stub macros and hopefully few prototypes,
11601 which can conflict with char $ac_func(); below. */
11602 #include <assert.h>
11603 /* Override any gcc2 internal prototype to avoid an error. */
11604 /* We use char because int might match the return type of a gcc2
11605 builtin and then its argument prototype would still apply. */
11610 /* The GNU C library defines this for functions which it implements
11611 to always fail with ENOSYS. Some functions are actually named
11612 something starting with __ and the normal name is an alias. */
11613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11621 if { (eval echo configure
:11622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11623 eval "ac_cv_func_$ac_func=yes"
11625 echo "configure: failed program was:" >&5
11626 cat conftest.
$ac_ext >&5
11628 eval "ac_cv_func_$ac_func=no"
11633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11634 echo "$ac_t""yes" 1>&6
11635 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11636 cat >> confdefs.h
<<EOF
11637 #define $ac_tr_func 1
11639 cat >> confdefs.h
<<\EOF
11640 #define HAVE_USLEEP 1
11644 echo "$ac_t""no" 1>&6
11648 echo "configure: warning: wxSleep() function will not work" 1>&2
11660 for ac_func
in uname gethostname
11662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11663 echo "configure:11664: checking for $ac_func" >&5
11664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11665 echo $ac_n "(cached) $ac_c" 1>&6
11667 cat > conftest.
$ac_ext <<EOF
11668 #line 11669 "configure"
11669 #include "confdefs.h"
11670 /* System header to define __stub macros and hopefully few prototypes,
11671 which can conflict with char $ac_func(); below. */
11672 #include <assert.h>
11673 /* Override any gcc2 internal prototype to avoid an error. */
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11680 /* The GNU C library defines this for functions which it implements
11681 to always fail with ENOSYS. Some functions are actually named
11682 something starting with __ and the normal name is an alias. */
11683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11691 if { (eval echo configure
:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11693 eval "ac_cv_func_$ac_func=yes"
11695 echo "configure: failed program was:" >&5
11696 cat conftest.
$ac_ext >&5
11698 eval "ac_cv_func_$ac_func=no"
11703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11704 echo "$ac_t""yes" 1>&6
11705 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11706 cat >> confdefs.h
<<EOF
11707 #define $ac_tr_func 1
11711 echo "$ac_t""no" 1>&6
11718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11719 ac_cpp
='$CXXCPP $CPPFLAGS'
11720 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11721 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11722 cross_compiling
=$ac_cv_prog_cxx_cross
11725 for ac_func
in strtok_r
11727 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11728 echo "configure:11729: checking for $ac_func" >&5
11729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11732 cat > conftest.
$ac_ext <<EOF
11733 #line 11734 "configure"
11734 #include "confdefs.h"
11735 /* System header to define __stub macros and hopefully few prototypes,
11736 which can conflict with char $ac_func(); below. */
11737 #include <assert.h>
11738 /* Override any gcc2 internal prototype to avoid an error. */
11742 /* We use char because int might match the return type of a gcc2
11743 builtin and then its argument prototype would still apply. */
11748 /* The GNU C library defines this for functions which it implements
11749 to always fail with ENOSYS. Some functions are actually named
11750 something starting with __ and the normal name is an alias. */
11751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11759 if { (eval echo configure
:11760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11761 eval "ac_cv_func_$ac_func=yes"
11763 echo "configure: failed program was:" >&5
11764 cat conftest.
$ac_ext >&5
11766 eval "ac_cv_func_$ac_func=no"
11771 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11772 echo "$ac_t""yes" 1>&6
11773 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11774 cat >> confdefs.h
<<EOF
11775 #define $ac_tr_func 1
11779 echo "$ac_t""no" 1>&6
11785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11786 ac_cpp
='$CPP $CPPFLAGS'
11787 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11788 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11789 cross_compiling
=$ac_cv_prog_cc_cross
11793 for ac_func
in inet_addr
11795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11796 echo "configure:11797: checking for $ac_func" >&5
11797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11798 echo $ac_n "(cached) $ac_c" 1>&6
11800 cat > conftest.
$ac_ext <<EOF
11801 #line 11802 "configure"
11802 #include "confdefs.h"
11803 /* System header to define __stub macros and hopefully few prototypes,
11804 which can conflict with char $ac_func(); below. */
11805 #include <assert.h>
11806 /* Override any gcc2 internal prototype to avoid an error. */
11807 /* We use char because int might match the return type of a gcc2
11808 builtin and then its argument prototype would still apply. */
11813 /* The GNU C library defines this for functions which it implements
11814 to always fail with ENOSYS. Some functions are actually named
11815 something starting with __ and the normal name is an alias. */
11816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11824 if { (eval echo configure
:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11826 eval "ac_cv_func_$ac_func=yes"
11828 echo "configure: failed program was:" >&5
11829 cat conftest.
$ac_ext >&5
11831 eval "ac_cv_func_$ac_func=no"
11836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11837 echo "$ac_t""yes" 1>&6
11838 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11839 cat >> confdefs.h
<<EOF
11840 #define $ac_tr_func 1
11842 cat >> confdefs.h
<<\EOF
11843 #define HAVE_INET_ADDR 1
11847 echo "$ac_t""no" 1>&6
11848 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11849 echo "configure:11850: checking for inet_addr in -lnsl" >&5
11850 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11851 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11852 echo $ac_n "(cached) $ac_c" 1>&6
11854 ac_save_LIBS
="$LIBS"
11856 cat > conftest.
$ac_ext <<EOF
11857 #line 11858 "configure"
11858 #include "confdefs.h"
11859 /* Override any gcc2 internal prototype to avoid an error. */
11860 /* We use char because int might match the return type of a gcc2
11861 builtin and then its argument prototype would still apply. */
11868 if { (eval echo configure
:11869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11870 eval "ac_cv_lib_$ac_lib_var=yes"
11872 echo "configure: failed program was:" >&5
11873 cat conftest.
$ac_ext >&5
11875 eval "ac_cv_lib_$ac_lib_var=no"
11878 LIBS
="$ac_save_LIBS"
11881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11882 echo "$ac_t""yes" 1>&6
11885 echo "$ac_t""no" 1>&6
11886 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11887 echo "configure:11888: checking for inet_addr in -lresolv" >&5
11888 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11890 echo $ac_n "(cached) $ac_c" 1>&6
11892 ac_save_LIBS
="$LIBS"
11893 LIBS
="-lresolv $LIBS"
11894 cat > conftest.
$ac_ext <<EOF
11895 #line 11896 "configure"
11896 #include "confdefs.h"
11897 /* Override any gcc2 internal prototype to avoid an error. */
11898 /* We use char because int might match the return type of a gcc2
11899 builtin and then its argument prototype would still apply. */
11906 if { (eval echo configure
:11907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11908 eval "ac_cv_lib_$ac_lib_var=yes"
11910 echo "configure: failed program was:" >&5
11911 cat conftest.
$ac_ext >&5
11913 eval "ac_cv_lib_$ac_lib_var=no"
11916 LIBS
="$ac_save_LIBS"
11919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11920 echo "$ac_t""yes" 1>&6
11924 echo "$ac_t""no" 1>&6
11936 for ac_func
in inet_aton
11938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11939 echo "configure:11940: checking for $ac_func" >&5
11940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11941 echo $ac_n "(cached) $ac_c" 1>&6
11943 cat > conftest.
$ac_ext <<EOF
11944 #line 11945 "configure"
11945 #include "confdefs.h"
11946 /* System header to define __stub macros and hopefully few prototypes,
11947 which can conflict with char $ac_func(); below. */
11948 #include <assert.h>
11949 /* Override any gcc2 internal prototype to avoid an error. */
11950 /* We use char because int might match the return type of a gcc2
11951 builtin and then its argument prototype would still apply. */
11956 /* The GNU C library defines this for functions which it implements
11957 to always fail with ENOSYS. Some functions are actually named
11958 something starting with __ and the normal name is an alias. */
11959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11967 if { (eval echo configure
:11968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11969 eval "ac_cv_func_$ac_func=yes"
11971 echo "configure: failed program was:" >&5
11972 cat conftest.
$ac_ext >&5
11974 eval "ac_cv_func_$ac_func=no"
11979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11980 echo "$ac_t""yes" 1>&6
11981 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11982 cat >> confdefs.h
<<EOF
11983 #define $ac_tr_func 1
11985 cat >> confdefs.h
<<\EOF
11986 #define HAVE_INET_ATON 1
11990 echo "$ac_t""no" 1>&6
11991 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11992 echo "configure:11993: checking for inet_aton in -l$INET_LINK" >&5
11993 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11994 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11995 echo $ac_n "(cached) $ac_c" 1>&6
11997 ac_save_LIBS
="$LIBS"
11998 LIBS
="-l$INET_LINK $LIBS"
11999 cat > conftest.
$ac_ext <<EOF
12000 #line 12001 "configure"
12001 #include "confdefs.h"
12002 /* Override any gcc2 internal prototype to avoid an error. */
12003 /* We use char because int might match the return type of a gcc2
12004 builtin and then its argument prototype would still apply. */
12011 if { (eval echo configure
:12012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12013 eval "ac_cv_lib_$ac_lib_var=yes"
12015 echo "configure: failed program was:" >&5
12016 cat conftest.
$ac_ext >&5
12018 eval "ac_cv_lib_$ac_lib_var=no"
12021 LIBS
="$ac_save_LIBS"
12024 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12025 echo "$ac_t""yes" 1>&6
12026 cat >> confdefs.h
<<\EOF
12027 #define HAVE_INET_ATON 1
12031 echo "$ac_t""no" 1>&6
12039 if test "x$INET_LINK" != "x"; then
12040 cat >> confdefs.h
<<\EOF
12041 #define HAVE_INET_ADDR 1
12044 INET_LINK
="-l$INET_LINK"
12050 cat > confcache
<<\EOF
12051 # This file is a shell script that caches the results of configure
12052 # tests run on this system so they can be shared between configure
12053 # scripts and configure runs. It is not useful on other systems.
12054 # If it contains results you don't want to keep, you may remove or edit it.
12056 # By default, configure uses ./config.cache as the cache file,
12057 # creating it if it does not exist already. You can give configure
12058 # the --cache-file=FILE option to use a different cache file; that is
12059 # what configure does when it calls configure scripts in
12060 # subdirectories, so they share the cache.
12061 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12062 # config.status only pays attention to the cache file if you give it the
12063 # --recheck option to rerun configure.
12066 # The following way of writing the cache mishandles newlines in values,
12067 # but we know of no workaround that is simple, portable, and efficient.
12068 # So, don't put newlines in cache variables' values.
12069 # Ultrix sh set writes to stderr and can't be redirected directly,
12070 # and sets the high bit in the cache file unless we assign to the vars.
12072 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12074 # `set' does not quote correctly, so add quotes (double-quote substitution
12075 # turns \\\\ into \\, and sed turns \\ into \).
12077 -e "s/'/'\\\\''/g" \
12078 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12081 # `set' quotes correctly as required by POSIX, so do not add quotes.
12082 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12085 if cmp -s $cache_file confcache
; then
12088 if test -w $cache_file; then
12089 echo "updating cache $cache_file"
12090 cat confcache
> $cache_file
12092 echo "not updating unwritable cache $cache_file"
12099 if test "$TOOLKIT" != "MSW"; then
12105 if test "$wxUSE_THREADS" = "yes" ; then
12106 if test "$wxUSE_WINE" = 1 ; then
12107 echo "configure: warning: Threads are not supported under WINE" 1>&2
12109 elif test "$USE_BEOS" = 1; then
12110 echo "configure: warning: BeOS threads are not yet supported" 1>&2
12115 if test "$wxUSE_THREADS" = "yes" ; then
12117 if test "$USE_AIX" = 1; then
12118 THREADS_LIB
=pthreads
12119 elif test "$USE_MAC" = 1; then
12120 THREADS_LIB
=cc_dynamic
12122 THREADS_LIB
=pthread
12125 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
12126 echo "configure:12127: checking for pthread_create in -l$THREADS_LIB" >&5
12127 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
12128 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12129 echo $ac_n "(cached) $ac_c" 1>&6
12131 ac_save_LIBS
="$LIBS"
12132 LIBS
="-l$THREADS_LIB $LIBS"
12133 cat > conftest.
$ac_ext <<EOF
12134 #line 12135 "configure"
12135 #include "confdefs.h"
12136 /* Override any gcc2 internal prototype to avoid an error. */
12137 /* We use char because int might match the return type of a gcc2
12138 builtin and then its argument prototype would still apply. */
12139 char pthread_create();
12145 if { (eval echo configure
:12146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12147 eval "ac_cv_lib_$ac_lib_var=yes"
12149 echo "configure: failed program was:" >&5
12150 cat conftest.
$ac_ext >&5
12152 eval "ac_cv_lib_$ac_lib_var=no"
12155 LIBS
="$ac_save_LIBS"
12158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12159 echo "$ac_t""yes" 1>&6
12161 THREADS_OBJ
="threadpsx.lo"
12162 THREADS_LINK
=$THREADS_LIB
12165 echo "$ac_t""no" 1>&6
12167 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
12168 echo "configure:12169: checking for pthread_create in -lc_r" >&5
12169 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12171 echo $ac_n "(cached) $ac_c" 1>&6
12173 ac_save_LIBS
="$LIBS"
12175 cat > conftest.
$ac_ext <<EOF
12176 #line 12177 "configure"
12177 #include "confdefs.h"
12178 /* Override any gcc2 internal prototype to avoid an error. */
12179 /* We use char because int might match the return type of a gcc2
12180 builtin and then its argument prototype would still apply. */
12181 char pthread_create();
12187 if { (eval echo configure
:12188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12189 eval "ac_cv_lib_$ac_lib_var=yes"
12191 echo "configure: failed program was:" >&5
12192 cat conftest.
$ac_ext >&5
12194 eval "ac_cv_lib_$ac_lib_var=no"
12197 LIBS
="$ac_save_LIBS"
12200 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12201 echo "$ac_t""yes" 1>&6
12203 THREADS_OBJ
="threadpsx.lo"
12207 echo "$ac_t""no" 1>&6
12209 echo $ac_n "checking for pthread_create in -lcc_dynamic""... $ac_c" 1>&6
12210 echo "configure:12211: checking for pthread_create in -lcc_dynamic" >&5
12211 ac_lib_var
=`echo cc_dynamic'_'pthread_create | sed 'y%./+-%__p_%'`
12212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12213 echo $ac_n "(cached) $ac_c" 1>&6
12215 ac_save_LIBS
="$LIBS"
12216 LIBS
="-lcc_dynamic $LIBS"
12217 cat > conftest.
$ac_ext <<EOF
12218 #line 12219 "configure"
12219 #include "confdefs.h"
12220 /* Override any gcc2 internal prototype to avoid an error. */
12221 /* We use char because int might match the return type of a gcc2
12222 builtin and then its argument prototype would still apply. */
12223 char pthread_create();
12229 if { (eval echo configure
:12230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12231 eval "ac_cv_lib_$ac_lib_var=yes"
12233 echo "configure: failed program was:" >&5
12234 cat conftest.
$ac_ext >&5
12236 eval "ac_cv_lib_$ac_lib_var=no"
12239 LIBS
="$ac_save_LIBS"
12242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12243 echo "$ac_t""yes" 1>&6
12245 THREADS_OBJ
="threadpsx.lo"
12246 THREADS_LINK
="cc_dynamic"
12249 echo "$ac_t""no" 1>&6
12251 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
12252 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
12253 echo "configure:12254: checking for sys/prctl.h" >&5
12254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12255 echo $ac_n "(cached) $ac_c" 1>&6
12257 cat > conftest.
$ac_ext <<EOF
12258 #line 12259 "configure"
12259 #include "confdefs.h"
12260 #include <sys/prctl.h>
12262 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12263 { (eval echo configure
:12264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12264 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12265 if test -z "$ac_err"; then
12267 eval "ac_cv_header_$ac_safe=yes"
12270 echo "configure: failed program was:" >&5
12271 cat conftest.
$ac_ext >&5
12273 eval "ac_cv_header_$ac_safe=no"
12277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12278 echo "$ac_t""yes" 1>&6
12280 THREADS_OBJ
="threadsgi.lo"
12283 echo "$ac_t""no" 1>&6
12296 if test -z "$THREADS_OBJ" ; then
12298 echo "configure: warning: No thread support on this system" 1>&2
12302 if test "$wxUSE_THREADS" = "yes" ; then
12303 for ac_func
in thr_setconcurrency
12305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12306 echo "configure:12307: checking for $ac_func" >&5
12307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12310 cat > conftest.
$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char $ac_func(); below. */
12315 #include <assert.h>
12316 /* Override any gcc2 internal prototype to avoid an error. */
12317 /* We use char because int might match the return type of a gcc2
12318 builtin and then its argument prototype would still apply. */
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 if { (eval echo configure
:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12336 eval "ac_cv_func_$ac_func=yes"
12338 echo "configure: failed program was:" >&5
12339 cat conftest.
$ac_ext >&5
12341 eval "ac_cv_func_$ac_func=no"
12346 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12347 echo "$ac_t""yes" 1>&6
12348 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12349 cat >> confdefs.h
<<EOF
12350 #define $ac_tr_func 1
12354 echo "$ac_t""no" 1>&6
12360 for ac_hdr
in sched.h
12362 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12364 echo "configure:12365: checking for $ac_hdr" >&5
12365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12366 echo $ac_n "(cached) $ac_c" 1>&6
12368 cat > conftest.
$ac_ext <<EOF
12369 #line 12370 "configure"
12370 #include "confdefs.h"
12373 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12374 { (eval echo configure
:12375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12375 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12376 if test -z "$ac_err"; then
12378 eval "ac_cv_header_$ac_safe=yes"
12381 echo "configure: failed program was:" >&5
12382 cat conftest.
$ac_ext >&5
12384 eval "ac_cv_header_$ac_safe=no"
12388 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12389 echo "$ac_t""yes" 1>&6
12390 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12391 cat >> confdefs.h
<<EOF
12392 #define $ac_tr_hdr 1
12396 echo "$ac_t""no" 1>&6
12401 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12402 echo "configure:12403: checking for sched_yield in -l$THREADS_LINK" >&5
12403 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12404 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12405 echo $ac_n "(cached) $ac_c" 1>&6
12407 ac_save_LIBS
="$LIBS"
12408 LIBS
="-l$THREADS_LINK $LIBS"
12409 cat > conftest.
$ac_ext <<EOF
12410 #line 12411 "configure"
12411 #include "confdefs.h"
12412 /* Override any gcc2 internal prototype to avoid an error. */
12413 /* We use char because int might match the return type of a gcc2
12414 builtin and then its argument prototype would still apply. */
12415 char sched_yield();
12421 if { (eval echo configure
:12422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12423 eval "ac_cv_lib_$ac_lib_var=yes"
12425 echo "configure: failed program was:" >&5
12426 cat conftest.
$ac_ext >&5
12428 eval "ac_cv_lib_$ac_lib_var=no"
12431 LIBS
="$ac_save_LIBS"
12434 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12435 echo "$ac_t""yes" 1>&6
12436 cat >> confdefs.h
<<\EOF
12437 #define HAVE_SCHED_YIELD 1
12441 echo "$ac_t""no" 1>&6
12442 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12443 echo "configure:12444: checking for sched_yield in -l"posix4
"" >&5
12444 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12446 echo $ac_n "(cached) $ac_c" 1>&6
12448 ac_save_LIBS
="$LIBS"
12449 LIBS
="-l"posix4
" $LIBS"
12450 cat > conftest.
$ac_ext <<EOF
12451 #line 12452 "configure"
12452 #include "confdefs.h"
12453 /* Override any gcc2 internal prototype to avoid an error. */
12454 /* We use char because int might match the return type of a gcc2
12455 builtin and then its argument prototype would still apply. */
12456 char sched_yield();
12462 if { (eval echo configure
:12463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12464 eval "ac_cv_lib_$ac_lib_var=yes"
12466 echo "configure: failed program was:" >&5
12467 cat conftest.
$ac_ext >&5
12469 eval "ac_cv_lib_$ac_lib_var=no"
12472 LIBS
="$ac_save_LIBS"
12475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12476 echo "$ac_t""yes" 1>&6
12477 cat >> confdefs.h
<<\EOF
12478 #define HAVE_SCHED_YIELD 1
12480 POSIX4_LINK
="-lposix4"
12482 echo "$ac_t""no" 1>&6
12483 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12492 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12493 echo "configure:12494: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12494 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12495 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12496 echo $ac_n "(cached) $ac_c" 1>&6
12498 ac_save_LIBS
="$LIBS"
12499 LIBS
="-l$THREADS_LINK $LIBS"
12500 cat > conftest.
$ac_ext <<EOF
12501 #line 12502 "configure"
12502 #include "confdefs.h"
12503 /* Override any gcc2 internal prototype to avoid an error. */
12504 /* We use char because int might match the return type of a gcc2
12505 builtin and then its argument prototype would still apply. */
12506 char pthread_attr_getschedpolicy();
12509 pthread_attr_getschedpolicy()
12512 if { (eval echo configure
:12513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12514 eval "ac_cv_lib_$ac_lib_var=yes"
12516 echo "configure: failed program was:" >&5
12517 cat conftest.
$ac_ext >&5
12519 eval "ac_cv_lib_$ac_lib_var=no"
12522 LIBS
="$ac_save_LIBS"
12525 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12526 echo "$ac_t""yes" 1>&6
12527 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12528 echo "configure:12529: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12529 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12530 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12531 echo $ac_n "(cached) $ac_c" 1>&6
12533 ac_save_LIBS
="$LIBS"
12534 LIBS
="-l$THREADS_LINK $LIBS"
12535 cat > conftest.
$ac_ext <<EOF
12536 #line 12537 "configure"
12537 #include "confdefs.h"
12538 /* Override any gcc2 internal prototype to avoid an error. */
12539 /* We use char because int might match the return type of a gcc2
12540 builtin and then its argument prototype would still apply. */
12541 char pthread_attr_setschedparam();
12544 pthread_attr_setschedparam()
12547 if { (eval echo configure
:12548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12549 eval "ac_cv_lib_$ac_lib_var=yes"
12551 echo "configure: failed program was:" >&5
12552 cat conftest.
$ac_ext >&5
12554 eval "ac_cv_lib_$ac_lib_var=no"
12557 LIBS
="$ac_save_LIBS"
12560 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12561 echo "$ac_t""yes" 1>&6
12562 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12563 echo "configure:12564: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12564 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12565 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12566 echo $ac_n "(cached) $ac_c" 1>&6
12568 ac_save_LIBS
="$LIBS"
12569 LIBS
="-l$THREADS_LINK $LIBS"
12570 cat > conftest.
$ac_ext <<EOF
12571 #line 12572 "configure"
12572 #include "confdefs.h"
12573 /* Override any gcc2 internal prototype to avoid an error. */
12574 /* We use char because int might match the return type of a gcc2
12575 builtin and then its argument prototype would still apply. */
12576 char sched_get_priority_max();
12579 sched_get_priority_max()
12582 if { (eval echo configure
:12583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12584 eval "ac_cv_lib_$ac_lib_var=yes"
12586 echo "configure: failed program was:" >&5
12587 cat conftest.
$ac_ext >&5
12589 eval "ac_cv_lib_$ac_lib_var=no"
12592 LIBS
="$ac_save_LIBS"
12595 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12596 echo "$ac_t""yes" 1>&6
12599 echo "$ac_t""no" 1>&6
12600 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12601 echo "configure:12602: checking for sched_get_priority_max in -l"posix4
"" >&5
12602 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12603 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12604 echo $ac_n "(cached) $ac_c" 1>&6
12606 ac_save_LIBS
="$LIBS"
12607 LIBS
="-l"posix4
" $LIBS"
12608 cat > conftest.
$ac_ext <<EOF
12609 #line 12610 "configure"
12610 #include "confdefs.h"
12611 /* Override any gcc2 internal prototype to avoid an error. */
12612 /* We use char because int might match the return type of a gcc2
12613 builtin and then its argument prototype would still apply. */
12614 char sched_get_priority_max();
12617 sched_get_priority_max()
12620 if { (eval echo configure
:12621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12622 eval "ac_cv_lib_$ac_lib_var=yes"
12624 echo "configure: failed program was:" >&5
12625 cat conftest.
$ac_ext >&5
12627 eval "ac_cv_lib_$ac_lib_var=no"
12630 LIBS
="$ac_save_LIBS"
12633 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12634 echo "$ac_t""yes" 1>&6
12637 POSIX4_LINK
="-lposix4"
12640 echo "$ac_t""no" 1>&6
12648 echo "$ac_t""no" 1>&6
12653 echo "$ac_t""no" 1>&6
12657 if test "$HAVE_PRIOR_FUNCS" = 1; then
12658 cat >> confdefs.h
<<\EOF
12659 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12663 echo "configure: warning: Setting thread priority will not work" 1>&2
12666 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12667 echo "configure:12668: checking for pthread_cancel in -l$THREADS_LINK" >&5
12668 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12669 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12670 echo $ac_n "(cached) $ac_c" 1>&6
12672 ac_save_LIBS
="$LIBS"
12673 LIBS
="-l$THREADS_LINK $LIBS"
12674 cat > conftest.
$ac_ext <<EOF
12675 #line 12676 "configure"
12676 #include "confdefs.h"
12677 /* Override any gcc2 internal prototype to avoid an error. */
12678 /* We use char because int might match the return type of a gcc2
12679 builtin and then its argument prototype would still apply. */
12680 char pthread_cancel();
12686 if { (eval echo configure
:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12688 eval "ac_cv_lib_$ac_lib_var=yes"
12690 echo "configure: failed program was:" >&5
12691 cat conftest.
$ac_ext >&5
12693 eval "ac_cv_lib_$ac_lib_var=no"
12696 LIBS
="$ac_save_LIBS"
12699 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12700 echo "$ac_t""yes" 1>&6
12701 cat >> confdefs.h
<<\EOF
12702 #define HAVE_PTHREAD_CANCEL 1
12706 echo "$ac_t""no" 1>&6
12707 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12711 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12712 echo "configure:12713: checking for pthread_cleanup_push/pop" >&5
12713 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12714 echo $ac_n "(cached) $ac_c" 1>&6
12717 cat > conftest.
$ac_ext <<EOF
12718 #line 12719 "configure"
12719 #include "confdefs.h"
12720 #include <pthread.h>
12723 pthread_cleanup_push(NULL, NULL);
12724 pthread_cleanup_pop(0);
12728 if { (eval echo configure
:12729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12731 wx_cv_func_pthread_cleanup_push
=yes
12734 echo "configure: failed program was:" >&5
12735 cat conftest.
$ac_ext >&5
12738 wx_cv_func_pthread_cleanup_push
=no
12745 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12747 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
12748 cat >> confdefs.h
<<\EOF
12749 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12755 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
12756 echo "configure:12757: checking for pthread_mutexattr_t" >&5
12757 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
12758 echo $ac_n "(cached) $ac_c" 1>&6
12761 cat > conftest.
$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12764 #include <pthread.h>
12767 pthread_mutexattr_t attr;
12768 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
12772 if { (eval echo configure
:12773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12775 wx_cv_type_pthread_mutexattr_t
=yes
12778 echo "configure: failed program was:" >&5
12779 cat conftest.
$ac_ext >&5
12782 wx_cv_type_pthread_mutexattr_t
=no
12790 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
12792 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
12793 cat >> confdefs.h
<<\EOF
12794 #define HAVE_PTHREAD_MUTEXATTR_T 1
12798 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
12799 echo "configure:12800: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
12800 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
12801 echo $ac_n "(cached) $ac_c" 1>&6
12804 cat > conftest.
$ac_ext <<EOF
12805 #line 12806 "configure"
12806 #include "confdefs.h"
12807 #include <pthread.h>
12810 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
12814 if { (eval echo configure
:12815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12817 wx_cv_type_pthread_rec_mutex_init
=yes
12820 echo "configure: failed program was:" >&5
12821 cat conftest.
$ac_ext >&5
12824 wx_cv_type_pthread_rec_mutex_init
=no
12832 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
12833 if test "$wx_cv_type_pthread_rec_mutex_init"="yes"; then
12834 cat >> confdefs.h
<<\EOF
12835 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
12839 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
12843 THREADS_LINK
="-l$THREADS_LINK"
12845 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12846 CFLAGS
="${CFLAGS} -mt"
12847 CXXFLAGS
="${CXXFLAGS} -mt"
12848 LDFLAGS
="${LDFLAGS} -mt"
12854 if test "$wxUSE_THREADS" = "yes"; then
12855 cat >> confdefs.h
<<\EOF
12856 #define wxUSE_THREADS 1
12860 if test "$wxUSE_MAC" = "0"; then
12861 CFLAGS
="${CFLAGS} -D_REENTRANT"
12862 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12867 if test "$ac_cv_func_strtok_r" = "yes"; then
12868 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12869 echo "configure:12870: checking if -D_REENTRANT is needed" >&5
12870 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12871 CFLAGS
="${CFLAGS} -D_REENTRANT"
12872 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12873 echo "$ac_t""yes" 1>&6
12875 echo "$ac_t""no" 1>&6
12880 if test "$WXGTK20" = 1 ; then
12881 cat >> confdefs.h
<<EOF
12882 #define __WXGTK20__ $WXGTK20
12888 if test "$WXGTK12" = 1 ; then
12889 cat >> confdefs.h
<<EOF
12890 #define __WXGTK12__ $WXGTK12
12895 if test "$WXGTK127" = 1 ; then
12896 cat >> confdefs.h
<<EOF
12897 #define __WXGTK127__ $WXGTK127
12902 if test "$WXWINE" = 1 ; then
12903 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12906 if test "$wxUSE_MAC" = 1 ; then
12907 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
12908 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
12909 CPPFLAGS
="${CPPFLAGS} -fno-common -fpascal-strings"
12912 if test "$wxUSE_CYGWIN" = 1 ; then
12913 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12918 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12923 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12924 wxUSE_DEBUG_INFO
=yes
12928 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12929 cat >> confdefs.h
<<\EOF
12933 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12935 if test "$wxUSE_GTK" = 1 ; then
12936 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12940 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12941 cat >> confdefs.h
<<\EOF
12942 #define wxUSE_MEMORY_TRACING 1
12945 cat >> confdefs.h
<<\EOF
12946 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12949 cat >> confdefs.h
<<\EOF
12950 #define wxUSE_DEBUG_NEW_ALWAYS 1
12953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12956 if test "$wxUSE_DMALLOC" = "yes" ; then
12957 DMALLOC_LINK
="-ldmalloc"
12961 if test "$wxUSE_PROFILE" = "yes" ; then
12967 CODE_GEN_FLAGS_CXX
=
12968 if test "$GCC" = yes ; then
12969 if test "$wxUSE_NO_RTTI" = "yes" ; then
12970 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
12972 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12973 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
12975 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12976 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12978 if test "$wxUSE_NO_DEPS" = "no" ; then
12979 DEP_INFO_FLAGS
="-MMD"
12984 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12985 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12986 if test "$wxUSE_OPTIMISE" = "no" ; then
12989 if test "$GCC" = yes ; then
12992 i586
-*-*|i686
-*-* )
12993 OPTIMISE
="${OPTIMISE} "
13003 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
13004 cat >> confdefs.h
<<\EOF
13005 #define wxUSE_ZLIB 1
13008 if test "$wxUSE_ZLIB" = "yes" ; then
13009 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
13012 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
13013 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
13014 echo "configure:13015: checking for zlib.h" >&5
13015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13016 echo $ac_n "(cached) $ac_c" 1>&6
13018 cat > conftest.
$ac_ext <<EOF
13019 #line 13020 "configure"
13020 #include "confdefs.h"
13023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13024 { (eval echo configure
:13025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13026 if test -z "$ac_err"; then
13028 eval "ac_cv_header_$ac_safe=yes"
13031 echo "configure: failed program was:" >&5
13032 cat conftest.
$ac_ext >&5
13034 eval "ac_cv_header_$ac_safe=no"
13038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13039 echo "$ac_t""yes" 1>&6
13040 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
13041 echo "configure:13042: checking for deflate in -lz" >&5
13042 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
13043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13044 echo $ac_n "(cached) $ac_c" 1>&6
13046 ac_save_LIBS
="$LIBS"
13048 cat > conftest.
$ac_ext <<EOF
13049 #line 13050 "configure"
13050 #include "confdefs.h"
13051 /* Override any gcc2 internal prototype to avoid an error. */
13052 /* We use char because int might match the return type of a gcc2
13053 builtin and then its argument prototype would still apply. */
13060 if { (eval echo configure
:13061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13062 eval "ac_cv_lib_$ac_lib_var=yes"
13064 echo "configure: failed program was:" >&5
13065 cat conftest.
$ac_ext >&5
13067 eval "ac_cv_lib_$ac_lib_var=no"
13070 LIBS
="$ac_save_LIBS"
13073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13074 echo "$ac_t""yes" 1>&6
13077 echo "$ac_t""no" 1>&6
13081 echo "$ac_t""no" 1>&6
13084 if test "x$ZLIB_LINK" = "x" ; then
13085 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
13091 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
13092 cat >> confdefs.h
<<\EOF
13093 #define wxUSE_LIBPNG 1
13096 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
13097 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
13101 if test "$wxUSE_LIBPNG" = "yes" ; then
13102 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
13105 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
13106 echo $ac_n "checking for png.h""... $ac_c" 1>&6
13107 echo "configure:13108: checking for png.h" >&5
13108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13109 echo $ac_n "(cached) $ac_c" 1>&6
13111 cat > conftest.
$ac_ext <<EOF
13112 #line 13113 "configure"
13113 #include "confdefs.h"
13116 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13117 { (eval echo configure
:13118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13118 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13119 if test -z "$ac_err"; then
13121 eval "ac_cv_header_$ac_safe=yes"
13124 echo "configure: failed program was:" >&5
13125 cat conftest.
$ac_ext >&5
13127 eval "ac_cv_header_$ac_safe=no"
13131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13132 echo "$ac_t""yes" 1>&6
13133 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
13134 echo "configure:13135: checking for png_check_sig in -lpng" >&5
13135 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
13136 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13137 echo $ac_n "(cached) $ac_c" 1>&6
13139 ac_save_LIBS
="$LIBS"
13140 LIBS
="-lpng -lz -lm $LIBS"
13141 cat > conftest.
$ac_ext <<EOF
13142 #line 13143 "configure"
13143 #include "confdefs.h"
13144 /* Override any gcc2 internal prototype to avoid an error. */
13145 /* We use char because int might match the return type of a gcc2
13146 builtin and then its argument prototype would still apply. */
13147 char png_check_sig();
13153 if { (eval echo configure
:13154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13155 eval "ac_cv_lib_$ac_lib_var=yes"
13157 echo "configure: failed program was:" >&5
13158 cat conftest.
$ac_ext >&5
13160 eval "ac_cv_lib_$ac_lib_var=no"
13163 LIBS
="$ac_save_LIBS"
13166 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13167 echo "$ac_t""yes" 1>&6
13170 echo "$ac_t""no" 1>&6
13175 echo "$ac_t""no" 1>&6
13178 if test "x$PNG_LINK" = "x" ; then
13179 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
13183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
13187 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
13188 cat >> confdefs.h
<<\EOF
13189 #define wxUSE_LIBJPEG 1
13192 if test "$wxUSE_LIBJPEG" = "yes" ; then
13193 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
13196 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
13197 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
13198 echo "configure:13199: checking for jpeglib.h" >&5
13199 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13200 echo $ac_n "(cached) $ac_c" 1>&6
13202 cat > conftest.
$ac_ext <<EOF
13203 #line 13204 "configure"
13204 #include "confdefs.h"
13205 #include <jpeglib.h>
13207 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13208 { (eval echo configure
:13209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13209 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13210 if test -z "$ac_err"; then
13212 eval "ac_cv_header_$ac_safe=yes"
13215 echo "configure: failed program was:" >&5
13216 cat conftest.
$ac_ext >&5
13218 eval "ac_cv_header_$ac_safe=no"
13222 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13223 echo "$ac_t""yes" 1>&6
13224 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
13225 echo "configure:13226: checking for jpeg_read_header in -ljpeg" >&5
13226 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
13227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13228 echo $ac_n "(cached) $ac_c" 1>&6
13230 ac_save_LIBS
="$LIBS"
13231 LIBS
="-ljpeg $LIBS"
13232 cat > conftest.
$ac_ext <<EOF
13233 #line 13234 "configure"
13234 #include "confdefs.h"
13235 /* Override any gcc2 internal prototype to avoid an error. */
13236 /* We use char because int might match the return type of a gcc2
13237 builtin and then its argument prototype would still apply. */
13238 char jpeg_read_header();
13244 if { (eval echo configure
:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13246 eval "ac_cv_lib_$ac_lib_var=yes"
13248 echo "configure: failed program was:" >&5
13249 cat conftest.
$ac_ext >&5
13251 eval "ac_cv_lib_$ac_lib_var=no"
13254 LIBS
="$ac_save_LIBS"
13257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13258 echo "$ac_t""yes" 1>&6
13261 echo "$ac_t""no" 1>&6
13265 echo "$ac_t""no" 1>&6
13268 if test "x$JPEG_LINK" = "x" ; then
13269 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
13275 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
13276 cat >> confdefs.h
<<\EOF
13277 #define wxUSE_LIBTIFF 1
13280 if test "$wxUSE_LIBTIFF" = "yes" ; then
13281 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
13284 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
13285 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
13286 echo "configure:13287: checking for tiffio.h" >&5
13287 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13288 echo $ac_n "(cached) $ac_c" 1>&6
13290 cat > conftest.
$ac_ext <<EOF
13291 #line 13292 "configure"
13292 #include "confdefs.h"
13293 #include <tiffio.h>
13295 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13296 { (eval echo configure
:13297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13297 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13298 if test -z "$ac_err"; then
13300 eval "ac_cv_header_$ac_safe=yes"
13303 echo "configure: failed program was:" >&5
13304 cat conftest.
$ac_ext >&5
13306 eval "ac_cv_header_$ac_safe=no"
13310 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13311 echo "$ac_t""yes" 1>&6
13312 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
13313 echo "configure:13314: checking for TIFFError in -ltiff" >&5
13314 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
13315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13316 echo $ac_n "(cached) $ac_c" 1>&6
13318 ac_save_LIBS
="$LIBS"
13319 LIBS
="-ltiff -lm $LIBS"
13320 cat > conftest.
$ac_ext <<EOF
13321 #line 13322 "configure"
13322 #include "confdefs.h"
13323 /* Override any gcc2 internal prototype to avoid an error. */
13324 /* We use char because int might match the return type of a gcc2
13325 builtin and then its argument prototype would still apply. */
13332 if { (eval echo configure
:13333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13334 eval "ac_cv_lib_$ac_lib_var=yes"
13336 echo "configure: failed program was:" >&5
13337 cat conftest.
$ac_ext >&5
13339 eval "ac_cv_lib_$ac_lib_var=no"
13342 LIBS
="$ac_save_LIBS"
13345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13346 echo "$ac_t""yes" 1>&6
13349 echo "$ac_t""no" 1>&6
13353 echo "$ac_t""no" 1>&6
13356 if test "x$TIFF_LINK" = "x" ; then
13357 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
13363 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
13364 cat >> confdefs.h
<<\EOF
13365 #define wxUSE_FREETYPE 1
13368 if test "$wxUSE_FREETYPE" = "yes" ; then
13369 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
13372 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13373 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13374 echo "configure:13375: checking for freetype.h" >&5
13375 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13376 echo $ac_n "(cached) $ac_c" 1>&6
13378 cat > conftest.
$ac_ext <<EOF
13379 #line 13380 "configure"
13380 #include "confdefs.h"
13381 #include <freetype.h>
13383 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13384 { (eval echo configure
:13385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13385 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13386 if test -z "$ac_err"; then
13388 eval "ac_cv_header_$ac_safe=yes"
13391 echo "configure: failed program was:" >&5
13392 cat conftest.
$ac_ext >&5
13394 eval "ac_cv_header_$ac_safe=no"
13398 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13399 echo "$ac_t""yes" 1>&6
13400 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13401 echo "configure:13402: checking for FT_Render_Glyph in -lfreetype" >&5
13402 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13404 echo $ac_n "(cached) $ac_c" 1>&6
13406 ac_save_LIBS
="$LIBS"
13407 LIBS
="-lfreetype -lm $LIBS"
13408 cat > conftest.
$ac_ext <<EOF
13409 #line 13410 "configure"
13410 #include "confdefs.h"
13411 /* Override any gcc2 internal prototype to avoid an error. */
13412 /* We use char because int might match the return type of a gcc2
13413 builtin and then its argument prototype would still apply. */
13414 char FT_Render_Glyph();
13420 if { (eval echo configure
:13421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13422 eval "ac_cv_lib_$ac_lib_var=yes"
13424 echo "configure: failed program was:" >&5
13425 cat conftest.
$ac_ext >&5
13427 eval "ac_cv_lib_$ac_lib_var=no"
13430 LIBS
="$ac_save_LIBS"
13433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13434 echo "$ac_t""yes" 1>&6
13435 FREETYPE_LINK
="-lfreetype"
13437 echo "$ac_t""no" 1>&6
13442 echo "$ac_t""no" 1>&6
13445 if test "x$FREETYPE_LINK" = "x" ; then
13446 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13451 if test "$wxUSE_OPENGL" = "yes"; then
13452 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13453 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13454 echo "configure:13455: checking for GL/gl.h" >&5
13455 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13456 echo $ac_n "(cached) $ac_c" 1>&6
13458 cat > conftest.
$ac_ext <<EOF
13459 #line 13460 "configure"
13460 #include "confdefs.h"
13463 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13464 { (eval echo configure
:13465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13465 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13466 if test -z "$ac_err"; then
13468 eval "ac_cv_header_$ac_safe=yes"
13471 echo "configure: failed program was:" >&5
13472 cat conftest.
$ac_ext >&5
13474 eval "ac_cv_header_$ac_safe=no"
13478 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13479 echo "$ac_t""yes" 1>&6
13481 cat >> confdefs.h
<<\EOF
13482 #define wxUSE_OPENGL 1
13485 cat >> confdefs.h
<<\EOF
13486 #define wxUSE_GLCANVAS 1
13489 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13490 echo "configure:13491: checking for glFlush in -lGL" >&5
13491 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13492 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13493 echo $ac_n "(cached) $ac_c" 1>&6
13495 ac_save_LIBS
="$LIBS"
13497 cat > conftest.
$ac_ext <<EOF
13498 #line 13499 "configure"
13499 #include "confdefs.h"
13500 /* Override any gcc2 internal prototype to avoid an error. */
13501 /* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13509 if { (eval echo configure
:13510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13511 eval "ac_cv_lib_$ac_lib_var=yes"
13513 echo "configure: failed program was:" >&5
13514 cat conftest.
$ac_ext >&5
13516 eval "ac_cv_lib_$ac_lib_var=no"
13519 LIBS
="$ac_save_LIBS"
13522 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13523 echo "$ac_t""yes" 1>&6
13525 OPENGL_LINK
="-lGL -lGLU"
13528 echo "$ac_t""no" 1>&6
13530 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13531 echo "configure:13532: checking for glFlush in -lMesaGL" >&5
13532 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13533 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13534 echo $ac_n "(cached) $ac_c" 1>&6
13536 ac_save_LIBS
="$LIBS"
13537 LIBS
="-lMesaGL $LIBS"
13538 cat > conftest.
$ac_ext <<EOF
13539 #line 13540 "configure"
13540 #include "confdefs.h"
13541 /* Override any gcc2 internal prototype to avoid an error. */
13542 /* We use char because int might match the return type of a gcc2
13543 builtin and then its argument prototype would still apply. */
13550 if { (eval echo configure
:13551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13552 eval "ac_cv_lib_$ac_lib_var=yes"
13554 echo "configure: failed program was:" >&5
13555 cat conftest.
$ac_ext >&5
13557 eval "ac_cv_lib_$ac_lib_var=no"
13560 LIBS
="$ac_save_LIBS"
13563 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13564 echo "$ac_t""yes" 1>&6
13566 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13569 echo "$ac_t""no" 1>&6
13577 echo "$ac_t""no" 1>&6
13584 if test "$wxUSE_GUI" = "yes"; then
13585 cat >> confdefs.h
<<\EOF
13586 #define wxUSE_GUI 1
13591 cat >> confdefs.h
<<\EOF
13592 #define wxUSE_NOGUI 1
13598 if test "$wxUSE_UNIX" = "yes"; then
13599 cat >> confdefs.h
<<\EOF
13600 #define wxUSE_UNIX 1
13606 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13607 cat >> confdefs.h
<<\EOF
13608 #define wxUSE_APPLE_IEEE 1
13613 if test "$wxUSE_WAVE" = "yes"; then
13614 cat >> confdefs.h
<<\EOF
13615 #define wxUSE_WAVE 1
13620 if test "$wxUSE_FILE" = "yes"; then
13621 cat >> confdefs.h
<<\EOF
13622 #define wxUSE_FILE 1
13627 if test "$wxUSE_FILESYSTEM" = "yes"; then
13628 cat >> confdefs.h
<<\EOF
13629 #define wxUSE_FILESYSTEM 1
13634 if test "$wxUSE_FS_INET" = "yes"; then
13635 cat >> confdefs.h
<<\EOF
13636 #define wxUSE_FS_INET 1
13641 if test "$wxUSE_FS_ZIP" = "yes"; then
13642 cat >> confdefs.h
<<\EOF
13643 #define wxUSE_FS_ZIP 1
13648 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13649 cat >> confdefs.h
<<\EOF
13650 #define wxUSE_ZIPSTREAM 1
13655 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13656 cat >> confdefs.h
<<\EOF
13657 #define wxUSE_ON_FATAL_EXCEPTION 1
13662 if test "$wxUSE_BUSYINFO" = "yes"; then
13663 cat >> confdefs.h
<<\EOF
13664 #define wxUSE_BUSYINFO 1
13669 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13670 cat >> confdefs.h
<<\EOF
13671 #define wxUSE_STD_IOSTREAM 1
13676 if test "$wxUSE_TEXTFILE" = "yes"; then
13677 if test "$wxUSE_FILE" != "yes"; then
13678 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13680 cat >> confdefs.h
<<\EOF
13681 #define wxUSE_TEXTFILE 1
13687 if test "$wxUSE_CONFIG" = "yes" ; then
13688 if test "$wxUSE_TEXTFILE" != "yes"; then
13689 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13691 cat >> confdefs.h
<<\EOF
13692 #define wxUSE_CONFIG 1
13695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13699 if test "$wxUSE_INTL" = "yes" ; then
13700 if test "$wxUSE_FILE" != "yes"; then
13701 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13703 cat >> confdefs.h
<<\EOF
13704 #define wxUSE_INTL 1
13707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13708 GUIDIST
="$GUIDIST INTL_DIST"
13712 if test "$wxUSE_LOG" = "yes"; then
13713 cat >> confdefs.h
<<\EOF
13714 #define wxUSE_LOG 1
13719 if test "$wxUSE_LONGLONG" = "yes"; then
13720 cat >> confdefs.h
<<\EOF
13721 #define wxUSE_LONGLONG 1
13726 if test "$wxUSE_GEOMETRY" = "yes"; then
13727 cat >> confdefs.h
<<\EOF
13728 #define wxUSE_GEOMETRY 1
13733 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13734 cat >> confdefs.h
<<\EOF
13735 #define wxUSE_DIALUP_MANAGER 1
13738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13741 if test "$wxUSE_STREAMS" = "yes" ; then
13742 cat >> confdefs.h
<<\EOF
13743 #define wxUSE_STREAMS 1
13749 if test "$wxUSE_TIMEDATE" = "yes"; then
13750 for ac_func
in strptime
13752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13753 echo "configure:13754: checking for $ac_func" >&5
13754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13755 echo $ac_n "(cached) $ac_c" 1>&6
13757 cat > conftest.
$ac_ext <<EOF
13758 #line 13759 "configure"
13759 #include "confdefs.h"
13760 /* System header to define __stub macros and hopefully few prototypes,
13761 which can conflict with char $ac_func(); below. */
13762 #include <assert.h>
13763 /* Override any gcc2 internal prototype to avoid an error. */
13764 /* We use char because int might match the return type of a gcc2
13765 builtin and then its argument prototype would still apply. */
13770 /* The GNU C library defines this for functions which it implements
13771 to always fail with ENOSYS. Some functions are actually named
13772 something starting with __ and the normal name is an alias. */
13773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13781 if { (eval echo configure
:13782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13783 eval "ac_cv_func_$ac_func=yes"
13785 echo "configure: failed program was:" >&5
13786 cat conftest.
$ac_ext >&5
13788 eval "ac_cv_func_$ac_func=no"
13793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13794 echo "$ac_t""yes" 1>&6
13795 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13796 cat >> confdefs.h
<<EOF
13797 #define $ac_tr_func 1
13801 echo "$ac_t""no" 1>&6
13806 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13807 echo "configure:13808: checking for timezone variable in <time.h>" >&5
13808 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13809 echo $ac_n "(cached) $ac_c" 1>&6
13812 cat > conftest.
$ac_ext <<EOF
13813 #line 13814 "configure"
13814 #include "confdefs.h"
13825 if { (eval echo configure
:13826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13828 wx_cv_var_timezone
=__timezone
13831 echo "configure: failed program was:" >&5
13832 cat conftest.
$ac_ext >&5
13835 cat > conftest.
$ac_ext <<EOF
13836 #line 13837 "configure"
13837 #include "confdefs.h"
13848 if { (eval echo configure
:13849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13851 wx_cv_var_timezone
=_timezone
13854 echo "configure: failed program was:" >&5
13855 cat conftest.
$ac_ext >&5
13858 cat > conftest.
$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13871 if { (eval echo configure
:13872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13874 wx_cv_var_timezone
=timezone
13877 echo "configure: failed program was:" >&5
13878 cat conftest.
$ac_ext >&5
13880 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13896 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13898 cat >> confdefs.h
<<EOF
13899 #define WX_TIMEZONE $wx_cv_var_timezone
13903 for ac_func
in localtime
13905 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13906 echo "configure:13907: checking for $ac_func" >&5
13907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13908 echo $ac_n "(cached) $ac_c" 1>&6
13910 cat > conftest.
$ac_ext <<EOF
13911 #line 13912 "configure"
13912 #include "confdefs.h"
13913 /* System header to define __stub macros and hopefully few prototypes,
13914 which can conflict with char $ac_func(); below. */
13915 #include <assert.h>
13916 /* Override any gcc2 internal prototype to avoid an error. */
13917 /* We use char because int might match the return type of a gcc2
13918 builtin and then its argument prototype would still apply. */
13923 /* The GNU C library defines this for functions which it implements
13924 to always fail with ENOSYS. Some functions are actually named
13925 something starting with __ and the normal name is an alias. */
13926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13934 if { (eval echo configure
:13935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13936 eval "ac_cv_func_$ac_func=yes"
13938 echo "configure: failed program was:" >&5
13939 cat conftest.
$ac_ext >&5
13941 eval "ac_cv_func_$ac_func=no"
13946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13947 echo "$ac_t""yes" 1>&6
13948 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13949 cat >> confdefs.h
<<EOF
13950 #define $ac_tr_func 1
13954 echo "$ac_t""no" 1>&6
13959 if test "$ac_cv_func_localtime" = "yes"; then
13960 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13961 echo "configure:13962: checking for tm_gmtoff in struct tm" >&5
13962 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13963 echo $ac_n "(cached) $ac_c" 1>&6
13966 cat > conftest.
$ac_ext <<EOF
13967 #line 13968 "configure"
13968 #include "confdefs.h"
13979 if { (eval echo configure
:13980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13982 wx_cv_struct_tm_has_gmtoff
=yes
13983 cat >> confdefs.h
<<\EOF
13984 #define WX_GMTOFF_IN_TM 1
13989 echo "configure: failed program was:" >&5
13990 cat conftest.
$ac_ext >&5
13992 wx_cv_struct_tm_has_gmtoff
=no
13999 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
14002 for ac_func
in gettimeofday ftime
14004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14005 echo "configure:14006: checking for $ac_func" >&5
14006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14009 cat > conftest.
$ac_ext <<EOF
14010 #line 14011 "configure"
14011 #include "confdefs.h"
14012 /* System header to define __stub macros and hopefully few prototypes,
14013 which can conflict with char $ac_func(); below. */
14014 #include <assert.h>
14015 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14022 /* The GNU C library defines this for functions which it implements
14023 to always fail with ENOSYS. Some functions are actually named
14024 something starting with __ and the normal name is an alias. */
14025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14033 if { (eval echo configure
:14034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14035 eval "ac_cv_func_$ac_func=yes"
14037 echo "configure: failed program was:" >&5
14038 cat conftest.
$ac_ext >&5
14040 eval "ac_cv_func_$ac_func=no"
14045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14046 echo "$ac_t""yes" 1>&6
14047 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14048 cat >> confdefs.h
<<EOF
14049 #define $ac_tr_func 1
14053 echo "$ac_t""no" 1>&6
14058 if test "$ac_cv_func_gettimeofday" = "yes"; then
14059 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
14060 echo "configure:14061: checking whether gettimeofday takes two arguments" >&5
14061 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
14062 echo $ac_n "(cached) $ac_c" 1>&6
14067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14068 ac_cpp
='$CXXCPP $CPPFLAGS'
14069 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14070 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14071 cross_compiling
=$ac_cv_prog_cxx_cross
14074 cat > conftest.
$ac_ext <<EOF
14075 #line 14076 "configure"
14076 #include "confdefs.h"
14078 #include <sys/time.h>
14079 #include <unistd.h>
14084 struct timezone tz;
14085 gettimeofday(&tv, &tz);
14089 if { (eval echo configure
:14090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14091 wx_cv_func_gettimeofday_has_2_args
=yes
14093 echo "configure: failed program was:" >&5
14094 cat conftest.
$ac_ext >&5
14096 cat > conftest.
$ac_ext <<EOF
14097 #line 14098 "configure"
14098 #include "confdefs.h"
14100 #include <sys/time.h>
14101 #include <unistd.h>
14110 if { (eval echo configure
:14111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14112 wx_cv_func_gettimeofday_has_2_args
=no
14114 echo "configure: failed program was:" >&5
14115 cat conftest.
$ac_ext >&5
14117 wx_cv_func_gettimeofday_has_2_args
=unknown
14125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14126 ac_cpp
='$CPP $CPPFLAGS'
14127 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14128 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14129 cross_compiling
=$ac_cv_prog_cc_cross
14134 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
14136 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
14137 cat >> confdefs.h
<<\EOF
14138 #define WX_GETTIMEOFDAY_NO_TZ 1
14144 cat >> confdefs.h
<<\EOF
14145 #define wxUSE_TIMEDATE 1
14148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
14152 if test "$TOOLKIT" != "MSW"; then
14154 if test "$wxUSE_SOCKETS" = "yes"; then
14155 echo $ac_n "checking for socket""... $ac_c" 1>&6
14156 echo "configure:14157: checking for socket" >&5
14157 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
14158 echo $ac_n "(cached) $ac_c" 1>&6
14160 cat > conftest.
$ac_ext <<EOF
14161 #line 14162 "configure"
14162 #include "confdefs.h"
14163 /* System header to define __stub macros and hopefully few prototypes,
14164 which can conflict with char socket(); below. */
14165 #include <assert.h>
14166 /* Override any gcc2 internal prototype to avoid an error. */
14167 /* We use char because int might match the return type of a gcc2
14168 builtin and then its argument prototype would still apply. */
14173 /* The GNU C library defines this for functions which it implements
14174 to always fail with ENOSYS. Some functions are actually named
14175 something starting with __ and the normal name is an alias. */
14176 #if defined (__stub_socket) || defined (__stub___socket)
14184 if { (eval echo configure
:14185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14186 eval "ac_cv_func_socket=yes"
14188 echo "configure: failed program was:" >&5
14189 cat conftest.
$ac_ext >&5
14191 eval "ac_cv_func_socket=no"
14196 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
14197 echo "$ac_t""yes" 1>&6
14200 echo "$ac_t""no" 1>&6
14201 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
14202 echo "configure:14203: checking for socket in -lsocket" >&5
14203 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
14204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14205 echo $ac_n "(cached) $ac_c" 1>&6
14207 ac_save_LIBS
="$LIBS"
14208 LIBS
="-lsocket $LIBS"
14209 cat > conftest.
$ac_ext <<EOF
14210 #line 14211 "configure"
14211 #include "confdefs.h"
14212 /* Override any gcc2 internal prototype to avoid an error. */
14213 /* We use char because int might match the return type of a gcc2
14214 builtin and then its argument prototype would still apply. */
14221 if { (eval echo configure
:14222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14223 eval "ac_cv_lib_$ac_lib_var=yes"
14225 echo "configure: failed program was:" >&5
14226 cat conftest.
$ac_ext >&5
14228 eval "ac_cv_lib_$ac_lib_var=no"
14231 LIBS
="$ac_save_LIBS"
14234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14235 echo "$ac_t""yes" 1>&6
14236 INET_LINK
="$INET_LINK -lsocket"
14238 echo "$ac_t""no" 1>&6
14240 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
14252 if test "$wxUSE_SOCKETS" = "yes" ; then
14253 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
14254 echo "configure:14255: checking what is the type of the third argument of getsockname" >&5
14255 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
14256 echo $ac_n "(cached) $ac_c" 1>&6
14261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14262 ac_cpp
='$CXXCPP $CPPFLAGS'
14263 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14264 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14265 cross_compiling
=$ac_cv_prog_cxx_cross
14268 cat > conftest.
$ac_ext <<EOF
14269 #line 14270 "configure"
14270 #include "confdefs.h"
14272 #include <sys/types.h>
14273 #include <sys/socket.h>
14278 getsockname(0, 0, &len);
14282 if { (eval echo configure
:14283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14284 wx_cv_type_getsockname3
=socklen_t
14286 echo "configure: failed program was:" >&5
14287 cat conftest.
$ac_ext >&5
14289 cat > conftest.
$ac_ext <<EOF
14290 #line 14291 "configure"
14291 #include "confdefs.h"
14293 #include <sys/types.h>
14294 #include <sys/socket.h>
14299 getsockname(0, 0, &len);
14303 if { (eval echo configure
:14304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14305 wx_cv_type_getsockname3
=size_t
14307 echo "configure: failed program was:" >&5
14308 cat conftest.
$ac_ext >&5
14310 cat > conftest.
$ac_ext <<EOF
14311 #line 14312 "configure"
14312 #include "confdefs.h"
14314 #include <sys/types.h>
14315 #include <sys/socket.h>
14320 getsockname(0, 0, &len);
14324 if { (eval echo configure
:14325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14326 wx_cv_type_getsockname3
=int
14328 echo "configure: failed program was:" >&5
14329 cat conftest.
$ac_ext >&5
14331 wx_cv_type_getsockname3
=unknown
14343 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14344 ac_cpp
='$CPP $CPPFLAGS'
14345 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14346 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14347 cross_compiling
=$ac_cv_prog_cc_cross
14352 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
14354 if test "$wx_cv_type_getsockname3" = "unknown"; then
14356 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
14358 cat >> confdefs.h
<<EOF
14359 #define SOCKLEN_T $wx_cv_type_getsockname3
14367 if test "$wxUSE_SOCKETS" = "yes" ; then
14368 cat >> confdefs.h
<<\EOF
14369 #define wxUSE_SOCKETS 1
14372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14373 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14377 if test "$wxUSE_GUI" = "yes"; then
14379 if test "$TOOLKIT" != "MSW"; then
14381 if test "$wxUSE_JOYSTICK" = "yes"; then
14382 for ac_hdr
in linux
/joystick.h
14384 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14385 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14386 echo "configure:14387: checking for $ac_hdr" >&5
14387 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14388 echo $ac_n "(cached) $ac_c" 1>&6
14390 cat > conftest.
$ac_ext <<EOF
14391 #line 14392 "configure"
14392 #include "confdefs.h"
14395 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14396 { (eval echo configure
:14397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14397 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14398 if test -z "$ac_err"; then
14400 eval "ac_cv_header_$ac_safe=yes"
14403 echo "configure: failed program was:" >&5
14404 cat conftest.
$ac_ext >&5
14406 eval "ac_cv_header_$ac_safe=no"
14410 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14411 echo "$ac_t""yes" 1>&6
14412 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14413 cat >> confdefs.h
<<EOF
14414 #define $ac_tr_hdr 1
14418 echo "$ac_t""no" 1>&6
14422 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14424 echo "configure: warning: Joystick not supported by this system" 1>&2
14430 if test "$wxUSE_JOYSTICK" = "yes"; then
14431 cat >> confdefs.h
<<\EOF
14432 #define wxUSE_JOYSTICK 1
14435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14441 if test "$TOOLKIT" != "MSW"; then
14445 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14446 if test "$USE_MAC" = 1; then
14449 for ac_func
in dlopen
14451 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14452 echo "configure:14453: checking for $ac_func" >&5
14453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14454 echo $ac_n "(cached) $ac_c" 1>&6
14456 cat > conftest.
$ac_ext <<EOF
14457 #line 14458 "configure"
14458 #include "confdefs.h"
14459 /* System header to define __stub macros and hopefully few prototypes,
14460 which can conflict with char $ac_func(); below. */
14461 #include <assert.h>
14462 /* Override any gcc2 internal prototype to avoid an error. */
14463 /* We use char because int might match the return type of a gcc2
14464 builtin and then its argument prototype would still apply. */
14469 /* The GNU C library defines this for functions which it implements
14470 to always fail with ENOSYS. Some functions are actually named
14471 something starting with __ and the normal name is an alias. */
14472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14480 if { (eval echo configure
:14481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14482 eval "ac_cv_func_$ac_func=yes"
14484 echo "configure: failed program was:" >&5
14485 cat conftest.
$ac_ext >&5
14487 eval "ac_cv_func_$ac_func=no"
14492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14493 echo "$ac_t""yes" 1>&6
14494 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14495 cat >> confdefs.h
<<EOF
14496 #define $ac_tr_func 1
14499 cat >> confdefs.h
<<\EOF
14500 #define HAVE_DLOPEN 1
14506 echo "$ac_t""no" 1>&6
14507 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14508 echo "configure:14509: checking for dlopen in -ldl" >&5
14509 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14510 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14511 echo $ac_n "(cached) $ac_c" 1>&6
14513 ac_save_LIBS
="$LIBS"
14515 cat > conftest.
$ac_ext <<EOF
14516 #line 14517 "configure"
14517 #include "confdefs.h"
14518 /* Override any gcc2 internal prototype to avoid an error. */
14519 /* We use char because int might match the return type of a gcc2
14520 builtin and then its argument prototype would still apply. */
14527 if { (eval echo configure
:14528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14529 eval "ac_cv_lib_$ac_lib_var=yes"
14531 echo "configure: failed program was:" >&5
14532 cat conftest.
$ac_ext >&5
14534 eval "ac_cv_lib_$ac_lib_var=no"
14537 LIBS
="$ac_save_LIBS"
14540 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14541 echo "$ac_t""yes" 1>&6
14543 cat >> confdefs.h
<<\EOF
14544 #define HAVE_DLOPEN 1
14551 echo "$ac_t""no" 1>&6
14553 for ac_func
in shl_load
14555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14556 echo "configure:14557: checking for $ac_func" >&5
14557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14558 echo $ac_n "(cached) $ac_c" 1>&6
14560 cat > conftest.
$ac_ext <<EOF
14561 #line 14562 "configure"
14562 #include "confdefs.h"
14563 /* System header to define __stub macros and hopefully few prototypes,
14564 which can conflict with char $ac_func(); below. */
14565 #include <assert.h>
14566 /* Override any gcc2 internal prototype to avoid an error. */
14567 /* We use char because int might match the return type of a gcc2
14568 builtin and then its argument prototype would still apply. */
14573 /* The GNU C library defines this for functions which it implements
14574 to always fail with ENOSYS. Some functions are actually named
14575 something starting with __ and the normal name is an alias. */
14576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14584 if { (eval echo configure
:14585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14586 eval "ac_cv_func_$ac_func=yes"
14588 echo "configure: failed program was:" >&5
14589 cat conftest.
$ac_ext >&5
14591 eval "ac_cv_func_$ac_func=no"
14596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14597 echo "$ac_t""yes" 1>&6
14598 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14599 cat >> confdefs.h
<<EOF
14600 #define $ac_tr_func 1
14603 cat >> confdefs.h
<<\EOF
14604 #define HAVE_SHL_LOAD 1
14610 echo "$ac_t""no" 1>&6
14611 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14612 echo "configure:14613: checking for dld in -lshl_load" >&5
14613 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14614 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14615 echo $ac_n "(cached) $ac_c" 1>&6
14617 ac_save_LIBS
="$LIBS"
14618 LIBS
="-lshl_load $LIBS"
14619 cat > conftest.
$ac_ext <<EOF
14620 #line 14621 "configure"
14621 #include "confdefs.h"
14622 /* Override any gcc2 internal prototype to avoid an error. */
14623 /* We use char because int might match the return type of a gcc2
14624 builtin and then its argument prototype would still apply. */
14631 if { (eval echo configure
:14632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14633 eval "ac_cv_lib_$ac_lib_var=yes"
14635 echo "configure: failed program was:" >&5
14636 cat conftest.
$ac_ext >&5
14638 eval "ac_cv_lib_$ac_lib_var=no"
14641 LIBS
="$ac_save_LIBS"
14644 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14645 echo "$ac_t""yes" 1>&6
14651 echo "$ac_t""no" 1>&6
14666 if test "$HAVE_DL_FUNCS" = 1; then
14667 for ac_func
in dlerror
14669 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14670 echo "configure:14671: checking for $ac_func" >&5
14671 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14672 echo $ac_n "(cached) $ac_c" 1>&6
14674 cat > conftest.
$ac_ext <<EOF
14675 #line 14676 "configure"
14676 #include "confdefs.h"
14677 /* System header to define __stub macros and hopefully few prototypes,
14678 which can conflict with char $ac_func(); below. */
14679 #include <assert.h>
14680 /* Override any gcc2 internal prototype to avoid an error. */
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14687 /* The GNU C library defines this for functions which it implements
14688 to always fail with ENOSYS. Some functions are actually named
14689 something starting with __ and the normal name is an alias. */
14690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14698 if { (eval echo configure
:14699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14700 eval "ac_cv_func_$ac_func=yes"
14702 echo "configure: failed program was:" >&5
14703 cat conftest.
$ac_ext >&5
14705 eval "ac_cv_func_$ac_func=no"
14710 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14711 echo "$ac_t""yes" 1>&6
14712 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14713 cat >> confdefs.h
<<EOF
14714 #define $ac_tr_func 1
14716 cat >> confdefs.h
<<\EOF
14717 #define HAVE_DLERROR 1
14721 echo "$ac_t""no" 1>&6
14722 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14723 echo "configure:14724: checking for dlerror in -ldl" >&5
14724 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14728 ac_save_LIBS
="$LIBS"
14730 cat > conftest.
$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14733 /* Override any gcc2 internal prototype to avoid an error. */
14734 /* We use char because int might match the return type of a gcc2
14735 builtin and then its argument prototype would still apply. */
14742 if { (eval echo configure
:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14744 eval "ac_cv_lib_$ac_lib_var=yes"
14746 echo "configure: failed program was:" >&5
14747 cat conftest.
$ac_ext >&5
14749 eval "ac_cv_lib_$ac_lib_var=no"
14752 LIBS
="$ac_save_LIBS"
14755 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14756 echo "$ac_t""yes" 1>&6
14757 cat >> confdefs.h
<<\EOF
14758 #define HAVE_DLERROR 1
14762 echo "$ac_t""no" 1>&6
14771 if test "$HAVE_DL_FUNCS" = 0; then
14772 if test "$HAVE_SHL_FUNCS" = 0; then
14773 if test "$USE_UNIX" = 1; then
14774 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14775 wxUSE_DYNLIB_CLASS
=no
14777 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14785 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14786 cat >> confdefs.h
<<\EOF
14787 #define wxUSE_DYNLIB_CLASS 1
14796 if test "$wxUSE_UNICODE" = "yes" ; then
14797 cat >> confdefs.h
<<\EOF
14798 #define wxUSE_UNICODE 1
14803 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14804 cat >> confdefs.h
<<\EOF
14805 #define wxUSE_WCSRTOMBS 1
14810 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14811 cat >> confdefs.h
<<\EOF
14812 #define wxUSE_EXPERIMENTAL_PRINTF 1
14818 if test "$wxUSE_SERIAL" = "yes" ; then
14819 cat >> confdefs.h
<<\EOF
14820 #define wxUSE_SERIAL 1
14827 if test "$wxUSE_ODBC" = "yes" ; then
14828 cat >> confdefs.h
<<\EOF
14829 #define wxUSE_ODBC 1
14832 WXODBCFLAG
="-D_IODBC_"
14833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14837 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14838 cat >> confdefs.h
<<\EOF
14839 #define wxUSE_POSTSCRIPT 1
14844 cat >> confdefs.h
<<\EOF
14845 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14849 cat >> confdefs.h
<<\EOF
14850 #define wxUSE_NORMALIZED_PS_FONTS 1
14855 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14856 cat >> confdefs.h
<<\EOF
14857 #define wxUSE_CONSTRAINTS 1
14860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14863 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14864 cat >> confdefs.h
<<\EOF
14865 #define wxUSE_MDI_ARCHITECTURE 1
14868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14871 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14872 cat >> confdefs.h
<<\EOF
14873 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14877 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14882 if test "$wxUSE_HELP" = "yes"; then
14883 cat >> confdefs.h
<<\EOF
14884 #define wxUSE_HELP 1
14887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14890 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14891 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14892 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14894 cat >> confdefs.h
<<\EOF
14895 #define wxUSE_PRINTING_ARCHITECTURE 1
14899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14902 if test "$wxUSE_PROLOGIO" = "yes" ; then
14903 cat >> confdefs.h
<<\EOF
14904 #define wxUSE_PROLOGIO 1
14909 if test "$wxUSE_RESOURCES" = "yes" ; then
14910 if test "$wxUSE_PROLOGIO" = "yes" ; then
14911 cat >> confdefs.h
<<\EOF
14912 #define wxUSE_RESOURCES 1
14915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14917 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14921 if test "$wxUSE_X_RESOURCES" = "yes"; then
14922 cat >> confdefs.h
<<\EOF
14923 #define wxUSE_X_RESOURCES 1
14929 if test "$wxUSE_IPC" = "yes"; then
14930 if test "$wxUSE_SOCKETS" != "yes"; then
14931 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14934 cat >> confdefs.h
<<\EOF
14935 #define wxUSE_IPC 1
14940 if test "$wxUSE_CLIPBOARD" = "yes"; then
14941 cat >> confdefs.h
<<\EOF
14942 #define wxUSE_CLIPBOARD 1
14947 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14948 if test "$wxUSE_GTK" = 1; then
14949 if test "$WXGTK12" != 1; then
14950 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14951 wxUSE_DRAG_AND_DROP
=no
14955 if test "$wxUSE_MOTIF" = 1; then
14956 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14957 wxUSE_DRAG_AND_DROP
=no
14960 if test "$wxUSE_MAC" = 1; then
14961 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
14962 wxUSE_DRAG_AND_DROP
=no
14965 if test "$USE_WIN32" = 1; then
14967 for ac_hdr
in ole2.h
14969 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14970 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14971 echo "configure:14972: checking for $ac_hdr" >&5
14972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14973 echo $ac_n "(cached) $ac_c" 1>&6
14975 cat > conftest.
$ac_ext <<EOF
14976 #line 14977 "configure"
14977 #include "confdefs.h"
14980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14981 { (eval echo configure
:14982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14983 if test -z "$ac_err"; then
14985 eval "ac_cv_header_$ac_safe=yes"
14988 echo "configure: failed program was:" >&5
14989 cat conftest.
$ac_ext >&5
14991 eval "ac_cv_header_$ac_safe=no"
14995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14996 echo "$ac_t""yes" 1>&6
14997 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14998 cat >> confdefs.h
<<EOF
14999 #define $ac_tr_hdr 1
15003 echo "$ac_t""no" 1>&6
15008 if test "$ac_cv_header_ole2_h" = "yes" ; then
15009 if test "$GCC" = yes ; then
15010 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
15011 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
15012 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
15013 LIBS
="$LIBS -lole32 -luuid"
15015 if test "$wxUSE_METAFILE" = "yes"; then
15016 cat >> confdefs.h
<<\EOF
15017 #define wxUSE_METAFILE 1
15020 cat >> confdefs.h
<<\EOF
15021 #define wxUSE_ENH_METAFILE 1
15027 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
15028 wxUSE_DRAG_AND_DROP
=no
15032 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
15033 cat >> confdefs.h
<<\EOF
15034 #define wxUSE_DRAG_AND_DROP 1
15037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
15042 if test "$wxUSE_SPLINES" = "yes" ; then
15043 cat >> confdefs.h
<<\EOF
15044 #define wxUSE_SPLINES 1
15050 if test "$wxUSE_ACCEL" = "yes"; then
15051 cat >> confdefs.h
<<\EOF
15052 #define wxUSE_ACCEL 1
15057 if test "$wxUSE_CARET" = "yes"; then
15058 cat >> confdefs.h
<<\EOF
15059 #define wxUSE_CARET 1
15062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
15065 if test "$wxUSE_COMBOBOX" = "yes"; then
15066 cat >> confdefs.h
<<\EOF
15067 #define wxUSE_COMBOBOX 1
15072 if test "$wxUSE_CHOICE" = "yes"; then
15073 cat >> confdefs.h
<<\EOF
15074 #define wxUSE_CHOICE 1
15079 if test "$wxUSE_BMPBUTTON" = "yes"; then
15080 cat >> confdefs.h
<<\EOF
15081 #define wxUSE_BMPBUTTON 1
15086 if test "$wxUSE_CHECKBOX" = "yes"; then
15087 cat >> confdefs.h
<<\EOF
15088 #define wxUSE_CHECKBOX 1
15093 if test "$wxUSE_CHECKLST" = "yes"; then
15094 cat >> confdefs.h
<<\EOF
15095 #define wxUSE_CHECKLISTBOX 1
15098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
15101 if test "$wxUSE_GAUGE" = "yes"; then
15102 cat >> confdefs.h
<<\EOF
15103 #define wxUSE_GAUGE 1
15108 if test "$wxUSE_NEW_GRID" = "yes"; then
15110 cat >> confdefs.h
<<\EOF
15111 #define wxUSE_NEW_GRID 1
15114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
15117 if test "$wxUSE_GRID" = "yes"; then
15118 cat >> confdefs.h
<<\EOF
15119 #define wxUSE_GRID 1
15122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
15125 if test "$wxUSE_IMAGLIST" = "yes"; then
15126 cat >> confdefs.h
<<\EOF
15127 #define wxUSE_IMAGLIST 1
15132 if test "$wxUSE_LISTBOX" = "yes"; then
15133 cat >> confdefs.h
<<\EOF
15134 #define wxUSE_LISTBOX 1
15139 if test "$wxUSE_LISTCTRL" = "yes"; then
15140 if test "$wxUSE_IMAGLIST" = "yes"; then
15141 cat >> confdefs.h
<<\EOF
15142 #define wxUSE_LISTCTRL 1
15145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
15147 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
15151 if test "$wxUSE_NOTEBOOK" = "yes"; then
15152 cat >> confdefs.h
<<\EOF
15153 #define wxUSE_NOTEBOOK 1
15156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
15159 if test "$wxUSE_RADIOBOX" = "yes"; then
15160 cat >> confdefs.h
<<\EOF
15161 #define wxUSE_RADIOBOX 1
15166 if test "$wxUSE_RADIOBTN" = "yes"; then
15167 cat >> confdefs.h
<<\EOF
15168 #define wxUSE_RADIOBTN 1
15173 if test "$wxUSE_SASH" = "yes"; then
15174 cat >> confdefs.h
<<\EOF
15175 #define wxUSE_SASH 1
15178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
15181 if test "$wxUSE_SCROLLBAR" = "yes"; then
15182 cat >> confdefs.h
<<\EOF
15183 #define wxUSE_SCROLLBAR 1
15186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
15189 if test "$wxUSE_SLIDER" = "yes"; then
15190 cat >> confdefs.h
<<\EOF
15191 #define wxUSE_SLIDER 1
15196 if test "$wxUSE_SPINBTN" = "yes"; then
15197 cat >> confdefs.h
<<\EOF
15198 #define wxUSE_SPINBTN 1
15203 if test "$wxUSE_SPINCTRL" = "yes"; then
15204 cat >> confdefs.h
<<\EOF
15205 #define wxUSE_SPINCTRL 1
15210 if test "$wxUSE_SPLITTER" = "yes"; then
15211 cat >> confdefs.h
<<\EOF
15212 #define wxUSE_SPLITTER 1
15215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
15218 if test "$wxUSE_STATBMP" = "yes"; then
15219 cat >> confdefs.h
<<\EOF
15220 #define wxUSE_STATBMP 1
15225 if test "$wxUSE_STATBOX" = "yes"; then
15226 cat >> confdefs.h
<<\EOF
15227 #define wxUSE_STATBOX 1
15232 if test "$wxUSE_STATLINE" = "yes"; then
15233 if test "$wxUSE_WINE" = 1 ; then
15234 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
15236 cat >> confdefs.h
<<\EOF
15237 #define wxUSE_STATLINE 1
15243 if test "$wxUSE_STATUSBAR" = "yes"; then
15244 cat >> confdefs.h
<<\EOF
15245 #define wxUSE_STATUSBAR 1
15249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
15252 if test "$wxUSE_TABDIALOG" = "yes"; then
15253 cat >> confdefs.h
<<\EOF
15254 #define wxUSE_TAB_DIALOG 1
15257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
15260 if test "$wxUSE_TOGGLEBTN" = "yes"; then
15261 cat >> confdefs.h
<<\EOF
15262 #define wxUSE_TOGGLEBTN 1
15267 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
15268 cat >> confdefs.h
<<\EOF
15269 #define wxUSE_TOOLBAR_SIMPLE 1
15272 wxUSE_TOOLBAR
="yes"
15275 if test "$wxUSE_TOOLBAR" = "yes"; then
15276 cat >> confdefs.h
<<\EOF
15277 #define wxUSE_TOOLBAR 1
15281 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
15282 wxUSE_TOOLBAR_NATIVE
="yes"
15285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
15288 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
15289 cat >> confdefs.h
<<\EOF
15290 #define wxUSE_TOOLBAR_NATIVE 1
15295 if test "$wxUSE_TOOLTIPS" = "yes"; then
15296 if test "$wxUSE_MOTIF" = 1; then
15297 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
15299 if test "$wxUSE_WINE" = 1; then
15300 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
15302 cat >> confdefs.h
<<\EOF
15303 #define wxUSE_TOOLTIPS 1
15310 if test "$wxUSE_TREECTRL" = "yes"; then
15311 if test "$wxUSE_IMAGLIST" = "yes"; then
15312 cat >> confdefs.h
<<\EOF
15313 #define wxUSE_TREECTRL 1
15316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
15318 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
15324 if test "$wxUSE_DIRDLG" = "yes"; then
15325 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15326 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
15328 if test "$wxUSE_TREECTRL" != "yes"; then
15329 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
15331 cat >> confdefs.h
<<\EOF
15332 #define wxUSE_DIRDLG 1
15339 if test "$wxUSE_TEXTDLG" = "yes"; then
15340 cat >> confdefs.h
<<\EOF
15341 #define wxUSE_TEXTDLG 1
15346 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
15347 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15348 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
15350 cat >> confdefs.h
<<\EOF
15351 #define wxUSE_STARTUP_TIPS 1
15357 if test "$wxUSE_PROGRESSDLG" = "yes"; then
15358 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15359 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
15361 cat >> confdefs.h
<<\EOF
15362 #define wxUSE_PROGRESSDLG 1
15368 if test "$wxUSE_MINIFRAME" = "yes"; then
15369 cat >> confdefs.h
<<\EOF
15370 #define wxUSE_MINIFRAME 1
15373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
15376 if test "$wxUSE_HTML" = "yes"; then
15377 cat >> confdefs.h
<<\EOF
15378 #define wxUSE_HTML 1
15381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
15382 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
15385 if test "$wxUSE_VALIDATORS" = "yes"; then
15386 cat >> confdefs.h
<<\EOF
15387 #define wxUSE_VALIDATORS 1
15390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15393 if test "$wxUSE_IMAGE" = "yes" ; then
15394 cat >> confdefs.h
<<\EOF
15395 #define wxUSE_IMAGE 1
15400 if test "$wxUSE_GIF" = "yes" ; then
15401 cat >> confdefs.h
<<\EOF
15402 #define wxUSE_GIF 1
15407 if test "$wxUSE_PCX" = "yes" ; then
15408 cat >> confdefs.h
<<\EOF
15409 #define wxUSE_PCX 1
15414 if test "$wxUSE_PNM" = "yes" ; then
15415 cat >> confdefs.h
<<\EOF
15416 #define wxUSE_PNM 1
15421 if test "$wxUSE_XPM" = "yes" ; then
15422 cat >> confdefs.h
<<\EOF
15423 #define wxUSE_XPM 1
15429 if test "$cross_compiling" = "yes"; then
15432 OSINFO
=`uname -s -r -m`
15433 OSINFO
="\"$OSINFO\""
15436 cat >> confdefs.h
<<EOF
15437 #define WXWIN_OS_DESCRIPTION $OSINFO
15442 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15443 OPENGL_LIBS
="$OPENGL_LINK"
15445 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15446 if test "$USE_MAC" = 1 ; then
15447 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
15449 if test "$wxUSE_GUI" = "yes"; then
15450 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15453 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15455 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15457 if test "$wxUSE_GTK" = 1; then
15458 WXCONFIG_INCLUDE
=""
15460 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15463 if test "$GXX" = yes ; then
15464 CXXWARNINGS
="-Wall"
15466 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15468 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15469 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15471 LDFLAGS
="$LDFLAGS $PROFILE"
15473 if test "$wxUSE_GUI" = "yes"; then
15475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
15476 drawing dynamic event font fractal image menu \
15479 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15484 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15571 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15572 echo "configure:15573: checking whether ${MAKE-make} sets \${MAKE}" >&5
15573 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15574 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15575 echo $ac_n "(cached) $ac_c" 1>&6
15577 cat > conftestmake
<<\EOF
15579 @
echo 'ac_maketemp="${MAKE}"'
15581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15582 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15583 if test -n "$ac_maketemp"; then
15584 eval ac_cv_prog_make_
${ac_make}_set
=yes
15586 eval ac_cv_prog_make_
${ac_make}_set
=no
15590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15591 echo "$ac_t""yes" 1>&6
15594 echo "$ac_t""no" 1>&6
15595 SET_MAKE
="MAKE=${MAKE-make}"
15599 if test -d include
; then
15600 if test -d include
/wx
; then
15601 if test -d include
/wx
/${TOOLKIT_DIR}; then
15602 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15603 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15611 if test "$wxUSE_GUI" = "yes"; then
15612 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15613 wx_cv_path_ifs
=$PATH_IFS
15614 wx_cv_program_ext
=$PROGRAM_EXT
15615 wx_cv_target_library
=$WX_TARGET_LIBRARY
15616 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15617 subdirs
="demos samples utils contrib"
15622 cat > confcache
<<\EOF
15623 # This file is a shell script that caches the results of configure
15624 # tests run on this system so they can be shared between configure
15625 # scripts and configure runs. It is not useful on other systems.
15626 # If it contains results you don't want to keep, you may remove or edit it.
15628 # By default, configure uses ./config.cache as the cache file,
15629 # creating it if it does not exist already. You can give configure
15630 # the --cache-file=FILE option to use a different cache file; that is
15631 # what configure does when it calls configure scripts in
15632 # subdirectories, so they share the cache.
15633 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15634 # config.status only pays attention to the cache file if you give it the
15635 # --recheck option to rerun configure.
15638 # The following way of writing the cache mishandles newlines in values,
15639 # but we know of no workaround that is simple, portable, and efficient.
15640 # So, don't put newlines in cache variables' values.
15641 # Ultrix sh set writes to stderr and can't be redirected directly,
15642 # and sets the high bit in the cache file unless we assign to the vars.
15644 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15646 # `set' does not quote correctly, so add quotes (double-quote substitution
15647 # turns \\\\ into \\, and sed turns \\ into \).
15649 -e "s/'/'\\\\''/g" \
15650 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15653 # `set' quotes correctly as required by POSIX, so do not add quotes.
15654 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15657 if cmp -s $cache_file confcache
; then
15660 if test -w $cache_file; then
15661 echo "updating cache $cache_file"
15662 cat confcache
> $cache_file
15664 echo "not updating unwritable cache $cache_file"
15669 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15671 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15672 # Let make expand exec_prefix.
15673 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15675 # Any assignment to VPATH causes Sun make to only execute
15676 # the first set of double-colon rules, so remove it if not needed.
15677 # If there is a colon in the path, we need to keep it.
15678 if test "x$srcdir" = x.
; then
15679 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15682 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15684 DEFS
=-DHAVE_CONFIG_H
15686 # Without the "./", some shells look in PATH for config.status.
15687 : ${CONFIG_STATUS=./config.status}
15689 echo creating
$CONFIG_STATUS
15690 rm -f $CONFIG_STATUS
15691 cat > $CONFIG_STATUS <<EOF
15693 # Generated automatically by configure.
15694 # Run this file to recreate the current configuration.
15695 # This directory was configured as follows,
15696 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15698 # $0 $ac_configure_args
15700 # Compiler output produced by configure, useful for debugging
15701 # configure, is in ./config.log if it exists.
15703 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15706 case "\$ac_option" in
15707 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15708 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15709 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15710 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15711 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15713 -help | --help | --hel | --he | --h)
15714 echo "\$ac_cs_usage"; exit 0 ;;
15715 *) echo "\$ac_cs_usage"; exit 1 ;;
15719 ac_given_srcdir=$srcdir
15720 ac_given_INSTALL="$INSTALL"
15722 trap 'rm -fr `echo "
15728 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15730 cat >> $CONFIG_STATUS <<EOF
15732 # Protect against being on the right side of a sed subst in config.status.
15733 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15734 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15738 s%@CFLAGS@%$CFLAGS%g
15739 s%@CPPFLAGS@%$CPPFLAGS%g
15740 s%@CXXFLAGS@%$CXXFLAGS%g
15741 s%@FFLAGS@%$FFLAGS%g
15743 s%@LDFLAGS@%$LDFLAGS%g
15745 s%@exec_prefix@%$exec_prefix%g
15746 s%@prefix@%$prefix%g
15747 s%@program_transform_name@%$program_transform_name%g
15748 s%@bindir@%$bindir%g
15749 s%@sbindir@%$sbindir%g
15750 s%@libexecdir@%$libexecdir%g
15751 s%@datadir@%$datadir%g
15752 s%@sysconfdir@%$sysconfdir%g
15753 s%@sharedstatedir@%$sharedstatedir%g
15754 s%@localstatedir@%$localstatedir%g
15755 s%@libdir@%$libdir%g
15756 s%@includedir@%$includedir%g
15757 s%@oldincludedir@%$oldincludedir%g
15758 s%@infodir@%$infodir%g
15759 s%@mandir@%$mandir%g
15761 s%@host_alias@%$host_alias%g
15762 s%@host_cpu@%$host_cpu%g
15763 s%@host_vendor@%$host_vendor%g
15764 s%@host_os@%$host_os%g
15765 s%@target@%$target%g
15766 s%@target_alias@%$target_alias%g
15767 s%@target_cpu@%$target_cpu%g
15768 s%@target_vendor@%$target_vendor%g
15769 s%@target_os@%$target_os%g
15771 s%@build_alias@%$build_alias%g
15772 s%@build_cpu@%$build_cpu%g
15773 s%@build_vendor@%$build_vendor%g
15774 s%@build_os@%$build_os%g
15778 s%@CXXCPP@%$CXXCPP%g
15779 s%@RANLIB@%$RANLIB%g
15781 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15782 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15783 s%@INSTALL_DATA@%$INSTALL_DATA%g
15787 s%@LEXLIB@%$LEXLIB%g
15789 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15790 s%@GTK_CONFIG@%$GTK_CONFIG%g
15791 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15792 s%@GTK_LIBS@%$GTK_LIBS%g
15793 s%@X_CFLAGS@%$X_CFLAGS%g
15794 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15795 s%@X_LIBS@%$X_LIBS%g
15796 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15797 s%@LEX_STEM@%$LEX_STEM%g
15798 s%@PATH_IFS@%$PATH_IFS%g
15799 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15800 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15801 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15802 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15803 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15804 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15805 s%@WX_LIBRARY@%$WX_LIBRARY%g
15806 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15807 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15808 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15809 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15810 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15811 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15812 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15813 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15814 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15815 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15816 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15817 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15818 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15819 s%@WX_ALL@%$WX_ALL%g
15820 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15821 s%@SHARED_LD@%$SHARED_LD%g
15822 s%@PIC_FLAG@%$PIC_FLAG%g
15823 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15824 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15825 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
15826 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15827 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15828 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15829 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15830 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15831 s%@USE_GUI@%$USE_GUI%g
15832 s%@AFMINSTALL@%$AFMINSTALL%g
15833 s%@TOOLKIT@%$TOOLKIT%g
15834 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15835 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15836 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15837 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15838 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15839 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15840 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15841 s%@GUIDIST@%$GUIDIST%g
15842 s%@PORT_FILES@%$PORT_FILES%g
15843 s%@DISTDIR@%$DISTDIR%g
15844 s%@RPM_SPEC@%$RPM_SPEC%g
15845 s%@RPM_FILES@%$RPM_FILES%g
15846 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15847 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15848 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15849 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15850 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15851 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15852 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15853 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15854 s%@EXTRADEFS@%$EXTRADEFS%g
15855 s%@LD_LIBS@%$LD_LIBS%g
15856 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15857 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15858 s%@RESPROGRAM@%$RESPROGRAM%g
15859 s%@RESCOMP@%$RESCOMP%g
15860 s%@RESFLAGS@%$RESFLAGS%g
15861 s%@DLLTOOL@%$DLLTOOL%g
15865 s%@MAKEINFO@%$MAKEINFO%g
15866 s%@SET_MAKE@%$SET_MAKE%g
15867 s%@subdirs@%$subdirs%g
15872 cat >> $CONFIG_STATUS <<\EOF
15874 # Split the substitutions into bite-sized pieces for seds with
15875 # small command number limits, like on Digital OSF/1 and HP-UX.
15876 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15877 ac_file
=1 # Number of current file.
15878 ac_beg
=1 # First line for current file.
15879 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15882 while $ac_more_lines; do
15883 if test $ac_beg -gt 1; then
15884 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15886 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15888 if test ! -s conftest.s
$ac_file; then
15889 ac_more_lines
=false
15890 rm -f conftest.s
$ac_file
15892 if test -z "$ac_sed_cmds"; then
15893 ac_sed_cmds
="sed -f conftest.s$ac_file"
15895 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15897 ac_file
=`expr $ac_file + 1`
15899 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15902 if test -z "$ac_sed_cmds"; then
15907 cat >> $CONFIG_STATUS <<EOF
15909 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15916 cat >> $CONFIG_STATUS <<\EOF
15917 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15918 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15920 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15921 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15922 *) ac_file_in
="${ac_file}.in" ;;
15925 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15927 # Remove last slash and all that follows it. Not all systems have dirname.
15928 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15929 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15930 # The file is in a subdirectory.
15931 test ! -d "$ac_dir" && mkdir "$ac_dir"
15932 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15933 # A "../" for each directory in $ac_dir_suffix.
15934 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15936 ac_dir_suffix
= ac_dots
=
15939 case "$ac_given_srcdir" in
15941 if test -z "$ac_dots"; then top_srcdir
=.
15942 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15943 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15944 *) # Relative path.
15945 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15946 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15949 case "$ac_given_INSTALL" in
15950 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15951 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15954 echo creating
"$ac_file"
15956 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15958 *Makefile
*) ac_comsub
="1i\\
15959 # $configure_input" ;;
15963 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15965 s%@configure_input@%$configure_input%g
15966 s%@srcdir@%$srcdir%g
15967 s%@top_srcdir@%$top_srcdir%g
15968 s%@INSTALL@%$INSTALL%g
15969 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15973 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15974 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15976 # ac_d sets the value in "#define NAME VALUE" lines.
15977 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15978 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15981 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15982 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15983 ac_uB
='\([ ]\)%\1#\2define\3'
15986 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15987 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15988 ac_eB
='$%\1#\2define\3'
15992 if test "${CONFIG_HEADERS+set}" != set; then
15994 cat >> $CONFIG_STATUS <<EOF
15995 CONFIG_HEADERS="setup.h:setup.h.in"
15997 cat >> $CONFIG_STATUS <<\EOF
15999 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
16000 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16002 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
16003 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16004 *) ac_file_in
="${ac_file}.in" ;;
16007 echo creating
$ac_file
16009 rm -f conftest.frag conftest.
in conftest.out
16010 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
16011 cat $ac_file_inputs > conftest.
in
16015 # Transform confdefs.h into a sed script conftest.vals that substitutes
16016 # the proper values into config.h.in to produce config.h. And first:
16017 # Protect against being on the right side of a sed subst in config.status.
16018 # Protect against being in an unquoted here document in config.status.
16019 rm -f conftest.vals
16020 cat > conftest.hdr
<<\EOF
16023 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
16027 sed -n -f conftest.hdr confdefs.h > conftest.vals
16030 # This sed command replaces #undef with comments. This is necessary, for
16031 # example, in the case of _POSIX_SOURCE, which is predefined and required
16032 # on some systems where configure will not decide to define it.
16033 cat >> conftest.vals <<\EOF
16034 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
16037 # Break up conftest.vals because some shells have a limit on
16038 # the size of here documents, and old seds have small limits too.
16040 rm -f conftest.tail
16043 ac_lines=`grep -c . conftest.vals
`
16044 # grep -c gives empty output for an empty file on some AIX systems.
16045 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
16046 # Write a limited-size here document to conftest.frag.
16047 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
16048 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
16050 sed -f conftest.frag conftest.in > conftest.out
16052 mv conftest.out conftest.in
16053 ' >> $CONFIG_STATUS
16054 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
16055 rm -f conftest.vals
16056 mv conftest.tail conftest.vals
16058 rm -f conftest.vals
16060 cat >> $CONFIG_STATUS <<\EOF
16061 rm -f conftest.frag conftest.h
16062 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
16063 cat conftest.in >> conftest.h
16065 if cmp -s $ac_file conftest.h 2>/dev/null; then
16066 echo "$ac_file is unchanged"
16069 # Remove last slash and all that follows it. Not all systems have dirname.
16070 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
16071 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
16072 # The file is in a subdirectory.
16073 test ! -d "$ac_dir" && mkdir "$ac_dir"
16076 mv conftest.h $ac_file
16081 cat >> $CONFIG_STATUS <<EOF
16083 TOOLKIT_DIR="${TOOLKIT_DIR}"
16084 TOOLKIT_NAME="${TOOLKIT_NAME}"
16089 cat >> $CONFIG_STATUS <<\EOF
16092 mv wx-config wx${TOOLKIT_NAME}-config
16093 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
16096 if test ! -d lib; then
16099 if test ! -d lib/wx; then
16102 if test ! -d lib/wx/include; then
16103 mkdir lib/wx/include
16105 if test ! -d lib/wx/include/wx; then
16106 mkdir lib/wx/include/wx
16108 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
16109 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
16111 if test -f setup.h; then
16112 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
16116 if test ! -d include; then
16119 if test ! -d include/wx; then
16122 if test ! -d include/wx/${TOOLKIT_DIR}; then
16123 mkdir include/wx/${TOOLKIT_DIR}
16125 if test -f setup.h; then
16126 cp -fp setup.h include/wx/${TOOLKIT_DIR}/setup.h
16132 chmod +x $CONFIG_STATUS
16133 rm -fr confdefs* $ac_clean_files
16134 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
16136 if test "$no_recursion" != yes; then
16138 # Remove --cache-file and --srcdir arguments so they do not pile up.
16139 ac_sub_configure_args=
16141 for ac_arg in $ac_configure_args; do
16142 if test -n "$ac_prev"; then
16147 -cache-file | --cache-file | --cache-fil | --cache-fi \
16148 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16149 ac_prev=cache_file ;;
16150 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16151 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
16153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16157 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
16161 for ac_config_dir in demos samples utils contrib; do
16163 # Do not complain, so a configure script can configure whichever
16164 # parts of a large source tree are present.
16165 if test ! -d $srcdir/$ac_config_dir; then
16169 echo configuring in $ac_config_dir
16174 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
16176 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
16184 # A "../" for each directory in /$ac_config_dir.
16185 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
16188 .) # No --srcdir option. We are building in place.
16189 ac_sub_srcdir=$srcdir ;;
16190 /*) # Absolute path.
16191 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
16192 *) # Relative path.
16193 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
16196 # Check for guested configure; otherwise get Cygnus style configure.
16197 if test -f $ac_sub_srcdir/configure; then
16198 ac_sub_configure=$ac_sub_srcdir/configure
16199 elif test -f $ac_sub_srcdir/configure.in; then
16200 ac_sub_configure=$ac_configure
16202 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
16206 # The recursion is here.
16207 if test -n "$ac_sub_configure"; then
16209 # Make the cache file name correct relative to the subdirectory.
16210 case "$cache_file" in
16211 /*) ac_sub_cache_file=$cache_file ;;
16212 *) # Relative path.
16213 ac_sub_cache_file="$ac_dots$cache_file" ;;
16215 case "$ac_given_INSTALL" in
16216 [/$]*) INSTALL="$ac_given_INSTALL" ;;
16217 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
16220 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
16221 # The eval makes quoting arguments work.
16222 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
16225 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }