3 # From configure.in Id: configure.in
42 # Guess values for system-dependent variables and create Makefiles.
43 # Generated automatically using autoconf version 2.13
44 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 # This configure script is free software; the Free Software Foundation
47 # gives unlimited permission to copy, distribute and modify it.
51 ac_default_prefix
=/usr
/local
52 # Any additions from configure.in:
54 --enable-gui use GUI classes"
58 --with-motif use Motif/Lesstif"
62 --with-cygwin use Cygwin for MS-Windows"
64 --with-mingw use GCC Minimal MS-Windows"
66 --with-pm use OS/2 Presentation Manager"
68 --with-gtk-prefix=PFX Prefix where GTK is installed"
70 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
82 --with-zlib use zlib for LZW compression"
84 --with-odbc use the IODBC and wxODBC classes"
86 --enable-shared create shared library code"
88 --enable-burnt_name create set name in shared library "
90 --enable-optimise create optimised code"
92 --enable-debug same as debug_flag and debug_info"
94 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
96 --enable-debug_info create code with debugging information"
98 --enable-debug_gdb create code with extra GDB debugging information"
100 --enable-debug_cntxt use wxDebugContext"
102 --enable-mem_tracing create code with memory tracing"
104 --enable-profile create code with profiling information"
106 --enable-no_rtti create code without RTTI information"
108 --enable-no_exceptions create code without exceptions information"
110 --enable-permissive compile code disregarding strict ANSI"
112 --enable-no_deps create code without dependency information"
114 --enable-intl use internationalization system"
116 --enable-config use wxConfig (and derived) classes"
118 --enable-sockets use socket/network classes"
120 --enable-ipc use interprocess communication (wxSocket etc.)"
122 --enable-dialupman use dialup network classes"
124 --enable-apple_ieee use the Apple IEEE codec"
126 --enable-timedate use date/time classes"
128 --enable-wave use wxWave class"
130 --enable-fraction use wxFraction class"
132 --enable-dynlib use wxLibrary class for DLL loading"
134 --enable-longlong use wxLongLong class"
136 --enable-log use logging system"
138 --enable-streams use wxStream etc classes"
140 --enable-file use wxFile classes"
142 --enable-textfile use wxTextFile classes"
144 --enable-unicode compile wxString with Unicode support"
146 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
148 --enable-wxprintfv use wxWindows implementation of vprintf()"
150 --enable-std_iostreams use standard C++ stream classes"
152 --enable-filesystem use virtual file systems classes"
154 --enable-fs_inet use virtual HTTP/FTP filesystems"
156 --enable-fs_zip use virtual ZIP filesystems"
158 --enable-zipstream use wxZipInputStream"
160 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
162 --enable-threads use threads"
164 --enable-serial use class serialization"
166 --enable-docview use document view architecture"
168 --enable-help use help (using external browser at present)"
170 --enable-constraints use layout-constraints system"
172 --enable-printarch use printing architecture"
174 --enable-mdi use multiple document interface architecture"
176 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
178 --enable-prologio use Prolog IO library"
180 --enable-resources use wxWindows resources"
182 --enable-xresources use X resources for save (default for gtk+)"
184 --enable-clipboard use wxClipboard classes"
186 --enable-dnd use Drag'n'Drop classes"
188 --enable-wxtree make wxTree library"
190 --enable-controls use all usual controls"
192 --enable-accel use accelerators"
194 --enable-caret use wxCaret class"
196 --enable-bmpbutton use wxBitmapButton class"
198 --enable-checkbox use wxCheckBox class"
200 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
202 --enable-choice use wxChoice class"
204 --enable-combobox use wxComboBox classes"
206 --enable-gauge use wxGauge class"
208 --enable-grid use wxGrid class"
210 --enable-newgrid use new wxGrid class"
212 --enable-imaglist use wxImageList class"
214 --enable-listbox use wxListBox class"
216 --enable-listctrl use wxListCtrl class"
218 --enable-notebook use wxNotebook class"
220 --enable-radiobox use wxRadioBox class"
222 --enable-radiobtn use wxRadioButton class"
224 --enable-sash use wxSashWindow class"
226 --enable-scrollbar use wxScrollBar class and scrollable windows"
228 --enable-slider use wxSlider class"
230 --enable-spinbtn use wxSpinButton class"
232 --enable-spinctrl use wxSpinCtrl class"
234 --enable-splitter use wxSplitterWindow class"
236 --enable-statbmp use wxStaticBitmap class"
238 --enable-statbox use wxStaticBox class"
240 --enable-statline use wxStaticLine class"
242 --enable-statusbar use wxStatusBar class"
244 --enable-tabdialog use wxTabControl class"
246 --enable-toolbar use wxToolBar class"
248 --enable-tbarnative use native wxToolBar class"
250 --enable-tbarsmpl use wxToolBarSimple class"
252 --enable-treectrl use wxTreeCtrl class"
254 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
256 --enable-dirdlg use wxDirDialog"
258 --enable-textdlg use wxTextDialog"
260 --enable-tipdlg use startup tips"
262 --enable-progressdlg use wxProgressDialog"
264 --enable-miniframe use wxMiniFrame class"
266 --enable-html use wxHTML sub-library"
268 --enable-tooltips use wxToolTip class"
270 --enable-splines use spline drawing code"
272 --enable-validators use wxValidator and derived classes"
274 --enable-busyinfo use wxBusyInfo"
276 --enable-plot use wxPlot"
278 --enable-joystick compile in joystick support (Linux only)"
280 --enable-gif use gif images (GIF file format)"
282 --enable-pcx use pcx images (PCX file format)"
284 --enable-pnm use pnm images (PNM file format)"
286 --with-x use the X Window System"
288 # Initialize some variables set by options.
289 # The variables have the same names as the options, with
290 # dashes changed to underlines.
292 cache_file
=.
/config.cache
301 program_transform_name
=s
,x
,x
,
309 bindir
='${exec_prefix}/bin'
310 sbindir
='${exec_prefix}/sbin'
311 libexecdir
='${exec_prefix}/libexec'
312 datadir
='${prefix}/share'
313 sysconfdir
='${prefix}/etc'
314 sharedstatedir
='${prefix}/com'
315 localstatedir
='${prefix}/var'
316 libdir
='${exec_prefix}/lib'
317 includedir
='${prefix}/include'
318 oldincludedir
='/usr/include'
319 infodir
='${prefix}/info'
320 mandir
='${prefix}/man'
322 # Initialize some other variables.
325 SHELL
=${CONFIG_SHELL-/bin/sh}
326 # Maximum number of lines to put in a shell here document.
333 # If the previous option needs an argument, assign it.
334 if test -n "$ac_prev"; then
335 eval "$ac_prev=\$ac_option"
341 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
345 # Accept the important Cygnus configure options, so we can diagnose typos.
349 -bindir | --bindir | --bindi | --bind | --bin | --bi)
351 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
352 bindir
="$ac_optarg" ;;
354 -build | --build | --buil | --bui | --bu)
356 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
357 build
="$ac_optarg" ;;
359 -cache-file | --cache-file | --cache-fil | --cache-fi \
360 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
361 ac_prev
=cache_file
;;
362 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
363 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
364 cache_file
="$ac_optarg" ;;
366 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
368 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
370 datadir
="$ac_optarg" ;;
372 -disable-* | --disable-*)
373 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
374 # Reject names that are not valid shell variable names.
375 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
376 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
378 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
379 eval "enable_${ac_feature}=no" ;;
381 -enable-* | --enable-*)
382 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
383 # Reject names that are not valid shell variable names.
384 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
385 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
387 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
392 eval "enable_${ac_feature}='$ac_optarg'" ;;
394 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
395 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
396 | --exec | --exe | --ex)
397 ac_prev
=exec_prefix
;;
398 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
399 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
400 | --exec=* | --exe=* | --ex=*)
401 exec_prefix
="$ac_optarg" ;;
403 -gas | --gas | --ga | --g)
404 # Obsolete; use --with-gas.
407 -help | --help | --hel | --he)
408 # Omit some internal or obsolete options to make the list less imposing.
409 # This message is too long to be a string in the A/UX 3.1 sh.
411 Usage: configure [options] [host]
412 Options: [defaults in brackets after descriptions]
414 --cache-file=FILE cache test results in FILE
415 --help print this message
416 --no-create do not create output files
417 --quiet, --silent do not print \`checking...' messages
418 --version print the version of autoconf that created configure
419 Directory and file names:
420 --prefix=PREFIX install architecture-independent files in PREFIX
422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
424 --bindir=DIR user executables in DIR [EPREFIX/bin]
425 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
426 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
427 --datadir=DIR read-only architecture-independent data in DIR
429 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
430 --sharedstatedir=DIR modifiable architecture-independent data in DIR
432 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
433 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
434 --includedir=DIR C header files in DIR [PREFIX/include]
435 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
436 --infodir=DIR info documentation in DIR [PREFIX/info]
437 --mandir=DIR man documentation in DIR [PREFIX/man]
438 --srcdir=DIR find the sources in DIR [configure dir or ..]
439 --program-prefix=PREFIX prepend PREFIX to installed program names
440 --program-suffix=SUFFIX append SUFFIX to installed program names
441 --program-transform-name=PROGRAM
442 run sed PROGRAM on installed program names
446 --build=BUILD configure for building on BUILD [BUILD=HOST]
447 --host=HOST configure for HOST [guessed]
448 --target=TARGET configure for TARGET [TARGET=HOST]
449 Features and packages:
450 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
451 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
454 --x-includes=DIR X include files are in DIR
455 --x-libraries=DIR X library files are in DIR
457 if test -n "$ac_help"; then
458 echo "--enable and --with options recognized:$ac_help"
462 -host | --host | --hos | --ho)
464 -host=* | --host=* | --hos=* | --ho=*)
467 -includedir | --includedir | --includedi | --included | --include \
468 | --includ | --inclu | --incl | --inc)
469 ac_prev
=includedir
;;
470 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
471 | --includ=* | --inclu=* | --incl=* | --inc=*)
472 includedir
="$ac_optarg" ;;
474 -infodir | --infodir | --infodi | --infod | --info | --inf)
476 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
477 infodir
="$ac_optarg" ;;
479 -libdir | --libdir | --libdi | --libd)
481 -libdir=* | --libdir=* | --libdi=* | --libd=*)
482 libdir
="$ac_optarg" ;;
484 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
485 | --libexe | --libex | --libe)
486 ac_prev
=libexecdir
;;
487 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
488 | --libexe=* | --libex=* | --libe=*)
489 libexecdir
="$ac_optarg" ;;
491 -localstatedir | --localstatedir | --localstatedi | --localstated \
492 | --localstate | --localstat | --localsta | --localst \
493 | --locals | --local | --loca | --loc | --lo)
494 ac_prev
=localstatedir
;;
495 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
496 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
497 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
498 localstatedir
="$ac_optarg" ;;
500 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
502 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
503 mandir
="$ac_optarg" ;;
506 # Obsolete; use --without-fp.
509 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
513 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
514 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
517 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
518 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
519 | --oldin | --oldi | --old | --ol | --o)
520 ac_prev
=oldincludedir
;;
521 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
522 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
523 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
524 oldincludedir
="$ac_optarg" ;;
526 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
528 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
529 prefix
="$ac_optarg" ;;
531 -program-prefix | --program-prefix | --program-prefi | --program-pref \
532 | --program-pre | --program-pr | --program-p)
533 ac_prev
=program_prefix
;;
534 -program-prefix=* | --program-prefix=* | --program-prefi=* \
535 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
536 program_prefix
="$ac_optarg" ;;
538 -program-suffix | --program-suffix | --program-suffi | --program-suff \
539 | --program-suf | --program-su | --program-s)
540 ac_prev
=program_suffix
;;
541 -program-suffix=* | --program-suffix=* | --program-suffi=* \
542 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
543 program_suffix
="$ac_optarg" ;;
545 -program-transform-name | --program-transform-name \
546 | --program-transform-nam | --program-transform-na \
547 | --program-transform-n | --program-transform- \
548 | --program-transform | --program-transfor \
549 | --program-transfo | --program-transf \
550 | --program-trans | --program-tran \
551 | --progr-tra | --program-tr | --program-t)
552 ac_prev
=program_transform_name
;;
553 -program-transform-name=* | --program-transform-name=* \
554 | --program-transform-nam=* | --program-transform-na=* \
555 | --program-transform-n=* | --program-transform-=* \
556 | --program-transform=* | --program-transfor=* \
557 | --program-transfo=* | --program-transf=* \
558 | --program-trans=* | --program-tran=* \
559 | --progr-tra=* | --program-tr=* | --program-t=*)
560 program_transform_name
="$ac_optarg" ;;
562 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
563 | -silent | --silent | --silen | --sile | --sil)
566 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
568 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
570 sbindir
="$ac_optarg" ;;
572 -sharedstatedir | --sharedstatedir | --sharedstatedi \
573 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
574 | --sharedst | --shareds | --shared | --share | --shar \
576 ac_prev
=sharedstatedir
;;
577 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
578 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
579 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
581 sharedstatedir
="$ac_optarg" ;;
583 -site | --site | --sit)
585 -site=* | --site=* | --sit=*)
588 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
590 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
591 srcdir
="$ac_optarg" ;;
593 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
594 | --syscon | --sysco | --sysc | --sys | --sy)
595 ac_prev
=sysconfdir
;;
596 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
597 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
598 sysconfdir
="$ac_optarg" ;;
600 -target | --target | --targe | --targ | --tar | --ta | --t)
602 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
603 target
="$ac_optarg" ;;
605 -v | -verbose | --verbose | --verbos | --verbo | --verb)
608 -version | --version | --versio | --versi | --vers)
609 echo "configure generated by autoconf version 2.13"
613 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
614 # Reject names that are not valid shell variable names.
615 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
616 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
618 ac_package
=`echo $ac_package| sed 's/-/_/g'`
623 eval "with_${ac_package}='$ac_optarg'" ;;
625 -without-* | --without-*)
626 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
627 # Reject names that are not valid shell variable names.
628 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
629 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
631 ac_package
=`echo $ac_package| sed 's/-/_/g'`
632 eval "with_${ac_package}=no" ;;
635 # Obsolete; use --with-x.
638 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
639 | --x-incl | --x-inc | --x-in | --x-i)
640 ac_prev
=x_includes
;;
641 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
642 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
643 x_includes
="$ac_optarg" ;;
645 -x-libraries | --x-libraries | --x-librarie | --x-librari \
646 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
647 ac_prev
=x_libraries
;;
648 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
649 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
650 x_libraries
="$ac_optarg" ;;
652 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
656 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
657 echo "configure: warning: $ac_option: invalid host type" 1>&2
659 if test "x$nonopt" != xNONE
; then
660 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
668 if test -n "$ac_prev"; then
669 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
672 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
674 # File descriptor usage:
677 # 2 errors and warnings
678 # 3 some systems may open it to /dev/tty
679 # 4 used on the Kubota Titan
680 # 6 checking for... messages and results
681 # 5 compiler messages saved in config.log
682 if test "$silent" = yes; then
690 This file contains any messages produced by compilers while
691 running configure, to aid debugging if configure makes a mistake.
694 # Strip out --no-create and --no-recursion so they do not pile up.
695 # Also quote any args containing shell metacharacters.
700 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
701 | --no-cr | --no-c) ;;
702 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
703 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
704 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
705 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
706 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
711 # Only set these to C if already set. These must not be set unconditionally
712 # because not all systems understand e.g. LANG=C (notably SCO).
713 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
714 # Non-C LC_CTYPE values break the ctype check.
715 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
716 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
717 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
718 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
720 # confdefs.h avoids OS command line length limits that DEFS can exceed.
721 rm -rf conftest
* confdefs.h
722 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
725 # A filename unique to this package, relative to the directory that
726 # configure is in, which we can look for to find out if srcdir is correct.
727 ac_unique_file
=wx
-config.
in
729 # Find the source files, if location was not specified.
730 if test -z "$srcdir"; then
731 ac_srcdir_defaulted
=yes
732 # Try the directory containing this script, then its parent.
734 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
735 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
737 if test ! -r $srcdir/$ac_unique_file; then
741 ac_srcdir_defaulted
=no
743 if test ! -r $srcdir/$ac_unique_file; then
744 if test "$ac_srcdir_defaulted" = yes; then
745 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
747 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
750 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
752 # Prefer explicitly selected file to automatically selected ones.
753 if test -z "$CONFIG_SITE"; then
754 if test "x$prefix" != xNONE
; then
755 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
757 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
760 for ac_site_file
in $CONFIG_SITE; do
761 if test -r "$ac_site_file"; then
762 echo "loading site script $ac_site_file"
767 if test -r "$cache_file"; then
768 echo "loading cache $cache_file"
771 echo "creating cache $cache_file"
776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
777 ac_cpp
='$CPP $CPPFLAGS'
778 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
779 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
780 cross_compiling
=$ac_cv_prog_cc_cross
784 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
785 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
786 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
793 ac_n
= ac_c
='\c' ac_t
=
799 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
800 if test -f $ac_dir/install-sh; then
802 ac_install_sh
="$ac_aux_dir/install-sh -c"
804 elif test -f $ac_dir/install.sh
; then
806 ac_install_sh
="$ac_aux_dir/install.sh -c"
810 if test -z "$ac_aux_dir"; then
811 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
813 ac_config_guess
=$ac_aux_dir/config.guess
814 ac_config_sub
=$ac_aux_dir/config.sub
815 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
818 # Do some error checking and defaulting for the host and target type.
820 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
823 # 1. You are not allowed to specify --host, --target, and nonopt at the
825 # 2. Host defaults to nonopt.
826 # 3. If nonopt is not specified, then host defaults to the current host,
827 # as determined by config.guess.
828 # 4. Target and build default to nonopt.
829 # 5. If nonopt is not specified, then target and build default to host.
831 # The aliases save the names the user supplied, while $host etc.
832 # will get canonicalized.
833 case $host---$target---$nonopt in
834 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
835 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
839 # Make sure we can run config.sub.
840 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
841 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
844 echo $ac_n "checking host system type""... $ac_c" 1>&6
845 echo "configure:846: checking host system type" >&5
848 case "$host_alias" in
852 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
853 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
855 *) host_alias
=$nonopt ;;
859 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
860 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
861 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
862 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
863 echo "$ac_t""$host" 1>&6
865 echo $ac_n "checking target system type""... $ac_c" 1>&6
866 echo "configure:867: checking target system type" >&5
869 case "$target_alias" in
872 NONE
) target_alias
=$host_alias ;;
873 *) target_alias
=$nonopt ;;
877 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
878 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
879 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
880 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
881 echo "$ac_t""$target" 1>&6
883 echo $ac_n "checking build system type""... $ac_c" 1>&6
884 echo "configure:885: checking build system type" >&5
887 case "$build_alias" in
890 NONE
) build_alias
=$host_alias ;;
891 *) build_alias
=$nonopt ;;
895 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
896 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
897 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
898 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
899 echo "$ac_t""$build" 1>&6
901 test "$host_alias" != "$target_alias" &&
902 test "$program_prefix$program_suffix$program_transform_name" = \
904 program_prefix
=${target_alias}-
908 WX_MAJOR_VERSION_NUMBER
=2
909 WX_MINOR_VERSION_NUMBER
=2
915 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
917 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
918 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
919 WX_REVISION
=$WX_INTERFACE_AGE
920 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
947 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
949 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
952 DEFAULT_wxUSE_MOTIF
=0
957 DEFAULT_DEFAULT_wxUSE_GTK
=0
958 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
959 DEFAULT_DEFAULT_wxUSE_MSW
=0
960 DEFAULT_DEFAULT_wxUSE_WINE
=0
961 DEFAULT_DEFAULT_wxUSE_PM
=0
968 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
969 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
970 cat >> confdefs.h
<<\EOF
977 cat >> confdefs.h
<<\EOF
982 if test "x$TMP" = "xalpha"; then
984 cat >> confdefs.h
<<\EOF
989 DEFAULT_DEFAULT_wxUSE_GTK
=1
991 *-*-irix5* | *-*-irix6* )
994 cat >> confdefs.h
<<\EOF
998 cat >> confdefs.h
<<\EOF
1002 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1008 cat >> confdefs.h
<<\EOF
1012 cat >> confdefs.h
<<\EOF
1013 #define __SOLARIS__ 1
1016 cat >> confdefs.h
<<\EOF
1020 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1021 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1027 cat >> confdefs.h
<<\EOF
1031 cat >> confdefs.h
<<\EOF
1035 cat >> confdefs.h
<<\EOF
1039 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1044 cat >> confdefs.h
<<\EOF
1045 #define __FREEBSD__ 1
1048 cat >> confdefs.h
<<\EOF
1052 DEFAULT_DEFAULT_wxUSE_GTK
=1
1057 cat >> confdefs.h
<<\EOF
1058 #define __FREEBSD__ 1
1061 cat >> confdefs.h
<<\EOF
1062 #define __NETBSD__ 1
1065 DEFAULT_DEFAULT_wxUSE_GTK
=1
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1079 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1092 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1097 cat >> confdefs.h
<<\EOF
1101 cat >> confdefs.h
<<\EOF
1105 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1111 cat >> confdefs.h
<<\EOF
1115 cat >> confdefs.h
<<\EOF
1119 cat >> confdefs.h
<<\EOF
1123 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1126 *-*-cygwin32* | *-*-mingw32* )
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1138 #define __WINDOWS__ 1
1141 cat >> confdefs.h
<<\EOF
1142 #define __GNUWIN32__ 1
1145 cat >> confdefs.h
<<\EOF
1149 cat >> confdefs.h
<<\EOF
1150 #define WINVER 0x0400
1154 DEFAULT_DEFAULT_wxUSE_MSW
=1
1158 cat >> confdefs.h
<<\EOF
1163 DEFAULT_DEFAULT_wxUSE_PM
=1
1168 cat >> confdefs.h
<<\EOF
1175 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1178 if test "$USE_UNIX" = 1 ; then
1180 cat >> confdefs.h
<<\EOF
1185 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1186 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1189 if test "$USE_BEOS" = 1; then
1190 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1191 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1194 if test "$USE_LINUX" = 1; then
1195 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1196 echo "configure:1197: checking for gettext in -lc" >&5
1197 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1198 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1199 echo $ac_n "(cached) $ac_c" 1>&6
1201 ac_save_LIBS
="$LIBS"
1203 cat > conftest.
$ac_ext <<EOF
1204 #line 1205 "configure"
1205 #include "confdefs.h"
1206 /* Override any gcc2 internal prototype to avoid an error. */
1207 /* We use char because int might match the return type of a gcc2
1208 builtin and then its argument prototype would still apply. */
1215 if { (eval echo configure
:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1217 eval "ac_cv_lib_$ac_lib_var=yes"
1219 echo "configure: failed program was:" >&5
1220 cat conftest.
$ac_ext >&5
1222 eval "ac_cv_lib_$ac_lib_var=no"
1225 LIBS
="$ac_save_LIBS"
1228 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1229 echo "$ac_t""yes" 1>&6
1230 cat >> confdefs.h
<<\EOF
1231 #define wxHAVE_GLIBC2 1
1235 echo "$ac_t""no" 1>&6
1243 wx_arg_cache_file
="configarg.cache"
1244 echo "loading argument cache $wx_arg_cache_file"
1245 rm -f ${wx_arg_cache_file}.tmp
1246 touch ${wx_arg_cache_file}.tmp
1247 touch ${wx_arg_cache_file}
1251 if test $DEBUG_CONFIGURE = 1; then
1252 DEFAULT_wxUSE_THREADS
=yes
1254 DEFAULT_wxUSE_SHARED
=yes
1255 DEFAULT_wxUSE_BURNT_NAME
=no
1256 DEFAULT_wxUSE_OPTIMISE
=yes
1257 DEFAULT_wxUSE_PROFILE
=no
1258 DEFAULT_wxUSE_NO_DEPS
=no
1259 DEFAULT_wxUSE_NO_RTTI
=no
1260 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1261 DEFAULT_wxUSE_PERMISSIVE
=no
1262 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1263 DEFAULT_wxUSE_DEBUG_INFO
=yes
1264 DEFAULT_wxUSE_DEBUG_GDB
=yes
1265 DEFAULT_wxUSE_MEM_TRACING
=no
1266 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1267 DEFAULT_wxUSE_DMALLOC
=no
1268 DEFAULT_wxUSE_APPLE_IEEE
=no
1270 DEFAULT_wxUSE_LOG
=yes
1272 DEFAULT_wxUSE_GUI
=yes
1274 DEFAULT_wxUSE_ZLIB
=no
1275 DEFAULT_wxUSE_LIBPNG
=no
1276 DEFAULT_wxUSE_LIBJPEG
=no
1277 DEFAULT_wxUSE_LIBTIFF
=no
1278 DEFAULT_wxUSE_ODBC
=no
1279 DEFAULT_wxUSE_OPENGL
=no
1281 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1282 DEFAULT_wxUSE_STD_IOSTREAM
=no
1283 DEFAULT_wxUSE_FILE
=no
1284 DEFAULT_wxUSE_TEXTFILE
=no
1285 DEFAULT_wxUSE_TIMEDATE
=no
1286 DEFAULT_wxUSE_WAVE
=no
1287 DEFAULT_wxUSE_INTL
=no
1288 DEFAULT_wxUSE_CONFIG
=no
1289 DEFAULT_wxUSE_STREAMS
=no
1290 DEFAULT_wxUSE_SOCKETS
=no
1291 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1292 DEFAULT_wxUSE_SERIAL
=no
1293 DEFAULT_wxUSE_JOYSTICK
=no
1294 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1295 DEFAULT_wxUSE_LONGLONG
=no
1297 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1298 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1299 DEFAULT_wxUSE_POSTSCRIPT
=no
1301 DEFAULT_wxUSE_X_RESOURCES
=no
1302 DEFAULT_wxUSE_CLIPBOARD
=no
1303 DEFAULT_wxUSE_TOOLTIPS
=no
1304 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1305 DEFAULT_wxUSE_SPLINES
=no
1307 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1308 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1309 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1311 DEFAULT_wxUSE_PROLOGIO
=no
1312 DEFAULT_wxUSE_RESOURCES
=no
1313 DEFAULT_wxUSE_CONSTRAINTS
=no
1314 DEFAULT_wxUSE_IPC
=no
1315 DEFAULT_wxUSE_HELP
=no
1316 DEFAULT_wxUSE_WXTREE
=no
1317 DEFAULT_wxUSE_METAFILE
=no
1319 DEFAULT_wxUSE_COMMONDLGS
=no
1320 DEFAULT_wxUSE_DIRDLG
=no
1321 DEFAULT_wxUSE_TEXTDLG
=no
1322 DEFAULT_wxUSE_STARTUP_TIPS
=no
1323 DEFAULT_wxUSE_PROGRESSDLG
=no
1324 DEFAULT_wxUSE_MINIFRAME
=no
1325 DEFAULT_wxUSE_HTML
=no
1326 DEFAULT_wxUSE_FILESYSTEM
=no
1327 DEFAULT_wxUSE_FS_INET
=no
1328 DEFAULT_wxUSE_FS_ZIP
=no
1329 DEFAULT_wxUSE_BUSYINFO
=no
1330 DEFAULT_wxUSE_ZIPSTREAM
=no
1331 DEFAULT_wxUSE_VALIDATORS
=yes
1333 DEFAULT_wxUSE_ACCEL
=no
1334 DEFAULT_wxUSE_CARET
=no
1335 DEFAULT_wxUSE_BMPBUTTON
=no
1336 DEFAULT_wxUSE_CHECKBOX
=no
1337 DEFAULT_wxUSE_CHECKLST
=no
1338 DEFAULT_wxUSE_CHOICE
=yes
1339 DEFAULT_wxUSE_COMBOBOX
=no
1340 DEFAULT_wxUSE_GAUGE
=no
1341 DEFAULT_wxUSE_GRID
=no
1342 DEFAULT_wxUSE_NEW_GRID
=no
1343 DEFAULT_wxUSE_IMAGLIST
=no
1344 DEFAULT_wxUSE_LISTBOX
=no
1345 DEFAULT_wxUSE_LISTCTRL
=no
1346 DEFAULT_wxUSE_NOTEBOOK
=no
1347 DEFAULT_wxUSE_PLOT
=no
1348 DEFAULT_wxUSE_RADIOBOX
=no
1349 DEFAULT_wxUSE_RADIOBTN
=no
1350 DEFAULT_wxUSE_SASH
=no
1351 DEFAULT_wxUSE_SCROLLBAR
=no
1352 DEFAULT_wxUSE_SLIDER
=no
1353 DEFAULT_wxUSE_SPINBTN
=no
1354 DEFAULT_wxUSE_SPINCTRL
=no
1355 DEFAULT_wxUSE_SPLITTER
=no
1356 DEFAULT_wxUSE_STATBMP
=no
1357 DEFAULT_wxUSE_STATBOX
=no
1358 DEFAULT_wxUSE_STATLINE
=no
1359 DEFAULT_wxUSE_STATUSBAR
=yes
1360 DEFAULT_wxUSE_TABDIALOG
=no
1361 DEFAULT_wxUSE_TOOLBAR
=no
1362 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1363 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1364 DEFAULT_wxUSE_TREECTRL
=no
1366 DEFAULT_wxUSE_UNICODE
=no
1367 DEFAULT_wxUSE_WCSRTOMBS
=no
1369 DEFAULT_wxUSE_GIF
=no
1370 DEFAULT_wxUSE_PCX
=no
1371 DEFAULT_wxUSE_PNM
=no
1373 DEFAULT_wxUSE_THREADS
=yes
1375 DEFAULT_wxUSE_SHARED
=yes
1376 DEFAULT_wxUSE_BURNT_NAME
=no
1377 DEFAULT_wxUSE_OPTIMISE
=yes
1378 DEFAULT_wxUSE_PROFILE
=no
1379 DEFAULT_wxUSE_NO_DEPS
=no
1380 DEFAULT_wxUSE_NO_RTTI
=no
1381 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1382 DEFAULT_wxUSE_PERMISSIVE
=no
1383 DEFAULT_wxUSE_DEBUG_FLAG
=no
1384 DEFAULT_wxUSE_DEBUG_INFO
=no
1385 DEFAULT_wxUSE_DEBUG_GDB
=no
1386 DEFAULT_wxUSE_MEM_TRACING
=no
1387 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1388 DEFAULT_wxUSE_DMALLOC
=no
1389 DEFAULT_wxUSE_APPLE_IEEE
=yes
1391 DEFAULT_wxUSE_LOG
=yes
1393 DEFAULT_wxUSE_GUI
=yes
1395 DEFAULT_wxUSE_ZLIB
=yes
1396 DEFAULT_wxUSE_LIBPNG
=yes
1397 DEFAULT_wxUSE_LIBJPEG
=yes
1398 DEFAULT_wxUSE_LIBTIFF
=yes
1399 DEFAULT_wxUSE_ODBC
=no
1400 DEFAULT_wxUSE_OPENGL
=no
1402 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1403 DEFAULT_wxUSE_STD_IOSTREAM
=no
1404 DEFAULT_wxUSE_FILE
=yes
1405 DEFAULT_wxUSE_TEXTFILE
=yes
1406 DEFAULT_wxUSE_TIMEDATE
=yes
1407 DEFAULT_wxUSE_WAVE
=no
1408 DEFAULT_wxUSE_INTL
=yes
1409 DEFAULT_wxUSE_CONFIG
=yes
1410 DEFAULT_wxUSE_STREAMS
=yes
1411 DEFAULT_wxUSE_SOCKETS
=yes
1412 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1413 DEFAULT_wxUSE_SERIAL
=yes
1414 DEFAULT_wxUSE_JOYSTICK
=yes
1415 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1416 DEFAULT_wxUSE_LONGLONG
=yes
1418 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1419 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1420 DEFAULT_wxUSE_POSTSCRIPT
=yes
1422 DEFAULT_wxUSE_X_RESOURCES
=no
1423 DEFAULT_wxUSE_CLIPBOARD
=yes
1424 DEFAULT_wxUSE_TOOLTIPS
=yes
1425 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1426 DEFAULT_wxUSE_SPLINES
=yes
1428 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1429 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1430 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1432 DEFAULT_wxUSE_PROLOGIO
=yes
1433 DEFAULT_wxUSE_RESOURCES
=yes
1434 DEFAULT_wxUSE_CONSTRAINTS
=yes
1435 DEFAULT_wxUSE_IPC
=yes
1436 DEFAULT_wxUSE_HELP
=yes
1437 DEFAULT_wxUSE_WXTREE
=yes
1438 DEFAULT_wxUSE_METAFILE
=yes
1440 DEFAULT_wxUSE_COMMONDLGS
=yes
1441 DEFAULT_wxUSE_DIRDLG
=yes
1442 DEFAULT_wxUSE_TEXTDLG
=yes
1443 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1444 DEFAULT_wxUSE_PROGRESSDLG
=yes
1445 DEFAULT_wxUSE_MINIFRAME
=yes
1446 DEFAULT_wxUSE_HTML
=yes
1447 DEFAULT_wxUSE_FILESYSTEM
=yes
1448 DEFAULT_wxUSE_FS_INET
=yes
1449 DEFAULT_wxUSE_FS_ZIP
=yes
1450 DEFAULT_wxUSE_BUSYINFO
=yes
1451 DEFAULT_wxUSE_ZIPSTREAM
=yes
1452 DEFAULT_wxUSE_VALIDATORS
=yes
1454 DEFAULT_wxUSE_ACCEL
=yes
1455 DEFAULT_wxUSE_CARET
=yes
1456 DEFAULT_wxUSE_BMPBUTTON
=yes
1457 DEFAULT_wxUSE_CHECKBOX
=yes
1458 DEFAULT_wxUSE_CHECKLST
=yes
1459 DEFAULT_wxUSE_CHOICE
=yes
1460 DEFAULT_wxUSE_COMBOBOX
=yes
1461 DEFAULT_wxUSE_GAUGE
=yes
1462 DEFAULT_wxUSE_GRID
=yes
1463 DEFAULT_wxUSE_NEW_GRID
=yes
1464 DEFAULT_wxUSE_IMAGLIST
=yes
1465 DEFAULT_wxUSE_LISTBOX
=yes
1466 DEFAULT_wxUSE_LISTCTRL
=yes
1467 DEFAULT_wxUSE_NOTEBOOK
=yes
1468 DEFAULT_wxUSE_PLOT
=yes
1469 DEFAULT_wxUSE_RADIOBOX
=yes
1470 DEFAULT_wxUSE_RADIOBTN
=yes
1471 DEFAULT_wxUSE_SASH
=yes
1472 DEFAULT_wxUSE_SCROLLBAR
=yes
1473 DEFAULT_wxUSE_SLIDER
=yes
1474 DEFAULT_wxUSE_SPINBTN
=yes
1475 DEFAULT_wxUSE_SPINCTRL
=yes
1476 DEFAULT_wxUSE_SPLITTER
=yes
1477 DEFAULT_wxUSE_STATBMP
=yes
1478 DEFAULT_wxUSE_STATBOX
=yes
1479 DEFAULT_wxUSE_STATLINE
=yes
1480 DEFAULT_wxUSE_STATUSBAR
=yes
1481 DEFAULT_wxUSE_TABDIALOG
=no
1482 DEFAULT_wxUSE_TOOLBAR
=yes
1483 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1484 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1485 DEFAULT_wxUSE_TREECTRL
=yes
1487 DEFAULT_wxUSE_UNICODE
=no
1488 DEFAULT_wxUSE_WCSRTOMBS
=no
1490 DEFAULT_wxUSE_GIF
=yes
1491 DEFAULT_wxUSE_PCX
=yes
1492 DEFAULT_wxUSE_PNM
=yes
1497 for toolkit
in `echo $ALL_TOOLKITS`; do
1498 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1499 if test "x$LINE" != x
; then
1500 has_toolkit_in_cache
=1
1501 eval "DEFAULT_$LINE"
1502 eval "CACHE_$toolkit=1"
1508 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1509 echo "configure:1510: checking "for --enable-gui"" >&5
1511 # Check whether --enable-gui or --disable-gui was given.
1512 if test "${enable_gui+set}" = set; then
1513 enableval
="$enable_gui"
1515 if test "$enableval" = yes; then
1516 ac_cv_use_gui
='wxUSE_GUI=yes'
1518 ac_cv_use_gui
='wxUSE_GUI=no'
1523 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1524 if test "x$LINE" != x
; then
1525 eval "DEFAULT_$LINE"
1530 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1535 eval "$ac_cv_use_gui"
1536 if test "$no_cache" != 1; then
1537 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1540 if test "$wxUSE_GUI" = yes; then
1541 echo "$ac_t""yes" 1>&6
1543 echo "$ac_t""no" 1>&6
1547 if test "$wxUSE_GUI" = "yes"; then
1549 # Check whether --with-gtk or --without-gtk was given.
1550 if test "${with_gtk+set}" = set; then
1552 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1555 # Check whether --with-motif or --without-motif was given.
1556 if test "${with_motif+set}" = set; then
1557 withval
="$with_motif"
1558 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1561 # Check whether --with-wine or --without-wine was given.
1562 if test "${with_wine+set}" = set; then
1563 withval
="$with_wine"
1564 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1567 # Check whether --with-cygwin or --without-cygwin was given.
1568 if test "${with_cygwin+set}" = set; then
1569 withval
="$with_cygwin"
1570 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1573 # Check whether --with-mingw or --without-mingw was given.
1574 if test "${with_mingw+set}" = set; then
1575 withval
="$with_mingw"
1576 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1579 # Check whether --with-pm or --without-pm was given.
1580 if test "${with_pm+set}" = set; then
1582 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1586 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1587 if test "${with_gtk_prefix+set}" = set; then
1588 withval
="$with_gtk_prefix"
1589 gtk_config_prefix
="$withval"
1591 gtk_config_prefix
=""
1594 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1595 if test "${with_gtk_exec_prefix+set}" = set; then
1596 withval
="$with_gtk_exec_prefix"
1597 gtk_config_exec_prefix
="$withval"
1599 gtk_config_exec_prefix
=""
1604 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1605 echo "configure:1606: checking "for --with-libpng"" >&5
1607 # Check whether --with-libpng or --without-libpng was given.
1608 if test "${with_libpng+set}" = set; then
1609 withval
="$with_libpng"
1611 if test "$withval" = yes; then
1612 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1613 elif test "$withval" = no
; then
1614 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1615 elif test "$withval" = sys
; then
1616 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1618 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1623 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1624 if test "x$LINE" != x
; then
1625 eval "DEFAULT_$LINE"
1630 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1635 eval "$ac_cv_use_libpng"
1636 if test "$no_cache" != 1; then
1637 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1640 if test "$wxUSE_LIBPNG" = yes; then
1641 echo "$ac_t""yes" 1>&6
1642 elif test "$wxUSE_LIBPNG" = no
; then
1643 echo "$ac_t""no" 1>&6
1644 elif test "$wxUSE_LIBPNG" = sys
; then
1645 echo "$ac_t""system version" 1>&6
1647 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1651 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1652 echo "configure:1653: checking "for --with-libjpeg"" >&5
1654 # Check whether --with-libjpeg or --without-libjpeg was given.
1655 if test "${with_libjpeg+set}" = set; then
1656 withval
="$with_libjpeg"
1658 if test "$withval" = yes; then
1659 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1660 elif test "$withval" = no
; then
1661 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1662 elif test "$withval" = sys
; then
1663 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1665 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1670 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1671 if test "x$LINE" != x
; then
1672 eval "DEFAULT_$LINE"
1677 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1682 eval "$ac_cv_use_libjpeg"
1683 if test "$no_cache" != 1; then
1684 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1687 if test "$wxUSE_LIBJPEG" = yes; then
1688 echo "$ac_t""yes" 1>&6
1689 elif test "$wxUSE_LIBJPEG" = no
; then
1690 echo "$ac_t""no" 1>&6
1691 elif test "$wxUSE_LIBJPEG" = sys
; then
1692 echo "$ac_t""system version" 1>&6
1694 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1698 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1699 echo "configure:1700: checking "for --with-libtiff"" >&5
1701 # Check whether --with-libtiff or --without-libtiff was given.
1702 if test "${with_libtiff+set}" = set; then
1703 withval
="$with_libtiff"
1705 if test "$withval" = yes; then
1706 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1707 elif test "$withval" = no
; then
1708 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1709 elif test "$withval" = sys
; then
1710 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1712 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1717 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1718 if test "x$LINE" != x
; then
1719 eval "DEFAULT_$LINE"
1724 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1729 eval "$ac_cv_use_libtiff"
1730 if test "$no_cache" != 1; then
1731 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1734 if test "$wxUSE_LIBTIFF" = yes; then
1735 echo "$ac_t""yes" 1>&6
1736 elif test "$wxUSE_LIBTIFF" = no
; then
1737 echo "$ac_t""no" 1>&6
1738 elif test "$wxUSE_LIBTIFF" = sys
; then
1739 echo "$ac_t""system version" 1>&6
1741 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1745 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1746 echo "configure:1747: checking "for --with-opengl"" >&5
1748 # Check whether --with-opengl or --without-opengl was given.
1749 if test "${with_opengl+set}" = set; then
1750 withval
="$with_opengl"
1752 if test "$withval" = yes; then
1753 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1755 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1760 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1761 if test "x$LINE" != x
; then
1762 eval "DEFAULT_$LINE"
1767 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1772 eval "$ac_cv_use_opengl"
1773 if test "$no_cache" != 1; then
1774 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1777 if test "$wxUSE_OPENGL" = yes; then
1778 echo "$ac_t""yes" 1>&6
1780 echo "$ac_t""no" 1>&6
1787 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1788 echo "configure:1789: checking "for --with-dmalloc"" >&5
1790 # Check whether --with-dmalloc or --without-dmalloc was given.
1791 if test "${with_dmalloc+set}" = set; then
1792 withval
="$with_dmalloc"
1794 if test "$withval" = yes; then
1795 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1797 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1802 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1803 if test "x$LINE" != x
; then
1804 eval "DEFAULT_$LINE"
1809 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1814 eval "$ac_cv_use_dmalloc"
1815 if test "$no_cache" != 1; then
1816 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1819 if test "$wxUSE_DMALLOC" = yes; then
1820 echo "$ac_t""yes" 1>&6
1822 echo "$ac_t""no" 1>&6
1826 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1827 echo "configure:1828: checking "for --with-zlib"" >&5
1829 # Check whether --with-zlib or --without-zlib was given.
1830 if test "${with_zlib+set}" = set; then
1831 withval
="$with_zlib"
1833 if test "$withval" = yes; then
1834 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1835 elif test "$withval" = no
; then
1836 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1837 elif test "$withval" = sys
; then
1838 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1840 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1845 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1846 if test "x$LINE" != x
; then
1847 eval "DEFAULT_$LINE"
1852 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1857 eval "$ac_cv_use_zlib"
1858 if test "$no_cache" != 1; then
1859 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1862 if test "$wxUSE_ZLIB" = yes; then
1863 echo "$ac_t""yes" 1>&6
1864 elif test "$wxUSE_ZLIB" = no
; then
1865 echo "$ac_t""no" 1>&6
1866 elif test "$wxUSE_ZLIB" = sys
; then
1867 echo "$ac_t""system version" 1>&6
1869 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1873 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1874 echo "configure:1875: checking "for --with-odbc"" >&5
1876 # Check whether --with-odbc or --without-odbc was given.
1877 if test "${with_odbc+set}" = set; then
1878 withval
="$with_odbc"
1880 if test "$withval" = yes; then
1881 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1883 ac_cv_use_odbc
='wxUSE_ODBC=no'
1888 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1889 if test "x$LINE" != x
; then
1890 eval "DEFAULT_$LINE"
1895 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1900 eval "$ac_cv_use_odbc"
1901 if test "$no_cache" != 1; then
1902 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1905 if test "$wxUSE_ODBC" = yes; then
1906 echo "$ac_t""yes" 1>&6
1908 echo "$ac_t""no" 1>&6
1915 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1916 echo "configure:1917: checking "for --enable-shared"" >&5
1918 # Check whether --enable-shared or --disable-shared was given.
1919 if test "${enable_shared+set}" = set; then
1920 enableval
="$enable_shared"
1922 if test "$enableval" = yes; then
1923 ac_cv_use_shared
='wxUSE_SHARED=yes'
1925 ac_cv_use_shared
='wxUSE_SHARED=no'
1930 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1931 if test "x$LINE" != x
; then
1932 eval "DEFAULT_$LINE"
1937 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1942 eval "$ac_cv_use_shared"
1943 if test "$no_cache" != 1; then
1944 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1947 if test "$wxUSE_SHARED" = yes; then
1948 echo "$ac_t""yes" 1>&6
1950 echo "$ac_t""no" 1>&6
1954 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1955 echo "configure:1956: checking "for --enable-burnt_name"" >&5
1957 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1958 if test "${enable_burnt_name+set}" = set; then
1959 enableval
="$enable_burnt_name"
1961 if test "$enableval" = yes; then
1962 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1964 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1969 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1970 if test "x$LINE" != x
; then
1971 eval "DEFAULT_$LINE"
1976 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1981 eval "$ac_cv_use_burnt_name"
1982 if test "$no_cache" != 1; then
1983 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1986 if test "$wxUSE_BURNT_NAME" = yes; then
1987 echo "$ac_t""yes" 1>&6
1989 echo "$ac_t""no" 1>&6
1993 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1994 echo "configure:1995: checking "for --enable-optimise"" >&5
1996 # Check whether --enable-optimise or --disable-optimise was given.
1997 if test "${enable_optimise+set}" = set; then
1998 enableval
="$enable_optimise"
2000 if test "$enableval" = yes; then
2001 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2003 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2008 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2009 if test "x$LINE" != x
; then
2010 eval "DEFAULT_$LINE"
2015 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2020 eval "$ac_cv_use_optimise"
2021 if test "$no_cache" != 1; then
2022 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2025 if test "$wxUSE_OPTIMISE" = yes; then
2026 echo "$ac_t""yes" 1>&6
2028 echo "$ac_t""no" 1>&6
2032 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2033 echo "configure:2034: checking "for --enable-debug"" >&5
2035 # Check whether --enable-debug or --disable-debug was given.
2036 if test "${enable_debug+set}" = set; then
2037 enableval
="$enable_debug"
2039 if test "$enableval" = yes; then
2040 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2042 ac_cv_use_debug
='wxUSE_DEBUG=no'
2047 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2048 if test "x$LINE" != x
; then
2049 eval "DEFAULT_$LINE"
2054 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2059 eval "$ac_cv_use_debug"
2060 if test "$no_cache" != 1; then
2061 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2064 if test "$wxUSE_DEBUG" = yes; then
2065 echo "$ac_t""yes" 1>&6
2067 echo "$ac_t""no" 1>&6
2071 if test "$wxUSE_DEBUG" = "yes"; then
2072 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2073 DEFAULT_wxUSE_DEBUG_INFO
=yes
2074 elif test "$wxUSE_DEBUG" = "no"; then
2075 DEFAULT_wxUSE_DEBUG_FLAG
=no
2076 DEFAULT_wxUSE_DEBUG_INFO
=no
2080 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2081 echo "configure:2082: checking "for --enable-debug_flag"" >&5
2083 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2084 if test "${enable_debug_flag+set}" = set; then
2085 enableval
="$enable_debug_flag"
2087 if test "$enableval" = yes; then
2088 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2090 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2095 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2096 if test "x$LINE" != x
; then
2097 eval "DEFAULT_$LINE"
2102 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2107 eval "$ac_cv_use_debug_flag"
2108 if test "$no_cache" != 1; then
2109 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2112 if test "$wxUSE_DEBUG_FLAG" = yes; then
2113 echo "$ac_t""yes" 1>&6
2115 echo "$ac_t""no" 1>&6
2119 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2120 echo "configure:2121: checking "for --enable-debug_info"" >&5
2122 # Check whether --enable-debug_info or --disable-debug_info was given.
2123 if test "${enable_debug_info+set}" = set; then
2124 enableval
="$enable_debug_info"
2126 if test "$enableval" = yes; then
2127 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2129 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2134 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2135 if test "x$LINE" != x
; then
2136 eval "DEFAULT_$LINE"
2141 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2146 eval "$ac_cv_use_debug_info"
2147 if test "$no_cache" != 1; then
2148 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2151 if test "$wxUSE_DEBUG_INFO" = yes; then
2152 echo "$ac_t""yes" 1>&6
2154 echo "$ac_t""no" 1>&6
2158 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2159 echo "configure:2160: checking "for --enable-debug_gdb"" >&5
2161 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2162 if test "${enable_debug_gdb+set}" = set; then
2163 enableval
="$enable_debug_gdb"
2165 if test "$enableval" = yes; then
2166 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2168 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2173 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2174 if test "x$LINE" != x
; then
2175 eval "DEFAULT_$LINE"
2180 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2185 eval "$ac_cv_use_debug_gdb"
2186 if test "$no_cache" != 1; then
2187 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2190 if test "$wxUSE_DEBUG_GDB" = yes; then
2191 echo "$ac_t""yes" 1>&6
2193 echo "$ac_t""no" 1>&6
2197 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2198 echo "configure:2199: checking "for --enable-debug_cntxt"" >&5
2200 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2201 if test "${enable_debug_cntxt+set}" = set; then
2202 enableval
="$enable_debug_cntxt"
2204 if test "$enableval" = yes; then
2205 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2207 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2212 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2213 if test "x$LINE" != x
; then
2214 eval "DEFAULT_$LINE"
2219 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2224 eval "$ac_cv_use_debug_cntxt"
2225 if test "$no_cache" != 1; then
2226 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2229 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2230 echo "$ac_t""yes" 1>&6
2232 echo "$ac_t""no" 1>&6
2236 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2237 echo "configure:2238: checking "for --enable-mem_tracing"" >&5
2239 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2240 if test "${enable_mem_tracing+set}" = set; then
2241 enableval
="$enable_mem_tracing"
2243 if test "$enableval" = yes; then
2244 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2246 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2251 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2252 if test "x$LINE" != x
; then
2253 eval "DEFAULT_$LINE"
2258 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2263 eval "$ac_cv_use_mem_tracing"
2264 if test "$no_cache" != 1; then
2265 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2268 if test "$wxUSE_MEM_TRACING" = yes; then
2269 echo "$ac_t""yes" 1>&6
2271 echo "$ac_t""no" 1>&6
2275 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2276 echo "configure:2277: checking "for --enable-profile"" >&5
2278 # Check whether --enable-profile or --disable-profile was given.
2279 if test "${enable_profile+set}" = set; then
2280 enableval
="$enable_profile"
2282 if test "$enableval" = yes; then
2283 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2285 ac_cv_use_profile
='wxUSE_PROFILE=no'
2290 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2291 if test "x$LINE" != x
; then
2292 eval "DEFAULT_$LINE"
2297 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2302 eval "$ac_cv_use_profile"
2303 if test "$no_cache" != 1; then
2304 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2307 if test "$wxUSE_PROFILE" = yes; then
2308 echo "$ac_t""yes" 1>&6
2310 echo "$ac_t""no" 1>&6
2314 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2315 echo "configure:2316: checking "for --enable-no_rtti"" >&5
2317 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2318 if test "${enable_no_rtti+set}" = set; then
2319 enableval
="$enable_no_rtti"
2321 if test "$enableval" = yes; then
2322 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2324 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2329 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2330 if test "x$LINE" != x
; then
2331 eval "DEFAULT_$LINE"
2336 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2341 eval "$ac_cv_use_no_rtti"
2342 if test "$no_cache" != 1; then
2343 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2346 if test "$wxUSE_NO_RTTI" = yes; then
2347 echo "$ac_t""yes" 1>&6
2349 echo "$ac_t""no" 1>&6
2353 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2354 echo "configure:2355: checking "for --enable-no_exceptions"" >&5
2356 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2357 if test "${enable_no_exceptions+set}" = set; then
2358 enableval
="$enable_no_exceptions"
2360 if test "$enableval" = yes; then
2361 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2363 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2368 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2369 if test "x$LINE" != x
; then
2370 eval "DEFAULT_$LINE"
2375 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2380 eval "$ac_cv_use_no_exceptions"
2381 if test "$no_cache" != 1; then
2382 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2385 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2386 echo "$ac_t""yes" 1>&6
2388 echo "$ac_t""no" 1>&6
2392 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2393 echo "configure:2394: checking "for --enable-permissive"" >&5
2395 # Check whether --enable-permissive or --disable-permissive was given.
2396 if test "${enable_permissive+set}" = set; then
2397 enableval
="$enable_permissive"
2399 if test "$enableval" = yes; then
2400 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2402 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2407 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x
; then
2409 eval "DEFAULT_$LINE"
2414 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2419 eval "$ac_cv_use_permissive"
2420 if test "$no_cache" != 1; then
2421 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2424 if test "$wxUSE_PERMISSIVE" = yes; then
2425 echo "$ac_t""yes" 1>&6
2427 echo "$ac_t""no" 1>&6
2431 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2432 echo "configure:2433: checking "for --enable-no_deps"" >&5
2434 # Check whether --enable-no_deps or --disable-no_deps was given.
2435 if test "${enable_no_deps+set}" = set; then
2436 enableval
="$enable_no_deps"
2438 if test "$enableval" = yes; then
2439 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2441 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2446 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2447 if test "x$LINE" != x
; then
2448 eval "DEFAULT_$LINE"
2453 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2458 eval "$ac_cv_use_no_deps"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_NO_DEPS" = yes; then
2464 echo "$ac_t""yes" 1>&6
2466 echo "$ac_t""no" 1>&6
2472 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2473 echo "configure:2474: checking "for --enable-intl"" >&5
2475 # Check whether --enable-intl or --disable-intl was given.
2476 if test "${enable_intl+set}" = set; then
2477 enableval
="$enable_intl"
2479 if test "$enableval" = yes; then
2480 ac_cv_use_intl
='wxUSE_INTL=yes'
2482 ac_cv_use_intl
='wxUSE_INTL=no'
2487 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2488 if test "x$LINE" != x
; then
2489 eval "DEFAULT_$LINE"
2494 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2499 eval "$ac_cv_use_intl"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2504 if test "$wxUSE_INTL" = yes; then
2505 echo "$ac_t""yes" 1>&6
2507 echo "$ac_t""no" 1>&6
2511 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2512 echo "configure:2513: checking "for --enable-config"" >&5
2514 # Check whether --enable-config or --disable-config was given.
2515 if test "${enable_config+set}" = set; then
2516 enableval
="$enable_config"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_config
='wxUSE_CONFIG=yes'
2521 ac_cv_use_config
='wxUSE_CONFIG=no'
2526 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x
; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2538 eval "$ac_cv_use_config"
2539 if test "$no_cache" != 1; then
2540 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2543 if test "$wxUSE_CONFIG" = yes; then
2544 echo "$ac_t""yes" 1>&6
2546 echo "$ac_t""no" 1>&6
2551 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2552 echo "configure:2553: checking "for --enable-sockets"" >&5
2554 # Check whether --enable-sockets or --disable-sockets was given.
2555 if test "${enable_sockets+set}" = set; then
2556 enableval
="$enable_sockets"
2558 if test "$enableval" = yes; then
2559 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2561 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2566 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2567 if test "x$LINE" != x
; then
2568 eval "DEFAULT_$LINE"
2573 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2578 eval "$ac_cv_use_sockets"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_SOCKETS" = yes; then
2584 echo "$ac_t""yes" 1>&6
2586 echo "$ac_t""no" 1>&6
2591 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2592 echo "configure:2593: checking "for --enable-ipc"" >&5
2594 # Check whether --enable-ipc or --disable-ipc was given.
2595 if test "${enable_ipc+set}" = set; then
2596 enableval
="$enable_ipc"
2598 if test "$enableval" = yes; then
2599 ac_cv_use_ipc
='wxUSE_IPC=yes'
2601 ac_cv_use_ipc
='wxUSE_IPC=no'
2606 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x
; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2618 eval "$ac_cv_use_ipc"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2623 if test "$wxUSE_IPC" = yes; then
2624 echo "$ac_t""yes" 1>&6
2626 echo "$ac_t""no" 1>&6
2631 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2632 echo "configure:2633: checking "for --enable-dialupman"" >&5
2634 # Check whether --enable-dialupman or --disable-dialupman was given.
2635 if test "${enable_dialupman+set}" = set; then
2636 enableval
="$enable_dialupman"
2638 if test "$enableval" = yes; then
2639 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2641 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2646 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2647 if test "x$LINE" != x
; then
2648 eval "DEFAULT_$LINE"
2653 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2658 eval "$ac_cv_use_dialupman"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2664 echo "$ac_t""yes" 1>&6
2666 echo "$ac_t""no" 1>&6
2670 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2671 echo "configure:2672: checking "for --enable-apple_ieee"" >&5
2673 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2674 if test "${enable_apple_ieee+set}" = set; then
2675 enableval
="$enable_apple_ieee"
2677 if test "$enableval" = yes; then
2678 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2680 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2685 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2686 if test "x$LINE" != x
; then
2687 eval "DEFAULT_$LINE"
2692 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2697 eval "$ac_cv_use_apple_ieee"
2698 if test "$no_cache" != 1; then
2699 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2702 if test "$wxUSE_APPLE_IEEE" = yes; then
2703 echo "$ac_t""yes" 1>&6
2705 echo "$ac_t""no" 1>&6
2709 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2710 echo "configure:2711: checking "for --enable-timedate"" >&5
2712 # Check whether --enable-timedate or --disable-timedate was given.
2713 if test "${enable_timedate+set}" = set; then
2714 enableval
="$enable_timedate"
2716 if test "$enableval" = yes; then
2717 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2719 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2724 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2725 if test "x$LINE" != x
; then
2726 eval "DEFAULT_$LINE"
2731 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2736 eval "$ac_cv_use_timedate"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2741 if test "$wxUSE_TIMEDATE" = yes; then
2742 echo "$ac_t""yes" 1>&6
2744 echo "$ac_t""no" 1>&6
2748 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2749 echo "configure:2750: checking "for --enable-wave"" >&5
2751 # Check whether --enable-wave or --disable-wave was given.
2752 if test "${enable_wave+set}" = set; then
2753 enableval
="$enable_wave"
2755 if test "$enableval" = yes; then
2756 ac_cv_use_wave
='wxUSE_WAVE=yes'
2758 ac_cv_use_wave
='wxUSE_WAVE=no'
2763 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2775 eval "$ac_cv_use_wave"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2780 if test "$wxUSE_WAVE" = yes; then
2781 echo "$ac_t""yes" 1>&6
2783 echo "$ac_t""no" 1>&6
2787 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2788 echo "configure:2789: checking "for --enable-fraction"" >&5
2790 # Check whether --enable-fraction or --disable-fraction was given.
2791 if test "${enable_fraction+set}" = set; then
2792 enableval
="$enable_fraction"
2794 if test "$enableval" = yes; then
2795 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2797 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2802 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2803 if test "x$LINE" != x
; then
2804 eval "DEFAULT_$LINE"
2809 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2814 eval "$ac_cv_use_fraction"
2815 if test "$no_cache" != 1; then
2816 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2819 if test "$wxUSE_FRACTION" = yes; then
2820 echo "$ac_t""yes" 1>&6
2822 echo "$ac_t""no" 1>&6
2826 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2827 echo "configure:2828: checking "for --enable-dynlib"" >&5
2829 # Check whether --enable-dynlib or --disable-dynlib was given.
2830 if test "${enable_dynlib+set}" = set; then
2831 enableval
="$enable_dynlib"
2833 if test "$enableval" = yes; then
2834 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2836 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2841 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x
; then
2843 eval "DEFAULT_$LINE"
2848 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2853 eval "$ac_cv_use_dynlib"
2854 if test "$no_cache" != 1; then
2855 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2858 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2859 echo "$ac_t""yes" 1>&6
2861 echo "$ac_t""no" 1>&6
2865 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2866 echo "configure:2867: checking "for --enable-longlong"" >&5
2868 # Check whether --enable-longlong or --disable-longlong was given.
2869 if test "${enable_longlong+set}" = set; then
2870 enableval
="$enable_longlong"
2872 if test "$enableval" = yes; then
2873 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2875 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2880 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2881 if test "x$LINE" != x
; then
2882 eval "DEFAULT_$LINE"
2887 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2892 eval "$ac_cv_use_longlong"
2893 if test "$no_cache" != 1; then
2894 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2897 if test "$wxUSE_LONGLONG" = yes; then
2898 echo "$ac_t""yes" 1>&6
2900 echo "$ac_t""no" 1>&6
2904 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2905 echo "configure:2906: checking "for --enable-log"" >&5
2907 # Check whether --enable-log or --disable-log was given.
2908 if test "${enable_log+set}" = set; then
2909 enableval
="$enable_log"
2911 if test "$enableval" = yes; then
2912 ac_cv_use_log
='wxUSE_LOG=yes'
2914 ac_cv_use_log
='wxUSE_LOG=no'
2919 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2931 eval "$ac_cv_use_log"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2936 if test "$wxUSE_LOG" = yes; then
2937 echo "$ac_t""yes" 1>&6
2939 echo "$ac_t""no" 1>&6
2943 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2944 echo "configure:2945: checking "for --enable-streams"" >&5
2946 # Check whether --enable-streams or --disable-streams was given.
2947 if test "${enable_streams+set}" = set; then
2948 enableval
="$enable_streams"
2950 if test "$enableval" = yes; then
2951 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2953 ac_cv_use_streams
='wxUSE_STREAMS=no'
2958 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2959 if test "x$LINE" != x
; then
2960 eval "DEFAULT_$LINE"
2965 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2970 eval "$ac_cv_use_streams"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_STREAMS" = yes; then
2976 echo "$ac_t""yes" 1>&6
2978 echo "$ac_t""no" 1>&6
2982 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2983 echo "configure:2984: checking "for --enable-file"" >&5
2985 # Check whether --enable-file or --disable-file was given.
2986 if test "${enable_file+set}" = set; then
2987 enableval
="$enable_file"
2989 if test "$enableval" = yes; then
2990 ac_cv_use_file
='wxUSE_FILE=yes'
2992 ac_cv_use_file
='wxUSE_FILE=no'
2997 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x
; then
2999 eval "DEFAULT_$LINE"
3004 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3009 eval "$ac_cv_use_file"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_FILE" = yes; then
3015 echo "$ac_t""yes" 1>&6
3017 echo "$ac_t""no" 1>&6
3021 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3022 echo "configure:3023: checking "for --enable-textfile"" >&5
3024 # Check whether --enable-textfile or --disable-textfile was given.
3025 if test "${enable_textfile+set}" = set; then
3026 enableval
="$enable_textfile"
3028 if test "$enableval" = yes; then
3029 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3031 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3036 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3048 eval "$ac_cv_use_textfile"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_TEXTFILE" = yes; then
3054 echo "$ac_t""yes" 1>&6
3056 echo "$ac_t""no" 1>&6
3060 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3061 echo "configure:3062: checking "for --enable-unicode"" >&5
3063 # Check whether --enable-unicode or --disable-unicode was given.
3064 if test "${enable_unicode+set}" = set; then
3065 enableval
="$enable_unicode"
3067 if test "$enableval" = yes; then
3068 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3070 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3075 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x
; then
3077 eval "DEFAULT_$LINE"
3082 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3087 eval "$ac_cv_use_unicode"
3088 if test "$no_cache" != 1; then
3089 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3092 if test "$wxUSE_UNICODE" = yes; then
3093 echo "$ac_t""yes" 1>&6
3095 echo "$ac_t""no" 1>&6
3099 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3100 echo "configure:3101: checking "for --enable-wcsrtombs"" >&5
3102 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3103 if test "${enable_wcsrtombs+set}" = set; then
3104 enableval
="$enable_wcsrtombs"
3106 if test "$enableval" = yes; then
3107 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3109 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3114 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x
; then
3116 eval "DEFAULT_$LINE"
3121 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3126 eval "$ac_cv_use_wcsrtombs"
3127 if test "$no_cache" != 1; then
3128 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3131 if test "$wxUSE_WCSRTOMBS" = yes; then
3132 echo "$ac_t""yes" 1>&6
3134 echo "$ac_t""no" 1>&6
3138 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3139 echo "configure:3140: checking "for --enable-wxprintfv"" >&5
3141 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3142 if test "${enable_wxprintfv+set}" = set; then
3143 enableval
="$enable_wxprintfv"
3145 if test "$enableval" = yes; then
3146 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3148 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3153 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x
; then
3155 eval "DEFAULT_$LINE"
3160 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3165 eval "$ac_cv_use_wxprintfv"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3170 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3171 echo "$ac_t""yes" 1>&6
3173 echo "$ac_t""no" 1>&6
3177 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3178 echo "configure:3179: checking "for --enable-std_iostreams"" >&5
3180 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3181 if test "${enable_std_iostreams+set}" = set; then
3182 enableval
="$enable_std_iostreams"
3184 if test "$enableval" = yes; then
3185 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3187 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3192 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3193 if test "x$LINE" != x
; then
3194 eval "DEFAULT_$LINE"
3199 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3204 eval "$ac_cv_use_std_iostreams"
3205 if test "$no_cache" != 1; then
3206 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3209 if test "$wxUSE_STD_IOSTREAM" = yes; then
3210 echo "$ac_t""yes" 1>&6
3212 echo "$ac_t""no" 1>&6
3216 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3217 echo "configure:3218: checking "for --enable-filesystem"" >&5
3219 # Check whether --enable-filesystem or --disable-filesystem was given.
3220 if test "${enable_filesystem+set}" = set; then
3221 enableval
="$enable_filesystem"
3223 if test "$enableval" = yes; then
3224 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3226 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3231 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3232 if test "x$LINE" != x
; then
3233 eval "DEFAULT_$LINE"
3238 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3243 eval "$ac_cv_use_filesystem"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_FILESYSTEM" = yes; then
3249 echo "$ac_t""yes" 1>&6
3251 echo "$ac_t""no" 1>&6
3255 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3256 echo "configure:3257: checking "for --enable-fs_inet"" >&5
3258 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3259 if test "${enable_fs_inet+set}" = set; then
3260 enableval
="$enable_fs_inet"
3262 if test "$enableval" = yes; then
3263 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3265 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3270 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3271 if test "x$LINE" != x
; then
3272 eval "DEFAULT_$LINE"
3277 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3282 eval "$ac_cv_use_fs_inet"
3283 if test "$no_cache" != 1; then
3284 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3287 if test "$wxUSE_FS_INET" = yes; then
3288 echo "$ac_t""yes" 1>&6
3290 echo "$ac_t""no" 1>&6
3294 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3295 echo "configure:3296: checking "for --enable-fs_zip"" >&5
3297 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3298 if test "${enable_fs_zip+set}" = set; then
3299 enableval
="$enable_fs_zip"
3301 if test "$enableval" = yes; then
3302 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3304 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3309 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3310 if test "x$LINE" != x
; then
3311 eval "DEFAULT_$LINE"
3316 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3321 eval "$ac_cv_use_fs_zip"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3326 if test "$wxUSE_FS_ZIP" = yes; then
3327 echo "$ac_t""yes" 1>&6
3329 echo "$ac_t""no" 1>&6
3333 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3334 echo "configure:3335: checking "for --enable-zipstream"" >&5
3336 # Check whether --enable-zipstream or --disable-zipstream was given.
3337 if test "${enable_zipstream+set}" = set; then
3338 enableval
="$enable_zipstream"
3340 if test "$enableval" = yes; then
3341 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3343 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3348 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3360 eval "$ac_cv_use_zipstream"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3365 if test "$wxUSE_ZIPSTREAM" = yes; then
3366 echo "$ac_t""yes" 1>&6
3368 echo "$ac_t""no" 1>&6
3373 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3374 echo "configure:3375: checking "for --enable-catch_segvs"" >&5
3376 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3377 if test "${enable_catch_segvs+set}" = set; then
3378 enableval
="$enable_catch_segvs"
3380 if test "$enableval" = yes; then
3381 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3383 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3388 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x
; then
3390 eval "DEFAULT_$LINE"
3395 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3400 eval "$ac_cv_use_catch_segvs"
3401 if test "$no_cache" != 1; then
3402 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3405 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3406 echo "$ac_t""yes" 1>&6
3408 echo "$ac_t""no" 1>&6
3414 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3415 echo "configure:3416: checking "for --enable-threads"" >&5
3417 # Check whether --enable-threads or --disable-threads was given.
3418 if test "${enable_threads+set}" = set; then
3419 enableval
="$enable_threads"
3421 if test "$enableval" = yes; then
3422 ac_cv_use_threads
='wxUSE_THREADS=yes'
3424 ac_cv_use_threads
='wxUSE_THREADS=no'
3429 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x
; then
3431 eval "DEFAULT_$LINE"
3436 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3441 eval "$ac_cv_use_threads"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_THREADS" = yes; then
3447 echo "$ac_t""yes" 1>&6
3449 echo "$ac_t""no" 1>&6
3453 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3454 echo "configure:3455: checking "for --enable-serial"" >&5
3456 # Check whether --enable-serial or --disable-serial was given.
3457 if test "${enable_serial+set}" = set; then
3458 enableval
="$enable_serial"
3460 if test "$enableval" = yes; then
3461 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3463 ac_cv_use_serial
='wxUSE_SERIAL=no'
3468 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x
; then
3470 eval "DEFAULT_$LINE"
3475 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3480 eval "$ac_cv_use_serial"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3485 if test "$wxUSE_SERIAL" = yes; then
3486 echo "$ac_t""yes" 1>&6
3488 echo "$ac_t""no" 1>&6
3492 if test "$wxUSE_GUI" = "yes"; then
3496 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3497 echo "configure:3498: checking "for --enable-docview"" >&5
3499 # Check whether --enable-docview or --disable-docview was given.
3500 if test "${enable_docview+set}" = set; then
3501 enableval
="$enable_docview"
3503 if test "$enableval" = yes; then
3504 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3506 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3511 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x
; then
3513 eval "DEFAULT_$LINE"
3518 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3523 eval "$ac_cv_use_docview"
3524 if test "$no_cache" != 1; then
3525 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3528 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3529 echo "$ac_t""yes" 1>&6
3531 echo "$ac_t""no" 1>&6
3535 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3536 echo "configure:3537: checking "for --enable-help"" >&5
3538 # Check whether --enable-help or --disable-help was given.
3539 if test "${enable_help+set}" = set; then
3540 enableval
="$enable_help"
3542 if test "$enableval" = yes; then
3543 ac_cv_use_help
='wxUSE_HELP=yes'
3545 ac_cv_use_help
='wxUSE_HELP=no'
3550 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3551 if test "x$LINE" != x
; then
3552 eval "DEFAULT_$LINE"
3557 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3562 eval "$ac_cv_use_help"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3567 if test "$wxUSE_HELP" = yes; then
3568 echo "$ac_t""yes" 1>&6
3570 echo "$ac_t""no" 1>&6
3574 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3575 echo "configure:3576: checking "for --enable-constraints"" >&5
3577 # Check whether --enable-constraints or --disable-constraints was given.
3578 if test "${enable_constraints+set}" = set; then
3579 enableval
="$enable_constraints"
3581 if test "$enableval" = yes; then
3582 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3584 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3589 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x
; then
3591 eval "DEFAULT_$LINE"
3596 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3601 eval "$ac_cv_use_constraints"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3606 if test "$wxUSE_CONSTRAINTS" = yes; then
3607 echo "$ac_t""yes" 1>&6
3609 echo "$ac_t""no" 1>&6
3613 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3614 echo "configure:3615: checking "for --enable-printarch"" >&5
3616 # Check whether --enable-printarch or --disable-printarch was given.
3617 if test "${enable_printarch+set}" = set; then
3618 enableval
="$enable_printarch"
3620 if test "$enableval" = yes; then
3621 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3623 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3628 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x
; then
3630 eval "DEFAULT_$LINE"
3635 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3640 eval "$ac_cv_use_printarch"
3641 if test "$no_cache" != 1; then
3642 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3645 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3646 echo "$ac_t""yes" 1>&6
3648 echo "$ac_t""no" 1>&6
3652 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3653 echo "configure:3654: checking "for --enable-mdi"" >&5
3655 # Check whether --enable-mdi or --disable-mdi was given.
3656 if test "${enable_mdi+set}" = set; then
3657 enableval
="$enable_mdi"
3659 if test "$enableval" = yes; then
3660 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3662 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3667 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x
; then
3669 eval "DEFAULT_$LINE"
3674 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3679 eval "$ac_cv_use_mdi"
3680 if test "$no_cache" != 1; then
3681 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3684 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3685 echo "$ac_t""yes" 1>&6
3687 echo "$ac_t""no" 1>&6
3692 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3693 echo "configure:3694: checking "for --enable-postscript"" >&5
3695 # Check whether --enable-postscript or --disable-postscript was given.
3696 if test "${enable_postscript+set}" = set; then
3697 enableval
="$enable_postscript"
3699 if test "$enableval" = yes; then
3700 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3702 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3707 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3708 if test "x$LINE" != x
; then
3709 eval "DEFAULT_$LINE"
3714 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3719 eval "$ac_cv_use_postscript"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_POSTSCRIPT" = yes; then
3725 echo "$ac_t""yes" 1>&6
3727 echo "$ac_t""no" 1>&6
3733 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3734 echo "configure:3735: checking "for --enable-prologio"" >&5
3736 # Check whether --enable-prologio or --disable-prologio was given.
3737 if test "${enable_prologio+set}" = set; then
3738 enableval
="$enable_prologio"
3740 if test "$enableval" = yes; then
3741 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3743 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3748 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x
; then
3750 eval "DEFAULT_$LINE"
3755 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3760 eval "$ac_cv_use_prologio"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3765 if test "$wxUSE_PROLOGIO" = yes; then
3766 echo "$ac_t""yes" 1>&6
3768 echo "$ac_t""no" 1>&6
3772 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3773 echo "configure:3774: checking "for --enable-resources"" >&5
3775 # Check whether --enable-resources or --disable-resources was given.
3776 if test "${enable_resources+set}" = set; then
3777 enableval
="$enable_resources"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3782 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3787 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3799 eval "$ac_cv_use_resources"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_RESOURCES" = yes; then
3805 echo "$ac_t""yes" 1>&6
3807 echo "$ac_t""no" 1>&6
3812 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3813 echo "configure:3814: checking "for --enable-xresources"" >&5
3815 # Check whether --enable-xresources or --disable-xresources was given.
3816 if test "${enable_xresources+set}" = set; then
3817 enableval
="$enable_xresources"
3819 if test "$enableval" = yes; then
3820 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3822 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3827 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3828 if test "x$LINE" != x
; then
3829 eval "DEFAULT_$LINE"
3834 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3839 eval "$ac_cv_use_xresources"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3844 if test "$wxUSE_X_RESOURCES" = yes; then
3845 echo "$ac_t""yes" 1>&6
3847 echo "$ac_t""no" 1>&6
3853 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3854 echo "configure:3855: checking "for --enable-clipboard"" >&5
3856 # Check whether --enable-clipboard or --disable-clipboard was given.
3857 if test "${enable_clipboard+set}" = set; then
3858 enableval
="$enable_clipboard"
3860 if test "$enableval" = yes; then
3861 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3863 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3868 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3869 if test "x$LINE" != x
; then
3870 eval "DEFAULT_$LINE"
3875 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3880 eval "$ac_cv_use_clipboard"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_CLIPBOARD" = yes; then
3886 echo "$ac_t""yes" 1>&6
3888 echo "$ac_t""no" 1>&6
3892 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3893 echo "configure:3894: checking "for --enable-dnd"" >&5
3895 # Check whether --enable-dnd or --disable-dnd was given.
3896 if test "${enable_dnd+set}" = set; then
3897 enableval
="$enable_dnd"
3899 if test "$enableval" = yes; then
3900 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3902 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3907 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x
; then
3909 eval "DEFAULT_$LINE"
3914 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3919 eval "$ac_cv_use_dnd"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3924 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3925 echo "$ac_t""yes" 1>&6
3927 echo "$ac_t""no" 1>&6
3932 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3933 echo "configure:3934: checking "for --enable-wxtree"" >&5
3935 # Check whether --enable-wxtree or --disable-wxtree was given.
3936 if test "${enable_wxtree+set}" = set; then
3937 enableval
="$enable_wxtree"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3942 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3947 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3959 eval "$ac_cv_use_wxtree"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_WXTREE" = yes; then
3965 echo "$ac_t""yes" 1>&6
3967 echo "$ac_t""no" 1>&6
3973 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3974 echo "configure:3975: checking "for --enable-controls"" >&5
3976 # Check whether --enable-controls or --disable-controls was given.
3977 if test "${enable_controls+set}" = set; then
3978 enableval
="$enable_controls"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3983 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3988 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x
; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4000 eval "$ac_cv_use_controls"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4005 if test "$wxUSE_CONTROLS" = yes; then
4006 echo "$ac_t""yes" 1>&6
4008 echo "$ac_t""no" 1>&6
4012 if test "$wxUSE_CONTROLS" = "yes"; then
4013 DEFAULT_wxUSE_ACCEL
=yes
4014 DEFAULT_wxUSE_CARET
=yes
4015 DEFAULT_wxUSE_COMBOBOX
=yes
4016 DEFAULT_wxUSE_BMPBUTTON
=yes
4017 DEFAULT_wxUSE_CHECKBOX
=yes
4018 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4019 DEFAULT_wxUSE_CHOICE
=yes
4020 DEFAULT_wxUSE_GAUGE
=yes
4021 DEFAULT_wxUSE_GRID
=yes
4022 DEFAULT_wxUSE_NEW_GRID
=yes
4023 DEFAULT_wxUSE_IMAGLIST
=yes
4024 DEFAULT_wxUSE_LISTBOX
=yes
4025 DEFAULT_wxUSE_LISTCTRL
=yes
4026 DEFAULT_wxUSE_NOTEBOOK
=yes
4027 DEFAULT_wxUSE_RADIOBOX
=yes
4028 DEFAULT_wxUSE_RADIOBTN
=yes
4029 DEFAULT_wxUSE_SASH
=yes
4030 DEFAULT_wxUSE_SCROLLBAR
=yes
4031 DEFAULT_wxUSE_SLIDER
=yes
4032 DEFAULT_wxUSE_SPINBTN
=yes
4033 DEFAULT_wxUSE_SPINCTRL
=yes
4034 DEFAULT_wxUSE_SPLITTER
=yes
4035 DEFAULT_wxUSE_STATBMP
=yes
4036 DEFAULT_wxUSE_STATBOX
=yes
4037 DEFAULT_wxUSE_STATLINE
=yes
4038 DEFAULT_wxUSE_STATUSBAR
=yes
4039 DEFAULT_wxUSE_TAB_DIALOG
=yes
4040 DEFAULT_wxUSE_TOOLBAR
=yes
4041 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4042 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4043 DEFAULT_wxUSE_TOOLTIPS
=yes
4044 DEFAULT_wxUSE_TREECTRL
=yes
4045 elif test "$wxUSE_CONTROLS" = "no"; then
4046 DEFAULT_wxUSE_ACCEL
=no
4047 DEFAULT_wxUSE_CARET
=no
4048 DEFAULT_wxUSE_COMBOBOX
=no
4049 DEFAULT_wxUSE_BMPBUTTON
=no
4050 DEFAULT_wxUSE_CHECKBOX
=no
4051 DEFAULT_wxUSE_CHECKLISTBOX
=no
4052 DEFAULT_wxUSE_CHOICE
=no
4053 DEFAULT_wxUSE_GAUGE
=no
4054 DEFAULT_wxUSE_GRID
=no
4055 DEFAULT_wxUSE_NEW_GRID
=no
4056 DEFAULT_wxUSE_IMAGLIST
=no
4057 DEFAULT_wxUSE_LISTBOX
=no
4058 DEFAULT_wxUSE_LISTCTRL
=no
4059 DEFAULT_wxUSE_NOTEBOOK
=no
4060 DEFAULT_wxUSE_RADIOBOX
=no
4061 DEFAULT_wxUSE_RADIOBTN
=no
4062 DEFAULT_wxUSE_SASH
=no
4063 DEFAULT_wxUSE_SCROLLBAR
=no
4064 DEFAULT_wxUSE_SLIDER
=no
4065 DEFAULT_wxUSE_SPINBTN
=no
4066 DEFAULT_wxUSE_SPINCTRL
=no
4067 DEFAULT_wxUSE_SPLITTER
=no
4068 DEFAULT_wxUSE_STATBMP
=no
4069 DEFAULT_wxUSE_STATBOX
=no
4070 DEFAULT_wxUSE_STATLINE
=no
4071 DEFAULT_wxUSE_STATUSBAR
=no
4072 DEFAULT_wxUSE_TAB_DIALOG
=no
4073 DEFAULT_wxUSE_TOOLBAR
=no
4074 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4075 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4076 DEFAULT_wxUSE_TOOLTIPS
=no
4077 DEFAULT_wxUSE_TREECTRL
=no
4081 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4082 echo "configure:4083: checking "for --enable-accel"" >&5
4084 # Check whether --enable-accel or --disable-accel was given.
4085 if test "${enable_accel+set}" = set; then
4086 enableval
="$enable_accel"
4088 if test "$enableval" = yes; then
4089 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4091 ac_cv_use_accel
='wxUSE_ACCEL=no'
4096 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4097 if test "x$LINE" != x
; then
4098 eval "DEFAULT_$LINE"
4103 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4108 eval "$ac_cv_use_accel"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4113 if test "$wxUSE_ACCEL" = yes; then
4114 echo "$ac_t""yes" 1>&6
4116 echo "$ac_t""no" 1>&6
4120 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4121 echo "configure:4122: checking "for --enable-caret"" >&5
4123 # Check whether --enable-caret or --disable-caret was given.
4124 if test "${enable_caret+set}" = set; then
4125 enableval
="$enable_caret"
4127 if test "$enableval" = yes; then
4128 ac_cv_use_caret
='wxUSE_CARET=yes'
4130 ac_cv_use_caret
='wxUSE_CARET=no'
4135 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x
; then
4137 eval "DEFAULT_$LINE"
4142 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4147 eval "$ac_cv_use_caret"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4152 if test "$wxUSE_CARET" = yes; then
4153 echo "$ac_t""yes" 1>&6
4155 echo "$ac_t""no" 1>&6
4159 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4160 echo "configure:4161: checking "for --enable-bmpbutton"" >&5
4162 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4163 if test "${enable_bmpbutton+set}" = set; then
4164 enableval
="$enable_bmpbutton"
4166 if test "$enableval" = yes; then
4167 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4169 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4174 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x
; then
4176 eval "DEFAULT_$LINE"
4181 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4186 eval "$ac_cv_use_bmpbutton"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_BMPBUTTON" = yes; then
4192 echo "$ac_t""yes" 1>&6
4194 echo "$ac_t""no" 1>&6
4198 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4199 echo "configure:4200: checking "for --enable-checkbox"" >&5
4201 # Check whether --enable-checkbox or --disable-checkbox was given.
4202 if test "${enable_checkbox+set}" = set; then
4203 enableval
="$enable_checkbox"
4205 if test "$enableval" = yes; then
4206 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4208 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4213 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x
; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4225 eval "$ac_cv_use_checkbox"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_CHECKBOX" = yes; then
4231 echo "$ac_t""yes" 1>&6
4233 echo "$ac_t""no" 1>&6
4237 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4238 echo "configure:4239: checking "for --enable-checklst"" >&5
4240 # Check whether --enable-checklst or --disable-checklst was given.
4241 if test "${enable_checklst+set}" = set; then
4242 enableval
="$enable_checklst"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4247 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4252 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x
; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4264 eval "$ac_cv_use_checklst"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_CHECKLST" = yes; then
4270 echo "$ac_t""yes" 1>&6
4272 echo "$ac_t""no" 1>&6
4276 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4277 echo "configure:4278: checking "for --enable-choice"" >&5
4279 # Check whether --enable-choice or --disable-choice was given.
4280 if test "${enable_choice+set}" = set; then
4281 enableval
="$enable_choice"
4283 if test "$enableval" = yes; then
4284 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4286 ac_cv_use_choice
='wxUSE_CHOICE=no'
4291 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4303 eval "$ac_cv_use_choice"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_CHOICE" = yes; then
4309 echo "$ac_t""yes" 1>&6
4311 echo "$ac_t""no" 1>&6
4315 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4316 echo "configure:4317: checking "for --enable-combobox"" >&5
4318 # Check whether --enable-combobox or --disable-combobox was given.
4319 if test "${enable_combobox+set}" = set; then
4320 enableval
="$enable_combobox"
4322 if test "$enableval" = yes; then
4323 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4325 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4330 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x
; then
4332 eval "DEFAULT_$LINE"
4337 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4342 eval "$ac_cv_use_combobox"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4347 if test "$wxUSE_COMBOBOX" = yes; then
4348 echo "$ac_t""yes" 1>&6
4350 echo "$ac_t""no" 1>&6
4354 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4355 echo "configure:4356: checking "for --enable-gauge"" >&5
4357 # Check whether --enable-gauge or --disable-gauge was given.
4358 if test "${enable_gauge+set}" = set; then
4359 enableval
="$enable_gauge"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4364 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4369 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4381 eval "$ac_cv_use_gauge"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_GAUGE" = yes; then
4387 echo "$ac_t""yes" 1>&6
4389 echo "$ac_t""no" 1>&6
4393 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4394 echo "configure:4395: checking "for --enable-grid"" >&5
4396 # Check whether --enable-grid or --disable-grid was given.
4397 if test "${enable_grid+set}" = set; then
4398 enableval
="$enable_grid"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_grid
='wxUSE_GRID=yes'
4403 ac_cv_use_grid
='wxUSE_GRID=no'
4408 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x
; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4420 eval "$ac_cv_use_grid"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_GRID" = yes; then
4426 echo "$ac_t""yes" 1>&6
4428 echo "$ac_t""no" 1>&6
4432 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4433 echo "configure:4434: checking "for --enable-newgrid"" >&5
4435 # Check whether --enable-newgrid or --disable-newgrid was given.
4436 if test "${enable_newgrid+set}" = set; then
4437 enableval
="$enable_newgrid"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4442 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4447 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4459 eval "$ac_cv_use_newgrid"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_NEW_GRID" = yes; then
4465 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4471 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4472 echo "configure:4473: checking "for --enable-imaglist"" >&5
4474 # Check whether --enable-imaglist or --disable-imaglist was given.
4475 if test "${enable_imaglist+set}" = set; then
4476 enableval
="$enable_imaglist"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4481 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4486 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4498 eval "$ac_cv_use_imaglist"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_IMAGLIST" = yes; then
4504 echo "$ac_t""yes" 1>&6
4506 echo "$ac_t""no" 1>&6
4510 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4511 echo "configure:4512: checking "for --enable-listbox"" >&5
4513 # Check whether --enable-listbox or --disable-listbox was given.
4514 if test "${enable_listbox+set}" = set; then
4515 enableval
="$enable_listbox"
4517 if test "$enableval" = yes; then
4518 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4520 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4525 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4532 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4537 eval "$ac_cv_use_listbox"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_LISTBOX" = yes; then
4543 echo "$ac_t""yes" 1>&6
4545 echo "$ac_t""no" 1>&6
4549 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4550 echo "configure:4551: checking "for --enable-listctrl"" >&5
4552 # Check whether --enable-listctrl or --disable-listctrl was given.
4553 if test "${enable_listctrl+set}" = set; then
4554 enableval
="$enable_listctrl"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4559 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4564 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4576 eval "$ac_cv_use_listctrl"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_LISTCTRL" = yes; then
4582 echo "$ac_t""yes" 1>&6
4584 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4589 echo "configure:4590: checking "for --enable-notebook"" >&5
4591 # Check whether --enable-notebook or --disable-notebook was given.
4592 if test "${enable_notebook+set}" = set; then
4593 enableval
="$enable_notebook"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4598 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4603 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4615 eval "$ac_cv_use_notebook"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_NOTEBOOK" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4628 echo "configure:4629: checking "for --enable-radiobox"" >&5
4630 # Check whether --enable-radiobox or --disable-radiobox was given.
4631 if test "${enable_radiobox+set}" = set; then
4632 enableval
="$enable_radiobox"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4637 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4642 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4654 eval "$ac_cv_use_radiobox"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_RADIOBOX" = yes; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4666 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4667 echo "configure:4668: checking "for --enable-radiobtn"" >&5
4669 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4670 if test "${enable_radiobtn+set}" = set; then
4671 enableval
="$enable_radiobtn"
4673 if test "$enableval" = yes; then
4674 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4676 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4681 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4682 if test "x$LINE" != x
; then
4683 eval "DEFAULT_$LINE"
4688 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4693 eval "$ac_cv_use_radiobtn"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_RADIOBTN" = yes; then
4699 echo "$ac_t""yes" 1>&6
4701 echo "$ac_t""no" 1>&6
4705 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4706 echo "configure:4707: checking "for --enable-sash"" >&5
4708 # Check whether --enable-sash or --disable-sash was given.
4709 if test "${enable_sash+set}" = set; then
4710 enableval
="$enable_sash"
4712 if test "$enableval" = yes; then
4713 ac_cv_use_sash
='wxUSE_SASH=yes'
4715 ac_cv_use_sash
='wxUSE_SASH=no'
4720 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x
; then
4722 eval "DEFAULT_$LINE"
4727 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4732 eval "$ac_cv_use_sash"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4737 if test "$wxUSE_SASH" = yes; then
4738 echo "$ac_t""yes" 1>&6
4740 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4745 echo "configure:4746: checking "for --enable-scrollbar"" >&5
4747 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4748 if test "${enable_scrollbar+set}" = set; then
4749 enableval
="$enable_scrollbar"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4754 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4759 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4771 eval "$ac_cv_use_scrollbar"
4772 if test "$no_cache" != 1; then
4773 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4776 if test "$wxUSE_SCROLLBAR" = yes; then
4777 echo "$ac_t""yes" 1>&6
4779 echo "$ac_t""no" 1>&6
4783 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4784 echo "configure:4785: checking "for --enable-slider"" >&5
4786 # Check whether --enable-slider or --disable-slider was given.
4787 if test "${enable_slider+set}" = set; then
4788 enableval
="$enable_slider"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4793 ac_cv_use_slider
='wxUSE_SLIDER=no'
4798 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4810 eval "$ac_cv_use_slider"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_SLIDER" = yes; then
4816 echo "$ac_t""yes" 1>&6
4818 echo "$ac_t""no" 1>&6
4822 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4823 echo "configure:4824: checking "for --enable-spinbtn"" >&5
4825 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4826 if test "${enable_spinbtn+set}" = set; then
4827 enableval
="$enable_spinbtn"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4832 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4837 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4849 eval "$ac_cv_use_spinbtn"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4854 if test "$wxUSE_SPINBTN" = yes; then
4855 echo "$ac_t""yes" 1>&6
4857 echo "$ac_t""no" 1>&6
4861 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4862 echo "configure:4863: checking "for --enable-spinctrl"" >&5
4864 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4865 if test "${enable_spinctrl+set}" = set; then
4866 enableval
="$enable_spinctrl"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4871 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4876 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4888 eval "$ac_cv_use_spinctrl"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_SPINCTRL" = yes; then
4894 echo "$ac_t""yes" 1>&6
4896 echo "$ac_t""no" 1>&6
4900 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4901 echo "configure:4902: checking "for --enable-splitter"" >&5
4903 # Check whether --enable-splitter or --disable-splitter was given.
4904 if test "${enable_splitter+set}" = set; then
4905 enableval
="$enable_splitter"
4907 if test "$enableval" = yes; then
4908 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4910 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4915 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4916 if test "x$LINE" != x
; then
4917 eval "DEFAULT_$LINE"
4922 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4927 eval "$ac_cv_use_splitter"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_SPLITTER" = yes; then
4933 echo "$ac_t""yes" 1>&6
4935 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4940 echo "configure:4941: checking "for --enable-statbmp"" >&5
4942 # Check whether --enable-statbmp or --disable-statbmp was given.
4943 if test "${enable_statbmp+set}" = set; then
4944 enableval
="$enable_statbmp"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4949 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4954 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4966 eval "$ac_cv_use_statbmp"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_STATBMP" = yes; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4978 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4979 echo "configure:4980: checking "for --enable-statbox"" >&5
4981 # Check whether --enable-statbox or --disable-statbox was given.
4982 if test "${enable_statbox+set}" = set; then
4983 enableval
="$enable_statbox"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4988 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4993 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5005 eval "$ac_cv_use_statbox"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_STATBOX" = yes; then
5011 echo "$ac_t""yes" 1>&6
5013 echo "$ac_t""no" 1>&6
5017 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5018 echo "configure:5019: checking "for --enable-statline"" >&5
5020 # Check whether --enable-statline or --disable-statline was given.
5021 if test "${enable_statline+set}" = set; then
5022 enableval
="$enable_statline"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5027 ac_cv_use_statline
='wxUSE_STATLINE=no'
5032 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5044 eval "$ac_cv_use_statline"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_STATLINE" = yes; then
5050 echo "$ac_t""yes" 1>&6
5052 echo "$ac_t""no" 1>&6
5056 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5057 echo "configure:5058: checking "for --enable-statusbar"" >&5
5059 # Check whether --enable-statusbar or --disable-statusbar was given.
5060 if test "${enable_statusbar+set}" = set; then
5061 enableval
="$enable_statusbar"
5063 if test "$enableval" = yes; then
5064 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5066 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5071 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5072 if test "x$LINE" != x
; then
5073 eval "DEFAULT_$LINE"
5078 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5083 eval "$ac_cv_use_statusbar"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_STATUSBAR" = yes; then
5089 echo "$ac_t""yes" 1>&6
5091 echo "$ac_t""no" 1>&6
5095 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5096 echo "configure:5097: checking "for --enable-tabdialog"" >&5
5098 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5099 if test "${enable_tabdialog+set}" = set; then
5100 enableval
="$enable_tabdialog"
5102 if test "$enableval" = yes; then
5103 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5105 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5110 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x
; then
5112 eval "DEFAULT_$LINE"
5117 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5122 eval "$ac_cv_use_tabdialog"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5127 if test "$wxUSE_TABDIALOG" = yes; then
5128 echo "$ac_t""yes" 1>&6
5130 echo "$ac_t""no" 1>&6
5134 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5135 echo "configure:5136: checking "for --enable-toolbar"" >&5
5137 # Check whether --enable-toolbar or --disable-toolbar was given.
5138 if test "${enable_toolbar+set}" = set; then
5139 enableval
="$enable_toolbar"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5144 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5149 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x
; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5161 eval "$ac_cv_use_toolbar"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5166 if test "$wxUSE_TOOLBAR" = yes; then
5167 echo "$ac_t""yes" 1>&6
5169 echo "$ac_t""no" 1>&6
5173 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5174 echo "configure:5175: checking "for --enable-tbarnative"" >&5
5176 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5177 if test "${enable_tbarnative+set}" = set; then
5178 enableval
="$enable_tbarnative"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5183 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5188 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5200 eval "$ac_cv_use_tbarnative"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5206 echo "$ac_t""yes" 1>&6
5208 echo "$ac_t""no" 1>&6
5212 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5213 echo "configure:5214: checking "for --enable-tbarsmpl"" >&5
5215 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5216 if test "${enable_tbarsmpl+set}" = set; then
5217 enableval
="$enable_tbarsmpl"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5222 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5227 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5239 eval "$ac_cv_use_tbarsmpl"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5245 echo "$ac_t""yes" 1>&6
5247 echo "$ac_t""no" 1>&6
5251 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5252 echo "configure:5253: checking "for --enable-treectrl"" >&5
5254 # Check whether --enable-treectrl or --disable-treectrl was given.
5255 if test "${enable_treectrl+set}" = set; then
5256 enableval
="$enable_treectrl"
5258 if test "$enableval" = yes; then
5259 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5261 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5266 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x
; then
5268 eval "DEFAULT_$LINE"
5273 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5278 eval "$ac_cv_use_treectrl"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_TREECTRL" = yes; then
5284 echo "$ac_t""yes" 1>&6
5286 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5293 echo "configure:5294: checking "for --enable-commondlg"" >&5
5295 # Check whether --enable-commondlg or --disable-commondlg was given.
5296 if test "${enable_commondlg+set}" = set; then
5297 enableval
="$enable_commondlg"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5302 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5307 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5319 eval "$ac_cv_use_commondlg"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_COMMONDLGS" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5331 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5332 echo "configure:5333: checking "for --enable-dirdlg"" >&5
5334 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5335 if test "${enable_dirdlg+set}" = set; then
5336 enableval
="$enable_dirdlg"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5341 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5346 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5358 eval "$ac_cv_use_dirdlg"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_DIRDLG" = yes; then
5364 echo "$ac_t""yes" 1>&6
5366 echo "$ac_t""no" 1>&6
5370 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5371 echo "configure:5372: checking "for --enable-textdlg"" >&5
5373 # Check whether --enable-textdlg or --disable-textdlg was given.
5374 if test "${enable_textdlg+set}" = set; then
5375 enableval
="$enable_textdlg"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5380 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5385 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5397 eval "$ac_cv_use_textdlg"
5398 if test "$no_cache" != 1; then
5399 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5402 if test "$wxUSE_TEXTDLG" = yes; then
5403 echo "$ac_t""yes" 1>&6
5405 echo "$ac_t""no" 1>&6
5409 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5410 echo "configure:5411: checking "for --enable-tipdlg"" >&5
5412 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5413 if test "${enable_tipdlg+set}" = set; then
5414 enableval
="$enable_tipdlg"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5419 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5424 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x
; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5436 eval "$ac_cv_use_tipdlg"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_STARTUP_TIPS" = yes; then
5442 echo "$ac_t""yes" 1>&6
5444 echo "$ac_t""no" 1>&6
5448 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5449 echo "configure:5450: checking "for --enable-progressdlg"" >&5
5451 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5452 if test "${enable_progressdlg+set}" = set; then
5453 enableval
="$enable_progressdlg"
5455 if test "$enableval" = yes; then
5456 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5458 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5463 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5464 if test "x$LINE" != x
; then
5465 eval "DEFAULT_$LINE"
5470 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5475 eval "$ac_cv_use_progressdlg"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_PROGRESSDLG" = yes; then
5481 echo "$ac_t""yes" 1>&6
5483 echo "$ac_t""no" 1>&6
5487 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5488 echo "configure:5489: checking "for --enable-miniframe"" >&5
5490 # Check whether --enable-miniframe or --disable-miniframe was given.
5491 if test "${enable_miniframe+set}" = set; then
5492 enableval
="$enable_miniframe"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5497 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5502 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5514 eval "$ac_cv_use_miniframe"
5515 if test "$no_cache" != 1; then
5516 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5519 if test "$wxUSE_MINIFRAME" = yes; then
5520 echo "$ac_t""yes" 1>&6
5522 echo "$ac_t""no" 1>&6
5526 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5527 echo "configure:5528: checking "for --enable-html"" >&5
5529 # Check whether --enable-html or --disable-html was given.
5530 if test "${enable_html+set}" = set; then
5531 enableval
="$enable_html"
5533 if test "$enableval" = yes; then
5534 ac_cv_use_html
='wxUSE_HTML=yes'
5536 ac_cv_use_html
='wxUSE_HTML=no'
5541 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5553 eval "$ac_cv_use_html"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_HTML" = yes; then
5559 echo "$ac_t""yes" 1>&6
5561 echo "$ac_t""no" 1>&6
5565 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5566 echo "configure:5567: checking "for --enable-tooltips"" >&5
5568 # Check whether --enable-tooltips or --disable-tooltips was given.
5569 if test "${enable_tooltips+set}" = set; then
5570 enableval
="$enable_tooltips"
5572 if test "$enableval" = yes; then
5573 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5575 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5580 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x
; then
5582 eval "DEFAULT_$LINE"
5587 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5592 eval "$ac_cv_use_tooltips"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_TOOLTIPS" = yes; then
5598 echo "$ac_t""yes" 1>&6
5600 echo "$ac_t""no" 1>&6
5604 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5605 echo "configure:5606: checking "for --enable-splines"" >&5
5607 # Check whether --enable-splines or --disable-splines was given.
5608 if test "${enable_splines+set}" = set; then
5609 enableval
="$enable_splines"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5614 ac_cv_use_splines
='wxUSE_SPLINES=no'
5619 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5631 eval "$ac_cv_use_splines"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_SPLINES" = yes; then
5637 echo "$ac_t""yes" 1>&6
5639 echo "$ac_t""no" 1>&6
5643 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5644 echo "configure:5645: checking "for --enable-validators"" >&5
5646 # Check whether --enable-validators or --disable-validators was given.
5647 if test "${enable_validators+set}" = set; then
5648 enableval
="$enable_validators"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5653 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5658 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5670 eval "$ac_cv_use_validators"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_VALIDATORS" = yes; then
5676 echo "$ac_t""yes" 1>&6
5678 echo "$ac_t""no" 1>&6
5682 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5683 echo "configure:5684: checking "for --enable-busyinfo"" >&5
5685 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5686 if test "${enable_busyinfo+set}" = set; then
5687 enableval
="$enable_busyinfo"
5689 if test "$enableval" = yes; then
5690 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5692 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5697 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x
; then
5699 eval "DEFAULT_$LINE"
5704 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5709 eval "$ac_cv_use_busyinfo"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5714 if test "$wxUSE_BUSYINFO" = yes; then
5715 echo "$ac_t""yes" 1>&6
5717 echo "$ac_t""no" 1>&6
5721 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5722 echo "configure:5723: checking "for --enable-plot"" >&5
5724 # Check whether --enable-plot or --disable-plot was given.
5725 if test "${enable_plot+set}" = set; then
5726 enableval
="$enable_plot"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_plot
='wxUSE_PLOT=yes'
5731 ac_cv_use_plot
='wxUSE_PLOT=no'
5736 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5748 eval "$ac_cv_use_plot"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_PLOT" = yes; then
5754 echo "$ac_t""yes" 1>&6
5756 echo "$ac_t""no" 1>&6
5760 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5761 echo "configure:5762: checking "for --enable-joystick"" >&5
5763 # Check whether --enable-joystick or --disable-joystick was given.
5764 if test "${enable_joystick+set}" = set; then
5765 enableval
="$enable_joystick"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5770 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5775 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x
; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5787 eval "$ac_cv_use_joystick"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_JOYSTICK" = yes; then
5793 echo "$ac_t""yes" 1>&6
5795 echo "$ac_t""no" 1>&6
5801 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5802 echo "configure:5803: checking "for --enable-gif"" >&5
5804 # Check whether --enable-gif or --disable-gif was given.
5805 if test "${enable_gif+set}" = set; then
5806 enableval
="$enable_gif"
5808 if test "$enableval" = yes; then
5809 ac_cv_use_gif
='wxUSE_GIF=yes'
5811 ac_cv_use_gif
='wxUSE_GIF=no'
5816 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x
; then
5818 eval "DEFAULT_$LINE"
5823 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5828 eval "$ac_cv_use_gif"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5833 if test "$wxUSE_GIF" = yes; then
5834 echo "$ac_t""yes" 1>&6
5836 echo "$ac_t""no" 1>&6
5840 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5841 echo "configure:5842: checking "for --enable-pcx"" >&5
5843 # Check whether --enable-pcx or --disable-pcx was given.
5844 if test "${enable_pcx+set}" = set; then
5845 enableval
="$enable_pcx"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_pcx
='wxUSE_PCX=yes'
5850 ac_cv_use_pcx
='wxUSE_PCX=no'
5855 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5867 eval "$ac_cv_use_pcx"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5872 if test "$wxUSE_PCX" = yes; then
5873 echo "$ac_t""yes" 1>&6
5875 echo "$ac_t""no" 1>&6
5879 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5880 echo "configure:5881: checking "for --enable-pnm"" >&5
5882 # Check whether --enable-pnm or --disable-pnm was given.
5883 if test "${enable_pnm+set}" = set; then
5884 enableval
="$enable_pnm"
5886 if test "$enableval" = yes; then
5887 ac_cv_use_pnm
='wxUSE_PNM=yes'
5889 ac_cv_use_pnm
='wxUSE_PNM=no'
5894 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x
; then
5896 eval "DEFAULT_$LINE"
5901 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5906 eval "$ac_cv_use_pnm"
5907 if test "$no_cache" != 1; then
5908 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5911 if test "$wxUSE_PNM" = yes; then
5912 echo "$ac_t""yes" 1>&6
5914 echo "$ac_t""no" 1>&6
5921 echo "saving argument cache $wx_arg_cache_file"
5922 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5926 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5927 echo "configure:5928: checking for toolkit" >&5
5929 if test "$wxUSE_GUI" = "yes"; then
5931 if test "$USE_BEOS" = 1; then
5932 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5935 if test "$TOOLKIT_GIVEN" = 1; then
5936 for toolkit
in `echo $ALL_TOOLKITS`; do
5938 eval "value=\$${var}"
5939 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5942 for toolkit
in `echo $ALL_TOOLKITS`; do
5943 if test "$has_toolkit_in_cache" != 1; then
5944 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5946 var
=DEFAULT_wxUSE_
$toolkit
5948 eval "wxUSE_$toolkit=\$${var}"
5952 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5956 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5957 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5966 case "$NUM_TOOLKITS" in
5970 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5973 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5976 for toolkit
in `echo $ALL_TOOLKITS`; do
5978 eval "value=\$${var}"
5979 if test "x$value" != x
; then
5980 cache_var
=CACHE_
$toolkit
5981 eval "cache=\$${cache_var}"
5982 if test "$cache" = 1; then
5983 echo "$var=$value" >> ${wx_arg_cache_file}
5985 if test "$value" = 1; then
5986 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5993 echo "$ac_t""base only" 1>&6
5997 cat > confcache
<<\EOF
5998 # This file is a shell script that caches the results of configure
5999 # tests run on this system so they can be shared between configure
6000 # scripts and configure runs. It is not useful on other systems.
6001 # If it contains results you don't want to keep, you may remove or edit it.
6003 # By default, configure uses ./config.cache as the cache file,
6004 # creating it if it does not exist already. You can give configure
6005 # the --cache-file=FILE option to use a different cache file; that is
6006 # what configure does when it calls configure scripts in
6007 # subdirectories, so they share the cache.
6008 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6009 # config.status only pays attention to the cache file if you give it the
6010 # --recheck option to rerun configure.
6013 # The following way of writing the cache mishandles newlines in values,
6014 # but we know of no workaround that is simple, portable, and efficient.
6015 # So, don't put newlines in cache variables' values.
6016 # Ultrix sh set writes to stderr and can't be redirected directly,
6017 # and sets the high bit in the cache file unless we assign to the vars.
6019 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6021 # `set' does not quote correctly, so add quotes (double-quote substitution
6022 # turns \\\\ into \\, and sed turns \\ into \).
6024 -e "s/'/'\\\\''/g" \
6025 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6028 # `set' quotes correctly as required by POSIX, so do not add quotes.
6029 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6032 if cmp -s $cache_file confcache
; then
6035 if test -w $cache_file; then
6036 echo "updating cache $cache_file"
6037 cat confcache
> $cache_file
6039 echo "not updating unwritable cache $cache_file"
6045 if test "$build" != "$host" ; then
6049 RANLIB
=$host_alias-ranlib
6050 DLLTOOL
=$host_alias-dlltool
6051 RESCOMP
=$host_alias-windres
6054 STRIP
=$host_alias-strip
6057 # Extract the first word of "gcc", so it can be a program name with args.
6058 set dummy gcc
; ac_word
=$2
6059 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6060 echo "configure:6061: checking for $ac_word" >&5
6061 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6062 echo $ac_n "(cached) $ac_c" 1>&6
6064 if test -n "$CC"; then
6065 ac_cv_prog_CC
="$CC" # Let the user override the test.
6067 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6069 for ac_dir
in $ac_dummy; do
6070 test -z "$ac_dir" && ac_dir
=.
6071 if test -f $ac_dir/$ac_word; then
6080 if test -n "$CC"; then
6081 echo "$ac_t""$CC" 1>&6
6083 echo "$ac_t""no" 1>&6
6086 if test -z "$CC"; then
6087 # Extract the first word of "cc", so it can be a program name with args.
6088 set dummy cc
; ac_word
=$2
6089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6090 echo "configure:6091: checking for $ac_word" >&5
6091 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6092 echo $ac_n "(cached) $ac_c" 1>&6
6094 if test -n "$CC"; then
6095 ac_cv_prog_CC
="$CC" # Let the user override the test.
6097 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6100 for ac_dir
in $ac_dummy; do
6101 test -z "$ac_dir" && ac_dir
=.
6102 if test -f $ac_dir/$ac_word; then
6103 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6104 ac_prog_rejected
=yes
6112 if test $ac_prog_rejected = yes; then
6113 # We found a bogon in the path, so make sure we never use it.
6114 set dummy
$ac_cv_prog_CC
6116 if test $# -gt 0; then
6117 # We chose a different compiler from the bogus one.
6118 # However, it has the same basename, so the bogon will be chosen
6119 # first if we set CC to just the basename; use the full file name.
6121 set dummy
"$ac_dir/$ac_word" "$@"
6129 if test -n "$CC"; then
6130 echo "$ac_t""$CC" 1>&6
6132 echo "$ac_t""no" 1>&6
6135 if test -z "$CC"; then
6136 case "`uname -s`" in
6138 # Extract the first word of "cl", so it can be a program name with args.
6139 set dummy cl
; ac_word
=$2
6140 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6141 echo "configure:6142: checking for $ac_word" >&5
6142 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6143 echo $ac_n "(cached) $ac_c" 1>&6
6145 if test -n "$CC"; then
6146 ac_cv_prog_CC
="$CC" # Let the user override the test.
6148 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6150 for ac_dir
in $ac_dummy; do
6151 test -z "$ac_dir" && ac_dir
=.
6152 if test -f $ac_dir/$ac_word; then
6161 if test -n "$CC"; then
6162 echo "$ac_t""$CC" 1>&6
6164 echo "$ac_t""no" 1>&6
6169 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6172 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6173 echo "configure:6174: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6177 ac_cpp
='$CPP $CPPFLAGS'
6178 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6179 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6180 cross_compiling
=$ac_cv_prog_cc_cross
6182 cat > conftest.
$ac_ext << EOF
6184 #line 6185 "configure"
6185 #include "confdefs.h"
6189 if { (eval echo configure
:6190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6190 ac_cv_prog_cc_works
=yes
6191 # If we can't run a trivial program, we are probably using a cross compiler.
6192 if (.
/conftest
; exit) 2>/dev
/null
; then
6193 ac_cv_prog_cc_cross
=no
6195 ac_cv_prog_cc_cross
=yes
6198 echo "configure: failed program was:" >&5
6199 cat conftest.
$ac_ext >&5
6200 ac_cv_prog_cc_works
=no
6204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6205 ac_cpp
='$CPP $CPPFLAGS'
6206 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6207 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6208 cross_compiling
=$ac_cv_prog_cc_cross
6210 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6211 if test $ac_cv_prog_cc_works = no
; then
6212 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6214 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6215 echo "configure:6216: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6216 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6217 cross_compiling
=$ac_cv_prog_cc_cross
6219 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6220 echo "configure:6221: checking whether we are using GNU C" >&5
6221 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6222 echo $ac_n "(cached) $ac_c" 1>&6
6224 cat > conftest.c
<<EOF
6229 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6236 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6238 if test $ac_cv_prog_gcc = yes; then
6244 ac_test_CFLAGS
="${CFLAGS+set}"
6245 ac_save_CFLAGS
="$CFLAGS"
6247 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6248 echo "configure:6249: checking whether ${CC-cc} accepts -g" >&5
6249 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6250 echo $ac_n "(cached) $ac_c" 1>&6
6252 echo 'void f(){}' > conftest.c
6253 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6262 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6263 if test "$ac_test_CFLAGS" = set; then
6264 CFLAGS
="$ac_save_CFLAGS"
6265 elif test $ac_cv_prog_cc_g = yes; then
6266 if test "$GCC" = yes; then
6272 if test "$GCC" = yes; then
6280 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6282 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6283 echo "configure:6284: checking how to run the C preprocessor" >&5
6284 # On Suns, sometimes $CPP names a directory.
6285 if test -n "$CPP" && test -d "$CPP"; then
6288 if test -z "$CPP"; then
6289 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6290 echo $ac_n "(cached) $ac_c" 1>&6
6292 # This must be in double quotes, not single quotes, because CPP may get
6293 # substituted into the Makefile and "${CC-cc}" will confuse make.
6295 # On the NeXT, cc -E runs the code through the compiler's parser,
6296 # not just through cpp.
6297 cat > conftest.
$ac_ext <<EOF
6298 #line 6299 "configure"
6299 #include "confdefs.h"
6303 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6304 { (eval echo configure
:6305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6305 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6306 if test -z "$ac_err"; then
6310 echo "configure: failed program was:" >&5
6311 cat conftest.
$ac_ext >&5
6313 CPP
="${CC-cc} -E -traditional-cpp"
6314 cat > conftest.
$ac_ext <<EOF
6315 #line 6316 "configure"
6316 #include "confdefs.h"
6320 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6321 { (eval echo configure
:6322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6322 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6323 if test -z "$ac_err"; then
6327 echo "configure: failed program was:" >&5
6328 cat conftest.
$ac_ext >&5
6330 CPP
="${CC-cc} -nologo -E"
6331 cat > conftest.
$ac_ext <<EOF
6332 #line 6333 "configure"
6333 #include "confdefs.h"
6337 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6338 { (eval echo configure
:6339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6339 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6340 if test -z "$ac_err"; then
6344 echo "configure: failed program was:" >&5
6345 cat conftest.
$ac_ext >&5
6354 ac_cv_prog_CPP
="$CPP"
6356 CPP
="$ac_cv_prog_CPP"
6358 ac_cv_prog_CPP
="$CPP"
6360 echo "$ac_t""$CPP" 1>&6
6363 if test $ac_cv_prog_gcc = yes; then
6364 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6365 echo "configure:6366: checking whether ${CC-cc} needs -traditional" >&5
6366 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6367 echo $ac_n "(cached) $ac_c" 1>&6
6369 ac_pattern
="Autoconf.*'x'"
6370 cat > conftest.
$ac_ext <<EOF
6371 #line 6372 "configure"
6372 #include "confdefs.h"
6376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6377 egrep "$ac_pattern" >/dev
/null
2>&1; then
6379 ac_cv_prog_gcc_traditional
=yes
6382 ac_cv_prog_gcc_traditional
=no
6387 if test $ac_cv_prog_gcc_traditional = no
; then
6388 cat > conftest.
$ac_ext <<EOF
6389 #line 6390 "configure"
6390 #include "confdefs.h"
6394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6395 egrep "$ac_pattern" >/dev
/null
2>&1; then
6397 ac_cv_prog_gcc_traditional
=yes
6404 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6405 if test $ac_cv_prog_gcc_traditional = yes; then
6406 CC
="$CC -traditional"
6413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6414 ac_cpp
='$CXXCPP $CPPFLAGS'
6415 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6416 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6417 cross_compiling
=$ac_cv_prog_cxx_cross
6420 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6422 # Extract the first word of "$ac_prog", so it can be a program name with args.
6423 set dummy
$ac_prog; ac_word
=$2
6424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6425 echo "configure:6426: checking for $ac_word" >&5
6426 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6427 echo $ac_n "(cached) $ac_c" 1>&6
6429 if test -n "$CXX"; then
6430 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6434 for ac_dir
in $ac_dummy; do
6435 test -z "$ac_dir" && ac_dir
=.
6436 if test -f $ac_dir/$ac_word; then
6437 ac_cv_prog_CXX
="$ac_prog"
6444 CXX
="$ac_cv_prog_CXX"
6445 if test -n "$CXX"; then
6446 echo "$ac_t""$CXX" 1>&6
6448 echo "$ac_t""no" 1>&6
6451 test -n "$CXX" && break
6453 test -n "$CXX" || CXX
="gcc"
6456 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6457 echo "configure:6458: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6461 ac_cpp
='$CXXCPP $CPPFLAGS'
6462 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6463 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6464 cross_compiling
=$ac_cv_prog_cxx_cross
6466 cat > conftest.
$ac_ext << EOF
6468 #line 6469 "configure"
6469 #include "confdefs.h"
6471 int main(){return(0);}
6473 if { (eval echo configure
:6474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6474 ac_cv_prog_cxx_works
=yes
6475 # If we can't run a trivial program, we are probably using a cross compiler.
6476 if (.
/conftest
; exit) 2>/dev
/null
; then
6477 ac_cv_prog_cxx_cross
=no
6479 ac_cv_prog_cxx_cross
=yes
6482 echo "configure: failed program was:" >&5
6483 cat conftest.
$ac_ext >&5
6484 ac_cv_prog_cxx_works
=no
6488 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6489 ac_cpp
='$CXXCPP $CPPFLAGS'
6490 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6491 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6492 cross_compiling
=$ac_cv_prog_cxx_cross
6494 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6495 if test $ac_cv_prog_cxx_works = no
; then
6496 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6498 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6499 echo "configure:6500: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6500 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6501 cross_compiling
=$ac_cv_prog_cxx_cross
6503 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6504 echo "configure:6505: checking whether we are using GNU C++" >&5
6505 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6506 echo $ac_n "(cached) $ac_c" 1>&6
6508 cat > conftest.C
<<EOF
6513 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6520 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6522 if test $ac_cv_prog_gxx = yes; then
6528 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6529 ac_save_CXXFLAGS
="$CXXFLAGS"
6531 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6532 echo "configure:6533: checking whether ${CXX-g++} accepts -g" >&5
6533 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6534 echo $ac_n "(cached) $ac_c" 1>&6
6536 echo 'void f(){}' > conftest.cc
6537 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6538 ac_cv_prog_cxx_g
=yes
6546 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6547 if test "$ac_test_CXXFLAGS" = set; then
6548 CXXFLAGS
="$ac_save_CXXFLAGS"
6549 elif test $ac_cv_prog_cxx_g = yes; then
6550 if test "$GXX" = yes; then
6556 if test "$GXX" = yes; then
6564 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6565 echo "configure:6566: checking how to run the C++ preprocessor" >&5
6566 if test -z "$CXXCPP"; then
6567 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6568 echo $ac_n "(cached) $ac_c" 1>&6
6571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6572 ac_cpp
='$CXXCPP $CPPFLAGS'
6573 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6574 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6575 cross_compiling
=$ac_cv_prog_cxx_cross
6576 CXXCPP
="${CXX-g++} -E"
6577 cat > conftest.
$ac_ext <<EOF
6578 #line 6579 "configure"
6579 #include "confdefs.h"
6582 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6583 { (eval echo configure
:6584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6584 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6585 if test -z "$ac_err"; then
6589 echo "configure: failed program was:" >&5
6590 cat conftest.
$ac_ext >&5
6595 ac_cv_prog_CXXCPP
="$CXXCPP"
6597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6598 ac_cpp
='$CXXCPP $CPPFLAGS'
6599 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6600 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6601 cross_compiling
=$ac_cv_prog_cxx_cross
6604 CXXCPP
="$ac_cv_prog_CXXCPP"
6605 echo "$ac_t""$CXXCPP" 1>&6
6608 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6611 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6612 ac_cpp
='$CPP $CPPFLAGS'
6613 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6614 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6615 cross_compiling
=$ac_cv_prog_cc_cross
6618 # Extract the first word of "ranlib", so it can be a program name with args.
6619 set dummy ranlib
; ac_word
=$2
6620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6621 echo "configure:6622: checking for $ac_word" >&5
6622 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6623 echo $ac_n "(cached) $ac_c" 1>&6
6625 if test -n "$RANLIB"; then
6626 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6628 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6630 for ac_dir
in $ac_dummy; do
6631 test -z "$ac_dir" && ac_dir
=.
6632 if test -f $ac_dir/$ac_word; then
6633 ac_cv_prog_RANLIB
="ranlib"
6638 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6641 RANLIB
="$ac_cv_prog_RANLIB"
6642 if test -n "$RANLIB"; then
6643 echo "$ac_t""$RANLIB" 1>&6
6645 echo "$ac_t""no" 1>&6
6649 # Extract the first word of "ar", so it can be a program name with args.
6650 set dummy
ar; ac_word
=$2
6651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6652 echo "configure:6653: checking for $ac_word" >&5
6653 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6654 echo $ac_n "(cached) $ac_c" 1>&6
6656 if test -n "$AR"; then
6657 ac_cv_prog_AR
="$AR" # Let the user override the test.
6659 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6661 for ac_dir
in $ac_dummy; do
6662 test -z "$ac_dir" && ac_dir
=.
6663 if test -f $ac_dir/$ac_word; then
6669 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6673 if test -n "$AR"; then
6674 echo "$ac_t""$AR" 1>&6
6676 echo "$ac_t""no" 1>&6
6680 # Find a good install program. We prefer a C program (faster),
6681 # so one script is as good as another. But avoid the broken or
6682 # incompatible versions:
6683 # SysV /etc/install, /usr/sbin/install
6684 # SunOS /usr/etc/install
6685 # IRIX /sbin/install
6687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6690 # ./install, which can be erroneously created by make from ./install.sh.
6691 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6692 echo "configure:6693: checking for a BSD compatible install" >&5
6693 if test -z "$INSTALL"; then
6694 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6695 echo $ac_n "(cached) $ac_c" 1>&6
6697 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6698 for ac_dir
in $PATH; do
6699 # Account for people who put trailing slashes in PATH elements.
6701 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6703 # OSF1 and SCO ODT 3.0 have their own names for install.
6704 # Don't use installbsd from OSF since it installs stuff as root
6706 for ac_prog
in ginstall scoinst
install; do
6707 if test -f $ac_dir/$ac_prog; then
6708 if test $ac_prog = install &&
6709 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6710 # AIX install. It has an incompatible calling convention.
6713 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6724 if test "${ac_cv_path_install+set}" = set; then
6725 INSTALL
="$ac_cv_path_install"
6727 # As a last resort, use the slow shell script. We don't cache a
6728 # path for INSTALL within a source directory, because that will
6729 # break other packages using the cache if that directory is
6730 # removed, or if the path is relative.
6731 INSTALL
="$ac_install_sh"
6734 echo "$ac_t""$INSTALL" 1>&6
6736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6737 # It thinks the first close brace ends the variable substitution.
6738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6742 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6745 # Extract the first word of "strip", so it can be a program name with args.
6746 set dummy strip
; ac_word
=$2
6747 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6748 echo "configure:6749: checking for $ac_word" >&5
6749 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6750 echo $ac_n "(cached) $ac_c" 1>&6
6752 if test -n "$STRIP"; then
6753 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6755 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6757 for ac_dir
in $ac_dummy; do
6758 test -z "$ac_dir" && ac_dir
=.
6759 if test -f $ac_dir/$ac_word; then
6760 ac_cv_prog_STRIP
="strip"
6765 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6768 STRIP
="$ac_cv_prog_STRIP"
6769 if test -n "$STRIP"; then
6770 echo "$ac_t""$STRIP" 1>&6
6772 echo "$ac_t""no" 1>&6
6776 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6777 echo "configure:6778: checking "make for VPATH support
"" >&5
6778 cat - << EOF > confMake
6784 if test ! -d sub
; then
6787 echo dummy
> sub
/file
6788 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6790 rm -f sub
/file check final_file confMake
6792 if test "$RESULT" = 0; then
6793 echo "$ac_t""yes" 1>&6
6795 echo "$ac_t""no" 1>&6
6796 { echo "configure: error: You need a make-utility that is able to use the variable
6798 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6801 for ac_prog
in 'bison -y' byacc
6803 # Extract the first word of "$ac_prog", so it can be a program name with args.
6804 set dummy
$ac_prog; ac_word
=$2
6805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6806 echo "configure:6807: checking for $ac_word" >&5
6807 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6808 echo $ac_n "(cached) $ac_c" 1>&6
6810 if test -n "$YACC"; then
6811 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6813 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6815 for ac_dir
in $ac_dummy; do
6816 test -z "$ac_dir" && ac_dir
=.
6817 if test -f $ac_dir/$ac_word; then
6818 ac_cv_prog_YACC
="$ac_prog"
6825 YACC
="$ac_cv_prog_YACC"
6826 if test -n "$YACC"; then
6827 echo "$ac_t""$YACC" 1>&6
6829 echo "$ac_t""no" 1>&6
6832 test -n "$YACC" && break
6834 test -n "$YACC" || YACC
="yacc"
6837 # Extract the first word of "flex", so it can be a program name with args.
6838 set dummy flex
; ac_word
=$2
6839 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6840 echo "configure:6841: checking for $ac_word" >&5
6841 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6842 echo $ac_n "(cached) $ac_c" 1>&6
6844 if test -n "$LEX"; then
6845 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6847 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6849 for ac_dir
in $ac_dummy; do
6850 test -z "$ac_dir" && ac_dir
=.
6851 if test -f $ac_dir/$ac_word; then
6852 ac_cv_prog_LEX
="flex"
6857 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6860 LEX
="$ac_cv_prog_LEX"
6861 if test -n "$LEX"; then
6862 echo "$ac_t""$LEX" 1>&6
6864 echo "$ac_t""no" 1>&6
6867 if test -z "$LEXLIB"
6873 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6874 echo "configure:6875: checking for yywrap in -l$ac_lib" >&5
6875 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6877 echo $ac_n "(cached) $ac_c" 1>&6
6879 ac_save_LIBS
="$LIBS"
6880 LIBS
="-l$ac_lib $LIBS"
6881 cat > conftest.
$ac_ext <<EOF
6882 #line 6883 "configure"
6883 #include "confdefs.h"
6884 /* Override any gcc2 internal prototype to avoid an error. */
6885 /* We use char because int might match the return type of a gcc2
6886 builtin and then its argument prototype would still apply. */
6893 if { (eval echo configure
:6894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6895 eval "ac_cv_lib_$ac_lib_var=yes"
6897 echo "configure: failed program was:" >&5
6898 cat conftest.
$ac_ext >&5
6900 eval "ac_cv_lib_$ac_lib_var=no"
6903 LIBS
="$ac_save_LIBS"
6906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6907 echo "$ac_t""yes" 1>&6
6910 echo "$ac_t""no" 1>&6
6916 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6917 echo "configure:6918: checking whether ln -s works" >&5
6918 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6919 echo $ac_n "(cached) $ac_c" 1>&6
6922 if ln -s X conftestdata
2>/dev
/null
6925 ac_cv_prog_LN_S
="ln -s"
6930 LN_S
="$ac_cv_prog_LN_S"
6931 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6932 echo "$ac_t""yes" 1>&6
6934 echo "$ac_t""no" 1>&6
6940 /usr/local/include \
6942 /usr/Motif-1.2/include \
6943 /usr/Motif-2.1/include \
6945 /usr/include/Motif1.2 \
6946 /opt/xpm/include/X11 \
6947 /opt/GBxpm/include/ \
6948 /opt/GBxpm/X11/include/ \
6950 /usr/Motif1.2/include \
6952 /usr/openwin/include \
6956 /usr/X11R6/include \
6957 /usr/X11R6.4/include \
6958 /usr/X11R5/include \
6959 /usr/X11R4/include \
6961 /usr/include/X11R6 \
6962 /usr/include/X11R5 \
6963 /usr/include/X11R4 \
6965 /usr/local/X11R6/include \
6966 /usr/local/X11R5/include \
6967 /usr/local/X11R4/include \
6969 /usr/local/include/X11R6 \
6970 /usr/local/include/X11R5 \
6971 /usr/local/include/X11R4 \
6975 /usr/local/X11/include \
6976 /usr/local/include/X11 \
6980 /usr/XFree86/include/X11 \
6982 X:/XFree86/include \
6983 X:/XFree86/include/X11 \
6986 /usr/local/include/gtk \
6988 /usr/local/include/glib \
6991 /usr/local/include/qt \
6993 /usr/include/windows \
6995 /usr/local/include/wine \
6997 /usr/unsupported/include \
6998 /usr/athena/include \
6999 /usr/local/x11r5/include \
7000 /usr/lpp/Xamples/include \
7002 /usr/openwin/share/include \
7006 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7009 cat > confcache
<<\EOF
7010 # This file is a shell script that caches the results of configure
7011 # tests run on this system so they can be shared between configure
7012 # scripts and configure runs. It is not useful on other systems.
7013 # If it contains results you don't want to keep, you may remove or edit it.
7015 # By default, configure uses ./config.cache as the cache file,
7016 # creating it if it does not exist already. You can give configure
7017 # the --cache-file=FILE option to use a different cache file; that is
7018 # what configure does when it calls configure scripts in
7019 # subdirectories, so they share the cache.
7020 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7021 # config.status only pays attention to the cache file if you give it the
7022 # --recheck option to rerun configure.
7025 # The following way of writing the cache mishandles newlines in values,
7026 # but we know of no workaround that is simple, portable, and efficient.
7027 # So, don't put newlines in cache variables' values.
7028 # Ultrix sh set writes to stderr and can't be redirected directly,
7029 # and sets the high bit in the cache file unless we assign to the vars.
7031 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7033 # `set' does not quote correctly, so add quotes (double-quote substitution
7034 # turns \\\\ into \\, and sed turns \\ into \).
7036 -e "s/'/'\\\\''/g" \
7037 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7040 # `set' quotes correctly as required by POSIX, so do not add quotes.
7041 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7044 if cmp -s $cache_file confcache
; then
7047 if test -w $cache_file; then
7048 echo "updating cache $cache_file"
7049 cat confcache
> $cache_file
7051 echo "not updating unwritable cache $cache_file"
7060 if test "$wxUSE_GUI" = "yes"; then
7080 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7081 if test "$cross_compiling" = "yes" ; then
7082 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7084 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7085 echo "configure:7086: checking for Windows headers" >&5
7088 for ac_dir
in $SEARCH_INCLUDE;
7090 if test -f "$ac_dir/windows.h"; then
7091 ac_find_includes
=$ac_dir
7096 if test "$ac_find_includes" != "" ; then
7097 echo "$ac_t""found $ac_find_includes" 1>&6
7098 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7100 echo "$ac_t""no" 1>&6
7101 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7105 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7106 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7108 if test "$wxUSE_ODBC" = "yes" ; then
7109 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7112 if test "$wxUSE_MINGW" = 1; then
7113 LDFLAGS
="$LDFLAGS -mwindows"
7118 GUIOBJS
="\$(MSW_GUIOBJS)"
7119 GUIHEADERS
="\$(MSW_HEADERS)"
7120 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7121 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7125 RCINCSWITCH
="--include-dir"
7126 RCDEFSWITCH
="--define"
7127 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7130 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7132 RESPROGRAM
="\$(RES_PROGRAM)"
7136 if test "$wxUSE_GTK" = 1; then
7138 if test x
$gtk_config_exec_prefix != x
; then
7139 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7140 if test x
${GTK_CONFIG+set} != xset
; then
7141 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7144 if test x
$gtk_config_prefix != x
; then
7145 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7146 if test x
${GTK_CONFIG+set} != xset
; then
7147 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7151 # Extract the first word of "gtk-config", so it can be a program name with args.
7152 set dummy gtk
-config; ac_word
=$2
7153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7154 echo "configure:7155: checking for $ac_word" >&5
7155 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7156 echo $ac_n "(cached) $ac_c" 1>&6
7158 case "$GTK_CONFIG" in
7160 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7163 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7166 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7168 for ac_dir
in $ac_dummy; do
7169 test -z "$ac_dir" && ac_dir
=.
7170 if test -f $ac_dir/$ac_word; then
7171 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7176 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7180 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7181 if test -n "$GTK_CONFIG"; then
7182 echo "$ac_t""$GTK_CONFIG" 1>&6
7184 echo "$ac_t""no" 1>&6
7187 min_gtk_version
=1.2.7
7188 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7189 echo "configure:7190: checking for GTK - version >= $min_gtk_version" >&5
7191 if test "$GTK_CONFIG" != "no" ; then
7192 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7193 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7194 ac_save_CFLAGS
="$CFLAGS"
7195 ac_save_LIBS
="$LIBS"
7196 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7197 LIBS
="$LIBS $GTK_LIBS"
7198 if test "$cross_compiling" = yes; then
7199 echo $ac_n "cross compiling; assumed OK... $ac_c"
7201 cat > conftest.
$ac_ext <<EOF
7202 #line 7203 "configure"
7203 #include "confdefs.h"
7205 #include <gtk/gtk.h>
7206 #include <gtk/gtkfeatures.h>
7213 int major, minor, micro;
7215 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7216 printf("%s, bad version string\n", "$min_gtk_version");
7220 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7221 (GTK_MINOR_VERSION != gtk_minor_version) ||
7222 (GTK_MICRO_VERSION != gtk_micro_version)) {
7223 printf("Headers vs. library version mismatch!\n");
7227 if (gtk_minor_version == 1) return FALSE;
7229 return !((gtk_major_version > major) ||
7230 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7231 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7235 if { (eval echo configure
:7236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7239 echo "configure: failed program was:" >&5
7240 cat conftest.
$ac_ext >&5
7247 CFLAGS
="$ac_save_CFLAGS"
7248 LIBS
="$ac_save_LIBS"
7252 if test "x$no_gtk" = x
; then
7253 echo "$ac_t""yes" 1>&6
7256 echo "$ac_t""no" 1>&6
7265 if test x
$gtk_config_exec_prefix != x
; then
7266 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7267 if test x
${GTK_CONFIG+set} != xset
; then
7268 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7271 if test x
$gtk_config_prefix != x
; then
7272 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7273 if test x
${GTK_CONFIG+set} != xset
; then
7274 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7278 # Extract the first word of "gtk-config", so it can be a program name with args.
7279 set dummy gtk
-config; ac_word
=$2
7280 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7281 echo "configure:7282: checking for $ac_word" >&5
7282 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7283 echo $ac_n "(cached) $ac_c" 1>&6
7285 case "$GTK_CONFIG" in
7287 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7290 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7293 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7295 for ac_dir
in $ac_dummy; do
7296 test -z "$ac_dir" && ac_dir
=.
7297 if test -f $ac_dir/$ac_word; then
7298 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7303 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7307 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7308 if test -n "$GTK_CONFIG"; then
7309 echo "$ac_t""$GTK_CONFIG" 1>&6
7311 echo "$ac_t""no" 1>&6
7314 min_gtk_version
=1.2.3
7315 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7316 echo "configure:7317: checking for GTK - version >= $min_gtk_version" >&5
7318 if test "$GTK_CONFIG" != "no" ; then
7319 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7320 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7321 ac_save_CFLAGS
="$CFLAGS"
7322 ac_save_LIBS
="$LIBS"
7323 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7324 LIBS
="$LIBS $GTK_LIBS"
7325 if test "$cross_compiling" = yes; then
7326 echo $ac_n "cross compiling; assumed OK... $ac_c"
7328 cat > conftest.
$ac_ext <<EOF
7329 #line 7330 "configure"
7330 #include "confdefs.h"
7332 #include <gtk/gtk.h>
7333 #include <gtk/gtkfeatures.h>
7340 int major, minor, micro;
7342 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7343 printf("%s, bad version string\n", "$min_gtk_version");
7347 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7348 (GTK_MINOR_VERSION != gtk_minor_version) ||
7349 (GTK_MICRO_VERSION != gtk_micro_version)) {
7350 printf("Headers vs. library version mismatch!\n");
7354 if (gtk_minor_version == 1) return FALSE;
7356 return !((gtk_major_version > major) ||
7357 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7358 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7362 if { (eval echo configure
:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7366 echo "configure: failed program was:" >&5
7367 cat conftest.
$ac_ext >&5
7374 CFLAGS
="$ac_save_CFLAGS"
7375 LIBS
="$ac_save_LIBS"
7379 if test "x$no_gtk" = x
; then
7380 echo "$ac_t""yes" 1>&6
7383 echo "$ac_t""no" 1>&6
7392 if test "$WXGTK12" != 1; then
7393 { echo "configure: error:
7394 Please check that gtk-config is in path, the directory
7395 where GTK+ libraries are installed (returned by
7396 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7397 equivalent variable and GTK+ is version 1.2.3 or above.
7402 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7405 GUI_TK_LIBRARY
="$GTK_LIBS"
7409 AFMINSTALL
=afminstall
7411 GUIOBJS
="\$(GTK_GUIOBJS)"
7412 GUIHEADERS
="\$(GTK_HEADERS)"
7413 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7414 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7415 GUIDEPS
="\$(GTK_GUIDEPS)"
7416 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7417 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7418 UNIXOBJS
="\$(UNIX_OBJS)"
7419 UNIXDEPS
="\$(UNIX_DEPS)"
7422 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7423 echo "configure:7424: checking for gdk_im_open in -lgdk" >&5
7424 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7426 echo $ac_n "(cached) $ac_c" 1>&6
7428 ac_save_LIBS
="$LIBS"
7430 cat > conftest.
$ac_ext <<EOF
7431 #line 7432 "configure"
7432 #include "confdefs.h"
7433 /* Override any gcc2 internal prototype to avoid an error. */
7434 /* We use char because int might match the return type of a gcc2
7435 builtin and then its argument prototype would still apply. */
7442 if { (eval echo configure
:7443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7444 eval "ac_cv_lib_$ac_lib_var=yes"
7446 echo "configure: failed program was:" >&5
7447 cat conftest.
$ac_ext >&5
7449 eval "ac_cv_lib_$ac_lib_var=no"
7452 LIBS
="$ac_save_LIBS"
7455 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7456 echo "$ac_t""yes" 1>&6
7457 cat >> confdefs.h
<<\EOF
7462 echo "$ac_t""no" 1>&6
7467 if test "$wxUSE_WINE" = 1; then
7468 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7469 echo "configure:7470: checking for WINE includes" >&5
7472 for ac_dir
in $SEARCH_INCLUDE;
7474 if test -f "$ac_dir/windows.h"; then
7475 ac_find_includes
=$ac_dir
7480 if test "$ac_find_includes" != "" ; then
7481 echo "$ac_t""found $ac_find_includes" 1>&6
7482 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7484 echo "$ac_t""no" 1>&6
7485 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7489 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7490 echo "configure:7491: checking for Xpm library" >&5
7493 for ac_dir
in $SEARCH_LIB;
7495 for ac_extension
in a so sl
; do
7496 if test -f "$ac_dir/libXpm.$ac_extension"; then
7497 ac_find_libraries
=$ac_dir
7503 if test "$ac_find_libraries" != "" ; then
7504 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7506 cat >> confdefs.h
<<\EOF
7507 #define wxHAVE_LIB_XPM 1
7510 echo "$ac_t""found at $ac_find_libraries" 1>&6
7512 echo "$ac_t""no" 1>&6
7513 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7517 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7518 echo "configure:7519: checking for Mesa library" >&5
7521 for ac_dir
in $SEARCH_LIB;
7523 for ac_extension
in a so sl
; do
7524 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7525 ac_find_libraries
=$ac_dir
7531 if test "$ac_find_libraries" != "" ; then
7532 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7533 MESA_LINK
="-lMesaGL"
7534 echo "$ac_t""found at $ac_find_libraries" 1>&6
7536 { echo "configure: error: no" 1>&2; exit 1; }
7539 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7540 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7544 GUIHEADERS
="\$(MSW_HEADERS)"
7545 GUIOBJS
="\$(MSW_GUIOBJS)"
7546 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7547 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7548 GUIDEPS
="\$(MSW_GUIDEPS)"
7549 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7550 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7551 UNIXOBJS
="\$(UNIX_OBJS)"
7552 UNIXDEPS
="\$(UNIX_DEPS)"
7556 if test "$wxUSE_MOTIF" = 1; then
7557 # If we find X, set shell vars x_includes and x_libraries to the
7558 # paths, otherwise set no_x=yes.
7559 # Uses ac_ vars as temps to allow command line to override cache and checks.
7560 # --without-x overrides everything else, but does not touch the cache.
7561 echo $ac_n "checking for X""... $ac_c" 1>&6
7562 echo "configure:7563: checking for X" >&5
7564 # Check whether --with-x or --without-x was given.
7565 if test "${with_x+set}" = set; then
7570 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7571 if test "x$with_x" = xno
; then
7572 # The user explicitly disabled X.
7575 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7576 # Both variables are already set.
7579 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7580 echo $ac_n "(cached) $ac_c" 1>&6
7582 # One or both of the vars are not set, and there is no cached value.
7583 ac_x_includes
=NO ac_x_libraries
=NO
7585 if mkdir conftestdir
; then
7587 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7588 cat > Imakefile
<<'EOF'
7590 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7592 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7593 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7594 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7595 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7596 for ac_extension
in a so sl
; do
7597 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7598 test -f $ac_im_libdir/libX11.
$ac_extension; then
7599 ac_im_usrlibdir
=$ac_im_libdir; break
7602 # Screen out bogus values from the imake configuration. They are
7603 # bogus both because they are the default anyway, and because
7604 # using them would break gcc on systems where it needs fixed includes.
7605 case "$ac_im_incroot" in
7607 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7609 case "$ac_im_usrlibdir" in
7611 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7618 if test "$ac_x_includes" = NO
; then
7619 # Guess where to find include files, by looking for this one X11 .h file.
7620 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7622 # First, try using that file with no special directory specified.
7623 cat > conftest.
$ac_ext <<EOF
7624 #line 7625 "configure"
7625 #include "confdefs.h"
7626 #include <$x_direct_test_include>
7628 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7629 { (eval echo configure
:7630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7630 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7631 if test -z "$ac_err"; then
7633 # We can compile using X headers with no special include directory.
7637 echo "configure: failed program was:" >&5
7638 cat conftest.
$ac_ext >&5
7640 # Look for the header file in a standard set of common directories.
7641 # Check X11 before X11Rn because it is often a symlink to the current release.
7644 /usr
/X
11R
6/include \
7645 /usr
/X
11R
5/include \
7646 /usr
/X
11R
4/include \
7649 /usr
/include
/X11R6 \
7650 /usr
/include
/X11R5 \
7651 /usr
/include
/X11R4 \
7653 /usr
/local
/X
11/include \
7654 /usr
/local
/X
11R
6/include \
7655 /usr
/local
/X
11R
5/include \
7656 /usr
/local
/X
11R
4/include \
7658 /usr
/local
/include
/X11 \
7659 /usr
/local
/include
/X11R6 \
7660 /usr
/local
/include
/X11R5 \
7661 /usr
/local
/include
/X11R4 \
7665 /usr
/XFree
86/include
/X11 \
7668 /usr
/local
/include \
7669 /usr
/unsupported
/include \
7670 /usr
/athena
/include \
7671 /usr
/local
/x
11r
5/include \
7672 /usr
/lpp
/Xamples
/include \
7674 /usr
/openwin
/include \
7675 /usr
/openwin
/share
/include \
7678 if test -r "$ac_dir/$x_direct_test_include"; then
7679 ac_x_includes
=$ac_dir
7685 fi # $ac_x_includes = NO
7687 if test "$ac_x_libraries" = NO
; then
7688 # Check for the libraries.
7690 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7691 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7693 # See if we find them without any special options.
7694 # Don't add to $LIBS permanently.
7695 ac_save_LIBS
="$LIBS"
7696 LIBS
="-l$x_direct_test_library $LIBS"
7697 cat > conftest.
$ac_ext <<EOF
7698 #line 7699 "configure"
7699 #include "confdefs.h"
7702 ${x_direct_test_function}()
7705 if { (eval echo configure
:7706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7707 LIBS
="$ac_save_LIBS"
7708 # We can link X programs with no special library path.
7711 echo "configure: failed program was:" >&5
7712 cat conftest.
$ac_ext >&5
7714 LIBS
="$ac_save_LIBS"
7715 # First see if replacing the include by lib works.
7716 # Check X11 before X11Rn because it is often a symlink to the current release.
7717 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7728 /usr
/local
/X
11/lib \
7729 /usr
/local
/X
11R
6/lib \
7730 /usr
/local
/X
11R
5/lib \
7731 /usr
/local
/X
11R
4/lib \
7733 /usr
/local
/lib
/X11 \
7734 /usr
/local
/lib
/X11R6 \
7735 /usr
/local
/lib
/X11R5 \
7736 /usr
/local
/lib
/X11R4 \
7740 /usr
/XFree
86/lib
/X11 \
7744 /usr
/unsupported
/lib \
7746 /usr
/local
/x
11r
5/lib \
7747 /usr
/lpp
/Xamples
/lib \
7751 /usr
/openwin
/share
/lib \
7754 for ac_extension
in a so sl
; do
7755 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7756 ac_x_libraries
=$ac_dir
7763 fi # $ac_x_libraries = NO
7765 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7766 # Didn't find X anywhere. Cache the known absence of X.
7767 ac_cv_have_x
="have_x=no"
7769 # Record where we found X for the cache.
7770 ac_cv_have_x
="have_x=yes \
7771 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7775 eval "$ac_cv_have_x"
7778 if test "$have_x" != yes; then
7779 echo "$ac_t""$have_x" 1>&6
7782 # If each of the values was on the command line, it overrides each guess.
7783 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7784 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7785 # Update the cache value to reflect the command line values.
7786 ac_cv_have_x
="have_x=yes \
7787 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7788 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7791 if test "$no_x" = yes; then
7792 # Not all programs may use this symbol, but it does not hurt to define it.
7793 cat >> confdefs.h
<<\EOF
7794 #define X_DISPLAY_MISSING 1
7797 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7799 if test -n "$x_includes"; then
7800 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7803 # It would also be nice to do this for all -L options, not just this one.
7804 if test -n "$x_libraries"; then
7805 X_LIBS
="$X_LIBS -L$x_libraries"
7806 # For Solaris; some versions of Sun CC require a space after -R and
7807 # others require no space. Words are not sufficient . . . .
7808 case "`(uname -sr) 2>/dev/null`" in
7810 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7811 echo "configure:7812: checking whether -R must be followed by a space" >&5
7812 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7813 cat > conftest.
$ac_ext <<EOF
7814 #line 7815 "configure"
7815 #include "confdefs.h"
7821 if { (eval echo configure
:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7825 echo "configure: failed program was:" >&5
7826 cat conftest.
$ac_ext >&5
7831 if test $ac_R_nospace = yes; then
7832 echo "$ac_t""no" 1>&6
7833 X_LIBS
="$X_LIBS -R$x_libraries"
7835 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7836 cat > conftest.
$ac_ext <<EOF
7837 #line 7838 "configure"
7838 #include "confdefs.h"
7844 if { (eval echo configure
:7845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7848 echo "configure: failed program was:" >&5
7849 cat conftest.
$ac_ext >&5
7854 if test $ac_R_space = yes; then
7855 echo "$ac_t""yes" 1>&6
7856 X_LIBS
="$X_LIBS -R $x_libraries"
7858 echo "$ac_t""neither works" 1>&6
7861 LIBS
="$ac_xsave_LIBS"
7865 # Check for system-dependent libraries X programs must link with.
7866 # Do this before checking for the system-independent R6 libraries
7867 # (-lICE), since we may need -lsocket or whatever for X linking.
7869 if test "$ISC" = yes; then
7870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7872 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7873 # libraries were built with DECnet support. And karl@cs.umb.edu says
7874 # the Alpha needs dnet_stub (dnet does not exist).
7875 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7876 echo "configure:7877: checking for dnet_ntoa in -ldnet" >&5
7877 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7879 echo $ac_n "(cached) $ac_c" 1>&6
7881 ac_save_LIBS
="$LIBS"
7883 cat > conftest.
$ac_ext <<EOF
7884 #line 7885 "configure"
7885 #include "confdefs.h"
7886 /* Override any gcc2 internal prototype to avoid an error. */
7887 /* We use char because int might match the return type of a gcc2
7888 builtin and then its argument prototype would still apply. */
7895 if { (eval echo configure
:7896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7897 eval "ac_cv_lib_$ac_lib_var=yes"
7899 echo "configure: failed program was:" >&5
7900 cat conftest.
$ac_ext >&5
7902 eval "ac_cv_lib_$ac_lib_var=no"
7905 LIBS
="$ac_save_LIBS"
7908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7909 echo "$ac_t""yes" 1>&6
7910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7912 echo "$ac_t""no" 1>&6
7915 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7916 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7917 echo "configure:7918: checking for dnet_ntoa in -ldnet_stub" >&5
7918 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7919 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7920 echo $ac_n "(cached) $ac_c" 1>&6
7922 ac_save_LIBS
="$LIBS"
7923 LIBS
="-ldnet_stub $LIBS"
7924 cat > conftest.
$ac_ext <<EOF
7925 #line 7926 "configure"
7926 #include "confdefs.h"
7927 /* Override any gcc2 internal prototype to avoid an error. */
7928 /* We use char because int might match the return type of a gcc2
7929 builtin and then its argument prototype would still apply. */
7936 if { (eval echo configure
:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7938 eval "ac_cv_lib_$ac_lib_var=yes"
7940 echo "configure: failed program was:" >&5
7941 cat conftest.
$ac_ext >&5
7943 eval "ac_cv_lib_$ac_lib_var=no"
7946 LIBS
="$ac_save_LIBS"
7949 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7950 echo "$ac_t""yes" 1>&6
7951 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7953 echo "$ac_t""no" 1>&6
7958 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7959 # to get the SysV transport functions.
7960 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7962 # The nsl library prevents programs from opening the X display
7963 # on Irix 5.2, according to dickey@clark.net.
7964 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7965 echo "configure:7966: checking for gethostbyname" >&5
7966 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7967 echo $ac_n "(cached) $ac_c" 1>&6
7969 cat > conftest.
$ac_ext <<EOF
7970 #line 7971 "configure"
7971 #include "confdefs.h"
7972 /* System header to define __stub macros and hopefully few prototypes,
7973 which can conflict with char gethostbyname(); below. */
7975 /* Override any gcc2 internal prototype to avoid an error. */
7976 /* We use char because int might match the return type of a gcc2
7977 builtin and then its argument prototype would still apply. */
7978 char gethostbyname();
7982 /* The GNU C library defines this for functions which it implements
7983 to always fail with ENOSYS. Some functions are actually named
7984 something starting with __ and the normal name is an alias. */
7985 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7993 if { (eval echo configure
:7994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7995 eval "ac_cv_func_gethostbyname=yes"
7997 echo "configure: failed program was:" >&5
7998 cat conftest.
$ac_ext >&5
8000 eval "ac_cv_func_gethostbyname=no"
8005 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8006 echo "$ac_t""yes" 1>&6
8009 echo "$ac_t""no" 1>&6
8012 if test $ac_cv_func_gethostbyname = no
; then
8013 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8014 echo "configure:8015: checking for gethostbyname in -lnsl" >&5
8015 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8017 echo $ac_n "(cached) $ac_c" 1>&6
8019 ac_save_LIBS
="$LIBS"
8021 cat > conftest.
$ac_ext <<EOF
8022 #line 8023 "configure"
8023 #include "confdefs.h"
8024 /* Override any gcc2 internal prototype to avoid an error. */
8025 /* We use char because int might match the return type of a gcc2
8026 builtin and then its argument prototype would still apply. */
8027 char gethostbyname();
8033 if { (eval echo configure
:8034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8035 eval "ac_cv_lib_$ac_lib_var=yes"
8037 echo "configure: failed program was:" >&5
8038 cat conftest.
$ac_ext >&5
8040 eval "ac_cv_lib_$ac_lib_var=no"
8043 LIBS
="$ac_save_LIBS"
8046 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8047 echo "$ac_t""yes" 1>&6
8048 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8050 echo "$ac_t""no" 1>&6
8055 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8056 # socket/setsockopt and other routines are undefined under SCO ODT
8057 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8058 # on later versions), says simon@lia.di.epfl.ch: it contains
8059 # gethostby* variants that don't use the nameserver (or something).
8060 # -lsocket must be given before -lnsl if both are needed.
8061 # We assume that if connect needs -lnsl, so does gethostbyname.
8062 echo $ac_n "checking for connect""... $ac_c" 1>&6
8063 echo "configure:8064: checking for connect" >&5
8064 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8065 echo $ac_n "(cached) $ac_c" 1>&6
8067 cat > conftest.
$ac_ext <<EOF
8068 #line 8069 "configure"
8069 #include "confdefs.h"
8070 /* System header to define __stub macros and hopefully few prototypes,
8071 which can conflict with char connect(); below. */
8073 /* Override any gcc2 internal prototype to avoid an error. */
8074 /* We use char because int might match the return type of a gcc2
8075 builtin and then its argument prototype would still apply. */
8080 /* The GNU C library defines this for functions which it implements
8081 to always fail with ENOSYS. Some functions are actually named
8082 something starting with __ and the normal name is an alias. */
8083 #if defined (__stub_connect) || defined (__stub___connect)
8091 if { (eval echo configure
:8092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8093 eval "ac_cv_func_connect=yes"
8095 echo "configure: failed program was:" >&5
8096 cat conftest.
$ac_ext >&5
8098 eval "ac_cv_func_connect=no"
8103 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8104 echo "$ac_t""yes" 1>&6
8107 echo "$ac_t""no" 1>&6
8110 if test $ac_cv_func_connect = no
; then
8111 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8112 echo "configure:8113: checking for connect in -lsocket" >&5
8113 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8114 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8115 echo $ac_n "(cached) $ac_c" 1>&6
8117 ac_save_LIBS
="$LIBS"
8118 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8119 cat > conftest.
$ac_ext <<EOF
8120 #line 8121 "configure"
8121 #include "confdefs.h"
8122 /* Override any gcc2 internal prototype to avoid an error. */
8123 /* We use char because int might match the return type of a gcc2
8124 builtin and then its argument prototype would still apply. */
8131 if { (eval echo configure
:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8133 eval "ac_cv_lib_$ac_lib_var=yes"
8135 echo "configure: failed program was:" >&5
8136 cat conftest.
$ac_ext >&5
8138 eval "ac_cv_lib_$ac_lib_var=no"
8141 LIBS
="$ac_save_LIBS"
8144 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8145 echo "$ac_t""yes" 1>&6
8146 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8148 echo "$ac_t""no" 1>&6
8153 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8154 echo $ac_n "checking for remove""... $ac_c" 1>&6
8155 echo "configure:8156: checking for remove" >&5
8156 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8157 echo $ac_n "(cached) $ac_c" 1>&6
8159 cat > conftest.
$ac_ext <<EOF
8160 #line 8161 "configure"
8161 #include "confdefs.h"
8162 /* System header to define __stub macros and hopefully few prototypes,
8163 which can conflict with char remove(); below. */
8165 /* Override any gcc2 internal prototype to avoid an error. */
8166 /* We use char because int might match the return type of a gcc2
8167 builtin and then its argument prototype would still apply. */
8172 /* The GNU C library defines this for functions which it implements
8173 to always fail with ENOSYS. Some functions are actually named
8174 something starting with __ and the normal name is an alias. */
8175 #if defined (__stub_remove) || defined (__stub___remove)
8183 if { (eval echo configure
:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8185 eval "ac_cv_func_remove=yes"
8187 echo "configure: failed program was:" >&5
8188 cat conftest.
$ac_ext >&5
8190 eval "ac_cv_func_remove=no"
8195 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8196 echo "$ac_t""yes" 1>&6
8199 echo "$ac_t""no" 1>&6
8202 if test $ac_cv_func_remove = no
; then
8203 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8204 echo "configure:8205: checking for remove in -lposix" >&5
8205 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8207 echo $ac_n "(cached) $ac_c" 1>&6
8209 ac_save_LIBS
="$LIBS"
8210 LIBS
="-lposix $LIBS"
8211 cat > conftest.
$ac_ext <<EOF
8212 #line 8213 "configure"
8213 #include "confdefs.h"
8214 /* Override any gcc2 internal prototype to avoid an error. */
8215 /* We use char because int might match the return type of a gcc2
8216 builtin and then its argument prototype would still apply. */
8223 if { (eval echo configure
:8224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8225 eval "ac_cv_lib_$ac_lib_var=yes"
8227 echo "configure: failed program was:" >&5
8228 cat conftest.
$ac_ext >&5
8230 eval "ac_cv_lib_$ac_lib_var=no"
8233 LIBS
="$ac_save_LIBS"
8236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8237 echo "$ac_t""yes" 1>&6
8238 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8240 echo "$ac_t""no" 1>&6
8245 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8246 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8247 echo "configure:8248: checking for shmat" >&5
8248 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8249 echo $ac_n "(cached) $ac_c" 1>&6
8251 cat > conftest.
$ac_ext <<EOF
8252 #line 8253 "configure"
8253 #include "confdefs.h"
8254 /* System header to define __stub macros and hopefully few prototypes,
8255 which can conflict with char shmat(); below. */
8257 /* Override any gcc2 internal prototype to avoid an error. */
8258 /* We use char because int might match the return type of a gcc2
8259 builtin and then its argument prototype would still apply. */
8264 /* The GNU C library defines this for functions which it implements
8265 to always fail with ENOSYS. Some functions are actually named
8266 something starting with __ and the normal name is an alias. */
8267 #if defined (__stub_shmat) || defined (__stub___shmat)
8275 if { (eval echo configure
:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8277 eval "ac_cv_func_shmat=yes"
8279 echo "configure: failed program was:" >&5
8280 cat conftest.
$ac_ext >&5
8282 eval "ac_cv_func_shmat=no"
8287 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8288 echo "$ac_t""yes" 1>&6
8291 echo "$ac_t""no" 1>&6
8294 if test $ac_cv_func_shmat = no
; then
8295 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8296 echo "configure:8297: checking for shmat in -lipc" >&5
8297 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8299 echo $ac_n "(cached) $ac_c" 1>&6
8301 ac_save_LIBS
="$LIBS"
8303 cat > conftest.
$ac_ext <<EOF
8304 #line 8305 "configure"
8305 #include "confdefs.h"
8306 /* Override any gcc2 internal prototype to avoid an error. */
8307 /* We use char because int might match the return type of a gcc2
8308 builtin and then its argument prototype would still apply. */
8315 if { (eval echo configure
:8316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8317 eval "ac_cv_lib_$ac_lib_var=yes"
8319 echo "configure: failed program was:" >&5
8320 cat conftest.
$ac_ext >&5
8322 eval "ac_cv_lib_$ac_lib_var=no"
8325 LIBS
="$ac_save_LIBS"
8328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8329 echo "$ac_t""yes" 1>&6
8330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8332 echo "$ac_t""no" 1>&6
8338 # Check for libraries that X11R6 Xt/Xaw programs need.
8339 ac_save_LDFLAGS
="$LDFLAGS"
8340 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8341 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8342 # check for ICE first), but we must link in the order -lSM -lICE or
8343 # we get undefined symbols. So assume we have SM if we have ICE.
8344 # These have to be linked with before -lX11, unlike the other
8345 # libraries we check for below, so use a different variable.
8346 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8347 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8348 echo "configure:8349: checking for IceConnectionNumber in -lICE" >&5
8349 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8351 echo $ac_n "(cached) $ac_c" 1>&6
8353 ac_save_LIBS
="$LIBS"
8354 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8355 cat > conftest.
$ac_ext <<EOF
8356 #line 8357 "configure"
8357 #include "confdefs.h"
8358 /* Override any gcc2 internal prototype to avoid an error. */
8359 /* We use char because int might match the return type of a gcc2
8360 builtin and then its argument prototype would still apply. */
8361 char IceConnectionNumber();
8364 IceConnectionNumber()
8367 if { (eval echo configure
:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8369 eval "ac_cv_lib_$ac_lib_var=yes"
8371 echo "configure: failed program was:" >&5
8372 cat conftest.
$ac_ext >&5
8374 eval "ac_cv_lib_$ac_lib_var=no"
8377 LIBS
="$ac_save_LIBS"
8380 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8381 echo "$ac_t""yes" 1>&6
8382 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8384 echo "$ac_t""no" 1>&6
8387 LDFLAGS
="$ac_save_LDFLAGS"
8392 if test "$no_x" = "yes"; then
8393 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8396 GUI_TK_LIBRARY
="$X_LIBS"
8397 TOOLKIT_INCLUDE
="$X_CFLAGS"
8399 AFMINSTALL
=afminstall
8402 COMPILED_X_PROGRAM
=0
8404 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8405 echo "configure:8406: checking for Motif/Lesstif headers" >&5
8408 for ac_dir
in $SEARCH_INCLUDE;
8410 if test -f "$ac_dir/Xm/Xm.h"; then
8411 ac_find_includes
=$ac_dir
8416 if test "$ac_find_includes" != "" ; then
8417 echo "$ac_t""found $ac_find_includes" 1>&6
8419 cat > conftest.
$ac_ext <<EOF
8420 #line 8421 "configure"
8421 #include "confdefs.h"
8429 version = xmUseVersion;
8433 if { (eval echo configure
:8434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8436 echo "$ac_t""found in default search path" 1>&6
8437 COMPILED_X_PROGRAM
=1
8440 echo "configure: failed program was:" >&5
8441 cat conftest.
$ac_ext >&5
8444 echo "$ac_t""no" 1>&6
8445 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8452 if test "$COMPILED_X_PROGRAM" = 0; then
8453 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8454 echo "configure:8455: checking for Motif/Lesstif library" >&5
8457 for ac_dir
in $SEARCH_LIB;
8459 for ac_extension
in a so sl
; do
8460 if test -f "$ac_dir/libXm.$ac_extension"; then
8461 ac_find_libraries
=$ac_dir
8467 if test "$ac_find_libraries" != "" ; then
8469 ac_path_to_include
=$ac_find_includes
8470 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8472 if test $result = 0; then
8473 ac_path_to_include
=""
8475 ac_path_to_include
="-I$ac_find_includes"
8479 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8481 if test $result = 0; then
8484 ac_path_to_link
="-L$ac_find_libraries"
8488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8489 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8490 echo "$ac_t""found at $ac_find_libraries" 1>&6
8492 cat > conftest.
$ac_ext <<EOF
8493 #line 8494 "configure"
8494 #include "confdefs.h"
8502 version = xmUseVersion;
8506 if { (eval echo configure
:8507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8509 echo "$ac_t""found in default search path" 1>&6
8510 COMPILED_X_PROGRAM
=1
8513 echo "configure: failed program was:" >&5
8514 cat conftest.
$ac_ext >&5
8517 echo "$ac_t""no" 1>&6
8518 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8528 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8529 echo "configure:8530: checking for Xpm library" >&5
8532 for ac_dir
in $SEARCH_LIB;
8534 for ac_extension
in a so sl
; do
8535 if test -f "$ac_dir/libXpm.$ac_extension"; then
8536 ac_find_libraries
=$ac_dir
8542 if test "$ac_find_libraries" != "" ; then
8544 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8546 if test $result = 0; then
8549 ac_path_to_link
="-L$ac_find_libraries"
8552 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8554 cat >> confdefs.h
<<\EOF
8555 #define wxHAVE_LIB_XPM 1
8558 echo "$ac_t""found at $ac_find_libraries" 1>&6
8560 cat > conftest.
$ac_ext <<EOF
8561 #line 8562 "configure"
8562 #include "confdefs.h"
8564 #include <X11/xpm.h>
8570 version = XpmLibraryVersion();
8574 if { (eval echo configure
:8575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8578 cat >> confdefs.h
<<\EOF
8579 #define wxHAVE_LIB_XPM 1
8582 echo "$ac_t""found in default search path" 1>&6
8583 COMPILED_X_PROGRAM
=0
8586 echo "configure: failed program was:" >&5
8587 cat conftest.
$ac_ext >&5
8590 echo "$ac_t""no" 1>&6
8591 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8598 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
8599 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8602 GUIHEADERS
="\$(MOTIF_HEADERS)"
8603 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8604 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8605 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8606 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8607 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8608 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8609 UNIXOBJS
="\$(UNIX_OBJS)"
8610 UNIXDEPS
="\$(UNIX_DEPS)"
8614 if test "$wxUSE_PM" = 1; then
8617 GUIOBJS
="\$(PM_GUIOBJS)"
8618 GUIHEADERS
="\$(PM_HEADERS)"
8619 COMMONOBJS
="\$(PM_COMMONOBJS)"
8620 GENERICOBJS
="\$(PM_GENERICOBJS)"
8621 GUIDEPS
="\$(PM_GUIDEPS)"
8622 COMMONDEPS
="\$(PM_COMMONDEPS)"
8623 GENERICDEPS
="\$(PM_GENERICDEPS)"
8629 if test "$TOOLKIT" != "PM" ; then
8630 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8635 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
8636 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
8638 TOOLKIT_NAME
="${TOOLKIT_DIR}"
8641 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8643 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
8645 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8647 if test "$TOOLKIT" != "MSW"; then
8648 if test "$wxUSE_ODBC" = "yes" ; then
8649 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8653 if test "$wxUSE_LIBJPEG" = "yes" ; then
8654 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8656 if test "$wxUSE_LIBTIFF" = "yes" ; then
8657 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8659 if test "$wxUSE_LIBPNG" = "yes" ; then
8660 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8662 if test "$wxUSE_ZLIB" = "yes" ; then
8663 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8665 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8667 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8668 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8669 RPM_SPEC
="wx\$(TOOLKIT).spec"
8671 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8672 DISTDIR
="wx\$(TOOLKIT)"
8678 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
8679 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
8681 TOOLKIT_NAME
="${TOOLKIT_DIR}"
8684 TOOLKIT_DEF
="-D__WXBASE__"
8686 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8687 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8689 if test "$wxUSE_ZLIB" = "yes" ; then
8690 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8693 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
8695 PORT_FILES
="src/files.lst"
8696 RPM_FILES
="src/rpmfiles.lst"
8697 RPM_SPEC
="wxBase.spec"
8703 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8704 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8706 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8707 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8709 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8710 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8712 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8713 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8714 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8715 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8716 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8717 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
8724 WX_TARGET_LIBRARY_SONAME
=
8727 if test "$wxUSE_SHARED" = "yes"; then
8730 if test "$GCC" = yes ; then
8731 SHARED_LD
="${CC} -shared -fPIC -o"
8734 LDFLAGS
="-L/usr/lib"
8736 SHARED_LD
="${CXX} -b -o"
8739 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
8740 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
8741 if test "$wxUSE_OPENGL" = "yes"; then
8742 WX_ALL_INSTALLED
="preinstall_gl"
8743 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
8745 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
8750 SHARED_LD
="${CC} -shared -o"
8752 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8753 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8754 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
8755 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
8757 if test "$wxUSE_OPENGL" = "yes"; then
8758 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8759 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8761 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8762 WX_ALL
="CREATE_LINKS"
8765 *-*-irix5* | *-*-irix6* )
8766 if test "$GCC" = yes ; then
8767 SHARED_LD
="${CC} -shared -o"
8770 SHARED_LD
="${CXX} -shared -o"
8772 if test "$wxUSE_OPENGL" = "yes"; then
8773 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8774 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8776 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8777 WX_ALL
="CREATE_LINKS"
8781 if test "$GCC" = yes ; then
8782 SHARED_LD
="${CC} -shared -o"
8785 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
8787 SHARED_LD
="${CXX} -G -o"
8790 if test "$wxUSE_OPENGL" = "yes"; then
8791 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8792 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8794 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8795 WX_ALL
="CREATE_LINKS"
8799 SHARED_LD
="${CC} -shared -o"
8801 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8802 WX_ALL
="CREATE_LINKS"
8804 *-*-freebsd* | *-*-netbsd*)
8805 SHARED_LD
="${CC} -shared -o"
8807 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8808 WX_ALL
="CREATE_LINKS"
8811 SHARED_LD
="${CXX} -shared -o"
8813 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8814 WX_ALL
="CREATE_LINKS"
8817 SHARED_LD
="${CXX} -shared -o"
8819 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8820 WX_ALL
="CREATE_LINKS"
8823 SHARED_LD
="${CC} -shared -o"
8825 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8826 WX_ALL
="CREATE_LINKS"
8829 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8830 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8833 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8834 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8835 if test "$wxUSE_OPENGL" = "yes"; then
8836 WX_ALL_INSTALLED
="preinstall_gl"
8837 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
8839 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8843 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8844 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8845 if test "$wxUSE_OPENGL" = "yes"; then
8846 WX_ALL_INSTALLED
="preinstall_gl"
8847 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
8849 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8853 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8854 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8857 SHARED_LD
="${LD} -shared -o"
8859 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8860 WX_ALL
="CREATE_LINKS"
8863 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8866 if test "x$WX_TARGET_LIBRARY" = "x"; then
8867 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8868 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
8870 WX_TARGET_LIBRARY_TYPE
="so"
8872 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8873 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8875 if test "$wxUSE_OPENGL" = "yes"; then
8876 WX_ALL_INSTALLED
="preinstall_gl"
8877 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
8879 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8882 if test "$wxUSE_GUI" = "no"; then
8883 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
8886 WX_TARGET_LIBRARY_TYPE
="a"
8890 for ac_hdr
in strings.h
8892 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8894 echo "configure:8895: checking for $ac_hdr" >&5
8895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8896 echo $ac_n "(cached) $ac_c" 1>&6
8898 cat > conftest.
$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8904 { (eval echo configure
:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8906 if test -z "$ac_err"; then
8908 eval "ac_cv_header_$ac_safe=yes"
8911 echo "configure: failed program was:" >&5
8912 cat conftest.
$ac_ext >&5
8914 eval "ac_cv_header_$ac_safe=no"
8918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8919 echo "$ac_t""yes" 1>&6
8920 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8921 cat >> confdefs.h
<<EOF
8922 #define $ac_tr_hdr 1
8926 echo "$ac_t""no" 1>&6
8930 for ac_hdr
in unistd.h
8932 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8934 echo "configure:8935: checking for $ac_hdr" >&5
8935 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8936 echo $ac_n "(cached) $ac_c" 1>&6
8938 cat > conftest.
$ac_ext <<EOF
8939 #line 8940 "configure"
8940 #include "confdefs.h"
8943 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8944 { (eval echo configure
:8945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8945 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8946 if test -z "$ac_err"; then
8948 eval "ac_cv_header_$ac_safe=yes"
8951 echo "configure: failed program was:" >&5
8952 cat conftest.
$ac_ext >&5
8954 eval "ac_cv_header_$ac_safe=no"
8958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8959 echo "$ac_t""yes" 1>&6
8960 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8961 cat >> confdefs.h
<<EOF
8962 #define $ac_tr_hdr 1
8966 echo "$ac_t""no" 1>&6
8970 for ac_hdr
in wchar.h
8972 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8973 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8974 echo "configure:8975: checking for $ac_hdr" >&5
8975 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8976 echo $ac_n "(cached) $ac_c" 1>&6
8978 cat > conftest.
$ac_ext <<EOF
8979 #line 8980 "configure"
8980 #include "confdefs.h"
8983 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8984 { (eval echo configure
:8985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8985 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8986 if test -z "$ac_err"; then
8988 eval "ac_cv_header_$ac_safe=yes"
8991 echo "configure: failed program was:" >&5
8992 cat conftest.
$ac_ext >&5
8994 eval "ac_cv_header_$ac_safe=no"
8998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8999 echo "$ac_t""yes" 1>&6
9000 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9001 cat >> confdefs.h
<<EOF
9002 #define $ac_tr_hdr 1
9006 echo "$ac_t""no" 1>&6
9010 for ac_hdr
in wcstr.h
9012 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9014 echo "configure:9015: checking for $ac_hdr" >&5
9015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9016 echo $ac_n "(cached) $ac_c" 1>&6
9018 cat > conftest.
$ac_ext <<EOF
9019 #line 9020 "configure"
9020 #include "confdefs.h"
9023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9024 { (eval echo configure
:9025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9026 if test -z "$ac_err"; then
9028 eval "ac_cv_header_$ac_safe=yes"
9031 echo "configure: failed program was:" >&5
9032 cat conftest.
$ac_ext >&5
9034 eval "ac_cv_header_$ac_safe=no"
9038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9039 echo "$ac_t""yes" 1>&6
9040 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9041 cat >> confdefs.h
<<EOF
9042 #define $ac_tr_hdr 1
9046 echo "$ac_t""no" 1>&6
9050 for ac_hdr
in fnmatch.h
9052 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9054 echo "configure:9055: checking for $ac_hdr" >&5
9055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9056 echo $ac_n "(cached) $ac_c" 1>&6
9058 cat > conftest.
$ac_ext <<EOF
9059 #line 9060 "configure"
9060 #include "confdefs.h"
9063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9064 { (eval echo configure
:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9066 if test -z "$ac_err"; then
9068 eval "ac_cv_header_$ac_safe=yes"
9071 echo "configure: failed program was:" >&5
9072 cat conftest.
$ac_ext >&5
9074 eval "ac_cv_header_$ac_safe=no"
9078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9079 echo "$ac_t""yes" 1>&6
9080 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9081 cat >> confdefs.h
<<EOF
9082 #define $ac_tr_hdr 1
9086 echo "$ac_t""no" 1>&6
9091 if test "$wxUSE_GUI" = "yes"; then
9092 if test "$wxUSE_UNIX" = "yes"; then
9093 for ac_hdr
in X
11/XKBlib.h
9095 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9096 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9097 echo "configure:9098: checking for $ac_hdr" >&5
9098 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 cat > conftest.
$ac_ext <<EOF
9102 #line 9103 "configure"
9103 #include "confdefs.h"
9106 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9107 { (eval echo configure
:9108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9108 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9109 if test -z "$ac_err"; then
9111 eval "ac_cv_header_$ac_safe=yes"
9114 echo "configure: failed program was:" >&5
9115 cat conftest.
$ac_ext >&5
9117 eval "ac_cv_header_$ac_safe=no"
9121 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9122 echo "$ac_t""yes" 1>&6
9123 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9124 cat >> confdefs.h
<<EOF
9125 #define $ac_tr_hdr 1
9129 echo "$ac_t""no" 1>&6
9137 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9138 echo "configure:9139: checking for ANSI C header files" >&5
9139 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9140 echo $ac_n "(cached) $ac_c" 1>&6
9142 cat > conftest.
$ac_ext <<EOF
9143 #line 9144 "configure"
9144 #include "confdefs.h"
9150 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9151 { (eval echo configure
:9152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9152 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9153 if test -z "$ac_err"; then
9155 ac_cv_header_stdc
=yes
9158 echo "configure: failed program was:" >&5
9159 cat conftest.
$ac_ext >&5
9161 ac_cv_header_stdc
=no
9165 if test $ac_cv_header_stdc = yes; then
9166 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9167 cat > conftest.
$ac_ext <<EOF
9168 #line 9169 "configure"
9169 #include "confdefs.h"
9172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9173 egrep "memchr" >/dev
/null
2>&1; then
9177 ac_cv_header_stdc
=no
9183 if test $ac_cv_header_stdc = yes; then
9184 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9185 cat > conftest.
$ac_ext <<EOF
9186 #line 9187 "configure"
9187 #include "confdefs.h"
9190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9191 egrep "free" >/dev
/null
2>&1; then
9195 ac_cv_header_stdc
=no
9201 if test $ac_cv_header_stdc = yes; then
9202 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9203 if test "$cross_compiling" = yes; then
9206 cat > conftest.
$ac_ext <<EOF
9207 #line 9208 "configure"
9208 #include "confdefs.h"
9210 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9211 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9212 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9213 int main () { int i; for (i = 0; i < 256; i++)
9214 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9218 if { (eval echo configure
:9219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9222 echo "configure: failed program was:" >&5
9223 cat conftest.
$ac_ext >&5
9225 ac_cv_header_stdc
=no
9233 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9234 if test $ac_cv_header_stdc = yes; then
9235 cat >> confdefs.h
<<\EOF
9236 #define STDC_HEADERS 1
9241 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9242 echo "configure:9243: checking for mode_t" >&5
9243 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9244 echo $ac_n "(cached) $ac_c" 1>&6
9246 cat > conftest.
$ac_ext <<EOF
9247 #line 9248 "configure"
9248 #include "confdefs.h"
9249 #include <sys/types.h>
9255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9256 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9258 ac_cv_type_mode_t
=yes
9261 ac_cv_type_mode_t
=no
9266 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9267 if test $ac_cv_type_mode_t = no
; then
9268 cat >> confdefs.h
<<\EOF
9274 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9275 echo "configure:9276: checking for off_t" >&5
9276 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9277 echo $ac_n "(cached) $ac_c" 1>&6
9279 cat > conftest.
$ac_ext <<EOF
9280 #line 9281 "configure"
9281 #include "confdefs.h"
9282 #include <sys/types.h>
9288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9289 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9291 ac_cv_type_off_t
=yes
9299 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9300 if test $ac_cv_type_off_t = no
; then
9301 cat >> confdefs.h
<<\EOF
9307 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9308 echo "configure:9309: checking for pid_t" >&5
9309 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9310 echo $ac_n "(cached) $ac_c" 1>&6
9312 cat > conftest.
$ac_ext <<EOF
9313 #line 9314 "configure"
9314 #include "confdefs.h"
9315 #include <sys/types.h>
9321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9322 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9324 ac_cv_type_pid_t
=yes
9332 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9333 if test $ac_cv_type_pid_t = no
; then
9334 cat >> confdefs.h
<<\EOF
9340 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9341 echo "configure:9342: checking for size_t" >&5
9342 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9343 echo $ac_n "(cached) $ac_c" 1>&6
9345 cat > conftest.
$ac_ext <<EOF
9346 #line 9347 "configure"
9347 #include "confdefs.h"
9348 #include <sys/types.h>
9354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9355 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9357 ac_cv_type_size_t
=yes
9360 ac_cv_type_size_t
=no
9365 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9366 if test $ac_cv_type_size_t = no
; then
9367 cat >> confdefs.h
<<\EOF
9368 #define size_t unsigned
9373 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9374 echo "configure:9375: checking for uid_t in sys/types.h" >&5
9375 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9378 cat > conftest.
$ac_ext <<EOF
9379 #line 9380 "configure"
9380 #include "confdefs.h"
9381 #include <sys/types.h>
9383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9384 egrep "uid_t" >/dev
/null
2>&1; then
9386 ac_cv_type_uid_t
=yes
9395 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9396 if test $ac_cv_type_uid_t = no
; then
9397 cat >> confdefs.h
<<\EOF
9401 cat >> confdefs.h
<<\EOF
9409 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9410 echo "configure:9411: checking for pw_gecos in struct passwd" >&5
9411 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9412 echo $ac_n "(cached) $ac_c" 1>&6
9415 cat > conftest.
$ac_ext <<EOF
9416 #line 9417 "configure"
9417 #include "confdefs.h"
9427 if { (eval echo configure
:9428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9430 wx_cv_struct_pw_gecos
=yes
9433 echo "configure: failed program was:" >&5
9434 cat conftest.
$ac_ext >&5
9437 wx_cv_struct_pw_gecos
=no
9446 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9448 if test "$wx_cv_struct_pw_gecos" = "yes"; then
9449 cat >> confdefs.h
<<\EOF
9450 #define HAVE_PW_GECOS 1
9456 echo $ac_n "checking for working const""... $ac_c" 1>&6
9457 echo "configure:9458: checking for working const" >&5
9458 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9459 echo $ac_n "(cached) $ac_c" 1>&6
9461 cat > conftest.
$ac_ext <<EOF
9462 #line 9463 "configure"
9463 #include "confdefs.h"
9467 /* Ultrix mips cc rejects this. */
9468 typedef int charset[2]; const charset x;
9469 /* SunOS 4.1.1 cc rejects this. */
9470 char const *const *ccp;
9472 /* NEC SVR4.0.2 mips cc rejects this. */
9473 struct point {int x, y;};
9474 static struct point const zero = {0,0};
9475 /* AIX XL C 1.02.0.0 rejects this.
9476 It does not let you subtract one const X* pointer from another in an arm
9477 of an if-expression whose if-part is not a constant expression */
9478 const char *g = "string";
9479 ccp = &g + (g ? g-g : 0);
9480 /* HPUX 7.0 cc rejects these. */
9483 ccp = (char const *const *) p;
9484 { /* SCO 3.2v4 cc rejects this. */
9486 char const *s = 0 ? (char *) 0 : (char const *) 0;
9490 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9492 const int *foo = &x[0];
9495 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9496 typedef const int *iptr;
9500 { /* AIX XL C 1.02.0.0 rejects this saying
9501 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9502 struct s { int j; const int *ap[3]; };
9503 struct s *b; b->j = 5;
9505 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9511 if { (eval echo configure
:9512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9515 echo "configure: failed program was:" >&5
9516 cat conftest.
$ac_ext >&5
9523 echo "$ac_t""$ac_cv_c_const" 1>&6
9524 if test $ac_cv_c_const = no
; then
9525 cat >> confdefs.h
<<\EOF
9531 echo $ac_n "checking for inline""... $ac_c" 1>&6
9532 echo "configure:9533: checking for inline" >&5
9533 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9534 echo $ac_n "(cached) $ac_c" 1>&6
9537 for ac_kw
in inline __inline__ __inline
; do
9538 cat > conftest.
$ac_ext <<EOF
9539 #line 9540 "configure"
9540 #include "confdefs.h"
9546 if { (eval echo configure
:9547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9548 ac_cv_c_inline
=$ac_kw; break
9550 echo "configure: failed program was:" >&5
9551 cat conftest.
$ac_ext >&5
9558 echo "$ac_t""$ac_cv_c_inline" 1>&6
9559 case "$ac_cv_c_inline" in
9561 no
) cat >> confdefs.h
<<\EOF
9565 *) cat >> confdefs.h
<<EOF
9566 #define inline $ac_cv_c_inline
9572 echo $ac_n "checking size of char""... $ac_c" 1>&6
9573 echo "configure:9574: checking size of char" >&5
9574 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9575 echo $ac_n "(cached) $ac_c" 1>&6
9577 if test "$cross_compiling" = yes; then
9580 cat > conftest.
$ac_ext <<EOF
9581 #line 9582 "configure"
9582 #include "confdefs.h"
9586 FILE *f=fopen("conftestval", "w");
9588 fprintf(f, "%d\n", sizeof(char));
9592 if { (eval echo configure
:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9594 ac_cv_sizeof_char
=`cat conftestval`
9596 echo "configure: failed program was:" >&5
9597 cat conftest.
$ac_ext >&5
9605 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9606 cat >> confdefs.h
<<EOF
9607 #define SIZEOF_CHAR $ac_cv_sizeof_char
9611 echo $ac_n "checking size of short""... $ac_c" 1>&6
9612 echo "configure:9613: checking size of short" >&5
9613 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9614 echo $ac_n "(cached) $ac_c" 1>&6
9616 if test "$cross_compiling" = yes; then
9617 ac_cv_sizeof_short
=2
9619 cat > conftest.
$ac_ext <<EOF
9620 #line 9621 "configure"
9621 #include "confdefs.h"
9625 FILE *f=fopen("conftestval", "w");
9627 fprintf(f, "%d\n", sizeof(short));
9631 if { (eval echo configure
:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9633 ac_cv_sizeof_short
=`cat conftestval`
9635 echo "configure: failed program was:" >&5
9636 cat conftest.
$ac_ext >&5
9638 ac_cv_sizeof_short
=0
9644 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9645 cat >> confdefs.h
<<EOF
9646 #define SIZEOF_SHORT $ac_cv_sizeof_short
9650 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9651 echo "configure:9652: checking size of int *" >&5
9652 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9653 echo $ac_n "(cached) $ac_c" 1>&6
9655 if test "$cross_compiling" = yes; then
9656 ac_cv_sizeof_int_p
=4
9658 cat > conftest.
$ac_ext <<EOF
9659 #line 9660 "configure"
9660 #include "confdefs.h"
9664 FILE *f=fopen("conftestval", "w");
9666 fprintf(f, "%d\n", sizeof(int *));
9670 if { (eval echo configure
:9671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9672 ac_cv_sizeof_int_p
=`cat conftestval`
9674 echo "configure: failed program was:" >&5
9675 cat conftest.
$ac_ext >&5
9677 ac_cv_sizeof_int_p
=0
9683 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9684 cat >> confdefs.h
<<EOF
9685 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9689 echo $ac_n "checking size of int""... $ac_c" 1>&6
9690 echo "configure:9691: checking size of int" >&5
9691 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9694 if test "$cross_compiling" = yes; then
9697 cat > conftest.
$ac_ext <<EOF
9698 #line 9699 "configure"
9699 #include "confdefs.h"
9703 FILE *f=fopen("conftestval", "w");
9705 fprintf(f, "%d\n", sizeof(int));
9709 if { (eval echo configure
:9710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9711 ac_cv_sizeof_int
=`cat conftestval`
9713 echo "configure: failed program was:" >&5
9714 cat conftest.
$ac_ext >&5
9722 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9723 cat >> confdefs.h
<<EOF
9724 #define SIZEOF_INT $ac_cv_sizeof_int
9728 echo $ac_n "checking size of long""... $ac_c" 1>&6
9729 echo "configure:9730: checking size of long" >&5
9730 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9731 echo $ac_n "(cached) $ac_c" 1>&6
9733 if test "$cross_compiling" = yes; then
9736 cat > conftest.
$ac_ext <<EOF
9737 #line 9738 "configure"
9738 #include "confdefs.h"
9742 FILE *f=fopen("conftestval", "w");
9744 fprintf(f, "%d\n", sizeof(long));
9748 if { (eval echo configure
:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9750 ac_cv_sizeof_long
=`cat conftestval`
9752 echo "configure: failed program was:" >&5
9753 cat conftest.
$ac_ext >&5
9761 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9762 cat >> confdefs.h
<<EOF
9763 #define SIZEOF_LONG $ac_cv_sizeof_long
9767 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9768 echo "configure:9769: checking size of long long" >&5
9769 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9770 echo $ac_n "(cached) $ac_c" 1>&6
9772 if test "$cross_compiling" = yes; then
9773 ac_cv_sizeof_long_long
=0
9775 cat > conftest.
$ac_ext <<EOF
9776 #line 9777 "configure"
9777 #include "confdefs.h"
9781 FILE *f=fopen("conftestval", "w");
9783 fprintf(f, "%d\n", sizeof(long long));
9787 if { (eval echo configure
:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9789 ac_cv_sizeof_long_long
=`cat conftestval`
9791 echo "configure: failed program was:" >&5
9792 cat conftest.
$ac_ext >&5
9794 ac_cv_sizeof_long_long
=0
9800 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9801 cat >> confdefs.h
<<EOF
9802 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9807 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9808 echo "configure:9809: checking whether byte ordering is bigendian" >&5
9809 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9810 echo $ac_n "(cached) $ac_c" 1>&6
9812 ac_cv_c_bigendian
=unknown
9813 # See if sys/param.h defines the BYTE_ORDER macro.
9814 cat > conftest.
$ac_ext <<EOF
9815 #line 9816 "configure"
9816 #include "confdefs.h"
9817 #include <sys/types.h>
9818 #include <sys/param.h>
9821 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9826 if { (eval echo configure
:9827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9828 # It does; now see whether it defined to BIG_ENDIAN or not.
9829 cat > conftest.
$ac_ext <<EOF
9830 #line 9831 "configure"
9831 #include "confdefs.h"
9832 #include <sys/types.h>
9833 #include <sys/param.h>
9836 #if BYTE_ORDER != BIG_ENDIAN
9841 if { (eval echo configure
:9842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9843 ac_cv_c_bigendian
=yes
9845 echo "configure: failed program was:" >&5
9846 cat conftest.
$ac_ext >&5
9848 ac_cv_c_bigendian
=no
9852 echo "configure: failed program was:" >&5
9853 cat conftest.
$ac_ext >&5
9856 if test $ac_cv_c_bigendian = unknown
; then
9857 if test "$cross_compiling" = yes; then
9858 ac_cv_c_bigendian
=unknown
9860 cat > conftest.
$ac_ext <<EOF
9861 #line 9862 "configure"
9862 #include "confdefs.h"
9864 /* Are we little or big endian? From Harbison&Steele. */
9868 char c[sizeof (long)];
9871 exit (u.c[sizeof (long) - 1] == 1);
9874 if { (eval echo configure
:9875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9876 ac_cv_c_bigendian
=no
9878 echo "configure: failed program was:" >&5
9879 cat conftest.
$ac_ext >&5
9881 ac_cv_c_bigendian
=yes
9889 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9890 if test $ac_cv_c_bigendian = unknown
; then
9891 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
9893 if test $ac_cv_c_bigendian = yes; then
9894 cat >> confdefs.h
<<\EOF
9895 #define WORDS_BIGENDIAN 1
9902 if test "$cross_compiling" = "yes"; then
9903 cat >> confdefs.h
<<\EOF
9904 #define wxUSE_IOSTREAMH 1
9910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9911 ac_cpp
='$CXXCPP $CPPFLAGS'
9912 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9913 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9914 cross_compiling
=$ac_cv_prog_cxx_cross
9917 for ac_hdr
in iostream
9919 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9921 echo "configure:9922: checking for $ac_hdr" >&5
9922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9925 cat > conftest.
$ac_ext <<EOF
9926 #line 9927 "configure"
9927 #include "confdefs.h"
9930 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9931 { (eval echo configure
:9932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9932 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9933 if test -z "$ac_err"; then
9935 eval "ac_cv_header_$ac_safe=yes"
9938 echo "configure: failed program was:" >&5
9939 cat conftest.
$ac_ext >&5
9941 eval "ac_cv_header_$ac_safe=no"
9945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9946 echo "$ac_t""yes" 1>&6
9947 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9948 cat >> confdefs.h
<<EOF
9949 #define $ac_tr_hdr 1
9953 echo "$ac_t""no" 1>&6
9958 if test "x$HAVE_IOSTREAM" = x
; then
9959 cat >> confdefs.h
<<\EOF
9960 #define wxUSE_IOSTREAMH 1
9968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9969 ac_cpp
='$CPP $CPPFLAGS'
9970 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9971 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9972 cross_compiling
=$ac_cv_prog_cc_cross
9978 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9979 echo "configure:9980: checking if C++ compiler supports bool" >&5
9980 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9981 echo $ac_n "(cached) $ac_c" 1>&6
9986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9987 ac_cpp
='$CXXCPP $CPPFLAGS'
9988 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9989 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9990 cross_compiling
=$ac_cv_prog_cxx_cross
9993 cat > conftest.
$ac_ext <<EOF
9994 #line 9995 "configure"
9995 #include "confdefs.h"
10006 if { (eval echo configure
:10007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10009 cat >> confdefs.h
<<\EOF
10010 #define HAVE_BOOL 1
10016 echo "configure: failed program was:" >&5
10017 cat conftest.
$ac_ext >&5
10027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10028 ac_cpp
='$CPP $CPPFLAGS'
10029 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10030 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10031 cross_compiling
=$ac_cv_prog_cc_cross
10036 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10038 if test "$wx_cv_cpp_bool" = "yes"; then
10039 cat >> confdefs.h
<<\EOF
10040 #define HAVE_BOOL 1
10047 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10048 echo "configure:10049: checking if you need GNU extensions" >&5
10049 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10050 echo $ac_n "(cached) $ac_c" 1>&6
10053 cat > conftest.
$ac_ext <<EOF
10054 #line 10055 "configure"
10055 #include "confdefs.h"
10056 #include <features.h>
10060 #ifndef __GNU_LIBRARY__
10061 Compile error wanted
10067 if { (eval echo configure
:10068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10069 wx_cv_gnu_extensions
=yes
10071 echo "configure: failed program was:" >&5
10072 cat conftest.
$ac_ext >&5
10074 wx_cv_gnu_extensions
=no
10081 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10082 if test "$wx_cv_gnu_extensions" = "yes"; then
10083 cat >> confdefs.h
<<EOF
10084 #define _GNU_SOURCE 1
10091 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10092 echo "configure:10093: checking for wcslen in -lc" >&5
10093 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
10094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10095 echo $ac_n "(cached) $ac_c" 1>&6
10097 ac_save_LIBS
="$LIBS"
10099 cat > conftest.
$ac_ext <<EOF
10100 #line 10101 "configure"
10101 #include "confdefs.h"
10102 /* Override any gcc2 internal prototype to avoid an error. */
10103 /* We use char because int might match the return type of a gcc2
10104 builtin and then its argument prototype would still apply. */
10111 if { (eval echo configure
:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10113 eval "ac_cv_lib_$ac_lib_var=yes"
10115 echo "configure: failed program was:" >&5
10116 cat conftest.
$ac_ext >&5
10118 eval "ac_cv_lib_$ac_lib_var=no"
10121 LIBS
="$ac_save_LIBS"
10124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10125 echo "$ac_t""yes" 1>&6
10127 cat >> confdefs.h
<<\EOF
10128 #define HAVE_WCSLEN 1
10134 echo "$ac_t""no" 1>&6
10136 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10137 echo "configure:10138: checking for wcslen in -lw" >&5
10138 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10140 echo $ac_n "(cached) $ac_c" 1>&6
10142 ac_save_LIBS
="$LIBS"
10144 cat > conftest.
$ac_ext <<EOF
10145 #line 10146 "configure"
10146 #include "confdefs.h"
10147 /* Override any gcc2 internal prototype to avoid an error. */
10148 /* We use char because int might match the return type of a gcc2
10149 builtin and then its argument prototype would still apply. */
10156 if { (eval echo configure
:10157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10158 eval "ac_cv_lib_$ac_lib_var=yes"
10160 echo "configure: failed program was:" >&5
10161 cat conftest.
$ac_ext >&5
10163 eval "ac_cv_lib_$ac_lib_var=no"
10166 LIBS
="$ac_save_LIBS"
10169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10170 echo "$ac_t""yes" 1>&6
10172 cat >> confdefs.h
<<\EOF
10173 #define HAVE_WCSLEN 1
10179 echo "$ac_t""no" 1>&6
10186 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10187 echo "configure:10188: checking for vprintf" >&5
10188 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10189 echo $ac_n "(cached) $ac_c" 1>&6
10191 cat > conftest.
$ac_ext <<EOF
10192 #line 10193 "configure"
10193 #include "confdefs.h"
10194 /* System header to define __stub macros and hopefully few prototypes,
10195 which can conflict with char vprintf(); below. */
10196 #include <assert.h>
10197 /* Override any gcc2 internal prototype to avoid an error. */
10198 /* We use char because int might match the return type of a gcc2
10199 builtin and then its argument prototype would still apply. */
10204 /* The GNU C library defines this for functions which it implements
10205 to always fail with ENOSYS. Some functions are actually named
10206 something starting with __ and the normal name is an alias. */
10207 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10215 if { (eval echo configure
:10216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10217 eval "ac_cv_func_vprintf=yes"
10219 echo "configure: failed program was:" >&5
10220 cat conftest.
$ac_ext >&5
10222 eval "ac_cv_func_vprintf=no"
10227 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10228 echo "$ac_t""yes" 1>&6
10229 cat >> confdefs.h
<<\EOF
10230 #define HAVE_VPRINTF 1
10234 echo "$ac_t""no" 1>&6
10237 if test "$ac_cv_func_vprintf" != yes; then
10238 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10239 echo "configure:10240: checking for _doprnt" >&5
10240 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10241 echo $ac_n "(cached) $ac_c" 1>&6
10243 cat > conftest.
$ac_ext <<EOF
10244 #line 10245 "configure"
10245 #include "confdefs.h"
10246 /* System header to define __stub macros and hopefully few prototypes,
10247 which can conflict with char _doprnt(); below. */
10248 #include <assert.h>
10249 /* Override any gcc2 internal prototype to avoid an error. */
10250 /* We use char because int might match the return type of a gcc2
10251 builtin and then its argument prototype would still apply. */
10256 /* The GNU C library defines this for functions which it implements
10257 to always fail with ENOSYS. Some functions are actually named
10258 something starting with __ and the normal name is an alias. */
10259 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10267 if { (eval echo configure
:10268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10269 eval "ac_cv_func__doprnt=yes"
10271 echo "configure: failed program was:" >&5
10272 cat conftest.
$ac_ext >&5
10274 eval "ac_cv_func__doprnt=no"
10279 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10280 echo "$ac_t""yes" 1>&6
10281 cat >> confdefs.h
<<\EOF
10282 #define HAVE_DOPRNT 1
10286 echo "$ac_t""no" 1>&6
10294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10295 ac_cpp
='$CXXCPP $CPPFLAGS'
10296 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10297 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10298 cross_compiling
=$ac_cv_prog_cxx_cross
10303 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10304 echo "configure:10305: checking for vsnprintf" >&5
10305 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10306 echo $ac_n "(cached) $ac_c" 1>&6
10309 cat > conftest.
$ac_ext <<EOF
10310 #line 10311 "configure"
10311 #include "confdefs.h"
10314 #include <stdarg.h>
10318 int wx_test_vsnprintf(const char *, ...);
10320 wx_test_vsnprintf("%s");
10324 int wx_test_vsnprintf(const char *fmt, ...)
10329 va_start(argp, fmt);
10330 vsnprintf(s, 42, fmt, argp);
10335 if { (eval echo configure
:10336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10338 cat >> confdefs.h
<<\EOF
10339 #define HAVE_VSNPRINTF 1
10342 wx_cv_func_vsnprintf
=yes
10345 echo "configure: failed program was:" >&5
10346 cat conftest.
$ac_ext >&5
10349 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10350 wx_cv_func_vsnprintf
=no
10357 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10359 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10360 echo "configure:10361: checking for vsscanf" >&5
10361 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10362 echo $ac_n "(cached) $ac_c" 1>&6
10365 cat > conftest.
$ac_ext <<EOF
10366 #line 10367 "configure"
10367 #include "confdefs.h"
10370 #include <stdarg.h>
10374 int wx_test_vsscanf(const char *, ...);
10376 wx_test_vsscanf("%d");
10380 int wx_test_vsscanf(const char *fmt, ...)
10383 va_start(argp, fmt);
10384 vsscanf("42", fmt, argp);
10389 if { (eval echo configure
:10390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10392 cat >> confdefs.h
<<\EOF
10393 #define HAVE_VSSCANF 1
10396 wx_cv_func_vsscanf
=yes
10399 echo "configure: failed program was:" >&5
10400 cat conftest.
$ac_ext >&5
10403 wx_cv_func_vsscanf
=no
10410 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10413 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10414 ac_cpp
='$CPP $CPPFLAGS'
10415 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10416 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10417 cross_compiling
=$ac_cv_prog_cc_cross
10420 if test "$TOOLKIT" != "MSW"; then
10422 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
10423 for ac_func
in sigaction
10425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10426 echo "configure:10427: checking for $ac_func" >&5
10427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10428 echo $ac_n "(cached) $ac_c" 1>&6
10430 cat > conftest.
$ac_ext <<EOF
10431 #line 10432 "configure"
10432 #include "confdefs.h"
10433 /* System header to define __stub macros and hopefully few prototypes,
10434 which can conflict with char $ac_func(); below. */
10435 #include <assert.h>
10436 /* Override any gcc2 internal prototype to avoid an error. */
10437 /* We use char because int might match the return type of a gcc2
10438 builtin and then its argument prototype would still apply. */
10443 /* The GNU C library defines this for functions which it implements
10444 to always fail with ENOSYS. Some functions are actually named
10445 something starting with __ and the normal name is an alias. */
10446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10454 if { (eval echo configure
:10455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10456 eval "ac_cv_func_$ac_func=yes"
10458 echo "configure: failed program was:" >&5
10459 cat conftest.
$ac_ext >&5
10461 eval "ac_cv_func_$ac_func=no"
10466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10467 echo "$ac_t""yes" 1>&6
10468 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10469 cat >> confdefs.h
<<EOF
10470 #define $ac_tr_func 1
10474 echo "$ac_t""no" 1>&6
10479 if test "$ac_cv_func_sigaction" = "no"; then
10480 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
10481 wxUSE_ON_FATAL_EXCEPTION
=no
10484 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
10487 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10488 ac_cpp
='$CXXCPP $CPPFLAGS'
10489 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10490 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10491 cross_compiling
=$ac_cv_prog_cxx_cross
10494 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
10495 echo "configure:10496: checking for sa_handler type" >&5
10496 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
10497 echo $ac_n "(cached) $ac_c" 1>&6
10500 cat > conftest.
$ac_ext <<EOF
10501 #line 10502 "configure"
10502 #include "confdefs.h"
10503 #include <signal.h>
10506 extern void testSigHandler(int);
10508 struct sigaction sa;
10509 sa.sa_handler = testSigHandler;
10513 if { (eval echo configure
:10514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10516 wx_cv_type_sa_handler
=int
10519 echo "configure: failed program was:" >&5
10520 cat conftest.
$ac_ext >&5
10523 wx_cv_type_sa_handler
=void
10530 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
10533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10534 ac_cpp
='$CPP $CPPFLAGS'
10535 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10536 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10537 cross_compiling
=$ac_cv_prog_cc_cross
10540 cat >> confdefs.h
<<EOF
10541 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
10547 for ac_func
in vfork
10549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10550 echo "configure:10551: checking for $ac_func" >&5
10551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10552 echo $ac_n "(cached) $ac_c" 1>&6
10554 cat > conftest.
$ac_ext <<EOF
10555 #line 10556 "configure"
10556 #include "confdefs.h"
10557 /* System header to define __stub macros and hopefully few prototypes,
10558 which can conflict with char $ac_func(); below. */
10559 #include <assert.h>
10560 /* Override any gcc2 internal prototype to avoid an error. */
10561 /* We use char because int might match the return type of a gcc2
10562 builtin and then its argument prototype would still apply. */
10567 /* The GNU C library defines this for functions which it implements
10568 to always fail with ENOSYS. Some functions are actually named
10569 something starting with __ and the normal name is an alias. */
10570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10578 if { (eval echo configure
:10579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10580 eval "ac_cv_func_$ac_func=yes"
10582 echo "configure: failed program was:" >&5
10583 cat conftest.
$ac_ext >&5
10585 eval "ac_cv_func_$ac_func=no"
10590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10591 echo "$ac_t""yes" 1>&6
10592 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10593 cat >> confdefs.h
<<EOF
10594 #define $ac_tr_func 1
10598 echo "$ac_t""no" 1>&6
10603 for ac_func
in timegm
10605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10606 echo "configure:10607: checking for $ac_func" >&5
10607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10608 echo $ac_n "(cached) $ac_c" 1>&6
10610 cat > conftest.
$ac_ext <<EOF
10611 #line 10612 "configure"
10612 #include "confdefs.h"
10613 /* System header to define __stub macros and hopefully few prototypes,
10614 which can conflict with char $ac_func(); below. */
10615 #include <assert.h>
10616 /* Override any gcc2 internal prototype to avoid an error. */
10617 /* We use char because int might match the return type of a gcc2
10618 builtin and then its argument prototype would still apply. */
10623 /* The GNU C library defines this for functions which it implements
10624 to always fail with ENOSYS. Some functions are actually named
10625 something starting with __ and the normal name is an alias. */
10626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10634 if { (eval echo configure
:10635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10636 eval "ac_cv_func_$ac_func=yes"
10638 echo "configure: failed program was:" >&5
10639 cat conftest.
$ac_ext >&5
10641 eval "ac_cv_func_$ac_func=no"
10646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10647 echo "$ac_t""yes" 1>&6
10648 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10649 cat >> confdefs.h
<<EOF
10650 #define $ac_tr_func 1
10654 echo "$ac_t""no" 1>&6
10659 HAVE_SOME_SLEEP_FUNC
=0
10660 if test "$USE_BEOS" = 1; then
10661 cat >> confdefs.h
<<\EOF
10662 #define HAVE_SLEEP 1
10665 HAVE_SOME_SLEEP_FUNC
=1
10668 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10670 for ac_func
in nanosleep
10672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10673 echo "configure:10674: checking for $ac_func" >&5
10674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10675 echo $ac_n "(cached) $ac_c" 1>&6
10677 cat > conftest.
$ac_ext <<EOF
10678 #line 10679 "configure"
10679 #include "confdefs.h"
10680 /* System header to define __stub macros and hopefully few prototypes,
10681 which can conflict with char $ac_func(); below. */
10682 #include <assert.h>
10683 /* Override any gcc2 internal prototype to avoid an error. */
10684 /* We use char because int might match the return type of a gcc2
10685 builtin and then its argument prototype would still apply. */
10690 /* The GNU C library defines this for functions which it implements
10691 to always fail with ENOSYS. Some functions are actually named
10692 something starting with __ and the normal name is an alias. */
10693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10701 if { (eval echo configure
:10702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10703 eval "ac_cv_func_$ac_func=yes"
10705 echo "configure: failed program was:" >&5
10706 cat conftest.
$ac_ext >&5
10708 eval "ac_cv_func_$ac_func=no"
10713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10714 echo "$ac_t""yes" 1>&6
10715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10716 cat >> confdefs.h
<<EOF
10717 #define $ac_tr_func 1
10719 cat >> confdefs.h
<<\EOF
10720 #define HAVE_NANOSLEEP 1
10724 echo "$ac_t""no" 1>&6
10725 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10726 echo "configure:10727: checking for nanosleep in -lposix4" >&5
10727 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10728 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10731 ac_save_LIBS
="$LIBS"
10732 LIBS
="-lposix4 $LIBS"
10733 cat > conftest.
$ac_ext <<EOF
10734 #line 10735 "configure"
10735 #include "confdefs.h"
10736 /* Override any gcc2 internal prototype to avoid an error. */
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10745 if { (eval echo configure
:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10747 eval "ac_cv_lib_$ac_lib_var=yes"
10749 echo "configure: failed program was:" >&5
10750 cat conftest.
$ac_ext >&5
10752 eval "ac_cv_lib_$ac_lib_var=no"
10755 LIBS
="$ac_save_LIBS"
10758 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10759 echo "$ac_t""yes" 1>&6
10761 cat >> confdefs.h
<<\EOF
10762 #define HAVE_NANOSLEEP 1
10765 POSIX4_LINK
="-lposix4"
10768 echo "$ac_t""no" 1>&6
10770 for ac_func
in usleep
10772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10773 echo "configure:10774: checking for $ac_func" >&5
10774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10775 echo $ac_n "(cached) $ac_c" 1>&6
10777 cat > conftest.
$ac_ext <<EOF
10778 #line 10779 "configure"
10779 #include "confdefs.h"
10780 /* System header to define __stub macros and hopefully few prototypes,
10781 which can conflict with char $ac_func(); below. */
10782 #include <assert.h>
10783 /* Override any gcc2 internal prototype to avoid an error. */
10784 /* We use char because int might match the return type of a gcc2
10785 builtin and then its argument prototype would still apply. */
10790 /* The GNU C library defines this for functions which it implements
10791 to always fail with ENOSYS. Some functions are actually named
10792 something starting with __ and the normal name is an alias. */
10793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10801 if { (eval echo configure
:10802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10803 eval "ac_cv_func_$ac_func=yes"
10805 echo "configure: failed program was:" >&5
10806 cat conftest.
$ac_ext >&5
10808 eval "ac_cv_func_$ac_func=no"
10813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10814 echo "$ac_t""yes" 1>&6
10815 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10816 cat >> confdefs.h
<<EOF
10817 #define $ac_tr_func 1
10821 echo "$ac_t""no" 1>&6
10825 echo "configure: warning: wxSleep() function will not work" 1>&2
10837 for ac_func
in uname gethostname
10839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10840 echo "configure:10841: checking for $ac_func" >&5
10841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10842 echo $ac_n "(cached) $ac_c" 1>&6
10844 cat > conftest.
$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10847 /* System header to define __stub macros and hopefully few prototypes,
10848 which can conflict with char $ac_func(); below. */
10849 #include <assert.h>
10850 /* Override any gcc2 internal prototype to avoid an error. */
10851 /* We use char because int might match the return type of a gcc2
10852 builtin and then its argument prototype would still apply. */
10857 /* The GNU C library defines this for functions which it implements
10858 to always fail with ENOSYS. Some functions are actually named
10859 something starting with __ and the normal name is an alias. */
10860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10868 if { (eval echo configure
:10869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10870 eval "ac_cv_func_$ac_func=yes"
10872 echo "configure: failed program was:" >&5
10873 cat conftest.
$ac_ext >&5
10875 eval "ac_cv_func_$ac_func=no"
10880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10881 echo "$ac_t""yes" 1>&6
10882 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10883 cat >> confdefs.h
<<EOF
10884 #define $ac_tr_func 1
10888 echo "$ac_t""no" 1>&6
10895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10896 ac_cpp
='$CXXCPP $CPPFLAGS'
10897 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10898 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10899 cross_compiling
=$ac_cv_prog_cxx_cross
10902 for ac_func
in strtok_r
10904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10905 echo "configure:10906: checking for $ac_func" >&5
10906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10907 echo $ac_n "(cached) $ac_c" 1>&6
10909 cat > conftest.
$ac_ext <<EOF
10910 #line 10911 "configure"
10911 #include "confdefs.h"
10912 /* System header to define __stub macros and hopefully few prototypes,
10913 which can conflict with char $ac_func(); below. */
10914 #include <assert.h>
10915 /* Override any gcc2 internal prototype to avoid an error. */
10919 /* We use char because int might match the return type of a gcc2
10920 builtin and then its argument prototype would still apply. */
10925 /* The GNU C library defines this for functions which it implements
10926 to always fail with ENOSYS. Some functions are actually named
10927 something starting with __ and the normal name is an alias. */
10928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10936 if { (eval echo configure
:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10938 eval "ac_cv_func_$ac_func=yes"
10940 echo "configure: failed program was:" >&5
10941 cat conftest.
$ac_ext >&5
10943 eval "ac_cv_func_$ac_func=no"
10948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10949 echo "$ac_t""yes" 1>&6
10950 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10951 cat >> confdefs.h
<<EOF
10952 #define $ac_tr_func 1
10956 echo "$ac_t""no" 1>&6
10962 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10963 ac_cpp
='$CPP $CPPFLAGS'
10964 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10965 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10966 cross_compiling
=$ac_cv_prog_cc_cross
10970 for ac_func
in inet_addr
10972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10973 echo "configure:10974: checking for $ac_func" >&5
10974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10975 echo $ac_n "(cached) $ac_c" 1>&6
10977 cat > conftest.
$ac_ext <<EOF
10978 #line 10979 "configure"
10979 #include "confdefs.h"
10980 /* System header to define __stub macros and hopefully few prototypes,
10981 which can conflict with char $ac_func(); below. */
10982 #include <assert.h>
10983 /* Override any gcc2 internal prototype to avoid an error. */
10984 /* We use char because int might match the return type of a gcc2
10985 builtin and then its argument prototype would still apply. */
10990 /* The GNU C library defines this for functions which it implements
10991 to always fail with ENOSYS. Some functions are actually named
10992 something starting with __ and the normal name is an alias. */
10993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11001 if { (eval echo configure
:11002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11003 eval "ac_cv_func_$ac_func=yes"
11005 echo "configure: failed program was:" >&5
11006 cat conftest.
$ac_ext >&5
11008 eval "ac_cv_func_$ac_func=no"
11013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11014 echo "$ac_t""yes" 1>&6
11015 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11016 cat >> confdefs.h
<<EOF
11017 #define $ac_tr_func 1
11019 cat >> confdefs.h
<<\EOF
11020 #define HAVE_INET_ADDR 1
11024 echo "$ac_t""no" 1>&6
11025 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11026 echo "configure:11027: checking for inet_addr in -lnsl" >&5
11027 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11028 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11029 echo $ac_n "(cached) $ac_c" 1>&6
11031 ac_save_LIBS
="$LIBS"
11033 cat > conftest.
$ac_ext <<EOF
11034 #line 11035 "configure"
11035 #include "confdefs.h"
11036 /* Override any gcc2 internal prototype to avoid an error. */
11037 /* We use char because int might match the return type of a gcc2
11038 builtin and then its argument prototype would still apply. */
11045 if { (eval echo configure
:11046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11047 eval "ac_cv_lib_$ac_lib_var=yes"
11049 echo "configure: failed program was:" >&5
11050 cat conftest.
$ac_ext >&5
11052 eval "ac_cv_lib_$ac_lib_var=no"
11055 LIBS
="$ac_save_LIBS"
11058 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11059 echo "$ac_t""yes" 1>&6
11062 echo "$ac_t""no" 1>&6
11063 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11064 echo "configure:11065: checking for inet_addr in -lresolv" >&5
11065 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11067 echo $ac_n "(cached) $ac_c" 1>&6
11069 ac_save_LIBS
="$LIBS"
11070 LIBS
="-lresolv $LIBS"
11071 cat > conftest.
$ac_ext <<EOF
11072 #line 11073 "configure"
11073 #include "confdefs.h"
11074 /* Override any gcc2 internal prototype to avoid an error. */
11075 /* We use char because int might match the return type of a gcc2
11076 builtin and then its argument prototype would still apply. */
11083 if { (eval echo configure
:11084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11085 eval "ac_cv_lib_$ac_lib_var=yes"
11087 echo "configure: failed program was:" >&5
11088 cat conftest.
$ac_ext >&5
11090 eval "ac_cv_lib_$ac_lib_var=no"
11093 LIBS
="$ac_save_LIBS"
11096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11097 echo "$ac_t""yes" 1>&6
11101 echo "$ac_t""no" 1>&6
11113 for ac_func
in inet_aton
11115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11116 echo "configure:11117: checking for $ac_func" >&5
11117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11118 echo $ac_n "(cached) $ac_c" 1>&6
11120 cat > conftest.
$ac_ext <<EOF
11121 #line 11122 "configure"
11122 #include "confdefs.h"
11123 /* System header to define __stub macros and hopefully few prototypes,
11124 which can conflict with char $ac_func(); below. */
11125 #include <assert.h>
11126 /* Override any gcc2 internal prototype to avoid an error. */
11127 /* We use char because int might match the return type of a gcc2
11128 builtin and then its argument prototype would still apply. */
11133 /* The GNU C library defines this for functions which it implements
11134 to always fail with ENOSYS. Some functions are actually named
11135 something starting with __ and the normal name is an alias. */
11136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11144 if { (eval echo configure
:11145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11146 eval "ac_cv_func_$ac_func=yes"
11148 echo "configure: failed program was:" >&5
11149 cat conftest.
$ac_ext >&5
11151 eval "ac_cv_func_$ac_func=no"
11156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11157 echo "$ac_t""yes" 1>&6
11158 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11159 cat >> confdefs.h
<<EOF
11160 #define $ac_tr_func 1
11162 cat >> confdefs.h
<<\EOF
11163 #define HAVE_INET_ATON 1
11167 echo "$ac_t""no" 1>&6
11168 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11169 echo "configure:11170: checking for inet_aton in -l$INET_LINK" >&5
11170 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11172 echo $ac_n "(cached) $ac_c" 1>&6
11174 ac_save_LIBS
="$LIBS"
11175 LIBS
="-l$INET_LINK $LIBS"
11176 cat > conftest.
$ac_ext <<EOF
11177 #line 11178 "configure"
11178 #include "confdefs.h"
11179 /* Override any gcc2 internal prototype to avoid an error. */
11180 /* We use char because int might match the return type of a gcc2
11181 builtin and then its argument prototype would still apply. */
11188 if { (eval echo configure
:11189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11190 eval "ac_cv_lib_$ac_lib_var=yes"
11192 echo "configure: failed program was:" >&5
11193 cat conftest.
$ac_ext >&5
11195 eval "ac_cv_lib_$ac_lib_var=no"
11198 LIBS
="$ac_save_LIBS"
11201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11202 echo "$ac_t""yes" 1>&6
11203 cat >> confdefs.h
<<\EOF
11204 #define HAVE_INET_ATON 1
11208 echo "$ac_t""no" 1>&6
11216 if test "x$INET_LINK" != "x"; then
11217 cat >> confdefs.h
<<\EOF
11218 #define HAVE_INET_ADDR 1
11221 INET_LINK
="-l$INET_LINK"
11227 cat > confcache
<<\EOF
11228 # This file is a shell script that caches the results of configure
11229 # tests run on this system so they can be shared between configure
11230 # scripts and configure runs. It is not useful on other systems.
11231 # If it contains results you don't want to keep, you may remove or edit it.
11233 # By default, configure uses ./config.cache as the cache file,
11234 # creating it if it does not exist already. You can give configure
11235 # the --cache-file=FILE option to use a different cache file; that is
11236 # what configure does when it calls configure scripts in
11237 # subdirectories, so they share the cache.
11238 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11239 # config.status only pays attention to the cache file if you give it the
11240 # --recheck option to rerun configure.
11243 # The following way of writing the cache mishandles newlines in values,
11244 # but we know of no workaround that is simple, portable, and efficient.
11245 # So, don't put newlines in cache variables' values.
11246 # Ultrix sh set writes to stderr and can't be redirected directly,
11247 # and sets the high bit in the cache file unless we assign to the vars.
11249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11251 # `set' does not quote correctly, so add quotes (double-quote substitution
11252 # turns \\\\ into \\, and sed turns \\ into \).
11254 -e "s/'/'\\\\''/g" \
11255 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11258 # `set' quotes correctly as required by POSIX, so do not add quotes.
11259 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11262 if cmp -s $cache_file confcache
; then
11265 if test -w $cache_file; then
11266 echo "updating cache $cache_file"
11267 cat confcache
> $cache_file
11269 echo "not updating unwritable cache $cache_file"
11276 if test "$TOOLKIT" != "MSW"; then
11282 if test "$wxUSE_THREADS" = "yes" ; then
11283 if test "$wxUSE_WINE" = 1 ; then
11284 echo "configure: warning: Threads are not supported under WINE" 1>&2
11286 elif test "$USE_BEOS" = 1; then
11287 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11292 if test "$wxUSE_THREADS" = "yes" ; then
11294 if test "$wxUSE_AIX" = 1; then
11295 THREADS_LIB
=pthreads
11297 THREADS_LIB
=pthread
11300 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
11301 echo "configure:11302: checking for pthread_create in -l$THREADS_LIB" >&5
11302 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
11303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11306 ac_save_LIBS
="$LIBS"
11307 LIBS
="-l$THREADS_LIB $LIBS"
11308 cat > conftest.
$ac_ext <<EOF
11309 #line 11310 "configure"
11310 #include "confdefs.h"
11311 /* Override any gcc2 internal prototype to avoid an error. */
11312 /* We use char because int might match the return type of a gcc2
11313 builtin and then its argument prototype would still apply. */
11314 char pthread_create();
11320 if { (eval echo configure
:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11322 eval "ac_cv_lib_$ac_lib_var=yes"
11324 echo "configure: failed program was:" >&5
11325 cat conftest.
$ac_ext >&5
11327 eval "ac_cv_lib_$ac_lib_var=no"
11330 LIBS
="$ac_save_LIBS"
11333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11334 echo "$ac_t""yes" 1>&6
11336 THREADS_OBJ
="threadpsx.lo"
11337 THREADS_LINK
=$THREADS_LIB
11340 echo "$ac_t""no" 1>&6
11342 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
11343 echo "configure:11344: checking for pthread_create in -lc_r" >&5
11344 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
11345 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11346 echo $ac_n "(cached) $ac_c" 1>&6
11348 ac_save_LIBS
="$LIBS"
11350 cat > conftest.
$ac_ext <<EOF
11351 #line 11352 "configure"
11352 #include "confdefs.h"
11353 /* Override any gcc2 internal prototype to avoid an error. */
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11356 char pthread_create();
11362 if { (eval echo configure
:11363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11364 eval "ac_cv_lib_$ac_lib_var=yes"
11366 echo "configure: failed program was:" >&5
11367 cat conftest.
$ac_ext >&5
11369 eval "ac_cv_lib_$ac_lib_var=no"
11372 LIBS
="$ac_save_LIBS"
11375 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11376 echo "$ac_t""yes" 1>&6
11378 THREADS_OBJ
="threadpsx.lo"
11382 echo "$ac_t""no" 1>&6
11384 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11385 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11386 echo "configure:11387: checking for sys/prctl.h" >&5
11387 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11388 echo $ac_n "(cached) $ac_c" 1>&6
11390 cat > conftest.
$ac_ext <<EOF
11391 #line 11392 "configure"
11392 #include "confdefs.h"
11393 #include <sys/prctl.h>
11395 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11396 { (eval echo configure
:11397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11397 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11398 if test -z "$ac_err"; then
11400 eval "ac_cv_header_$ac_safe=yes"
11403 echo "configure: failed program was:" >&5
11404 cat conftest.
$ac_ext >&5
11406 eval "ac_cv_header_$ac_safe=no"
11410 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11411 echo "$ac_t""yes" 1>&6
11413 THREADS_OBJ
="threadsgi.lo"
11416 echo "$ac_t""no" 1>&6
11426 if test -z "$THREADS_OBJ" ; then
11428 echo "configure: warning: No thread support on this system" 1>&2
11432 if test "$wxUSE_THREADS" = "yes" ; then
11433 for ac_func
in thr_setconcurrency
11435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11436 echo "configure:11437: checking for $ac_func" >&5
11437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11438 echo $ac_n "(cached) $ac_c" 1>&6
11440 cat > conftest.
$ac_ext <<EOF
11441 #line 11442 "configure"
11442 #include "confdefs.h"
11443 /* System header to define __stub macros and hopefully few prototypes,
11444 which can conflict with char $ac_func(); below. */
11445 #include <assert.h>
11446 /* Override any gcc2 internal prototype to avoid an error. */
11447 /* We use char because int might match the return type of a gcc2
11448 builtin and then its argument prototype would still apply. */
11453 /* The GNU C library defines this for functions which it implements
11454 to always fail with ENOSYS. Some functions are actually named
11455 something starting with __ and the normal name is an alias. */
11456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11464 if { (eval echo configure
:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11466 eval "ac_cv_func_$ac_func=yes"
11468 echo "configure: failed program was:" >&5
11469 cat conftest.
$ac_ext >&5
11471 eval "ac_cv_func_$ac_func=no"
11476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11477 echo "$ac_t""yes" 1>&6
11478 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11479 cat >> confdefs.h
<<EOF
11480 #define $ac_tr_func 1
11484 echo "$ac_t""no" 1>&6
11490 for ac_hdr
in sched.h
11492 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11493 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11494 echo "configure:11495: checking for $ac_hdr" >&5
11495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11496 echo $ac_n "(cached) $ac_c" 1>&6
11498 cat > conftest.
$ac_ext <<EOF
11499 #line 11500 "configure"
11500 #include "confdefs.h"
11503 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11504 { (eval echo configure
:11505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11505 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11506 if test -z "$ac_err"; then
11508 eval "ac_cv_header_$ac_safe=yes"
11511 echo "configure: failed program was:" >&5
11512 cat conftest.
$ac_ext >&5
11514 eval "ac_cv_header_$ac_safe=no"
11518 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11519 echo "$ac_t""yes" 1>&6
11520 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11521 cat >> confdefs.h
<<EOF
11522 #define $ac_tr_hdr 1
11526 echo "$ac_t""no" 1>&6
11531 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11532 echo "configure:11533: checking for sched_yield in -l$THREADS_LINK" >&5
11533 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11535 echo $ac_n "(cached) $ac_c" 1>&6
11537 ac_save_LIBS
="$LIBS"
11538 LIBS
="-l$THREADS_LINK $LIBS"
11539 cat > conftest.
$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11542 /* Override any gcc2 internal prototype to avoid an error. */
11543 /* We use char because int might match the return type of a gcc2
11544 builtin and then its argument prototype would still apply. */
11545 char sched_yield();
11551 if { (eval echo configure
:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11553 eval "ac_cv_lib_$ac_lib_var=yes"
11555 echo "configure: failed program was:" >&5
11556 cat conftest.
$ac_ext >&5
11558 eval "ac_cv_lib_$ac_lib_var=no"
11561 LIBS
="$ac_save_LIBS"
11564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11565 echo "$ac_t""yes" 1>&6
11566 cat >> confdefs.h
<<\EOF
11567 #define HAVE_SCHED_YIELD 1
11571 echo "$ac_t""no" 1>&6
11572 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11573 echo "configure:11574: checking for sched_yield in -l"posix4
"" >&5
11574 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11575 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11576 echo $ac_n "(cached) $ac_c" 1>&6
11578 ac_save_LIBS
="$LIBS"
11579 LIBS
="-l"posix4
" $LIBS"
11580 cat > conftest.
$ac_ext <<EOF
11581 #line 11582 "configure"
11582 #include "confdefs.h"
11583 /* Override any gcc2 internal prototype to avoid an error. */
11584 /* We use char because int might match the return type of a gcc2
11585 builtin and then its argument prototype would still apply. */
11586 char sched_yield();
11592 if { (eval echo configure
:11593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11594 eval "ac_cv_lib_$ac_lib_var=yes"
11596 echo "configure: failed program was:" >&5
11597 cat conftest.
$ac_ext >&5
11599 eval "ac_cv_lib_$ac_lib_var=no"
11602 LIBS
="$ac_save_LIBS"
11605 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11606 echo "$ac_t""yes" 1>&6
11607 cat >> confdefs.h
<<\EOF
11608 #define HAVE_SCHED_YIELD 1
11610 POSIX4_LINK
="-lposix4"
11612 echo "$ac_t""no" 1>&6
11613 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11622 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11623 echo "configure:11624: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11624 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11625 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11626 echo $ac_n "(cached) $ac_c" 1>&6
11628 ac_save_LIBS
="$LIBS"
11629 LIBS
="-l$THREADS_LINK $LIBS"
11630 cat > conftest.
$ac_ext <<EOF
11631 #line 11632 "configure"
11632 #include "confdefs.h"
11633 /* Override any gcc2 internal prototype to avoid an error. */
11634 /* We use char because int might match the return type of a gcc2
11635 builtin and then its argument prototype would still apply. */
11636 char pthread_attr_getschedpolicy();
11639 pthread_attr_getschedpolicy()
11642 if { (eval echo configure
:11643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11644 eval "ac_cv_lib_$ac_lib_var=yes"
11646 echo "configure: failed program was:" >&5
11647 cat conftest.
$ac_ext >&5
11649 eval "ac_cv_lib_$ac_lib_var=no"
11652 LIBS
="$ac_save_LIBS"
11655 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11656 echo "$ac_t""yes" 1>&6
11657 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
11658 echo "configure:11659: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
11659 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
11660 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11661 echo $ac_n "(cached) $ac_c" 1>&6
11663 ac_save_LIBS
="$LIBS"
11664 LIBS
="-l$THREADS_LINK $LIBS"
11665 cat > conftest.
$ac_ext <<EOF
11666 #line 11667 "configure"
11667 #include "confdefs.h"
11668 /* Override any gcc2 internal prototype to avoid an error. */
11669 /* We use char because int might match the return type of a gcc2
11670 builtin and then its argument prototype would still apply. */
11671 char pthread_attr_setschedparam();
11674 pthread_attr_setschedparam()
11677 if { (eval echo configure
:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11679 eval "ac_cv_lib_$ac_lib_var=yes"
11681 echo "configure: failed program was:" >&5
11682 cat conftest.
$ac_ext >&5
11684 eval "ac_cv_lib_$ac_lib_var=no"
11687 LIBS
="$ac_save_LIBS"
11690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11691 echo "$ac_t""yes" 1>&6
11692 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
11693 echo "configure:11694: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
11694 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
11695 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11696 echo $ac_n "(cached) $ac_c" 1>&6
11698 ac_save_LIBS
="$LIBS"
11699 LIBS
="-l$THREADS_LINK $LIBS"
11700 cat > conftest.
$ac_ext <<EOF
11701 #line 11702 "configure"
11702 #include "confdefs.h"
11703 /* Override any gcc2 internal prototype to avoid an error. */
11704 /* We use char because int might match the return type of a gcc2
11705 builtin and then its argument prototype would still apply. */
11706 char sched_get_priority_max();
11709 sched_get_priority_max()
11712 if { (eval echo configure
:11713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11714 eval "ac_cv_lib_$ac_lib_var=yes"
11716 echo "configure: failed program was:" >&5
11717 cat conftest.
$ac_ext >&5
11719 eval "ac_cv_lib_$ac_lib_var=no"
11722 LIBS
="$ac_save_LIBS"
11725 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11726 echo "$ac_t""yes" 1>&6
11729 echo "$ac_t""no" 1>&6
11730 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
11731 echo "configure:11732: checking for sched_get_priority_max in -l"posix4
"" >&5
11732 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
11733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11734 echo $ac_n "(cached) $ac_c" 1>&6
11736 ac_save_LIBS
="$LIBS"
11737 LIBS
="-l"posix4
" $LIBS"
11738 cat > conftest.
$ac_ext <<EOF
11739 #line 11740 "configure"
11740 #include "confdefs.h"
11741 /* 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. */
11744 char sched_get_priority_max();
11747 sched_get_priority_max()
11750 if { (eval echo configure
:11751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11752 eval "ac_cv_lib_$ac_lib_var=yes"
11754 echo "configure: failed program was:" >&5
11755 cat conftest.
$ac_ext >&5
11757 eval "ac_cv_lib_$ac_lib_var=no"
11760 LIBS
="$ac_save_LIBS"
11763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11764 echo "$ac_t""yes" 1>&6
11767 POSIX4_LINK
="-lposix4"
11770 echo "$ac_t""no" 1>&6
11778 echo "$ac_t""no" 1>&6
11783 echo "$ac_t""no" 1>&6
11787 if test "$HAVE_PRIOR_FUNCS" = 1; then
11788 cat >> confdefs.h
<<\EOF
11789 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11793 echo "configure: warning: Setting thread priority will not work" 1>&2
11796 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11797 echo "configure:11798: checking for pthread_cancel in -l$THREADS_LINK" >&5
11798 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11800 echo $ac_n "(cached) $ac_c" 1>&6
11802 ac_save_LIBS
="$LIBS"
11803 LIBS
="-l$THREADS_LINK $LIBS"
11804 cat > conftest.
$ac_ext <<EOF
11805 #line 11806 "configure"
11806 #include "confdefs.h"
11807 /* Override any gcc2 internal prototype to avoid an error. */
11808 /* We use char because int might match the return type of a gcc2
11809 builtin and then its argument prototype would still apply. */
11810 char pthread_cancel();
11816 if { (eval echo configure
:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11818 eval "ac_cv_lib_$ac_lib_var=yes"
11820 echo "configure: failed program was:" >&5
11821 cat conftest.
$ac_ext >&5
11823 eval "ac_cv_lib_$ac_lib_var=no"
11826 LIBS
="$ac_save_LIBS"
11829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11830 echo "$ac_t""yes" 1>&6
11831 cat >> confdefs.h
<<\EOF
11832 #define HAVE_PTHREAD_CANCEL 1
11836 echo "$ac_t""no" 1>&6
11837 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11841 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11842 echo "configure:11843: checking for pthread_cleanup_push/pop" >&5
11843 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11844 echo $ac_n "(cached) $ac_c" 1>&6
11847 cat > conftest.
$ac_ext <<EOF
11848 #line 11849 "configure"
11849 #include "confdefs.h"
11850 #include <pthread.h>
11853 pthread_cleanup_push(NULL, NULL);
11854 pthread_cleanup_pop(0);
11858 if { (eval echo configure
:11859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11861 wx_cv_func_pthread_cleanup_push
=yes
11862 cat >> confdefs.h
<<\EOF
11863 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11868 echo "configure: failed program was:" >&5
11869 cat conftest.
$ac_ext >&5
11872 wx_cv_func_pthread_cleanup_push
=no
11879 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11881 THREADS_LINK
="-l$THREADS_LINK"
11886 if test "$wxUSE_THREADS" = "yes"; then
11887 cat >> confdefs.h
<<\EOF
11888 #define wxUSE_THREADS 1
11892 CFLAGS
="${CFLAGS} -D_REENTRANT"
11893 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11897 if test "$ac_cv_func_strtok_r" = "yes"; then
11898 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11899 echo "configure:11900: checking if -D_REENTRANT is needed" >&5
11900 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11901 CFLAGS
="${CFLAGS} -D_REENTRANT"
11902 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11903 echo "$ac_t""yes" 1>&6
11905 echo "$ac_t""no" 1>&6
11910 if test "$WXGTK13" = 1 ; then
11911 cat >> confdefs.h
<<EOF
11912 #define __WXGTK13__ $WXGTK13
11918 if test "$WXGTK12" = 1 ; then
11919 cat >> confdefs.h
<<EOF
11920 #define __WXGTK12__ $WXGTK12
11925 if test "$WXGTK127" = 1 ; then
11926 cat >> confdefs.h
<<EOF
11927 #define __WXGTK127__ $WXGTK127
11932 if test "$WXWINE" = 1 ; then
11933 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11936 if test "$wxUSE_CYGWIN" = 1 ; then
11937 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11942 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11947 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11948 wxUSE_DEBUG_INFO
=yes
11952 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11953 cat >> confdefs.h
<<\EOF
11957 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11959 if test "$wxUSE_GTK" = 1 ; then
11960 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11964 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11965 cat >> confdefs.h
<<\EOF
11966 #define wxUSE_MEMORY_TRACING 1
11969 cat >> confdefs.h
<<\EOF
11970 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11973 cat >> confdefs.h
<<\EOF
11974 #define wxUSE_DEBUG_NEW_ALWAYS 1
11977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11980 if test "$wxUSE_DMALLOC" = "yes" ; then
11981 DMALLOC_LINK
="-ldmalloc"
11985 if test "$wxUSE_PROFILE" = "yes" ; then
11991 if test "$GCC" = yes ; then
11992 if test "$wxUSE_NO_RTTI" = "yes" ; then
11993 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11995 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11996 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11998 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11999 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12001 if test "$wxUSE_NO_DEPS" = "no" ; then
12002 DEP_INFO_FLAGS
="-MMD"
12007 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12008 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12009 if test "$wxUSE_OPTIMISE" = "no" ; then
12012 if test "$GCC" = yes ; then
12015 i586
-*-*|i686
-*-* )
12016 OPTIMISE
="${OPTIMISE} "
12026 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12027 cat >> confdefs.h
<<\EOF
12028 #define wxUSE_ZLIB 1
12031 if test "$wxUSE_ZLIB" = "yes" ; then
12032 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12035 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12036 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12037 echo "configure:12038: checking for zlib.h" >&5
12038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12039 echo $ac_n "(cached) $ac_c" 1>&6
12041 cat > conftest.
$ac_ext <<EOF
12042 #line 12043 "configure"
12043 #include "confdefs.h"
12046 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12047 { (eval echo configure
:12048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12048 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12049 if test -z "$ac_err"; then
12051 eval "ac_cv_header_$ac_safe=yes"
12054 echo "configure: failed program was:" >&5
12055 cat conftest.
$ac_ext >&5
12057 eval "ac_cv_header_$ac_safe=no"
12061 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12062 echo "$ac_t""yes" 1>&6
12063 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12064 echo "configure:12065: checking for deflate in -lz" >&5
12065 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12067 echo $ac_n "(cached) $ac_c" 1>&6
12069 ac_save_LIBS
="$LIBS"
12071 cat > conftest.
$ac_ext <<EOF
12072 #line 12073 "configure"
12073 #include "confdefs.h"
12074 /* Override any gcc2 internal prototype to avoid an error. */
12075 /* We use char because int might match the return type of a gcc2
12076 builtin and then its argument prototype would still apply. */
12083 if { (eval echo configure
:12084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12085 eval "ac_cv_lib_$ac_lib_var=yes"
12087 echo "configure: failed program was:" >&5
12088 cat conftest.
$ac_ext >&5
12090 eval "ac_cv_lib_$ac_lib_var=no"
12093 LIBS
="$ac_save_LIBS"
12096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12097 echo "$ac_t""yes" 1>&6
12100 echo "$ac_t""no" 1>&6
12104 echo "$ac_t""no" 1>&6
12107 if test "x$ZLIB_LINK" = "x" ; then
12108 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12114 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12115 cat >> confdefs.h
<<\EOF
12116 #define wxUSE_LIBPNG 1
12119 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12120 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12124 if test "$wxUSE_LIBPNG" = "yes" ; then
12125 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12128 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12129 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12130 echo "configure:12131: checking for png.h" >&5
12131 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12132 echo $ac_n "(cached) $ac_c" 1>&6
12134 cat > conftest.
$ac_ext <<EOF
12135 #line 12136 "configure"
12136 #include "confdefs.h"
12139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12140 { (eval echo configure
:12141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12142 if test -z "$ac_err"; then
12144 eval "ac_cv_header_$ac_safe=yes"
12147 echo "configure: failed program was:" >&5
12148 cat conftest.
$ac_ext >&5
12150 eval "ac_cv_header_$ac_safe=no"
12154 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12155 echo "$ac_t""yes" 1>&6
12156 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12157 echo "configure:12158: checking for png_check_sig in -lpng" >&5
12158 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12159 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12162 ac_save_LIBS
="$LIBS"
12163 LIBS
="-lpng -lz -lm $LIBS"
12164 cat > conftest.
$ac_ext <<EOF
12165 #line 12166 "configure"
12166 #include "confdefs.h"
12167 /* Override any gcc2 internal prototype to avoid an error. */
12168 /* We use char because int might match the return type of a gcc2
12169 builtin and then its argument prototype would still apply. */
12170 char png_check_sig();
12176 if { (eval echo configure
:12177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12178 eval "ac_cv_lib_$ac_lib_var=yes"
12180 echo "configure: failed program was:" >&5
12181 cat conftest.
$ac_ext >&5
12183 eval "ac_cv_lib_$ac_lib_var=no"
12186 LIBS
="$ac_save_LIBS"
12189 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12190 echo "$ac_t""yes" 1>&6
12193 echo "$ac_t""no" 1>&6
12198 echo "$ac_t""no" 1>&6
12201 if test "x$PNG_LINK" = "x" ; then
12202 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12210 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12211 cat >> confdefs.h
<<\EOF
12212 #define wxUSE_LIBJPEG 1
12215 if test "$wxUSE_LIBJPEG" = "yes" ; then
12216 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12219 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12220 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12221 echo "configure:12222: checking for jpeglib.h" >&5
12222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12223 echo $ac_n "(cached) $ac_c" 1>&6
12225 cat > conftest.
$ac_ext <<EOF
12226 #line 12227 "configure"
12227 #include "confdefs.h"
12228 #include <jpeglib.h>
12230 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12231 { (eval echo configure
:12232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12232 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12233 if test -z "$ac_err"; then
12235 eval "ac_cv_header_$ac_safe=yes"
12238 echo "configure: failed program was:" >&5
12239 cat conftest.
$ac_ext >&5
12241 eval "ac_cv_header_$ac_safe=no"
12245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12246 echo "$ac_t""yes" 1>&6
12247 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12248 echo "configure:12249: checking for jpeg_read_header in -ljpeg" >&5
12249 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12251 echo $ac_n "(cached) $ac_c" 1>&6
12253 ac_save_LIBS
="$LIBS"
12254 LIBS
="-ljpeg $LIBS"
12255 cat > conftest.
$ac_ext <<EOF
12256 #line 12257 "configure"
12257 #include "confdefs.h"
12258 /* Override any gcc2 internal prototype to avoid an error. */
12259 /* We use char because int might match the return type of a gcc2
12260 builtin and then its argument prototype would still apply. */
12261 char jpeg_read_header();
12267 if { (eval echo configure
:12268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12269 eval "ac_cv_lib_$ac_lib_var=yes"
12271 echo "configure: failed program was:" >&5
12272 cat conftest.
$ac_ext >&5
12274 eval "ac_cv_lib_$ac_lib_var=no"
12277 LIBS
="$ac_save_LIBS"
12280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12281 echo "$ac_t""yes" 1>&6
12284 echo "$ac_t""no" 1>&6
12288 echo "$ac_t""no" 1>&6
12291 if test "x$JPEG_LINK" = "x" ; then
12292 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
12298 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
12299 cat >> confdefs.h
<<\EOF
12300 #define wxUSE_LIBTIFF 1
12303 if test "$wxUSE_LIBTIFF" = "yes" ; then
12304 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12307 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12308 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12309 echo "configure:12310: checking for tiffio.h" >&5
12310 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12311 echo $ac_n "(cached) $ac_c" 1>&6
12313 cat > conftest.
$ac_ext <<EOF
12314 #line 12315 "configure"
12315 #include "confdefs.h"
12316 #include <tiffio.h>
12318 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12319 { (eval echo configure
:12320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12320 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12321 if test -z "$ac_err"; then
12323 eval "ac_cv_header_$ac_safe=yes"
12326 echo "configure: failed program was:" >&5
12327 cat conftest.
$ac_ext >&5
12329 eval "ac_cv_header_$ac_safe=no"
12333 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12334 echo "$ac_t""yes" 1>&6
12335 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12336 echo "configure:12337: checking for TIFFError in -ltiff" >&5
12337 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12339 echo $ac_n "(cached) $ac_c" 1>&6
12341 ac_save_LIBS
="$LIBS"
12342 LIBS
="-ltiff -lm $LIBS"
12343 cat > conftest.
$ac_ext <<EOF
12344 #line 12345 "configure"
12345 #include "confdefs.h"
12346 /* Override any gcc2 internal prototype to avoid an error. */
12347 /* We use char because int might match the return type of a gcc2
12348 builtin and then its argument prototype would still apply. */
12355 if { (eval echo configure
:12356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12357 eval "ac_cv_lib_$ac_lib_var=yes"
12359 echo "configure: failed program was:" >&5
12360 cat conftest.
$ac_ext >&5
12362 eval "ac_cv_lib_$ac_lib_var=no"
12365 LIBS
="$ac_save_LIBS"
12368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12369 echo "$ac_t""yes" 1>&6
12372 echo "$ac_t""no" 1>&6
12376 echo "$ac_t""no" 1>&6
12379 if test "x$TIFF_LINK" = "x" ; then
12380 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
12385 if test "$wxUSE_OPENGL" = "yes"; then
12386 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12387 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12388 echo "configure:12389: checking for GL/gl.h" >&5
12389 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12390 echo $ac_n "(cached) $ac_c" 1>&6
12392 cat > conftest.
$ac_ext <<EOF
12393 #line 12394 "configure"
12394 #include "confdefs.h"
12397 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12398 { (eval echo configure
:12399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12399 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12400 if test -z "$ac_err"; then
12402 eval "ac_cv_header_$ac_safe=yes"
12405 echo "configure: failed program was:" >&5
12406 cat conftest.
$ac_ext >&5
12408 eval "ac_cv_header_$ac_safe=no"
12412 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12413 echo "$ac_t""yes" 1>&6
12415 cat >> confdefs.h
<<\EOF
12416 #define wxUSE_OPENGL 1
12419 cat >> confdefs.h
<<\EOF
12420 #define wxUSE_GLCANVAS 1
12423 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
12424 echo "configure:12425: checking for glFlush in -lGL" >&5
12425 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
12426 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12427 echo $ac_n "(cached) $ac_c" 1>&6
12429 ac_save_LIBS
="$LIBS"
12431 cat > conftest.
$ac_ext <<EOF
12432 #line 12433 "configure"
12433 #include "confdefs.h"
12434 /* Override any gcc2 internal prototype to avoid an error. */
12435 /* We use char because int might match the return type of a gcc2
12436 builtin and then its argument prototype would still apply. */
12443 if { (eval echo configure
:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12445 eval "ac_cv_lib_$ac_lib_var=yes"
12447 echo "configure: failed program was:" >&5
12448 cat conftest.
$ac_ext >&5
12450 eval "ac_cv_lib_$ac_lib_var=no"
12453 LIBS
="$ac_save_LIBS"
12456 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12457 echo "$ac_t""yes" 1>&6
12459 OPENGL_LINK
="-lGL -lGLU"
12462 echo "$ac_t""no" 1>&6
12464 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
12465 echo "configure:12466: checking for glFlush in -lMesaGL" >&5
12466 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
12467 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12468 echo $ac_n "(cached) $ac_c" 1>&6
12470 ac_save_LIBS
="$LIBS"
12471 LIBS
="-lMesaGL $LIBS"
12472 cat > conftest.
$ac_ext <<EOF
12473 #line 12474 "configure"
12474 #include "confdefs.h"
12475 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12484 if { (eval echo configure
:12485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12486 eval "ac_cv_lib_$ac_lib_var=yes"
12488 echo "configure: failed program was:" >&5
12489 cat conftest.
$ac_ext >&5
12491 eval "ac_cv_lib_$ac_lib_var=no"
12494 LIBS
="$ac_save_LIBS"
12497 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12498 echo "$ac_t""yes" 1>&6
12500 OPENGL_LINK
="-lMesaGL -lMesaGLU"
12503 echo "$ac_t""no" 1>&6
12511 echo "$ac_t""no" 1>&6
12518 if test "$wxUSE_GUI" = "yes"; then
12519 cat >> confdefs.h
<<\EOF
12520 #define wxUSE_GUI 1
12525 cat >> confdefs.h
<<\EOF
12526 #define wxUSE_NOGUI 1
12532 if test "$wxUSE_UNIX" = "yes"; then
12533 cat >> confdefs.h
<<\EOF
12534 #define wxUSE_UNIX 1
12540 if test "$wxUSE_APPLE_IEEE" = "yes"; then
12541 cat >> confdefs.h
<<\EOF
12542 #define wxUSE_APPLE_IEEE 1
12547 if test "$wxUSE_WAVE" = "yes"; then
12548 cat >> confdefs.h
<<\EOF
12549 #define wxUSE_WAVE 1
12554 if test "$wxUSE_FILE" = "yes"; then
12555 cat >> confdefs.h
<<\EOF
12556 #define wxUSE_FILE 1
12561 if test "$wxUSE_FILESYSTEM" = "yes"; then
12562 cat >> confdefs.h
<<\EOF
12563 #define wxUSE_FILESYSTEM 1
12568 if test "$wxUSE_FS_INET" = "yes"; then
12569 cat >> confdefs.h
<<\EOF
12570 #define wxUSE_FS_INET 1
12575 if test "$wxUSE_FS_ZIP" = "yes"; then
12576 cat >> confdefs.h
<<\EOF
12577 #define wxUSE_FS_ZIP 1
12582 if test "$wxUSE_ZIPSTREAM" = "yes"; then
12583 cat >> confdefs.h
<<\EOF
12584 #define wxUSE_ZIPSTREAM 1
12589 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12590 cat >> confdefs.h
<<\EOF
12591 #define wxUSE_ON_FATAL_EXCEPTION 1
12596 if test "$wxUSE_BUSYINFO" = "yes"; then
12597 cat >> confdefs.h
<<\EOF
12598 #define wxUSE_BUSYINFO 1
12603 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
12604 cat >> confdefs.h
<<\EOF
12605 #define wxUSE_STD_IOSTREAM 1
12610 if test "$wxUSE_TEXTFILE" = "yes"; then
12611 if test "$wxUSE_FILE" != "yes"; then
12612 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
12614 cat >> confdefs.h
<<\EOF
12615 #define wxUSE_TEXTFILE 1
12621 if test "$wxUSE_CONFIG" = "yes" ; then
12622 if test "$wxUSE_TEXTFILE" != "yes"; then
12623 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
12625 cat >> confdefs.h
<<\EOF
12626 #define wxUSE_CONFIG 1
12629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
12633 if test "$wxUSE_INTL" = "yes" ; then
12634 if test "$wxUSE_FILE" != "yes"; then
12635 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
12637 cat >> confdefs.h
<<\EOF
12638 #define wxUSE_INTL 1
12641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
12642 GUIDIST
="$GUIDIST INTL_DIST"
12646 if test "$wxUSE_LOG" = "yes"; then
12647 cat >> confdefs.h
<<\EOF
12648 #define wxUSE_LOG 1
12653 if test "$wxUSE_LONGLONG" = "yes"; then
12654 cat >> confdefs.h
<<\EOF
12655 #define wxUSE_LONGLONG 1
12660 if test "$wxUSE_PLOT" = "yes"; then
12661 cat >> confdefs.h
<<\EOF
12662 #define wxUSE_PLOT 1
12667 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
12668 cat >> confdefs.h
<<\EOF
12669 #define wxUSE_DIALUP_MANAGER 1
12672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
12675 if test "$wxUSE_STREAMS" = "yes" ; then
12676 cat >> confdefs.h
<<\EOF
12677 #define wxUSE_STREAMS 1
12683 if test "$wxUSE_TIMEDATE" = "yes"; then
12684 for ac_func
in strptime
12686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12687 echo "configure:12688: checking for $ac_func" >&5
12688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12689 echo $ac_n "(cached) $ac_c" 1>&6
12691 cat > conftest.
$ac_ext <<EOF
12692 #line 12693 "configure"
12693 #include "confdefs.h"
12694 /* System header to define __stub macros and hopefully few prototypes,
12695 which can conflict with char $ac_func(); below. */
12696 #include <assert.h>
12697 /* Override any gcc2 internal prototype to avoid an error. */
12698 /* We use char because int might match the return type of a gcc2
12699 builtin and then its argument prototype would still apply. */
12704 /* The GNU C library defines this for functions which it implements
12705 to always fail with ENOSYS. Some functions are actually named
12706 something starting with __ and the normal name is an alias. */
12707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12715 if { (eval echo configure
:12716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12717 eval "ac_cv_func_$ac_func=yes"
12719 echo "configure: failed program was:" >&5
12720 cat conftest.
$ac_ext >&5
12722 eval "ac_cv_func_$ac_func=no"
12727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12728 echo "$ac_t""yes" 1>&6
12729 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12730 cat >> confdefs.h
<<EOF
12731 #define $ac_tr_func 1
12735 echo "$ac_t""no" 1>&6
12740 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
12741 echo "configure:12742: checking for timezone variable in <time.h>" >&5
12742 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
12743 echo $ac_n "(cached) $ac_c" 1>&6
12746 cat > conftest.
$ac_ext <<EOF
12747 #line 12748 "configure"
12748 #include "confdefs.h"
12759 if { (eval echo configure
:12760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12762 wx_cv_var_timezone
=__timezone
12765 echo "configure: failed program was:" >&5
12766 cat conftest.
$ac_ext >&5
12769 cat > conftest.
$ac_ext <<EOF
12770 #line 12771 "configure"
12771 #include "confdefs.h"
12782 if { (eval echo configure
:12783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12785 wx_cv_var_timezone
=_timezone
12788 echo "configure: failed program was:" >&5
12789 cat conftest.
$ac_ext >&5
12792 cat > conftest.
$ac_ext <<EOF
12793 #line 12794 "configure"
12794 #include "confdefs.h"
12805 if { (eval echo configure
:12806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12808 wx_cv_var_timezone
=timezone
12811 echo "configure: failed program was:" >&5
12812 cat conftest.
$ac_ext >&5
12814 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
12830 echo "$ac_t""$wx_cv_var_timezone" 1>&6
12832 cat >> confdefs.h
<<EOF
12833 #define WX_TIMEZONE $wx_cv_var_timezone
12837 for ac_func
in localtime
12839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12840 echo "configure:12841: checking for $ac_func" >&5
12841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12842 echo $ac_n "(cached) $ac_c" 1>&6
12844 cat > conftest.
$ac_ext <<EOF
12845 #line 12846 "configure"
12846 #include "confdefs.h"
12847 /* System header to define __stub macros and hopefully few prototypes,
12848 which can conflict with char $ac_func(); below. */
12849 #include <assert.h>
12850 /* Override any gcc2 internal prototype to avoid an error. */
12851 /* We use char because int might match the return type of a gcc2
12852 builtin and then its argument prototype would still apply. */
12857 /* The GNU C library defines this for functions which it implements
12858 to always fail with ENOSYS. Some functions are actually named
12859 something starting with __ and the normal name is an alias. */
12860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12868 if { (eval echo configure
:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12870 eval "ac_cv_func_$ac_func=yes"
12872 echo "configure: failed program was:" >&5
12873 cat conftest.
$ac_ext >&5
12875 eval "ac_cv_func_$ac_func=no"
12880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12881 echo "$ac_t""yes" 1>&6
12882 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12883 cat >> confdefs.h
<<EOF
12884 #define $ac_tr_func 1
12888 echo "$ac_t""no" 1>&6
12893 if test "$ac_cv_func_localtime" = "yes"; then
12894 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12895 echo "configure:12896: checking for tm_gmtoff in struct tm" >&5
12896 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12897 echo $ac_n "(cached) $ac_c" 1>&6
12900 cat > conftest.
$ac_ext <<EOF
12901 #line 12902 "configure"
12902 #include "confdefs.h"
12913 if { (eval echo configure
:12914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12916 wx_cv_struct_tm_has_gmtoff
=yes
12917 cat >> confdefs.h
<<\EOF
12918 #define WX_GMTOFF_IN_TM 1
12923 echo "configure: failed program was:" >&5
12924 cat conftest.
$ac_ext >&5
12926 wx_cv_struct_tm_has_gmtoff
=no
12933 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12936 for ac_func
in gettimeofday ftime
12938 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12939 echo "configure:12940: checking for $ac_func" >&5
12940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12941 echo $ac_n "(cached) $ac_c" 1>&6
12943 cat > conftest.
$ac_ext <<EOF
12944 #line 12945 "configure"
12945 #include "confdefs.h"
12946 /* System header to define __stub macros and hopefully few prototypes,
12947 which can conflict with char $ac_func(); below. */
12948 #include <assert.h>
12949 /* Override any gcc2 internal prototype to avoid an error. */
12950 /* We use char because int might match the return type of a gcc2
12951 builtin and then its argument prototype would still apply. */
12956 /* The GNU C library defines this for functions which it implements
12957 to always fail with ENOSYS. Some functions are actually named
12958 something starting with __ and the normal name is an alias. */
12959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12967 if { (eval echo configure
:12968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12969 eval "ac_cv_func_$ac_func=yes"
12971 echo "configure: failed program was:" >&5
12972 cat conftest.
$ac_ext >&5
12974 eval "ac_cv_func_$ac_func=no"
12979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12980 echo "$ac_t""yes" 1>&6
12981 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12982 cat >> confdefs.h
<<EOF
12983 #define $ac_tr_func 1
12987 echo "$ac_t""no" 1>&6
12992 if test "$ac_cv_func_gettimeofday" = "yes"; then
12993 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12994 echo "configure:12995: checking whether gettimeofday takes two arguments" >&5
12995 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12996 echo $ac_n "(cached) $ac_c" 1>&6
13001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13002 ac_cpp
='$CXXCPP $CPPFLAGS'
13003 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13004 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13005 cross_compiling
=$ac_cv_prog_cxx_cross
13008 cat > conftest.
$ac_ext <<EOF
13009 #line 13010 "configure"
13010 #include "confdefs.h"
13012 #include <sys/time.h>
13013 #include <unistd.h>
13018 struct timezone tz;
13019 gettimeofday(&tv, &tz);
13023 if { (eval echo configure
:13024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13025 wx_cv_func_gettimeofday_has_2_args
=yes
13027 echo "configure: failed program was:" >&5
13028 cat conftest.
$ac_ext >&5
13030 cat > conftest.
$ac_ext <<EOF
13031 #line 13032 "configure"
13032 #include "confdefs.h"
13034 #include <sys/time.h>
13035 #include <unistd.h>
13044 if { (eval echo configure
:13045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13046 wx_cv_func_gettimeofday_has_2_args
=no
13048 echo "configure: failed program was:" >&5
13049 cat conftest.
$ac_ext >&5
13051 wx_cv_func_gettimeofday_has_2_args
=unknown
13059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13060 ac_cpp
='$CPP $CPPFLAGS'
13061 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13062 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13063 cross_compiling
=$ac_cv_prog_cc_cross
13068 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13070 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13071 cat >> confdefs.h
<<\EOF
13072 #define WX_GETTIMEOFDAY_NO_TZ 1
13078 cat >> confdefs.h
<<\EOF
13079 #define wxUSE_TIMEDATE 1
13082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13086 if test "$TOOLKIT" != "MSW"; then
13088 if test "$wxUSE_SOCKETS" = "yes"; then
13089 echo $ac_n "checking for socket""... $ac_c" 1>&6
13090 echo "configure:13091: checking for socket" >&5
13091 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13092 echo $ac_n "(cached) $ac_c" 1>&6
13094 cat > conftest.
$ac_ext <<EOF
13095 #line 13096 "configure"
13096 #include "confdefs.h"
13097 /* System header to define __stub macros and hopefully few prototypes,
13098 which can conflict with char socket(); below. */
13099 #include <assert.h>
13100 /* Override any gcc2 internal prototype to avoid an error. */
13101 /* We use char because int might match the return type of a gcc2
13102 builtin and then its argument prototype would still apply. */
13107 /* The GNU C library defines this for functions which it implements
13108 to always fail with ENOSYS. Some functions are actually named
13109 something starting with __ and the normal name is an alias. */
13110 #if defined (__stub_socket) || defined (__stub___socket)
13118 if { (eval echo configure
:13119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13120 eval "ac_cv_func_socket=yes"
13122 echo "configure: failed program was:" >&5
13123 cat conftest.
$ac_ext >&5
13125 eval "ac_cv_func_socket=no"
13130 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13131 echo "$ac_t""yes" 1>&6
13134 echo "$ac_t""no" 1>&6
13135 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13136 echo "configure:13137: checking for socket in -lsocket" >&5
13137 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13139 echo $ac_n "(cached) $ac_c" 1>&6
13141 ac_save_LIBS
="$LIBS"
13142 LIBS
="-lsocket $LIBS"
13143 cat > conftest.
$ac_ext <<EOF
13144 #line 13145 "configure"
13145 #include "confdefs.h"
13146 /* Override any gcc2 internal prototype to avoid an error. */
13147 /* We use char because int might match the return type of a gcc2
13148 builtin and then its argument prototype would still apply. */
13155 if { (eval echo configure
:13156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13157 eval "ac_cv_lib_$ac_lib_var=yes"
13159 echo "configure: failed program was:" >&5
13160 cat conftest.
$ac_ext >&5
13162 eval "ac_cv_lib_$ac_lib_var=no"
13165 LIBS
="$ac_save_LIBS"
13168 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13169 echo "$ac_t""yes" 1>&6
13170 INET_LINK
="$INET_LINK -lsocket"
13172 echo "$ac_t""no" 1>&6
13174 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
13187 if test "$wxUSE_SOCKETS" = "yes" ; then
13188 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
13189 echo "configure:13190: checking what is the type of the third argument of getsockname" >&5
13190 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
13191 echo $ac_n "(cached) $ac_c" 1>&6
13196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13197 ac_cpp
='$CXXCPP $CPPFLAGS'
13198 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13199 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13200 cross_compiling
=$ac_cv_prog_cxx_cross
13203 cat > conftest.
$ac_ext <<EOF
13204 #line 13205 "configure"
13205 #include "confdefs.h"
13207 #include <sys/types.h>
13208 #include <sys/socket.h>
13213 getsockname(0, 0, &len);
13217 if { (eval echo configure
:13218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13219 wx_cv_type_getsockname3
=socklen_t
13221 echo "configure: failed program was:" >&5
13222 cat conftest.
$ac_ext >&5
13224 cat > conftest.
$ac_ext <<EOF
13225 #line 13226 "configure"
13226 #include "confdefs.h"
13228 #include <sys/types.h>
13229 #include <sys/socket.h>
13234 getsockname(0, 0, &len);
13238 if { (eval echo configure
:13239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13240 wx_cv_type_getsockname3
=size_t
13242 echo "configure: failed program was:" >&5
13243 cat conftest.
$ac_ext >&5
13245 cat > conftest.
$ac_ext <<EOF
13246 #line 13247 "configure"
13247 #include "confdefs.h"
13249 #include <sys/types.h>
13250 #include <sys/socket.h>
13255 getsockname(0, 0, &len);
13259 if { (eval echo configure
:13260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13261 wx_cv_type_getsockname3
=int
13263 echo "configure: failed program was:" >&5
13264 cat conftest.
$ac_ext >&5
13266 wx_cv_type_getsockname3
=unknown
13278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13279 ac_cpp
='$CPP $CPPFLAGS'
13280 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13281 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13282 cross_compiling
=$ac_cv_prog_cc_cross
13287 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
13289 if test "$wx_cv_type_getsockname3" = "unknown"; then
13291 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
13293 cat >> confdefs.h
<<EOF
13294 #define SOCKLEN_T $wx_cv_type_getsockname3
13300 if test "$wxUSE_SOCKETS" = "yes" ; then
13301 cat >> confdefs.h
<<\EOF
13302 #define wxUSE_SOCKETS 1
13305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
13306 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
13310 if test "$wxUSE_GUI" = "yes"; then
13312 if test "$TOOLKIT" != "MSW"; then
13314 if test "$wxUSE_JOYSTICK" = "yes"; then
13315 for ac_hdr
in linux
/joystick.h
13317 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13318 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13319 echo "configure:13320: checking for $ac_hdr" >&5
13320 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13321 echo $ac_n "(cached) $ac_c" 1>&6
13323 cat > conftest.
$ac_ext <<EOF
13324 #line 13325 "configure"
13325 #include "confdefs.h"
13328 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13329 { (eval echo configure
:13330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13330 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13331 if test -z "$ac_err"; then
13333 eval "ac_cv_header_$ac_safe=yes"
13336 echo "configure: failed program was:" >&5
13337 cat conftest.
$ac_ext >&5
13339 eval "ac_cv_header_$ac_safe=no"
13343 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13344 echo "$ac_t""yes" 1>&6
13345 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13346 cat >> confdefs.h
<<EOF
13347 #define $ac_tr_hdr 1
13351 echo "$ac_t""no" 1>&6
13355 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
13357 echo "configure: warning: Joystick not supported by this system" 1>&2
13363 if test "$wxUSE_JOYSTICK" = "yes"; then
13364 cat >> confdefs.h
<<\EOF
13365 #define wxUSE_JOYSTICK 1
13368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
13374 if test "$TOOLKIT" != "MSW"; then
13378 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
13379 for ac_func
in dlopen
13381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13382 echo "configure:13383: checking for $ac_func" >&5
13383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13384 echo $ac_n "(cached) $ac_c" 1>&6
13386 cat > conftest.
$ac_ext <<EOF
13387 #line 13388 "configure"
13388 #include "confdefs.h"
13389 /* System header to define __stub macros and hopefully few prototypes,
13390 which can conflict with char $ac_func(); below. */
13391 #include <assert.h>
13392 /* Override any gcc2 internal prototype to avoid an error. */
13393 /* We use char because int might match the return type of a gcc2
13394 builtin and then its argument prototype would still apply. */
13399 /* The GNU C library defines this for functions which it implements
13400 to always fail with ENOSYS. Some functions are actually named
13401 something starting with __ and the normal name is an alias. */
13402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13410 if { (eval echo configure
:13411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13412 eval "ac_cv_func_$ac_func=yes"
13414 echo "configure: failed program was:" >&5
13415 cat conftest.
$ac_ext >&5
13417 eval "ac_cv_func_$ac_func=no"
13422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13423 echo "$ac_t""yes" 1>&6
13424 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13425 cat >> confdefs.h
<<EOF
13426 #define $ac_tr_func 1
13429 cat >> confdefs.h
<<\EOF
13430 #define HAVE_DLOPEN 1
13436 echo "$ac_t""no" 1>&6
13437 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
13438 echo "configure:13439: checking for dlopen in -ldl" >&5
13439 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
13440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13441 echo $ac_n "(cached) $ac_c" 1>&6
13443 ac_save_LIBS
="$LIBS"
13445 cat > conftest.
$ac_ext <<EOF
13446 #line 13447 "configure"
13447 #include "confdefs.h"
13448 /* Override any gcc2 internal prototype to avoid an error. */
13449 /* We use char because int might match the return type of a gcc2
13450 builtin and then its argument prototype would still apply. */
13457 if { (eval echo configure
:13458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13459 eval "ac_cv_lib_$ac_lib_var=yes"
13461 echo "configure: failed program was:" >&5
13462 cat conftest.
$ac_ext >&5
13464 eval "ac_cv_lib_$ac_lib_var=no"
13467 LIBS
="$ac_save_LIBS"
13470 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13471 echo "$ac_t""yes" 1>&6
13473 cat >> confdefs.h
<<\EOF
13474 #define HAVE_DLOPEN 1
13481 echo "$ac_t""no" 1>&6
13483 for ac_func
in shl_load
13485 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13486 echo "configure:13487: checking for $ac_func" >&5
13487 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13488 echo $ac_n "(cached) $ac_c" 1>&6
13490 cat > conftest.
$ac_ext <<EOF
13491 #line 13492 "configure"
13492 #include "confdefs.h"
13493 /* System header to define __stub macros and hopefully few prototypes,
13494 which can conflict with char $ac_func(); below. */
13495 #include <assert.h>
13496 /* Override any gcc2 internal prototype to avoid an error. */
13497 /* We use char because int might match the return type of a gcc2
13498 builtin and then its argument prototype would still apply. */
13503 /* The GNU C library defines this for functions which it implements
13504 to always fail with ENOSYS. Some functions are actually named
13505 something starting with __ and the normal name is an alias. */
13506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13514 if { (eval echo configure
:13515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13516 eval "ac_cv_func_$ac_func=yes"
13518 echo "configure: failed program was:" >&5
13519 cat conftest.
$ac_ext >&5
13521 eval "ac_cv_func_$ac_func=no"
13526 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13527 echo "$ac_t""yes" 1>&6
13528 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13529 cat >> confdefs.h
<<EOF
13530 #define $ac_tr_func 1
13533 cat >> confdefs.h
<<\EOF
13534 #define HAVE_SHL_LOAD 1
13540 echo "$ac_t""no" 1>&6
13541 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
13542 echo "configure:13543: checking for dld in -lshl_load" >&5
13543 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
13544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13545 echo $ac_n "(cached) $ac_c" 1>&6
13547 ac_save_LIBS
="$LIBS"
13548 LIBS
="-lshl_load $LIBS"
13549 cat > conftest.
$ac_ext <<EOF
13550 #line 13551 "configure"
13551 #include "confdefs.h"
13552 /* Override any gcc2 internal prototype to avoid an error. */
13553 /* We use char because int might match the return type of a gcc2
13554 builtin and then its argument prototype would still apply. */
13561 if { (eval echo configure
:13562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13563 eval "ac_cv_lib_$ac_lib_var=yes"
13565 echo "configure: failed program was:" >&5
13566 cat conftest.
$ac_ext >&5
13568 eval "ac_cv_lib_$ac_lib_var=no"
13571 LIBS
="$ac_save_LIBS"
13574 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13575 echo "$ac_t""yes" 1>&6
13581 echo "$ac_t""no" 1>&6
13596 if test "$HAVE_DL_FUNCS" = 1; then
13597 for ac_func
in dlerror
13599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13600 echo "configure:13601: checking for $ac_func" >&5
13601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13602 echo $ac_n "(cached) $ac_c" 1>&6
13604 cat > conftest.
$ac_ext <<EOF
13605 #line 13606 "configure"
13606 #include "confdefs.h"
13607 /* System header to define __stub macros and hopefully few prototypes,
13608 which can conflict with char $ac_func(); below. */
13609 #include <assert.h>
13610 /* Override any gcc2 internal prototype to avoid an error. */
13611 /* We use char because int might match the return type of a gcc2
13612 builtin and then its argument prototype would still apply. */
13617 /* The GNU C library defines this for functions which it implements
13618 to always fail with ENOSYS. Some functions are actually named
13619 something starting with __ and the normal name is an alias. */
13620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13628 if { (eval echo configure
:13629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13630 eval "ac_cv_func_$ac_func=yes"
13632 echo "configure: failed program was:" >&5
13633 cat conftest.
$ac_ext >&5
13635 eval "ac_cv_func_$ac_func=no"
13640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13641 echo "$ac_t""yes" 1>&6
13642 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13643 cat >> confdefs.h
<<EOF
13644 #define $ac_tr_func 1
13646 cat >> confdefs.h
<<\EOF
13647 #define HAVE_DLERROR 1
13651 echo "$ac_t""no" 1>&6
13652 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
13653 echo "configure:13654: checking for dlerror in -ldl" >&5
13654 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
13655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13656 echo $ac_n "(cached) $ac_c" 1>&6
13658 ac_save_LIBS
="$LIBS"
13660 cat > conftest.
$ac_ext <<EOF
13661 #line 13662 "configure"
13662 #include "confdefs.h"
13663 /* Override any gcc2 internal prototype to avoid an error. */
13664 /* We use char because int might match the return type of a gcc2
13665 builtin and then its argument prototype would still apply. */
13672 if { (eval echo configure
:13673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13674 eval "ac_cv_lib_$ac_lib_var=yes"
13676 echo "configure: failed program was:" >&5
13677 cat conftest.
$ac_ext >&5
13679 eval "ac_cv_lib_$ac_lib_var=no"
13682 LIBS
="$ac_save_LIBS"
13685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13686 echo "$ac_t""yes" 1>&6
13687 cat >> confdefs.h
<<\EOF
13688 #define HAVE_DLERROR 1
13692 echo "$ac_t""no" 1>&6
13700 if test "$HAVE_DL_FUNCS" = 0; then
13701 if test "$HAVE_SHL_FUNCS" = 0; then
13702 if test "$USE_UNIX" = 1; then
13703 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
13704 wxUSE_DYNLIB_CLASS
=no
13706 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
13714 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
13715 cat >> confdefs.h
<<\EOF
13716 #define wxUSE_DYNLIB_CLASS 1
13725 if test "$wxUSE_UNICODE" = "yes" ; then
13726 cat >> confdefs.h
<<\EOF
13727 #define wxUSE_UNICODE 1
13732 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
13733 cat >> confdefs.h
<<\EOF
13734 #define wxUSE_WCSRTOMBS 1
13739 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
13740 cat >> confdefs.h
<<\EOF
13741 #define wxUSE_EXPERIMENTAL_PRINTF 1
13747 if test "$wxUSE_SERIAL" = "yes" ; then
13748 cat >> confdefs.h
<<\EOF
13749 #define wxUSE_SERIAL 1
13756 if test "$wxUSE_ODBC" = "yes" ; then
13757 cat >> confdefs.h
<<\EOF
13758 #define wxUSE_ODBC 1
13761 WXODBCFLAG
="-D_IODBC_"
13762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
13763 IODBCOBJS
="\$(IODBC_OBJS)"
13769 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
13770 cat >> confdefs.h
<<\EOF
13771 #define wxUSE_POSTSCRIPT 1
13776 cat >> confdefs.h
<<\EOF
13777 #define wxUSE_AFM_FOR_POSTSCRIPT 1
13781 cat >> confdefs.h
<<\EOF
13782 #define wxUSE_NORMALIZED_PS_FONTS 1
13787 if test "$wxUSE_CONSTRAINTS" = "yes"; then
13788 cat >> confdefs.h
<<\EOF
13789 #define wxUSE_CONSTRAINTS 1
13792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
13795 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13796 cat >> confdefs.h
<<\EOF
13797 #define wxUSE_MDI_ARCHITECTURE 1
13800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
13803 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
13804 cat >> confdefs.h
<<\EOF
13805 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
13808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
13809 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
13814 if test "$wxUSE_HELP" = "yes"; then
13815 cat >> confdefs.h
<<\EOF
13816 #define wxUSE_HELP 1
13819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
13822 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13823 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13824 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
13826 cat >> confdefs.h
<<\EOF
13827 #define wxUSE_PRINTING_ARCHITECTURE 1
13831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
13834 if test "$wxUSE_PROLOGIO" = "yes" ; then
13835 cat >> confdefs.h
<<\EOF
13836 #define wxUSE_PROLOGIO 1
13841 if test "$wxUSE_RESOURCES" = "yes" ; then
13842 if test "$wxUSE_PROLOGIO" = "yes" ; then
13843 cat >> confdefs.h
<<\EOF
13844 #define wxUSE_RESOURCES 1
13847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
13849 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
13853 if test "$wxUSE_X_RESOURCES" = "yes"; then
13854 cat >> confdefs.h
<<\EOF
13855 #define wxUSE_X_RESOURCES 1
13861 if test "$wxUSE_IPC" = "yes"; then
13862 if test "$wxUSE_SOCKETS" != "yes"; then
13863 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
13866 cat >> confdefs.h
<<\EOF
13867 #define wxUSE_IPC 1
13872 if test "$wxUSE_CLIPBOARD" = "yes"; then
13873 cat >> confdefs.h
<<\EOF
13874 #define wxUSE_CLIPBOARD 1
13879 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
13880 if test "$wxUSE_GTK" = 1; then
13881 if test "$WXGTK12" != 1; then
13882 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
13883 wxUSE_DRAG_AND_DROP
=no
13887 if test "$wxUSE_MOTIF" = 1; then
13888 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
13889 wxUSE_DRAG_AND_DROP
=no
13892 if test "$USE_WIN32" = 1; then
13893 for ac_hdr
in ole2.h
13895 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13896 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13897 echo "configure:13898: checking for $ac_hdr" >&5
13898 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13899 echo $ac_n "(cached) $ac_c" 1>&6
13901 cat > conftest.
$ac_ext <<EOF
13902 #line 13903 "configure"
13903 #include "confdefs.h"
13906 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13907 { (eval echo configure
:13908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13908 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13909 if test -z "$ac_err"; then
13911 eval "ac_cv_header_$ac_safe=yes"
13914 echo "configure: failed program was:" >&5
13915 cat conftest.
$ac_ext >&5
13917 eval "ac_cv_header_$ac_safe=no"
13921 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13922 echo "$ac_t""yes" 1>&6
13923 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13924 cat >> confdefs.h
<<EOF
13925 #define $ac_tr_hdr 1
13929 echo "$ac_t""no" 1>&6
13933 if test "x$HAVE_OLE2_H" = x
; then
13934 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
13935 wxUSE_DRAG_AND_DROP
=no
13939 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
13940 cat >> confdefs.h
<<\EOF
13941 #define wxUSE_DRAG_AND_DROP 1
13944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
13949 if test "$wxUSE_SPLINES" = "yes" ; then
13950 cat >> confdefs.h
<<\EOF
13951 #define wxUSE_SPLINES 1
13957 if test "$wxUSE_ACCEL" = "yes"; then
13958 cat >> confdefs.h
<<\EOF
13959 #define wxUSE_ACCEL 1
13964 if test "$wxUSE_CARET" = "yes"; then
13965 cat >> confdefs.h
<<\EOF
13966 #define wxUSE_CARET 1
13969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
13972 if test "$wxUSE_COMBOBOX" = "yes"; then
13973 cat >> confdefs.h
<<\EOF
13974 #define wxUSE_COMBOBOX 1
13979 if test "$wxUSE_CHOICE" = "yes"; then
13980 cat >> confdefs.h
<<\EOF
13981 #define wxUSE_CHOICE 1
13986 if test "$wxUSE_BMPBUTTON" = "yes"; then
13987 cat >> confdefs.h
<<\EOF
13988 #define wxUSE_BMPBUTTON 1
13993 if test "$wxUSE_CHECKBOX" = "yes"; then
13994 cat >> confdefs.h
<<\EOF
13995 #define wxUSE_CHECKBOX 1
14000 if test "$wxUSE_CHECKLST" = "yes"; then
14001 cat >> confdefs.h
<<\EOF
14002 #define wxUSE_CHECKLISTBOX 1
14005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14008 if test "$wxUSE_GAUGE" = "yes"; then
14009 cat >> confdefs.h
<<\EOF
14010 #define wxUSE_GAUGE 1
14015 if test "$wxUSE_NEW_GRID" = "yes"; then
14017 cat >> confdefs.h
<<\EOF
14018 #define wxUSE_NEW_GRID 1
14021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14024 if test "$wxUSE_GRID" = "yes"; then
14025 cat >> confdefs.h
<<\EOF
14026 #define wxUSE_GRID 1
14029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14032 if test "$wxUSE_IMAGLIST" = "yes"; then
14033 cat >> confdefs.h
<<\EOF
14034 #define wxUSE_IMAGLIST 1
14039 if test "$wxUSE_LISTBOX" = "yes"; then
14040 cat >> confdefs.h
<<\EOF
14041 #define wxUSE_LISTBOX 1
14046 if test "$wxUSE_LISTCTRL" = "yes"; then
14047 if test "$wxUSE_IMAGLIST" = "yes"; then
14048 cat >> confdefs.h
<<\EOF
14049 #define wxUSE_LISTCTRL 1
14052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14054 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14058 if test "$wxUSE_NOTEBOOK" = "yes"; then
14059 cat >> confdefs.h
<<\EOF
14060 #define wxUSE_NOTEBOOK 1
14063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14066 if test "$wxUSE_RADIOBOX" = "yes"; then
14067 cat >> confdefs.h
<<\EOF
14068 #define wxUSE_RADIOBOX 1
14073 if test "$wxUSE_RADIOBTN" = "yes"; then
14074 cat >> confdefs.h
<<\EOF
14075 #define wxUSE_RADIOBTN 1
14080 if test "$wxUSE_SASH" = "yes"; then
14081 cat >> confdefs.h
<<\EOF
14082 #define wxUSE_SASH 1
14085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14088 if test "$wxUSE_SCROLLBAR" = "yes"; then
14089 cat >> confdefs.h
<<\EOF
14090 #define wxUSE_SCROLLBAR 1
14093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14096 if test "$wxUSE_SLIDER" = "yes"; then
14097 cat >> confdefs.h
<<\EOF
14098 #define wxUSE_SLIDER 1
14103 if test "$wxUSE_SPINBTN" = "yes"; then
14104 cat >> confdefs.h
<<\EOF
14105 #define wxUSE_SPINBTN 1
14110 if test "$wxUSE_SPINCTRL" = "yes"; then
14111 cat >> confdefs.h
<<\EOF
14112 #define wxUSE_SPINCTRL 1
14117 if test "$wxUSE_SPLITTER" = "yes"; then
14118 cat >> confdefs.h
<<\EOF
14119 #define wxUSE_SPLITTER 1
14122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
14125 if test "$wxUSE_STATBMP" = "yes"; then
14126 cat >> confdefs.h
<<\EOF
14127 #define wxUSE_STATBMP 1
14132 if test "$wxUSE_STATBOX" = "yes"; then
14133 cat >> confdefs.h
<<\EOF
14134 #define wxUSE_STATBOX 1
14139 if test "$wxUSE_STATLINE" = "yes"; then
14140 if test "$wxUSE_WINE" = 1 ; then
14141 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
14143 cat >> confdefs.h
<<\EOF
14144 #define wxUSE_STATLINE 1
14150 if test "$wxUSE_STATUSBAR" = "yes"; then
14151 cat >> confdefs.h
<<\EOF
14152 #define wxUSE_STATUSBAR 1
14156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
14159 if test "$wxUSE_TABDIALOG" = "yes"; then
14160 cat >> confdefs.h
<<\EOF
14161 #define wxUSE_TAB_DIALOG 1
14164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
14167 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
14168 cat >> confdefs.h
<<\EOF
14169 #define wxUSE_TOOLBAR_SIMPLE 1
14172 wxUSE_TOOLBAR
="yes"
14175 if test "$wxUSE_TOOLBAR" = "yes"; then
14176 cat >> confdefs.h
<<\EOF
14177 #define wxUSE_TOOLBAR 1
14181 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
14182 wxUSE_TOOLBAR_NATIVE
="yes"
14185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
14188 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
14189 cat >> confdefs.h
<<\EOF
14190 #define wxUSE_TOOLBAR_NATIVE 1
14195 if test "$wxUSE_TOOLTIPS" = "yes"; then
14196 if test "$wxUSE_MOTIF" = 1; then
14197 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
14199 if test "$wxUSE_WINE" = 1; then
14200 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
14202 cat >> confdefs.h
<<\EOF
14203 #define wxUSE_TOOLTIPS 1
14210 if test "$wxUSE_TREECTRL" = "yes"; then
14211 if test "$wxUSE_IMAGLIST" = "yes"; then
14212 cat >> confdefs.h
<<\EOF
14213 #define wxUSE_TREECTRL 1
14216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
14218 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
14224 if test "$wxUSE_METAFILE" = "yes"; then
14225 cat >> confdefs.h
<<\EOF
14226 #define wxUSE_METAFILE 1
14231 if test "$wxUSE_DIRDLG" = "yes"; then
14232 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14233 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
14235 if test "$wxUSE_TREECTRL" != "yes"; then
14236 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
14238 cat >> confdefs.h
<<\EOF
14239 #define wxUSE_DIRDLG 1
14246 if test "$wxUSE_TEXTDLG" = "yes"; then
14247 cat >> confdefs.h
<<\EOF
14248 #define wxUSE_TEXTDLG 1
14253 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
14254 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14255 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
14257 cat >> confdefs.h
<<\EOF
14258 #define wxUSE_STARTUP_TIPS 1
14264 if test "$wxUSE_PROGRESSDLG" = "yes"; then
14265 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14266 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
14268 cat >> confdefs.h
<<\EOF
14269 #define wxUSE_PROGRESSDLG 1
14275 if test "$wxUSE_MINIFRAME" = "yes"; then
14276 cat >> confdefs.h
<<\EOF
14277 #define wxUSE_MINIFRAME 1
14280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
14283 if test "$wxUSE_HTML" = "yes"; then
14284 cat >> confdefs.h
<<\EOF
14285 #define wxUSE_HTML 1
14288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
14289 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
14292 if test "$wxUSE_VALIDATORS" = "yes"; then
14293 cat >> confdefs.h
<<\EOF
14294 #define wxUSE_VALIDATORS 1
14297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
14300 if test "$wxUSE_GIF" = "yes" ; then
14301 cat >> confdefs.h
<<\EOF
14302 #define wxUSE_GIF 1
14307 if test "$wxUSE_PCX" = "yes" ; then
14308 cat >> confdefs.h
<<\EOF
14309 #define wxUSE_PCX 1
14314 if test "$wxUSE_PNM" = "yes" ; then
14315 cat >> confdefs.h
<<\EOF
14316 #define wxUSE_PNM 1
14322 if test "$cross_compiling" = "yes"; then
14325 OSINFO
=`uname -s -r -m`
14326 OSINFO
="\"$OSINFO\""
14329 cat >> confdefs.h
<<EOF
14330 #define WXWIN_OS_DESCRIPTION $OSINFO
14335 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
14336 OPENGL_LIBS
="$OPENGL_LINK"
14338 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
14339 if test "$wxUSE_GUI" = "yes"; then
14340 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $EXTRA_LIBS"
14343 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
14345 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
14347 if test "$wxUSE_GTK" = 1; then
14348 WXCONFIG_INCLUDE
=""
14350 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
14353 if test "$GXX" = yes ; then
14354 CXXWARNINGS
="-Wall"
14356 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
14358 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
14359 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
14361 LDFLAGS
="$LDFLAGS $PROFILE"
14363 if test "$wxUSE_GUI" = "yes"; then
14365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
14366 font fractal image menu minimal richedit"
14368 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
14373 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
14469 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
14470 echo "configure:14471: checking whether ${MAKE-make} sets \${MAKE}" >&5
14471 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
14472 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
14473 echo $ac_n "(cached) $ac_c" 1>&6
14475 cat > conftestmake
<<\EOF
14477 @
echo 'ac_maketemp="${MAKE}"'
14479 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14480 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
14481 if test -n "$ac_maketemp"; then
14482 eval ac_cv_prog_make_
${ac_make}_set
=yes
14484 eval ac_cv_prog_make_
${ac_make}_set
=no
14488 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
14489 echo "$ac_t""yes" 1>&6
14492 echo "$ac_t""no" 1>&6
14493 SET_MAKE
="MAKE=${MAKE-make}"
14497 if test -d include
; then
14498 if test -d include
/wx
; then
14499 if test -d include
/wx
/${TOOLKIT_DIR}; then
14500 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
14501 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
14509 if test "$wxUSE_GUI" = "yes"; then
14510 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
14511 wx_cv_path_ifs
=$PATH_IFS
14512 wx_cv_program_ext
=$PROGRAM_EXT
14513 wx_cv_target_library
=$WX_TARGET_LIBRARY
14514 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
14515 subdirs
="demos samples utils contrib"
14520 cat > confcache
<<\EOF
14521 # This file is a shell script that caches the results of configure
14522 # tests run on this system so they can be shared between configure
14523 # scripts and configure runs. It is not useful on other systems.
14524 # If it contains results you don't want to keep, you may remove or edit it.
14526 # By default, configure uses ./config.cache as the cache file,
14527 # creating it if it does not exist already. You can give configure
14528 # the --cache-file=FILE option to use a different cache file; that is
14529 # what configure does when it calls configure scripts in
14530 # subdirectories, so they share the cache.
14531 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14532 # config.status only pays attention to the cache file if you give it the
14533 # --recheck option to rerun configure.
14536 # The following way of writing the cache mishandles newlines in values,
14537 # but we know of no workaround that is simple, portable, and efficient.
14538 # So, don't put newlines in cache variables' values.
14539 # Ultrix sh set writes to stderr and can't be redirected directly,
14540 # and sets the high bit in the cache file unless we assign to the vars.
14542 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14544 # `set' does not quote correctly, so add quotes (double-quote substitution
14545 # turns \\\\ into \\, and sed turns \\ into \).
14547 -e "s/'/'\\\\''/g" \
14548 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14551 # `set' quotes correctly as required by POSIX, so do not add quotes.
14552 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14555 if cmp -s $cache_file confcache
; then
14558 if test -w $cache_file; then
14559 echo "updating cache $cache_file"
14560 cat confcache
> $cache_file
14562 echo "not updating unwritable cache $cache_file"
14567 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
14569 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14570 # Let make expand exec_prefix.
14571 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14573 # Any assignment to VPATH causes Sun make to only execute
14574 # the first set of double-colon rules, so remove it if not needed.
14575 # If there is a colon in the path, we need to keep it.
14576 if test "x$srcdir" = x.
; then
14577 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
14580 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
14582 DEFS
=-DHAVE_CONFIG_H
14584 # Without the "./", some shells look in PATH for config.status.
14585 : ${CONFIG_STATUS=./config.status}
14587 echo creating
$CONFIG_STATUS
14588 rm -f $CONFIG_STATUS
14589 cat > $CONFIG_STATUS <<EOF
14591 # Generated automatically by configure.
14592 # Run this file to recreate the current configuration.
14593 # This directory was configured as follows,
14594 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14596 # $0 $ac_configure_args
14598 # Compiler output produced by configure, useful for debugging
14599 # configure, is in ./config.log if it exists.
14601 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
14604 case "\$ac_option" in
14605 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14606 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
14607 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
14608 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
14609 echo "$CONFIG_STATUS generated by autoconf version 2.13"
14611 -help | --help | --hel | --he | --h)
14612 echo "\$ac_cs_usage"; exit 0 ;;
14613 *) echo "\$ac_cs_usage"; exit 1 ;;
14617 ac_given_srcdir=$srcdir
14618 ac_given_INSTALL="$INSTALL"
14620 trap 'rm -fr `echo "
14626 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
14628 cat >> $CONFIG_STATUS <<EOF
14630 # Protect against being on the right side of a sed subst in config.status.
14631 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
14632 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
14636 s%@CFLAGS@%$CFLAGS%g
14637 s%@CPPFLAGS@%$CPPFLAGS%g
14638 s%@CXXFLAGS@%$CXXFLAGS%g
14639 s%@FFLAGS@%$FFLAGS%g
14641 s%@LDFLAGS@%$LDFLAGS%g
14643 s%@exec_prefix@%$exec_prefix%g
14644 s%@prefix@%$prefix%g
14645 s%@program_transform_name@%$program_transform_name%g
14646 s%@bindir@%$bindir%g
14647 s%@sbindir@%$sbindir%g
14648 s%@libexecdir@%$libexecdir%g
14649 s%@datadir@%$datadir%g
14650 s%@sysconfdir@%$sysconfdir%g
14651 s%@sharedstatedir@%$sharedstatedir%g
14652 s%@localstatedir@%$localstatedir%g
14653 s%@libdir@%$libdir%g
14654 s%@includedir@%$includedir%g
14655 s%@oldincludedir@%$oldincludedir%g
14656 s%@infodir@%$infodir%g
14657 s%@mandir@%$mandir%g
14659 s%@host_alias@%$host_alias%g
14660 s%@host_cpu@%$host_cpu%g
14661 s%@host_vendor@%$host_vendor%g
14662 s%@host_os@%$host_os%g
14663 s%@target@%$target%g
14664 s%@target_alias@%$target_alias%g
14665 s%@target_cpu@%$target_cpu%g
14666 s%@target_vendor@%$target_vendor%g
14667 s%@target_os@%$target_os%g
14669 s%@build_alias@%$build_alias%g
14670 s%@build_cpu@%$build_cpu%g
14671 s%@build_vendor@%$build_vendor%g
14672 s%@build_os@%$build_os%g
14676 s%@CXXCPP@%$CXXCPP%g
14677 s%@RANLIB@%$RANLIB%g
14679 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
14680 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
14681 s%@INSTALL_DATA@%$INSTALL_DATA%g
14685 s%@LEXLIB@%$LEXLIB%g
14687 s%@GTK_CONFIG@%$GTK_CONFIG%g
14688 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
14689 s%@GTK_LIBS@%$GTK_LIBS%g
14690 s%@X_CFLAGS@%$X_CFLAGS%g
14691 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
14692 s%@X_LIBS@%$X_LIBS%g
14693 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
14694 s%@LEX_STEM@%$LEX_STEM%g
14695 s%@PATH_IFS@%$PATH_IFS%g
14696 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
14697 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
14698 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
14699 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
14700 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
14701 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
14702 s%@WX_LIBRARY@%$WX_LIBRARY%g
14703 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
14704 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
14705 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
14706 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
14707 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
14708 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
14709 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
14710 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
14711 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
14712 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
14713 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
14714 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
14715 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
14716 s%@WX_ALL@%$WX_ALL%g
14717 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
14718 s%@SHARED_LD@%$SHARED_LD%g
14719 s%@PIC_FLAG@%$PIC_FLAG%g
14720 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
14721 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
14722 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
14723 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
14724 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
14725 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
14726 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
14727 s%@USE_GUI@%$USE_GUI%g
14728 s%@AFMINSTALL@%$AFMINSTALL%g
14729 s%@TOOLKIT@%$TOOLKIT%g
14730 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
14731 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
14732 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
14733 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
14734 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
14735 s%@GUIHEADERS@%$GUIHEADERS%g
14736 s%@GUIOBJS@%$GUIOBJS%g
14737 s%@COMMONOBJS@%$COMMONOBJS%g
14738 s%@GENERICOBJS@%$GENERICOBJS%g
14739 s%@GUIDEPS@%$GUIDEPS%g
14740 s%@COMMONDEPS@%$COMMONDEPS%g
14741 s%@GENERICDEPS@%$GENERICDEPS%g
14742 s%@IODBCOBJS@%$IODBCOBJS%g
14743 s%@UNIXOBJS@%$UNIXOBJS%g
14744 s%@UNIXDEPS@%$UNIXDEPS%g
14745 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
14746 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
14747 s%@GUIDIST@%$GUIDIST%g
14748 s%@PORT_FILES@%$PORT_FILES%g
14749 s%@DISTDIR@%$DISTDIR%g
14750 s%@RPM_SPEC@%$RPM_SPEC%g
14751 s%@RPM_FILES@%$RPM_FILES%g
14752 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
14753 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
14754 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
14755 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
14756 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
14757 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
14758 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
14759 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
14760 s%@EXTRADEFS@%$EXTRADEFS%g
14761 s%@LD_LIBS@%$LD_LIBS%g
14762 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
14763 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
14764 s%@RESPROGRAM@%$RESPROGRAM%g
14765 s%@RESCOMP@%$RESCOMP%g
14766 s%@RESFLAGS@%$RESFLAGS%g
14767 s%@DLLTOOL@%$DLLTOOL%g
14771 s%@MAKEINFO@%$MAKEINFO%g
14772 s%@SET_MAKE@%$SET_MAKE%g
14773 s%@subdirs@%$subdirs%g
14778 cat >> $CONFIG_STATUS <<\EOF
14780 # Split the substitutions into bite-sized pieces for seds with
14781 # small command number limits, like on Digital OSF/1 and HP-UX.
14782 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
14783 ac_file
=1 # Number of current file.
14784 ac_beg
=1 # First line for current file.
14785 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
14788 while $ac_more_lines; do
14789 if test $ac_beg -gt 1; then
14790 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
14792 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
14794 if test ! -s conftest.s
$ac_file; then
14795 ac_more_lines
=false
14796 rm -f conftest.s
$ac_file
14798 if test -z "$ac_sed_cmds"; then
14799 ac_sed_cmds
="sed -f conftest.s$ac_file"
14801 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
14803 ac_file
=`expr $ac_file + 1`
14805 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
14808 if test -z "$ac_sed_cmds"; then
14813 cat >> $CONFIG_STATUS <<EOF
14815 CONFIG_FILES=\${CONFIG_FILES-"wx-config
14822 cat >> $CONFIG_STATUS <<\EOF
14823 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
14824 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14826 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14827 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14828 *) ac_file_in
="${ac_file}.in" ;;
14831 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
14833 # Remove last slash and all that follows it. Not all systems have dirname.
14834 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14835 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
14836 # The file is in a subdirectory.
14837 test ! -d "$ac_dir" && mkdir "$ac_dir"
14838 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
14839 # A "../" for each directory in $ac_dir_suffix.
14840 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
14842 ac_dir_suffix
= ac_dots
=
14845 case "$ac_given_srcdir" in
14847 if test -z "$ac_dots"; then top_srcdir
=.
14848 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
14849 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
14850 *) # Relative path.
14851 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
14852 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14855 case "$ac_given_INSTALL" in
14856 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
14857 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
14860 echo creating
"$ac_file"
14862 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
14864 *Makefile
*) ac_comsub
="1i\\
14865 # $configure_input" ;;
14869 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14871 s%@configure_input@%$configure_input%g
14872 s%@srcdir@%$srcdir%g
14873 s%@top_srcdir@%$top_srcdir%g
14874 s%@INSTALL@%$INSTALL%g
14875 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
14879 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14880 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14882 # ac_d sets the value in "#define NAME VALUE" lines.
14883 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14884 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
14887 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
14888 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14889 ac_uB
='\([ ]\)%\1#\2define\3'
14892 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14893 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14894 ac_eB
='$%\1#\2define\3'
14898 if test "${CONFIG_HEADERS+set}" != set; then
14900 cat >> $CONFIG_STATUS <<EOF
14901 CONFIG_HEADERS="setup.h:setup.h.in"
14903 cat >> $CONFIG_STATUS <<\EOF
14905 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
14906 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14908 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14909 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14910 *) ac_file_in
="${ac_file}.in" ;;
14913 echo creating
$ac_file
14915 rm -f conftest.frag conftest.
in conftest.out
14916 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14917 cat $ac_file_inputs > conftest.
in
14921 # Transform confdefs.h into a sed script conftest.vals that substitutes
14922 # the proper values into config.h.in to produce config.h. And first:
14923 # Protect against being on the right side of a sed subst in config.status.
14924 # Protect against being in an unquoted here document in config.status.
14925 rm -f conftest.vals
14926 cat > conftest.hdr
<<\EOF
14929 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
14933 sed -n -f conftest.hdr confdefs.h > conftest.vals
14936 # This sed command replaces #undef with comments. This is necessary, for
14937 # example, in the case of _POSIX_SOURCE, which is predefined and required
14938 # on some systems where configure will not decide to define it.
14939 cat >> conftest.vals <<\EOF
14940 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
14943 # Break up conftest.vals because some shells have a limit on
14944 # the size of here documents, and old seds have small limits too.
14946 rm -f conftest.tail
14949 ac_lines=`grep -c . conftest.vals
`
14950 # grep -c gives empty output for an empty file on some AIX systems.
14951 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
14952 # Write a limited-size here document to conftest.frag.
14953 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
14954 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
14956 sed -f conftest.frag conftest.in > conftest.out
14958 mv conftest.out conftest.in
14959 ' >> $CONFIG_STATUS
14960 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
14961 rm -f conftest.vals
14962 mv conftest.tail conftest.vals
14964 rm -f conftest.vals
14966 cat >> $CONFIG_STATUS <<\EOF
14967 rm -f conftest.frag conftest.h
14968 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
14969 cat conftest.in >> conftest.h
14971 if cmp -s $ac_file conftest.h 2>/dev/null; then
14972 echo "$ac_file is unchanged"
14975 # Remove last slash and all that follows it. Not all systems have dirname.
14976 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14977 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
14978 # The file is in a subdirectory.
14979 test ! -d "$ac_dir" && mkdir "$ac_dir"
14982 mv conftest.h $ac_file
14987 cat >> $CONFIG_STATUS <<EOF
14989 TOOLKIT_DIR="${TOOLKIT_DIR}"
14990 TOOLKIT_NAME="${TOOLKIT_NAME}"
14995 cat >> $CONFIG_STATUS <<\EOF
14998 mv wx-config wx${TOOLKIT_NAME}-config
14999 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15002 if test ! -d lib; then
15005 if test ! -d lib/wx; then
15008 if test ! -d lib/wx/include; then
15009 mkdir lib/wx/include
15011 if test ! -d lib/wx/include/wx; then
15012 mkdir lib/wx/include/wx
15014 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15015 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15017 if test -f setup.h; then
15018 cp -f setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15022 if test ! -d include; then
15025 if test ! -d include/wx; then
15028 if test ! -d include/wx/${TOOLKIT_DIR}; then
15029 mkdir include/wx/${TOOLKIT_DIR}
15031 if test -f setup.h; then
15032 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
15038 chmod +x $CONFIG_STATUS
15039 rm -fr confdefs* $ac_clean_files
15040 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15042 if test "$no_recursion" != yes; then
15044 # Remove --cache-file and --srcdir arguments so they do not pile up.
15045 ac_sub_configure_args=
15047 for ac_arg in $ac_configure_args; do
15048 if test -n "$ac_prev"; then
15053 -cache-file | --cache-file | --cache-fil | --cache-fi \
15054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15055 ac_prev=cache_file ;;
15056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15059 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15061 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15063 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15067 for ac_config_dir in demos samples utils contrib; do
15069 # Do not complain, so a configure script can configure whichever
15070 # parts of a large source tree are present.
15071 if test ! -d $srcdir/$ac_config_dir; then
15075 echo configuring in $ac_config_dir
15080 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15082 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15090 # A "../" for each directory in /$ac_config_dir.
15091 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15094 .) # No --srcdir option. We are building in place.
15095 ac_sub_srcdir=$srcdir ;;
15096 /*) # Absolute path.
15097 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15098 *) # Relative path.
15099 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15102 # Check for guested configure; otherwise get Cygnus style configure.
15103 if test -f $ac_sub_srcdir/configure; then
15104 ac_sub_configure=$ac_sub_srcdir/configure
15105 elif test -f $ac_sub_srcdir/configure.in; then
15106 ac_sub_configure=$ac_configure
15108 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15112 # The recursion is here.
15113 if test -n "$ac_sub_configure"; then
15115 # Make the cache file name correct relative to the subdirectory.
15116 case "$cache_file" in
15117 /*) ac_sub_cache_file=$cache_file ;;
15118 *) # Relative path.
15119 ac_sub_cache_file="$ac_dots$cache_file" ;;
15121 case "$ac_given_INSTALL" in
15122 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15123 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15126 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
15127 # The eval makes quoting arguments work.
15128 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
15131 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }