3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-gtk-prefix=PFX Prefix where GTK is installed"
66 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
68 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
70 --with-zlib use zlib for LZW compression"
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-odbc use the IODBC and wxODBC classes"
82 --enable-shared create shared library code"
84 --enable-optimise create optimised code"
86 --enable-debug same as debug_flag and debug_info"
88 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
90 --enable-debug_info create code with debugging information"
92 --enable-debug_gdb create code with extra GDB debugging information"
94 --enable-debug_cntxt use wxDebugContext"
96 --enable-mem_tracing create code with memory tracing"
98 --enable-profile create code with profiling information"
100 --enable-no_rtti create code without RTTI information"
102 --enable-no_exceptions create code without exceptions information"
104 --enable-permissive compile code disregarding strict ANSI"
106 --enable-no_deps create code without dependency information"
108 --enable-intl use internationalization system"
110 --enable-config use wxConfig (and derived) classes"
112 --enable-sockets use socket/network classes"
114 --enable-dialupman use dialup network classes"
116 --enable-ipc use interprocess communication (wxSocket etc.)"
118 --enable-apple_ieee use the Apple IEEE codec"
120 --enable-timedate use date/time classes"
122 --enable-wave use wxWave class"
124 --enable-fraction use wxFraction class"
126 --enable-dynlib use wxLibrary class for DLL loading"
128 --enable-longlong use wxLongLong class"
130 --enable-log use logging system"
132 --enable-streams use wxStream etc classes"
134 --enable-file use wxFile classes"
136 --enable-textfile use wxTextFile classes"
138 --enable-unicode compile wxString with Unicode support"
140 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
142 --enable-wxprintfv use wxWindows implementation of vprintf()"
144 --enable-joystick compile in joystick support (Linux only)"
146 --enable-std_iostreams use standard C++ stream classes"
148 --enable-fs_inet use virtual HTTP/FTP filesystems"
150 --enable-fs_zip use virtual ZIP filesystems"
152 --enable-zipstream use wxZipInputStream"
154 --enable-threads use threads"
156 --enable-serial use class serialization"
158 --enable-docview use document view architecture"
160 --enable-help use help (using external browser at present)"
162 --enable-constraints use layout-constraints system"
164 --enable-printarch use printing architecture"
166 --enable-mdi use multiple document interface architecture"
168 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
170 --enable-prologio use Prolog IO library"
172 --enable-resources use wxWindows resources"
174 --enable-xresources use X resources for save (default for gtk+)"
176 --enable-clipboard use wxClipboard classes"
178 --enable-dnd use Drag'n'Drop classes"
180 --enable-wxtree make wxTree library"
182 --enable-controls use all usual controls"
184 --enable-accel use accelerators"
186 --enable-caret use wxCaret class"
188 --enable-bmpbutton use wxBitmapButton class"
190 --enable-checkbox use wxCheckBox class"
192 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
194 --enable-choice use wxChoice class"
196 --enable-combobox use wxComboBox classes"
198 --enable-gauge use wxGauge class"
200 --enable-grid use wxGrid class"
202 --enable-newgrid use new wxGrid class"
204 --enable-imaglist use wxImageList class"
206 --enable-listbox use wxListBox class"
208 --enable-listctrl use wxListCtrl class"
210 --enable-notebook use wxNotebook class"
212 --enable-radiobox use wxRadioBox class"
214 --enable-radiobtn use wxRadioButton class"
216 --enable-sash use wxSashWindow class"
218 --enable-scrollbar use wxScrollBar class and scrollable windows"
220 --enable-slider use wxSlider class"
222 --enable-spinbtn use wxSpinButton class"
224 --enable-spinctrl use wxSpinCtrl class"
226 --enable-splitter use wxSplitterWindow class"
228 --enable-statbmp use wxStaticBitmap class"
230 --enable-statbox use wxStaticBox class"
232 --enable-statline use wxStaticLine class"
234 --enable-statusbar use wxStatusBar class"
236 --enable-tabdialog use wxTabControl class"
238 --enable-toolbar use wxToolBar class"
240 --enable-tbarnative use native wxToolBar class"
242 --enable-tbarsmpl use wxToolBarSimple class"
244 --enable-treectrl use wxTreeCtrl class"
246 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
248 --enable-dirdlg use wxDirDialog"
250 --enable-textdlg use wxTextDialog"
252 --enable-tipdlg use startup tips"
254 --enable-progressdlg use wxProgressDialog"
256 --enable-miniframe use wxMiniFrame class"
258 --enable-html use wxHTML sub-library"
260 --enable-tooltips use wxToolTip class"
262 --enable-splines use spline drawing code"
264 --enable-validators use wxValidator and derived classes"
266 --enable-busyinfo use wxBusyInfo"
268 --enable-gif use gif images (GIF file format)"
270 --enable-pcx use pcx images (PCX file format)"
272 --enable-pnm use pnm images (PNM file format)"
274 --with-x use the X Window System"
276 # Initialize some variables set by options.
277 # The variables have the same names as the options, with
278 # dashes changed to underlines.
280 cache_file
=.
/config.cache
289 program_transform_name
=s
,x
,x
,
297 bindir
='${exec_prefix}/bin'
298 sbindir
='${exec_prefix}/sbin'
299 libexecdir
='${exec_prefix}/libexec'
300 datadir
='${prefix}/share'
301 sysconfdir
='${prefix}/etc'
302 sharedstatedir
='${prefix}/com'
303 localstatedir
='${prefix}/var'
304 libdir
='${exec_prefix}/lib'
305 includedir
='${prefix}/include'
306 oldincludedir
='/usr/include'
307 infodir
='${prefix}/info'
308 mandir
='${prefix}/man'
310 # Initialize some other variables.
313 SHELL
=${CONFIG_SHELL-/bin/sh}
314 # Maximum number of lines to put in a shell here document.
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
329 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
333 # Accept the important Cygnus configure options, so we can diagnose typos.
337 -bindir | --bindir | --bindi | --bind | --bin | --bi)
339 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
340 bindir
="$ac_optarg" ;;
342 -build | --build | --buil | --bui | --bu)
344 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
345 build
="$ac_optarg" ;;
347 -cache-file | --cache-file | --cache-fil | --cache-fi \
348 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
349 ac_prev
=cache_file
;;
350 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
351 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
352 cache_file
="$ac_optarg" ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 datadir
="$ac_optarg" ;;
360 -disable-* | --disable-*)
361 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
362 # Reject names that are not valid shell variable names.
363 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
364 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
366 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
367 eval "enable_${ac_feature}=no" ;;
369 -enable-* | --enable-*)
370 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
371 # Reject names that are not valid shell variable names.
372 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
373 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
375 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
380 eval "enable_${ac_feature}='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev
=exec_prefix
;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix
="$ac_optarg" ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
395 -help | --help | --hel | --he)
396 # Omit some internal or obsolete options to make the list less imposing.
397 # This message is too long to be a string in the A/UX 3.1 sh.
399 Usage: configure [options] [host]
400 Options: [defaults in brackets after descriptions]
402 --cache-file=FILE cache test results in FILE
403 --help print this message
404 --no-create do not create output files
405 --quiet, --silent do not print \`checking...' messages
406 --version print the version of autoconf that created configure
407 Directory and file names:
408 --prefix=PREFIX install architecture-independent files in PREFIX
410 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
412 --bindir=DIR user executables in DIR [EPREFIX/bin]
413 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
414 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
415 --datadir=DIR read-only architecture-independent data in DIR
417 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
418 --sharedstatedir=DIR modifiable architecture-independent data in DIR
420 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
421 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
422 --includedir=DIR C header files in DIR [PREFIX/include]
423 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
424 --infodir=DIR info documentation in DIR [PREFIX/info]
425 --mandir=DIR man documentation in DIR [PREFIX/man]
426 --srcdir=DIR find the sources in DIR [configure dir or ..]
427 --program-prefix=PREFIX prepend PREFIX to installed program names
428 --program-suffix=SUFFIX append SUFFIX to installed program names
429 --program-transform-name=PROGRAM
430 run sed PROGRAM on installed program names
434 --build=BUILD configure for building on BUILD [BUILD=HOST]
435 --host=HOST configure for HOST [guessed]
436 --target=TARGET configure for TARGET [TARGET=HOST]
437 Features and packages:
438 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
439 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
440 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
441 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
442 --x-includes=DIR X include files are in DIR
443 --x-libraries=DIR X library files are in DIR
445 if test -n "$ac_help"; then
446 echo "--enable and --with options recognized:$ac_help"
450 -host | --host | --hos | --ho)
452 -host=* | --host=* | --hos=* | --ho=*)
455 -includedir | --includedir | --includedi | --included | --include \
456 | --includ | --inclu | --incl | --inc)
457 ac_prev
=includedir
;;
458 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
459 | --includ=* | --inclu=* | --incl=* | --inc=*)
460 includedir
="$ac_optarg" ;;
462 -infodir | --infodir | --infodi | --infod | --info | --inf)
464 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
465 infodir
="$ac_optarg" ;;
467 -libdir | --libdir | --libdi | --libd)
469 -libdir=* | --libdir=* | --libdi=* | --libd=*)
470 libdir
="$ac_optarg" ;;
472 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
473 | --libexe | --libex | --libe)
474 ac_prev
=libexecdir
;;
475 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
476 | --libexe=* | --libex=* | --libe=*)
477 libexecdir
="$ac_optarg" ;;
479 -localstatedir | --localstatedir | --localstatedi | --localstated \
480 | --localstate | --localstat | --localsta | --localst \
481 | --locals | --local | --loca | --loc | --lo)
482 ac_prev
=localstatedir
;;
483 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
484 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
485 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
486 localstatedir
="$ac_optarg" ;;
488 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
490 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
491 mandir
="$ac_optarg" ;;
494 # Obsolete; use --without-fp.
497 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
501 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
502 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
505 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
506 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
507 | --oldin | --oldi | --old | --ol | --o)
508 ac_prev
=oldincludedir
;;
509 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
510 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
511 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
512 oldincludedir
="$ac_optarg" ;;
514 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
516 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
517 prefix
="$ac_optarg" ;;
519 -program-prefix | --program-prefix | --program-prefi | --program-pref \
520 | --program-pre | --program-pr | --program-p)
521 ac_prev
=program_prefix
;;
522 -program-prefix=* | --program-prefix=* | --program-prefi=* \
523 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
524 program_prefix
="$ac_optarg" ;;
526 -program-suffix | --program-suffix | --program-suffi | --program-suff \
527 | --program-suf | --program-su | --program-s)
528 ac_prev
=program_suffix
;;
529 -program-suffix=* | --program-suffix=* | --program-suffi=* \
530 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
531 program_suffix
="$ac_optarg" ;;
533 -program-transform-name | --program-transform-name \
534 | --program-transform-nam | --program-transform-na \
535 | --program-transform-n | --program-transform- \
536 | --program-transform | --program-transfor \
537 | --program-transfo | --program-transf \
538 | --program-trans | --program-tran \
539 | --progr-tra | --program-tr | --program-t)
540 ac_prev
=program_transform_name
;;
541 -program-transform-name=* | --program-transform-name=* \
542 | --program-transform-nam=* | --program-transform-na=* \
543 | --program-transform-n=* | --program-transform-=* \
544 | --program-transform=* | --program-transfor=* \
545 | --program-transfo=* | --program-transf=* \
546 | --program-trans=* | --program-tran=* \
547 | --progr-tra=* | --program-tr=* | --program-t=*)
548 program_transform_name
="$ac_optarg" ;;
550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
551 | -silent | --silent | --silen | --sile | --sil)
554 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
556 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
558 sbindir
="$ac_optarg" ;;
560 -sharedstatedir | --sharedstatedir | --sharedstatedi \
561 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
562 | --sharedst | --shareds | --shared | --share | --shar \
564 ac_prev
=sharedstatedir
;;
565 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
566 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
567 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
569 sharedstatedir
="$ac_optarg" ;;
571 -site | --site | --sit)
573 -site=* | --site=* | --sit=*)
576 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
578 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
579 srcdir
="$ac_optarg" ;;
581 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
582 | --syscon | --sysco | --sysc | --sys | --sy)
583 ac_prev
=sysconfdir
;;
584 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
585 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
586 sysconfdir
="$ac_optarg" ;;
588 -target | --target | --targe | --targ | --tar | --ta | --t)
590 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
591 target
="$ac_optarg" ;;
593 -v | -verbose | --verbose | --verbos | --verbo | --verb)
596 -version | --version | --versio | --versi | --vers)
597 echo "configure generated by autoconf version 2.13"
601 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
602 # Reject names that are not valid shell variable names.
603 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
604 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
606 ac_package
=`echo $ac_package| sed 's/-/_/g'`
611 eval "with_${ac_package}='$ac_optarg'" ;;
613 -without-* | --without-*)
614 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
615 # Reject names that are not valid shell variable names.
616 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
617 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
619 ac_package
=`echo $ac_package| sed 's/-/_/g'`
620 eval "with_${ac_package}=no" ;;
623 # Obsolete; use --with-x.
626 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
627 | --x-incl | --x-inc | --x-in | --x-i)
628 ac_prev
=x_includes
;;
629 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
630 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
631 x_includes
="$ac_optarg" ;;
633 -x-libraries | --x-libraries | --x-librarie | --x-librari \
634 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
635 ac_prev
=x_libraries
;;
636 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
637 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
638 x_libraries
="$ac_optarg" ;;
640 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
644 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
645 echo "configure: warning: $ac_option: invalid host type" 1>&2
647 if test "x$nonopt" != xNONE
; then
648 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
656 if test -n "$ac_prev"; then
657 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
660 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
662 # File descriptor usage:
665 # 2 errors and warnings
666 # 3 some systems may open it to /dev/tty
667 # 4 used on the Kubota Titan
668 # 6 checking for... messages and results
669 # 5 compiler messages saved in config.log
670 if test "$silent" = yes; then
678 This file contains any messages produced by compilers while
679 running configure, to aid debugging if configure makes a mistake.
682 # Strip out --no-create and --no-recursion so they do not pile up.
683 # Also quote any args containing shell metacharacters.
688 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
689 | --no-cr | --no-c) ;;
690 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
691 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
692 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
693 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
694 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
699 # Only set these to C if already set. These must not be set unconditionally
700 # because not all systems understand e.g. LANG=C (notably SCO).
701 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
702 # Non-C LC_CTYPE values break the ctype check.
703 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
704 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
705 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
706 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
709 rm -rf conftest
* confdefs.h
710 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
713 # A filename unique to this package, relative to the directory that
714 # configure is in, which we can look for to find out if srcdir is correct.
715 ac_unique_file
=wx
-config.
in
717 # Find the source files, if location was not specified.
718 if test -z "$srcdir"; then
719 ac_srcdir_defaulted
=yes
720 # Try the directory containing this script, then its parent.
722 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
723 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
735 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
738 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
740 # Prefer explicitly selected file to automatically selected ones.
741 if test -z "$CONFIG_SITE"; then
742 if test "x$prefix" != xNONE
; then
743 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
745 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
748 for ac_site_file
in $CONFIG_SITE; do
749 if test -r "$ac_site_file"; then
750 echo "loading site script $ac_site_file"
755 if test -r "$cache_file"; then
756 echo "loading cache $cache_file"
759 echo "creating cache $cache_file"
764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
765 ac_cpp
='$CPP $CPPFLAGS'
766 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
767 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
768 cross_compiling
=$ac_cv_prog_cc_cross
772 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
773 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
774 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
781 ac_n
= ac_c
='\c' ac_t
=
787 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
788 if test -f $ac_dir/install-sh; then
790 ac_install_sh
="$ac_aux_dir/install-sh -c"
792 elif test -f $ac_dir/install.sh
; then
794 ac_install_sh
="$ac_aux_dir/install.sh -c"
798 if test -z "$ac_aux_dir"; then
799 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
801 ac_config_guess
=$ac_aux_dir/config.guess
802 ac_config_sub
=$ac_aux_dir/config.sub
803 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
806 # Do some error checking and defaulting for the host and target type.
808 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
811 # 1. You are not allowed to specify --host, --target, and nonopt at the
813 # 2. Host defaults to nonopt.
814 # 3. If nonopt is not specified, then host defaults to the current host,
815 # as determined by config.guess.
816 # 4. Target and build default to nonopt.
817 # 5. If nonopt is not specified, then target and build default to host.
819 # The aliases save the names the user supplied, while $host etc.
820 # will get canonicalized.
821 case $host---$target---$nonopt in
822 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
823 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
827 # Make sure we can run config.sub.
828 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
829 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
832 echo $ac_n "checking host system type""... $ac_c" 1>&6
833 echo "configure:834: checking host system type" >&5
836 case "$host_alias" in
840 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
841 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
843 *) host_alias
=$nonopt ;;
847 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
848 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
849 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
850 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
851 echo "$ac_t""$host" 1>&6
853 echo $ac_n "checking target system type""... $ac_c" 1>&6
854 echo "configure:855: checking target system type" >&5
857 case "$target_alias" in
860 NONE
) target_alias
=$host_alias ;;
861 *) target_alias
=$nonopt ;;
865 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
866 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
867 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
868 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
869 echo "$ac_t""$target" 1>&6
871 echo $ac_n "checking build system type""... $ac_c" 1>&6
872 echo "configure:873: checking build system type" >&5
875 case "$build_alias" in
878 NONE
) build_alias
=$host_alias ;;
879 *) build_alias
=$nonopt ;;
883 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
884 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
885 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
886 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
887 echo "$ac_t""$build" 1>&6
889 test "$host_alias" != "$target_alias" &&
890 test "$program_prefix$program_suffix$program_transform_name" = \
892 program_prefix
=${target_alias}-
896 WX_MAJOR_VERSION_NUMBER
=2
897 WX_MINOR_VERSION_NUMBER
=1
903 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
905 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
906 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
907 WX_REVISION
=$WX_INTERFACE_AGE
908 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
932 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
934 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
937 DEFAULT_wxUSE_MOTIF
=0
941 DEFAULT_DEFAULT_wxUSE_GTK
=0
942 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
943 DEFAULT_DEFAULT_wxUSE_MSW
=0
944 DEFAULT_DEFAULT_wxUSE_WINE
=0
949 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
950 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
951 cat >> confdefs.h
<<\EOF
958 cat >> confdefs.h
<<\EOF
963 if test "x$TMP" = "xalpha"; then
965 cat >> confdefs.h
<<\EOF
970 DEFAULT_DEFAULT_wxUSE_GTK
=1
972 *-*-irix5* | *-*-irix6* )
975 cat >> confdefs.h
<<\EOF
979 cat >> confdefs.h
<<\EOF
983 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
989 cat >> confdefs.h
<<\EOF
993 cat >> confdefs.h
<<\EOF
994 #define __SOLARIS__ 1
997 cat >> confdefs.h
<<\EOF
1001 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1002 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1008 cat >> confdefs.h
<<\EOF
1012 cat >> confdefs.h
<<\EOF
1016 cat >> confdefs.h
<<\EOF
1020 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1022 *-*-freebsd* | *-*-netbsd*)
1025 cat >> confdefs.h
<<\EOF
1026 #define __FREEBSD__ 1
1029 cat >> confdefs.h
<<\EOF
1033 DEFAULT_DEFAULT_wxUSE_GTK
=1
1038 cat >> confdefs.h
<<\EOF
1042 cat >> confdefs.h
<<\EOF
1046 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1051 cat >> confdefs.h
<<\EOF
1055 cat >> confdefs.h
<<\EOF
1059 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1064 cat >> confdefs.h
<<\EOF
1068 cat >> confdefs.h
<<\EOF
1072 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1078 cat >> confdefs.h
<<\EOF
1082 cat >> confdefs.h
<<\EOF
1086 cat >> confdefs.h
<<\EOF
1090 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1093 *-*-cygwin32* | *-*-mingw32* )
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1105 #define __WINDOWS__ 1
1108 cat >> confdefs.h
<<\EOF
1109 #define __GNUWIN32__ 1
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1117 #define WINVER 0x0400
1120 DEFAULT_DEFAULT_wxUSE_MSW
=1
1124 cat >> confdefs.h
<<\EOF
1131 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1134 if test "$USE_UNIX" = 1 ; then
1136 cat >> confdefs.h
<<\EOF
1140 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1141 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1144 if test "$USE_LINUX" = 1; then
1145 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1146 echo "configure:1147: checking for gettext in -lc" >&5
1147 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1149 echo $ac_n "(cached) $ac_c" 1>&6
1151 ac_save_LIBS
="$LIBS"
1153 cat > conftest.
$ac_ext <<EOF
1154 #line 1155 "configure"
1155 #include "confdefs.h"
1156 /* Override any gcc2 internal prototype to avoid an error. */
1157 /* We use char because int might match the return type of a gcc2
1158 builtin and then its argument prototype would still apply. */
1165 if { (eval echo configure
:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1167 eval "ac_cv_lib_$ac_lib_var=yes"
1169 echo "configure: failed program was:" >&5
1170 cat conftest.
$ac_ext >&5
1172 eval "ac_cv_lib_$ac_lib_var=no"
1175 LIBS
="$ac_save_LIBS"
1178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1179 echo "$ac_t""yes" 1>&6
1180 cat >> confdefs.h
<<\EOF
1181 #define wxHAVE_GLIBC2 1
1185 echo "$ac_t""no" 1>&6
1193 wx_arg_cache_file
="configarg.cache"
1194 echo "loading argument cache $wx_arg_cache_file"
1195 rm -f ${wx_arg_cache_file}.tmp
1196 touch ${wx_arg_cache_file}.tmp
1197 touch ${wx_arg_cache_file}
1201 if test $DEBUG_CONFIGURE = 1; then
1202 DEFAULT_wxUSE_THREADS
=yes
1204 DEFAULT_wxUSE_SHARED
=yes
1205 DEFAULT_wxUSE_OPTIMISE
=yes
1206 DEFAULT_wxUSE_PROFILE
=no
1207 DEFAULT_wxUSE_NO_DEPS
=no
1208 DEFAULT_wxUSE_NO_RTTI
=no
1209 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1210 DEFAULT_wxUSE_PERMISSIVE
=no
1211 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1212 DEFAULT_wxUSE_DEBUG_INFO
=yes
1213 DEFAULT_wxUSE_DEBUG_GDB
=yes
1214 DEFAULT_wxUSE_MEM_TRACING
=no
1215 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1216 DEFAULT_wxUSE_DMALLOC
=no
1217 DEFAULT_wxUSE_APPLE_IEEE
=no
1219 DEFAULT_wxUSE_LOG
=yes
1221 DEFAULT_wxUSE_GUI
=yes
1223 DEFAULT_wxUSE_ZLIB
=no
1224 DEFAULT_wxUSE_LIBPNG
=no
1225 DEFAULT_wxUSE_LIBJPEG
=no
1226 DEFAULT_wxUSE_LIBTIFF
=no
1227 DEFAULT_wxUSE_ODBC
=no
1229 DEFAULT_wxUSE_STD_IOSTREAM
=no
1230 DEFAULT_wxUSE_FILE
=no
1231 DEFAULT_wxUSE_TEXTFILE
=no
1232 DEFAULT_wxUSE_TIMEDATE
=no
1233 DEFAULT_wxUSE_WAVE
=no
1234 DEFAULT_wxUSE_INTL
=no
1235 DEFAULT_wxUSE_CONFIG
=no
1236 DEFAULT_wxUSE_STREAMS
=no
1237 DEFAULT_wxUSE_SOCKETS
=no
1238 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1239 DEFAULT_wxUSE_SERIAL
=no
1240 DEFAULT_wxUSE_JOYSTICK
=no
1241 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1242 DEFAULT_wxUSE_LONGLONG
=no
1244 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1245 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1246 DEFAULT_wxUSE_POSTSCRIPT
=no
1248 DEFAULT_wxUSE_X_RESOURCES
=no
1249 DEFAULT_wxUSE_CLIPBOARD
=no
1250 DEFAULT_wxUSE_TOOLTIPS
=no
1251 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1252 DEFAULT_wxUSE_SPLINES
=no
1254 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1255 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1256 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1258 DEFAULT_wxUSE_PROLOGIO
=no
1259 DEFAULT_wxUSE_RESOURCES
=no
1260 DEFAULT_wxUSE_CONSTRAINTS
=no
1261 DEFAULT_wxUSE_IPC
=no
1262 DEFAULT_wxUSE_HELP
=no
1263 DEFAULT_wxUSE_WXTREE
=no
1264 DEFAULT_wxUSE_METAFILE
=no
1266 DEFAULT_wxUSE_COMMONDLGS
=no
1267 DEFAULT_wxUSE_DIRDLG
=no
1268 DEFAULT_wxUSE_TEXTDLG
=no
1269 DEFAULT_wxUSE_STARTUP_TIPS
=no
1270 DEFAULT_wxUSE_PROGRESSDLG
=no
1271 DEFAULT_wxUSE_MINIFRAME
=no
1272 DEFAULT_wxUSE_HTML
=no
1273 DEFAULT_wxUSE_FS_INET
=no
1274 DEFAULT_wxUSE_FS_ZIP
=no
1275 DEFAULT_wxUSE_BUSYINFO
=no
1276 DEFAULT_wxUSE_ZIPSTREAM
=no
1277 DEFAULT_wxUSE_VALIDATORS
=yes
1279 DEFAULT_wxUSE_ACCEL
=no
1280 DEFAULT_wxUSE_CARET
=no
1281 DEFAULT_wxUSE_BMPBUTTON
=no
1282 DEFAULT_wxUSE_CHECKBOX
=no
1283 DEFAULT_wxUSE_CHECKLST
=no
1284 DEFAULT_wxUSE_CHOICE
=yes
1285 DEFAULT_wxUSE_COMBOBOX
=no
1286 DEFAULT_wxUSE_GAUGE
=no
1287 DEFAULT_wxUSE_GRID
=no
1288 DEFAULT_wxUSE_NEW_GRID
=no
1289 DEFAULT_wxUSE_IMAGLIST
=no
1290 DEFAULT_wxUSE_LISTBOX
=no
1291 DEFAULT_wxUSE_LISTCTRL
=no
1292 DEFAULT_wxUSE_NOTEBOOK
=no
1293 DEFAULT_wxUSE_RADIOBOX
=no
1294 DEFAULT_wxUSE_RADIOBTN
=no
1295 DEFAULT_wxUSE_SASH
=no
1296 DEFAULT_wxUSE_SCROLLBAR
=no
1297 DEFAULT_wxUSE_SLIDER
=no
1298 DEFAULT_wxUSE_SPINBTN
=no
1299 DEFAULT_wxUSE_SPINCTRL
=no
1300 DEFAULT_wxUSE_SPLITTER
=no
1301 DEFAULT_wxUSE_STATBMP
=no
1302 DEFAULT_wxUSE_STATBOX
=no
1303 DEFAULT_wxUSE_STATLINE
=no
1304 DEFAULT_wxUSE_STATUSBAR
=yes
1305 DEFAULT_wxUSE_TABDIALOG
=no
1306 DEFAULT_wxUSE_TOOLBAR
=no
1307 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1308 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1309 DEFAULT_wxUSE_TREECTRL
=no
1311 DEFAULT_wxUSE_UNICODE
=no
1312 DEFAULT_wxUSE_WCSRTOMBS
=no
1314 DEFAULT_wxUSE_GIF
=no
1315 DEFAULT_wxUSE_PCX
=no
1316 DEFAULT_wxUSE_PNM
=no
1318 DEFAULT_wxUSE_THREADS
=yes
1320 DEFAULT_wxUSE_SHARED
=yes
1321 DEFAULT_wxUSE_OPTIMISE
=yes
1322 DEFAULT_wxUSE_PROFILE
=no
1323 DEFAULT_wxUSE_NO_DEPS
=no
1324 DEFAULT_wxUSE_NO_RTTI
=no
1325 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1326 DEFAULT_wxUSE_PERMISSIVE
=no
1327 DEFAULT_wxUSE_DEBUG_FLAG
=no
1328 DEFAULT_wxUSE_DEBUG_INFO
=no
1329 DEFAULT_wxUSE_DEBUG_GDB
=no
1330 DEFAULT_wxUSE_MEM_TRACING
=no
1331 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1332 DEFAULT_wxUSE_DMALLOC
=no
1333 DEFAULT_wxUSE_APPLE_IEEE
=yes
1335 DEFAULT_wxUSE_LOG
=yes
1337 DEFAULT_wxUSE_GUI
=yes
1339 DEFAULT_wxUSE_ZLIB
=yes
1340 DEFAULT_wxUSE_LIBPNG
=yes
1341 DEFAULT_wxUSE_LIBJPEG
=yes
1342 DEFAULT_wxUSE_LIBTIFF
=yes
1343 DEFAULT_wxUSE_ODBC
=yes
1345 DEFAULT_wxUSE_STD_IOSTREAM
=no
1346 DEFAULT_wxUSE_FILE
=yes
1347 DEFAULT_wxUSE_TEXTFILE
=yes
1348 DEFAULT_wxUSE_TIMEDATE
=yes
1349 DEFAULT_wxUSE_WAVE
=no
1350 DEFAULT_wxUSE_INTL
=yes
1351 DEFAULT_wxUSE_CONFIG
=yes
1352 DEFAULT_wxUSE_STREAMS
=yes
1353 DEFAULT_wxUSE_SOCKETS
=yes
1354 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1355 DEFAULT_wxUSE_SERIAL
=yes
1356 DEFAULT_wxUSE_JOYSTICK
=yes
1357 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1358 DEFAULT_wxUSE_LONGLONG
=yes
1360 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1361 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1362 DEFAULT_wxUSE_POSTSCRIPT
=yes
1364 DEFAULT_wxUSE_X_RESOURCES
=no
1365 DEFAULT_wxUSE_CLIPBOARD
=yes
1366 DEFAULT_wxUSE_TOOLTIPS
=yes
1367 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1368 DEFAULT_wxUSE_SPLINES
=yes
1370 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1371 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1372 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1374 DEFAULT_wxUSE_PROLOGIO
=yes
1375 DEFAULT_wxUSE_RESOURCES
=yes
1376 DEFAULT_wxUSE_CONSTRAINTS
=yes
1377 DEFAULT_wxUSE_IPC
=yes
1378 DEFAULT_wxUSE_HELP
=yes
1379 DEFAULT_wxUSE_WXTREE
=yes
1380 DEFAULT_wxUSE_METAFILE
=yes
1382 DEFAULT_wxUSE_COMMONDLGS
=yes
1383 DEFAULT_wxUSE_DIRDLG
=yes
1384 DEFAULT_wxUSE_TEXTDLG
=yes
1385 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1386 DEFAULT_wxUSE_PROGRESSDLG
=yes
1387 DEFAULT_wxUSE_MINIFRAME
=yes
1388 DEFAULT_wxUSE_HTML
=yes
1389 DEFAULT_wxUSE_FS_INET
=yes
1390 DEFAULT_wxUSE_FS_ZIP
=yes
1391 DEFAULT_wxUSE_BUSYINFO
=yes
1392 DEFAULT_wxUSE_ZIPSTREAM
=yes
1393 DEFAULT_wxUSE_VALIDATORS
=yes
1395 DEFAULT_wxUSE_ACCEL
=yes
1396 DEFAULT_wxUSE_CARET
=yes
1397 DEFAULT_wxUSE_BMPBUTTON
=yes
1398 DEFAULT_wxUSE_CHECKBOX
=yes
1399 DEFAULT_wxUSE_CHECKLST
=yes
1400 DEFAULT_wxUSE_CHOICE
=yes
1401 DEFAULT_wxUSE_COMBOBOX
=yes
1402 DEFAULT_wxUSE_GAUGE
=yes
1403 DEFAULT_wxUSE_GRID
=yes
1404 DEFAULT_wxUSE_NEW_GRID
=no
1405 DEFAULT_wxUSE_IMAGLIST
=yes
1406 DEFAULT_wxUSE_LISTBOX
=yes
1407 DEFAULT_wxUSE_LISTCTRL
=yes
1408 DEFAULT_wxUSE_NOTEBOOK
=yes
1409 DEFAULT_wxUSE_RADIOBOX
=yes
1410 DEFAULT_wxUSE_RADIOBTN
=yes
1411 DEFAULT_wxUSE_SASH
=yes
1412 DEFAULT_wxUSE_SCROLLBAR
=yes
1413 DEFAULT_wxUSE_SLIDER
=yes
1414 DEFAULT_wxUSE_SPINBTN
=yes
1415 DEFAULT_wxUSE_SPINCTRL
=yes
1416 DEFAULT_wxUSE_SPLITTER
=yes
1417 DEFAULT_wxUSE_STATBMP
=yes
1418 DEFAULT_wxUSE_STATBOX
=yes
1419 DEFAULT_wxUSE_STATLINE
=yes
1420 DEFAULT_wxUSE_STATUSBAR
=yes
1421 DEFAULT_wxUSE_TABDIALOG
=no
1422 DEFAULT_wxUSE_TOOLBAR
=yes
1423 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1424 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1425 DEFAULT_wxUSE_TREECTRL
=yes
1427 DEFAULT_wxUSE_UNICODE
=no
1428 DEFAULT_wxUSE_WCSRTOMBS
=no
1430 DEFAULT_wxUSE_GIF
=yes
1431 DEFAULT_wxUSE_PCX
=yes
1432 DEFAULT_wxUSE_PNM
=yes
1437 for toolkit
in `echo $ALL_TOOLKITS`; do
1438 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1439 if test "x$LINE" != x
; then
1440 has_toolkit_in_cache
=1
1441 eval "DEFAULT_$LINE"
1442 eval "CACHE_$toolkit=1"
1448 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1449 echo "configure:1450: checking "for --enable-gui"" >&5
1451 # Check whether --enable-gui or --disable-gui was given.
1452 if test "${enable_gui+set}" = set; then
1453 enableval
="$enable_gui"
1455 if test "$enableval" = yes; then
1456 ac_cv_use_gui
='wxUSE_GUI=yes'
1458 ac_cv_use_gui
='wxUSE_GUI=no'
1463 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1464 if test "x$LINE" != x
; then
1465 eval "DEFAULT_$LINE"
1470 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1475 eval "$ac_cv_use_gui"
1476 if test "$no_cache" != 1; then
1477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1480 if test "$wxUSE_GUI" = yes; then
1481 echo "$ac_t""yes" 1>&6
1483 echo "$ac_t""no" 1>&6
1487 if test "$wxUSE_GUI" = "no"; then
1488 DEFAULT_wxUSE_ZLIB
=no
1489 DEFAULT_wxUSE_LIBPNG
=no
1490 DEFAULT_wxUSE_LIBJPEG
=no
1491 DEFAULT_wxUSE_LIBTIFF
=no
1492 DEFAULT_wxUSE_SOCKETS
=no
1493 DEFAULT_wxUSE_JOYSTICK
=no
1494 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1495 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1496 DEFAULT_wxUSE_POSTSCRIPT
=no
1497 DEFAULT_wxUSE_X_RESOURCES
=no
1498 DEFAULT_wxUSE_CLIPBOARD
=no
1499 DEFAULT_wxUSE_TOOLTIPS
=no
1500 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1501 DEFAULT_wxUSE_SPLINES
=no
1502 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1503 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1504 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1505 DEFAULT_wxUSE_PROLOGIO
=no
1506 DEFAULT_wxUSE_RESOURCES
=no
1507 DEFAULT_wxUSE_CONSTRAINTS
=no
1508 DEFAULT_wxUSE_IPC
=no
1509 DEFAULT_wxUSE_HELP
=no
1510 DEFAULT_wxUSE_WXTREE
=no
1511 DEFAULT_wxUSE_METAFILE
=no
1512 DEFAULT_wxUSE_COMMONDLGS
=no
1513 DEFAULT_wxUSE_DIRDLG
=no
1514 DEFAULT_wxUSE_TEXTDLG
=no
1515 DEFAULT_wxUSE_STARTUP_TIPS
=no
1516 DEFAULT_wxUSE_PROGRESSDLG
=no
1517 DEFAULT_wxUSE_MINIFRAME
=no
1518 DEFAULT_wxUSE_HTML
=no
1519 DEFAULT_wxUSE_FS_INET
=no
1520 DEFAULT_wxUSE_FS_ZIP
=no
1521 DEFAULT_wxUSE_BUSYINFO
=no
1522 DEFAULT_wxUSE_ZIPSTREAM
=no
1523 DEFAULT_wxUSE_VALIDATORS
=no
1524 DEFAULT_wxUSE_ACCEL
=no
1525 DEFAULT_wxUSE_CARET
=no
1526 DEFAULT_wxUSE_BMPBUTTON
=no
1527 DEFAULT_wxUSE_CHECKBOX
=no
1528 DEFAULT_wxUSE_CHECKLST
=no
1529 DEFAULT_wxUSE_CHOICE
=no
1530 DEFAULT_wxUSE_COMBOBOX
=no
1531 DEFAULT_wxUSE_GAUGE
=no
1532 DEFAULT_wxUSE_GRID
=no
1533 DEFAULT_wxUSE_NEW_GRID
=no
1534 DEFAULT_wxUSE_IMAGLIST
=no
1535 DEFAULT_wxUSE_LISTBOX
=no
1536 DEFAULT_wxUSE_LISTCTRL
=no
1537 DEFAULT_wxUSE_NOTEBOOK
=no
1538 DEFAULT_wxUSE_RADIOBOX
=no
1539 DEFAULT_wxUSE_RADIOBTN
=no
1540 DEFAULT_wxUSE_SASH
=no
1541 DEFAULT_wxUSE_SCROLLBAR
=no
1542 DEFAULT_wxUSE_SLIDER
=no
1543 DEFAULT_wxUSE_SPINBTN
=no
1544 DEFAULT_wxUSE_SPINCTRL
=no
1545 DEFAULT_wxUSE_SPLITTER
=no
1546 DEFAULT_wxUSE_STATBMP
=no
1547 DEFAULT_wxUSE_STATBOX
=no
1548 DEFAULT_wxUSE_STATLINE
=no
1549 DEFAULT_wxUSE_STATUSBAR
=no
1550 DEFAULT_wxUSE_TABDIALOG
=no
1551 DEFAULT_wxUSE_TOOLBAR
=no
1552 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1553 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1554 DEFAULT_wxUSE_TREECTRL
=no
1555 DEFAULT_wxUSE_GIF
=no
1556 DEFAULT_wxUSE_PCX
=no
1557 DEFAULT_wxUSE_PNM
=no
1560 # Check whether --with-gtk or --without-gtk was given.
1561 if test "${with_gtk+set}" = set; then
1563 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1566 # Check whether --with-motif or --without-motif was given.
1567 if test "${with_motif+set}" = set; then
1568 withval
="$with_motif"
1569 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1572 # Check whether --with-wine or --without-wine was given.
1573 if test "${with_wine+set}" = set; then
1574 withval
="$with_wine"
1575 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1578 # Check whether --with-cygwin or --without-cygwin was given.
1579 if test "${with_cygwin+set}" = set; then
1580 withval
="$with_cygwin"
1581 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1584 # Check whether --with-mingw or --without-mingw was given.
1585 if test "${with_mingw+set}" = set; then
1586 withval
="$with_mingw"
1587 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1591 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1592 if test "${with_gtk_prefix+set}" = set; then
1593 withval
="$with_gtk_prefix"
1594 gtk_config_prefix
="$withval"
1596 gtk_config_prefix
=""
1599 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1600 if test "${with_gtk_exec_prefix+set}" = set; then
1601 withval
="$with_gtk_exec_prefix"
1602 gtk_config_exec_prefix
="$withval"
1604 gtk_config_exec_prefix
=""
1609 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1610 echo "configure:1611: checking "for --with-dmalloc"" >&5
1612 # Check whether --with-dmalloc or --without-dmalloc was given.
1613 if test "${with_dmalloc+set}" = set; then
1614 withval
="$with_dmalloc"
1616 if test "$withval" = yes; then
1617 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1619 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1624 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1625 if test "x$LINE" != x
; then
1626 eval "DEFAULT_$LINE"
1631 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1636 eval "$ac_cv_use_dmalloc"
1637 if test "$no_cache" != 1; then
1638 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1641 if test "$wxUSE_DMALLOC" = yes; then
1642 echo "$ac_t""yes" 1>&6
1644 echo "$ac_t""no" 1>&6
1648 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1649 echo "configure:1650: checking "for --with-zlib"" >&5
1651 # Check whether --with-zlib or --without-zlib was given.
1652 if test "${with_zlib+set}" = set; then
1653 withval
="$with_zlib"
1655 if test "$withval" = yes; then
1656 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1658 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1663 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1664 if test "x$LINE" != x
; then
1665 eval "DEFAULT_$LINE"
1670 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1675 eval "$ac_cv_use_zlib"
1676 if test "$no_cache" != 1; then
1677 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1680 if test "$wxUSE_ZLIB" = yes; then
1681 echo "$ac_t""yes" 1>&6
1683 echo "$ac_t""no" 1>&6
1687 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1688 echo "configure:1689: checking "for --with-libpng"" >&5
1690 # Check whether --with-libpng or --without-libpng was given.
1691 if test "${with_libpng+set}" = set; then
1692 withval
="$with_libpng"
1694 if test "$withval" = yes; then
1695 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1697 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1702 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1703 if test "x$LINE" != x
; then
1704 eval "DEFAULT_$LINE"
1709 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1714 eval "$ac_cv_use_libpng"
1715 if test "$no_cache" != 1; then
1716 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1719 if test "$wxUSE_LIBPNG" = yes; then
1720 echo "$ac_t""yes" 1>&6
1722 echo "$ac_t""no" 1>&6
1726 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1727 echo "configure:1728: checking "for --with-libjpeg"" >&5
1729 # Check whether --with-libjpeg or --without-libjpeg was given.
1730 if test "${with_libjpeg+set}" = set; then
1731 withval
="$with_libjpeg"
1733 if test "$withval" = yes; then
1734 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1736 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1741 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1753 eval "$ac_cv_use_libjpeg"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_LIBJPEG" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1765 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1766 echo "configure:1767: checking "for --with-libtiff"" >&5
1768 # Check whether --with-libtiff or --without-libtiff was given.
1769 if test "${with_libtiff+set}" = set; then
1770 withval
="$with_libtiff"
1772 if test "$withval" = yes; then
1773 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1775 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1780 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1781 if test "x$LINE" != x
; then
1782 eval "DEFAULT_$LINE"
1787 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1792 eval "$ac_cv_use_libtiff"
1793 if test "$no_cache" != 1; then
1794 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1797 if test "$wxUSE_LIBTIFF" = yes; then
1798 echo "$ac_t""yes" 1>&6
1800 echo "$ac_t""no" 1>&6
1804 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1805 echo "configure:1806: checking "for --with-opengl"" >&5
1807 # Check whether --with-opengl or --without-opengl was given.
1808 if test "${with_opengl+set}" = set; then
1809 withval
="$with_opengl"
1811 if test "$withval" = yes; then
1812 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1814 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1819 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1820 if test "x$LINE" != x
; then
1821 eval "DEFAULT_$LINE"
1826 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1831 eval "$ac_cv_use_opengl"
1832 if test "$no_cache" != 1; then
1833 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1836 if test "$wxUSE_OPENGL" = yes; then
1837 echo "$ac_t""yes" 1>&6
1839 echo "$ac_t""no" 1>&6
1843 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1844 echo "configure:1845: checking "for --with-odbc"" >&5
1846 # Check whether --with-odbc or --without-odbc was given.
1847 if test "${with_odbc+set}" = set; then
1848 withval
="$with_odbc"
1850 if test "$withval" = yes; then
1851 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1853 ac_cv_use_odbc
='wxUSE_ODBC=no'
1858 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1859 if test "x$LINE" != x
; then
1860 eval "DEFAULT_$LINE"
1865 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1870 eval "$ac_cv_use_odbc"
1871 if test "$no_cache" != 1; then
1872 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1875 if test "$wxUSE_ODBC" = yes; then
1876 echo "$ac_t""yes" 1>&6
1878 echo "$ac_t""no" 1>&6
1885 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1886 echo "configure:1887: checking "for --enable-shared"" >&5
1888 # Check whether --enable-shared or --disable-shared was given.
1889 if test "${enable_shared+set}" = set; then
1890 enableval
="$enable_shared"
1892 if test "$enableval" = yes; then
1893 ac_cv_use_shared
='wxUSE_SHARED=yes'
1895 ac_cv_use_shared
='wxUSE_SHARED=no'
1900 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1901 if test "x$LINE" != x
; then
1902 eval "DEFAULT_$LINE"
1907 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1912 eval "$ac_cv_use_shared"
1913 if test "$no_cache" != 1; then
1914 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1917 if test "$wxUSE_SHARED" = yes; then
1918 echo "$ac_t""yes" 1>&6
1920 echo "$ac_t""no" 1>&6
1924 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1925 echo "configure:1926: checking "for --enable-optimise"" >&5
1927 # Check whether --enable-optimise or --disable-optimise was given.
1928 if test "${enable_optimise+set}" = set; then
1929 enableval
="$enable_optimise"
1931 if test "$enableval" = yes; then
1932 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1934 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1939 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1940 if test "x$LINE" != x
; then
1941 eval "DEFAULT_$LINE"
1946 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1951 eval "$ac_cv_use_optimise"
1952 if test "$no_cache" != 1; then
1953 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1956 if test "$wxUSE_OPTIMISE" = yes; then
1957 echo "$ac_t""yes" 1>&6
1959 echo "$ac_t""no" 1>&6
1963 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1964 echo "configure:1965: checking "for --enable-debug"" >&5
1966 # Check whether --enable-debug or --disable-debug was given.
1967 if test "${enable_debug+set}" = set; then
1968 enableval
="$enable_debug"
1970 if test "$enableval" = yes; then
1971 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1973 ac_cv_use_debug
='wxUSE_DEBUG=no'
1978 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1990 eval "$ac_cv_use_debug"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_DEBUG" = yes; then
1996 echo "$ac_t""yes" 1>&6
1998 echo "$ac_t""no" 1>&6
2002 if test "$wxUSE_DEBUG" = "yes"; then
2003 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2004 DEFAULT_wxUSE_DEBUG_INFO
=yes
2005 elif test "$wxUSE_DEBUG" = "no"; then
2006 DEFAULT_wxUSE_DEBUG_FLAG
=no
2007 DEFAULT_wxUSE_DEBUG_INFO
=no
2011 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2012 echo "configure:2013: checking "for --enable-debug_flag"" >&5
2014 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2015 if test "${enable_debug_flag+set}" = set; then
2016 enableval
="$enable_debug_flag"
2018 if test "$enableval" = yes; then
2019 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2021 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2026 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2027 if test "x$LINE" != x
; then
2028 eval "DEFAULT_$LINE"
2033 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2038 eval "$ac_cv_use_debug_flag"
2039 if test "$no_cache" != 1; then
2040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2043 if test "$wxUSE_DEBUG_FLAG" = yes; then
2044 echo "$ac_t""yes" 1>&6
2046 echo "$ac_t""no" 1>&6
2050 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2051 echo "configure:2052: checking "for --enable-debug_info"" >&5
2053 # Check whether --enable-debug_info or --disable-debug_info was given.
2054 if test "${enable_debug_info+set}" = set; then
2055 enableval
="$enable_debug_info"
2057 if test "$enableval" = yes; then
2058 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2060 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2065 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2066 if test "x$LINE" != x
; then
2067 eval "DEFAULT_$LINE"
2072 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2077 eval "$ac_cv_use_debug_info"
2078 if test "$no_cache" != 1; then
2079 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2082 if test "$wxUSE_DEBUG_INFO" = yes; then
2083 echo "$ac_t""yes" 1>&6
2085 echo "$ac_t""no" 1>&6
2089 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2090 echo "configure:2091: checking "for --enable-debug_gdb"" >&5
2092 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2093 if test "${enable_debug_gdb+set}" = set; then
2094 enableval
="$enable_debug_gdb"
2096 if test "$enableval" = yes; then
2097 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2099 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2104 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2105 if test "x$LINE" != x
; then
2106 eval "DEFAULT_$LINE"
2111 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2116 eval "$ac_cv_use_debug_gdb"
2117 if test "$no_cache" != 1; then
2118 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2121 if test "$wxUSE_DEBUG_GDB" = yes; then
2122 echo "$ac_t""yes" 1>&6
2124 echo "$ac_t""no" 1>&6
2128 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2129 echo "configure:2130: checking "for --enable-debug_cntxt"" >&5
2131 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2132 if test "${enable_debug_cntxt+set}" = set; then
2133 enableval
="$enable_debug_cntxt"
2135 if test "$enableval" = yes; then
2136 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2138 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2143 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x
; then
2145 eval "DEFAULT_$LINE"
2150 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2155 eval "$ac_cv_use_debug_cntxt"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2161 echo "$ac_t""yes" 1>&6
2163 echo "$ac_t""no" 1>&6
2167 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2168 echo "configure:2169: checking "for --enable-mem_tracing"" >&5
2170 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2171 if test "${enable_mem_tracing+set}" = set; then
2172 enableval
="$enable_mem_tracing"
2174 if test "$enableval" = yes; then
2175 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2177 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2182 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2183 if test "x$LINE" != x
; then
2184 eval "DEFAULT_$LINE"
2189 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2194 eval "$ac_cv_use_mem_tracing"
2195 if test "$no_cache" != 1; then
2196 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2199 if test "$wxUSE_MEM_TRACING" = yes; then
2200 echo "$ac_t""yes" 1>&6
2202 echo "$ac_t""no" 1>&6
2206 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2207 echo "configure:2208: checking "for --enable-profile"" >&5
2209 # Check whether --enable-profile or --disable-profile was given.
2210 if test "${enable_profile+set}" = set; then
2211 enableval
="$enable_profile"
2213 if test "$enableval" = yes; then
2214 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2216 ac_cv_use_profile
='wxUSE_PROFILE=no'
2221 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2222 if test "x$LINE" != x
; then
2223 eval "DEFAULT_$LINE"
2228 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2233 eval "$ac_cv_use_profile"
2234 if test "$no_cache" != 1; then
2235 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2238 if test "$wxUSE_PROFILE" = yes; then
2239 echo "$ac_t""yes" 1>&6
2241 echo "$ac_t""no" 1>&6
2245 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2246 echo "configure:2247: checking "for --enable-no_rtti"" >&5
2248 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2249 if test "${enable_no_rtti+set}" = set; then
2250 enableval
="$enable_no_rtti"
2252 if test "$enableval" = yes; then
2253 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2255 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2260 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2261 if test "x$LINE" != x
; then
2262 eval "DEFAULT_$LINE"
2267 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2272 eval "$ac_cv_use_no_rtti"
2273 if test "$no_cache" != 1; then
2274 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2277 if test "$wxUSE_NO_RTTI" = yes; then
2278 echo "$ac_t""yes" 1>&6
2280 echo "$ac_t""no" 1>&6
2284 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2285 echo "configure:2286: checking "for --enable-no_exceptions"" >&5
2287 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2288 if test "${enable_no_exceptions+set}" = set; then
2289 enableval
="$enable_no_exceptions"
2291 if test "$enableval" = yes; then
2292 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2294 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2299 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2300 if test "x$LINE" != x
; then
2301 eval "DEFAULT_$LINE"
2306 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2311 eval "$ac_cv_use_no_exceptions"
2312 if test "$no_cache" != 1; then
2313 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2316 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2317 echo "$ac_t""yes" 1>&6
2319 echo "$ac_t""no" 1>&6
2323 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2324 echo "configure:2325: checking "for --enable-permissive"" >&5
2326 # Check whether --enable-permissive or --disable-permissive was given.
2327 if test "${enable_permissive+set}" = set; then
2328 enableval
="$enable_permissive"
2330 if test "$enableval" = yes; then
2331 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2333 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2338 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2339 if test "x$LINE" != x
; then
2340 eval "DEFAULT_$LINE"
2345 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2350 eval "$ac_cv_use_permissive"
2351 if test "$no_cache" != 1; then
2352 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2355 if test "$wxUSE_PERMISSIVE" = yes; then
2356 echo "$ac_t""yes" 1>&6
2358 echo "$ac_t""no" 1>&6
2362 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2363 echo "configure:2364: checking "for --enable-no_deps"" >&5
2365 # Check whether --enable-no_deps or --disable-no_deps was given.
2366 if test "${enable_no_deps+set}" = set; then
2367 enableval
="$enable_no_deps"
2369 if test "$enableval" = yes; then
2370 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2372 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2377 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2378 if test "x$LINE" != x
; then
2379 eval "DEFAULT_$LINE"
2384 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2389 eval "$ac_cv_use_no_deps"
2390 if test "$no_cache" != 1; then
2391 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2394 if test "$wxUSE_NO_DEPS" = yes; then
2395 echo "$ac_t""yes" 1>&6
2397 echo "$ac_t""no" 1>&6
2403 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2404 echo "configure:2405: checking "for --enable-intl"" >&5
2406 # Check whether --enable-intl or --disable-intl was given.
2407 if test "${enable_intl+set}" = set; then
2408 enableval
="$enable_intl"
2410 if test "$enableval" = yes; then
2411 ac_cv_use_intl
='wxUSE_INTL=yes'
2413 ac_cv_use_intl
='wxUSE_INTL=no'
2418 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2419 if test "x$LINE" != x
; then
2420 eval "DEFAULT_$LINE"
2425 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2430 eval "$ac_cv_use_intl"
2431 if test "$no_cache" != 1; then
2432 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2435 if test "$wxUSE_INTL" = yes; then
2436 echo "$ac_t""yes" 1>&6
2438 echo "$ac_t""no" 1>&6
2442 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2443 echo "configure:2444: checking "for --enable-config"" >&5
2445 # Check whether --enable-config or --disable-config was given.
2446 if test "${enable_config+set}" = set; then
2447 enableval
="$enable_config"
2449 if test "$enableval" = yes; then
2450 ac_cv_use_config
='wxUSE_CONFIG=yes'
2452 ac_cv_use_config
='wxUSE_CONFIG=no'
2457 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2458 if test "x$LINE" != x
; then
2459 eval "DEFAULT_$LINE"
2464 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2469 eval "$ac_cv_use_config"
2470 if test "$no_cache" != 1; then
2471 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2474 if test "$wxUSE_CONFIG" = yes; then
2475 echo "$ac_t""yes" 1>&6
2477 echo "$ac_t""no" 1>&6
2481 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2482 echo "configure:2483: checking "for --enable-sockets"" >&5
2484 # Check whether --enable-sockets or --disable-sockets was given.
2485 if test "${enable_sockets+set}" = set; then
2486 enableval
="$enable_sockets"
2488 if test "$enableval" = yes; then
2489 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2491 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2496 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2497 if test "x$LINE" != x
; then
2498 eval "DEFAULT_$LINE"
2503 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2508 eval "$ac_cv_use_sockets"
2509 if test "$no_cache" != 1; then
2510 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2513 if test "$wxUSE_SOCKETS" = yes; then
2514 echo "$ac_t""yes" 1>&6
2516 echo "$ac_t""no" 1>&6
2520 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2521 echo "configure:2522: checking "for --enable-dialupman"" >&5
2523 # Check whether --enable-dialupman or --disable-dialupman was given.
2524 if test "${enable_dialupman+set}" = set; then
2525 enableval
="$enable_dialupman"
2527 if test "$enableval" = yes; then
2528 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2530 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2535 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x
; then
2537 eval "DEFAULT_$LINE"
2542 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2547 eval "$ac_cv_use_dialupman"
2548 if test "$no_cache" != 1; then
2549 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2552 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2553 echo "$ac_t""yes" 1>&6
2555 echo "$ac_t""no" 1>&6
2559 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2560 echo "configure:2561: checking "for --enable-ipc"" >&5
2562 # Check whether --enable-ipc or --disable-ipc was given.
2563 if test "${enable_ipc+set}" = set; then
2564 enableval
="$enable_ipc"
2566 if test "$enableval" = yes; then
2567 ac_cv_use_ipc
='wxUSE_IPC=yes'
2569 ac_cv_use_ipc
='wxUSE_IPC=no'
2574 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2575 if test "x$LINE" != x
; then
2576 eval "DEFAULT_$LINE"
2581 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2586 eval "$ac_cv_use_ipc"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_IPC" = yes; then
2592 echo "$ac_t""yes" 1>&6
2594 echo "$ac_t""no" 1>&6
2598 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2599 echo "configure:2600: checking "for --enable-apple_ieee"" >&5
2601 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2602 if test "${enable_apple_ieee+set}" = set; then
2603 enableval
="$enable_apple_ieee"
2605 if test "$enableval" = yes; then
2606 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2608 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2613 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2614 if test "x$LINE" != x
; then
2615 eval "DEFAULT_$LINE"
2620 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2625 eval "$ac_cv_use_apple_ieee"
2626 if test "$no_cache" != 1; then
2627 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2630 if test "$wxUSE_APPLE_IEEE" = yes; then
2631 echo "$ac_t""yes" 1>&6
2633 echo "$ac_t""no" 1>&6
2637 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2638 echo "configure:2639: checking "for --enable-timedate"" >&5
2640 # Check whether --enable-timedate or --disable-timedate was given.
2641 if test "${enable_timedate+set}" = set; then
2642 enableval
="$enable_timedate"
2644 if test "$enableval" = yes; then
2645 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2647 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2652 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2653 if test "x$LINE" != x
; then
2654 eval "DEFAULT_$LINE"
2659 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2664 eval "$ac_cv_use_timedate"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2669 if test "$wxUSE_TIMEDATE" = yes; then
2670 echo "$ac_t""yes" 1>&6
2672 echo "$ac_t""no" 1>&6
2676 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2677 echo "configure:2678: checking "for --enable-wave"" >&5
2679 # Check whether --enable-wave or --disable-wave was given.
2680 if test "${enable_wave+set}" = set; then
2681 enableval
="$enable_wave"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_wave
='wxUSE_WAVE=yes'
2686 ac_cv_use_wave
='wxUSE_WAVE=no'
2691 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2703 eval "$ac_cv_use_wave"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2708 if test "$wxUSE_WAVE" = yes; then
2709 echo "$ac_t""yes" 1>&6
2711 echo "$ac_t""no" 1>&6
2715 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2716 echo "configure:2717: checking "for --enable-fraction"" >&5
2718 # Check whether --enable-fraction or --disable-fraction was given.
2719 if test "${enable_fraction+set}" = set; then
2720 enableval
="$enable_fraction"
2722 if test "$enableval" = yes; then
2723 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2725 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2730 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x
; then
2732 eval "DEFAULT_$LINE"
2737 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2742 eval "$ac_cv_use_fraction"
2743 if test "$no_cache" != 1; then
2744 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2747 if test "$wxUSE_FRACTION" = yes; then
2748 echo "$ac_t""yes" 1>&6
2750 echo "$ac_t""no" 1>&6
2754 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2755 echo "configure:2756: checking "for --enable-dynlib"" >&5
2757 # Check whether --enable-dynlib or --disable-dynlib was given.
2758 if test "${enable_dynlib+set}" = set; then
2759 enableval
="$enable_dynlib"
2761 if test "$enableval" = yes; then
2762 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2764 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2769 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x
; then
2771 eval "DEFAULT_$LINE"
2776 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2781 eval "$ac_cv_use_dynlib"
2782 if test "$no_cache" != 1; then
2783 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2786 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2787 echo "$ac_t""yes" 1>&6
2789 echo "$ac_t""no" 1>&6
2793 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2794 echo "configure:2795: checking "for --enable-longlong"" >&5
2796 # Check whether --enable-longlong or --disable-longlong was given.
2797 if test "${enable_longlong+set}" = set; then
2798 enableval
="$enable_longlong"
2800 if test "$enableval" = yes; then
2801 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2803 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2808 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2809 if test "x$LINE" != x
; then
2810 eval "DEFAULT_$LINE"
2815 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2820 eval "$ac_cv_use_longlong"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2825 if test "$wxUSE_LONGLONG" = yes; then
2826 echo "$ac_t""yes" 1>&6
2828 echo "$ac_t""no" 1>&6
2832 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2833 echo "configure:2834: checking "for --enable-log"" >&5
2835 # Check whether --enable-log or --disable-log was given.
2836 if test "${enable_log+set}" = set; then
2837 enableval
="$enable_log"
2839 if test "$enableval" = yes; then
2840 ac_cv_use_log
='wxUSE_LOG=yes'
2842 ac_cv_use_log
='wxUSE_LOG=no'
2847 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x
; then
2849 eval "DEFAULT_$LINE"
2854 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2859 eval "$ac_cv_use_log"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2864 if test "$wxUSE_LOG" = yes; then
2865 echo "$ac_t""yes" 1>&6
2867 echo "$ac_t""no" 1>&6
2871 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2872 echo "configure:2873: checking "for --enable-streams"" >&5
2874 # Check whether --enable-streams or --disable-streams was given.
2875 if test "${enable_streams+set}" = set; then
2876 enableval
="$enable_streams"
2878 if test "$enableval" = yes; then
2879 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2881 ac_cv_use_streams
='wxUSE_STREAMS=no'
2886 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2887 if test "x$LINE" != x
; then
2888 eval "DEFAULT_$LINE"
2893 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2898 eval "$ac_cv_use_streams"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_STREAMS" = yes; then
2904 echo "$ac_t""yes" 1>&6
2906 echo "$ac_t""no" 1>&6
2910 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2911 echo "configure:2912: checking "for --enable-file"" >&5
2913 # Check whether --enable-file or --disable-file was given.
2914 if test "${enable_file+set}" = set; then
2915 enableval
="$enable_file"
2917 if test "$enableval" = yes; then
2918 ac_cv_use_file
='wxUSE_FILE=yes'
2920 ac_cv_use_file
='wxUSE_FILE=no'
2925 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2937 eval "$ac_cv_use_file"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2942 if test "$wxUSE_FILE" = yes; then
2943 echo "$ac_t""yes" 1>&6
2945 echo "$ac_t""no" 1>&6
2949 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2950 echo "configure:2951: checking "for --enable-textfile"" >&5
2952 # Check whether --enable-textfile or --disable-textfile was given.
2953 if test "${enable_textfile+set}" = set; then
2954 enableval
="$enable_textfile"
2956 if test "$enableval" = yes; then
2957 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2959 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2964 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x
; then
2966 eval "DEFAULT_$LINE"
2971 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2976 eval "$ac_cv_use_textfile"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2981 if test "$wxUSE_TEXTFILE" = yes; then
2982 echo "$ac_t""yes" 1>&6
2984 echo "$ac_t""no" 1>&6
2988 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2989 echo "configure:2990: checking "for --enable-unicode"" >&5
2991 # Check whether --enable-unicode or --disable-unicode was given.
2992 if test "${enable_unicode+set}" = set; then
2993 enableval
="$enable_unicode"
2995 if test "$enableval" = yes; then
2996 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2998 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3003 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x
; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3015 eval "$ac_cv_use_unicode"
3016 if test "$no_cache" != 1; then
3017 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3020 if test "$wxUSE_UNICODE" = yes; then
3021 echo "$ac_t""yes" 1>&6
3023 echo "$ac_t""no" 1>&6
3027 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3028 echo "configure:3029: checking "for --enable-wcsrtombs"" >&5
3030 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3031 if test "${enable_wcsrtombs+set}" = set; then
3032 enableval
="$enable_wcsrtombs"
3034 if test "$enableval" = yes; then
3035 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3037 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3042 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x
; then
3044 eval "DEFAULT_$LINE"
3049 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3054 eval "$ac_cv_use_wcsrtombs"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3059 if test "$wxUSE_WCSRTOMBS" = yes; then
3060 echo "$ac_t""yes" 1>&6
3062 echo "$ac_t""no" 1>&6
3066 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3067 echo "configure:3068: checking "for --enable-wxprintfv"" >&5
3069 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3070 if test "${enable_wxprintfv+set}" = set; then
3071 enableval
="$enable_wxprintfv"
3073 if test "$enableval" = yes; then
3074 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3076 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3081 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3082 if test "x$LINE" != x
; then
3083 eval "DEFAULT_$LINE"
3088 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3093 eval "$ac_cv_use_wxprintfv"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3098 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3099 echo "$ac_t""yes" 1>&6
3101 echo "$ac_t""no" 1>&6
3105 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3106 echo "configure:3107: checking "for --enable-joystick"" >&5
3108 # Check whether --enable-joystick or --disable-joystick was given.
3109 if test "${enable_joystick+set}" = set; then
3110 enableval
="$enable_joystick"
3112 if test "$enableval" = yes; then
3113 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3115 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3120 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3132 eval "$ac_cv_use_joystick"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_JOYSTICK" = yes; then
3138 echo "$ac_t""yes" 1>&6
3140 echo "$ac_t""no" 1>&6
3144 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3145 echo "configure:3146: checking "for --enable-std_iostreams"" >&5
3147 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3148 if test "${enable_std_iostreams+set}" = set; then
3149 enableval
="$enable_std_iostreams"
3151 if test "$enableval" = yes; then
3152 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3154 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3159 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x
; then
3161 eval "DEFAULT_$LINE"
3166 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3171 eval "$ac_cv_use_std_iostreams"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_STD_IOSTREAM" = yes; then
3177 echo "$ac_t""yes" 1>&6
3179 echo "$ac_t""no" 1>&6
3183 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3184 echo "configure:3185: checking "for --enable-fs_inet"" >&5
3186 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3187 if test "${enable_fs_inet+set}" = set; then
3188 enableval
="$enable_fs_inet"
3190 if test "$enableval" = yes; then
3191 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3193 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3198 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x
; then
3200 eval "DEFAULT_$LINE"
3205 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3210 eval "$ac_cv_use_fs_inet"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_FS_INET" = yes; then
3216 echo "$ac_t""yes" 1>&6
3218 echo "$ac_t""no" 1>&6
3222 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3223 echo "configure:3224: checking "for --enable-fs_zip"" >&5
3225 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3226 if test "${enable_fs_zip+set}" = set; then
3227 enableval
="$enable_fs_zip"
3229 if test "$enableval" = yes; then
3230 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3232 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3237 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x
; then
3239 eval "DEFAULT_$LINE"
3244 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3249 eval "$ac_cv_use_fs_zip"
3250 if test "$no_cache" != 1; then
3251 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3254 if test "$wxUSE_FS_ZIP" = yes; then
3255 echo "$ac_t""yes" 1>&6
3257 echo "$ac_t""no" 1>&6
3261 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3262 echo "configure:3263: checking "for --enable-zipstream"" >&5
3264 # Check whether --enable-zipstream or --disable-zipstream was given.
3265 if test "${enable_zipstream+set}" = set; then
3266 enableval
="$enable_zipstream"
3268 if test "$enableval" = yes; then
3269 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3271 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3276 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3277 if test "x$LINE" != x
; then
3278 eval "DEFAULT_$LINE"
3283 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3288 eval "$ac_cv_use_zipstream"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_ZIPSTREAM" = yes; then
3294 echo "$ac_t""yes" 1>&6
3296 echo "$ac_t""no" 1>&6
3302 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3303 echo "configure:3304: checking "for --enable-threads"" >&5
3305 # Check whether --enable-threads or --disable-threads was given.
3306 if test "${enable_threads+set}" = set; then
3307 enableval
="$enable_threads"
3309 if test "$enableval" = yes; then
3310 ac_cv_use_threads
='wxUSE_THREADS=yes'
3312 ac_cv_use_threads
='wxUSE_THREADS=no'
3317 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3318 if test "x$LINE" != x
; then
3319 eval "DEFAULT_$LINE"
3324 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3329 eval "$ac_cv_use_threads"
3330 if test "$no_cache" != 1; then
3331 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3334 if test "$wxUSE_THREADS" = yes; then
3335 echo "$ac_t""yes" 1>&6
3337 echo "$ac_t""no" 1>&6
3341 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3342 echo "configure:3343: checking "for --enable-serial"" >&5
3344 # Check whether --enable-serial or --disable-serial was given.
3345 if test "${enable_serial+set}" = set; then
3346 enableval
="$enable_serial"
3348 if test "$enableval" = yes; then
3349 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3351 ac_cv_use_serial
='wxUSE_SERIAL=no'
3356 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x
; then
3358 eval "DEFAULT_$LINE"
3363 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3368 eval "$ac_cv_use_serial"
3369 if test "$no_cache" != 1; then
3370 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3373 if test "$wxUSE_SERIAL" = yes; then
3374 echo "$ac_t""yes" 1>&6
3376 echo "$ac_t""no" 1>&6
3382 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3383 echo "configure:3384: checking "for --enable-docview"" >&5
3385 # Check whether --enable-docview or --disable-docview was given.
3386 if test "${enable_docview+set}" = set; then
3387 enableval
="$enable_docview"
3389 if test "$enableval" = yes; then
3390 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3392 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3397 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x
; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3409 eval "$ac_cv_use_docview"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3415 echo "$ac_t""yes" 1>&6
3417 echo "$ac_t""no" 1>&6
3421 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3422 echo "configure:3423: checking "for --enable-help"" >&5
3424 # Check whether --enable-help or --disable-help was given.
3425 if test "${enable_help+set}" = set; then
3426 enableval
="$enable_help"
3428 if test "$enableval" = yes; then
3429 ac_cv_use_help
='wxUSE_HELP=yes'
3431 ac_cv_use_help
='wxUSE_HELP=no'
3436 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x
; then
3438 eval "DEFAULT_$LINE"
3443 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3448 eval "$ac_cv_use_help"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3453 if test "$wxUSE_HELP" = yes; then
3454 echo "$ac_t""yes" 1>&6
3456 echo "$ac_t""no" 1>&6
3460 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3461 echo "configure:3462: checking "for --enable-constraints"" >&5
3463 # Check whether --enable-constraints or --disable-constraints was given.
3464 if test "${enable_constraints+set}" = set; then
3465 enableval
="$enable_constraints"
3467 if test "$enableval" = yes; then
3468 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3470 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3475 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3487 eval "$ac_cv_use_constraints"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3492 if test "$wxUSE_CONSTRAINTS" = yes; then
3493 echo "$ac_t""yes" 1>&6
3495 echo "$ac_t""no" 1>&6
3499 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3500 echo "configure:3501: checking "for --enable-printarch"" >&5
3502 # Check whether --enable-printarch or --disable-printarch was given.
3503 if test "${enable_printarch+set}" = set; then
3504 enableval
="$enable_printarch"
3506 if test "$enableval" = yes; then
3507 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3509 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3514 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3515 if test "x$LINE" != x
; then
3516 eval "DEFAULT_$LINE"
3521 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3526 eval "$ac_cv_use_printarch"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3531 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3532 echo "$ac_t""yes" 1>&6
3534 echo "$ac_t""no" 1>&6
3538 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3539 echo "configure:3540: checking "for --enable-mdi"" >&5
3541 # Check whether --enable-mdi or --disable-mdi was given.
3542 if test "${enable_mdi+set}" = set; then
3543 enableval
="$enable_mdi"
3545 if test "$enableval" = yes; then
3546 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3548 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3553 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3554 if test "x$LINE" != x
; then
3555 eval "DEFAULT_$LINE"
3560 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3565 eval "$ac_cv_use_mdi"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3570 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3571 echo "$ac_t""yes" 1>&6
3573 echo "$ac_t""no" 1>&6
3578 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3579 echo "configure:3580: checking "for --enable-postscript"" >&5
3581 # Check whether --enable-postscript or --disable-postscript was given.
3582 if test "${enable_postscript+set}" = set; then
3583 enableval
="$enable_postscript"
3585 if test "$enableval" = yes; then
3586 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3588 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3593 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3594 if test "x$LINE" != x
; then
3595 eval "DEFAULT_$LINE"
3600 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3605 eval "$ac_cv_use_postscript"
3606 if test "$no_cache" != 1; then
3607 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3610 if test "$wxUSE_POSTSCRIPT" = yes; then
3611 echo "$ac_t""yes" 1>&6
3613 echo "$ac_t""no" 1>&6
3619 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3620 echo "configure:3621: checking "for --enable-prologio"" >&5
3622 # Check whether --enable-prologio or --disable-prologio was given.
3623 if test "${enable_prologio+set}" = set; then
3624 enableval
="$enable_prologio"
3626 if test "$enableval" = yes; then
3627 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3629 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3634 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3646 eval "$ac_cv_use_prologio"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_PROLOGIO" = yes; then
3652 echo "$ac_t""yes" 1>&6
3654 echo "$ac_t""no" 1>&6
3658 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3659 echo "configure:3660: checking "for --enable-resources"" >&5
3661 # Check whether --enable-resources or --disable-resources was given.
3662 if test "${enable_resources+set}" = set; then
3663 enableval
="$enable_resources"
3665 if test "$enableval" = yes; then
3666 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3668 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3673 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x
; then
3675 eval "DEFAULT_$LINE"
3680 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3685 eval "$ac_cv_use_resources"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_RESOURCES" = yes; then
3691 echo "$ac_t""yes" 1>&6
3693 echo "$ac_t""no" 1>&6
3698 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3699 echo "configure:3700: checking "for --enable-xresources"" >&5
3701 # Check whether --enable-xresources or --disable-xresources was given.
3702 if test "${enable_xresources+set}" = set; then
3703 enableval
="$enable_xresources"
3705 if test "$enableval" = yes; then
3706 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3708 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3713 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3714 if test "x$LINE" != x
; then
3715 eval "DEFAULT_$LINE"
3720 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3725 eval "$ac_cv_use_xresources"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3730 if test "$wxUSE_X_RESOURCES" = yes; then
3731 echo "$ac_t""yes" 1>&6
3733 echo "$ac_t""no" 1>&6
3739 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3740 echo "configure:3741: checking "for --enable-clipboard"" >&5
3742 # Check whether --enable-clipboard or --disable-clipboard was given.
3743 if test "${enable_clipboard+set}" = set; then
3744 enableval
="$enable_clipboard"
3746 if test "$enableval" = yes; then
3747 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3749 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3754 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3755 if test "x$LINE" != x
; then
3756 eval "DEFAULT_$LINE"
3761 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3766 eval "$ac_cv_use_clipboard"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3771 if test "$wxUSE_CLIPBOARD" = yes; then
3772 echo "$ac_t""yes" 1>&6
3774 echo "$ac_t""no" 1>&6
3778 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3779 echo "configure:3780: checking "for --enable-dnd"" >&5
3781 # Check whether --enable-dnd or --disable-dnd was given.
3782 if test "${enable_dnd+set}" = set; then
3783 enableval
="$enable_dnd"
3785 if test "$enableval" = yes; then
3786 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3788 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3793 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3794 if test "x$LINE" != x
; then
3795 eval "DEFAULT_$LINE"
3800 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3805 eval "$ac_cv_use_dnd"
3806 if test "$no_cache" != 1; then
3807 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3810 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3811 echo "$ac_t""yes" 1>&6
3813 echo "$ac_t""no" 1>&6
3818 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3819 echo "configure:3820: checking "for --enable-wxtree"" >&5
3821 # Check whether --enable-wxtree or --disable-wxtree was given.
3822 if test "${enable_wxtree+set}" = set; then
3823 enableval
="$enable_wxtree"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3828 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3833 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x
; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3845 eval "$ac_cv_use_wxtree"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3850 if test "$wxUSE_WXTREE" = yes; then
3851 echo "$ac_t""yes" 1>&6
3853 echo "$ac_t""no" 1>&6
3859 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3860 echo "configure:3861: checking "for --enable-controls"" >&5
3862 # Check whether --enable-controls or --disable-controls was given.
3863 if test "${enable_controls+set}" = set; then
3864 enableval
="$enable_controls"
3866 if test "$enableval" = yes; then
3867 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3869 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3874 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x
; then
3876 eval "DEFAULT_$LINE"
3881 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3886 eval "$ac_cv_use_controls"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3891 if test "$wxUSE_CONTROLS" = yes; then
3892 echo "$ac_t""yes" 1>&6
3894 echo "$ac_t""no" 1>&6
3898 if test "$wxUSE_CONTROLS" = "yes"; then
3899 DEFAULT_wxUSE_ACCEL
=yes
3900 DEFAULT_wxUSE_CARET
=yes
3901 DEFAULT_wxUSE_COMBOBOX
=yes
3902 DEFAULT_wxUSE_BMPBUTTON
=yes
3903 DEFAULT_wxUSE_CHECKBOX
=yes
3904 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3905 DEFAULT_wxUSE_CHOICE
=yes
3906 DEFAULT_wxUSE_GAUGE
=yes
3907 DEFAULT_wxUSE_GRID
=yes
3908 DEFAULT_wxUSE_NEW_GRID
=no
3909 DEFAULT_wxUSE_IMAGLIST
=yes
3910 DEFAULT_wxUSE_LISTBOX
=yes
3911 DEFAULT_wxUSE_LISTCTRL
=yes
3912 DEFAULT_wxUSE_NOTEBOOK
=yes
3913 DEFAULT_wxUSE_RADIOBOX
=yes
3914 DEFAULT_wxUSE_RADIOBTN
=yes
3915 DEFAULT_wxUSE_SASH
=yes
3916 DEFAULT_wxUSE_SCROLLBAR
=yes
3917 DEFAULT_wxUSE_SLIDER
=yes
3918 DEFAULT_wxUSE_SPINBTN
=yes
3919 DEFAULT_wxUSE_SPINCTRL
=yes
3920 DEFAULT_wxUSE_SPLITTER
=yes
3921 DEFAULT_wxUSE_STATBMP
=yes
3922 DEFAULT_wxUSE_STATBOX
=yes
3923 DEFAULT_wxUSE_STATLINE
=yes
3924 DEFAULT_wxUSE_STATUSBAR
=yes
3925 DEFAULT_wxUSE_TAB_DIALOG
=yes
3926 DEFAULT_wxUSE_TOOLBAR
=yes
3927 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3928 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3929 DEFAULT_wxUSE_TOOLTIPS
=yes
3930 DEFAULT_wxUSE_TREECTRL
=yes
3931 elif test "$wxUSE_CONTROLS" = "no"; then
3932 DEFAULT_wxUSE_ACCEL
=no
3933 DEFAULT_wxUSE_CARET
=no
3934 DEFAULT_wxUSE_COMBOBOX
=no
3935 DEFAULT_wxUSE_BMPBUTTON
=no
3936 DEFAULT_wxUSE_CHECKBOX
=no
3937 DEFAULT_wxUSE_CHECKLISTBOX
=no
3938 DEFAULT_wxUSE_CHOICE
=no
3939 DEFAULT_wxUSE_GAUGE
=no
3940 DEFAULT_wxUSE_GRID
=no
3941 DEFAULT_wxUSE_NEW_GRID
=no
3942 DEFAULT_wxUSE_IMAGLIST
=no
3943 DEFAULT_wxUSE_LISTBOX
=no
3944 DEFAULT_wxUSE_LISTCTRL
=no
3945 DEFAULT_wxUSE_NOTEBOOK
=no
3946 DEFAULT_wxUSE_RADIOBOX
=no
3947 DEFAULT_wxUSE_RADIOBTN
=no
3948 DEFAULT_wxUSE_SASH
=no
3949 DEFAULT_wxUSE_SCROLLBAR
=no
3950 DEFAULT_wxUSE_SLIDER
=no
3951 DEFAULT_wxUSE_SPINBTN
=no
3952 DEFAULT_wxUSE_SPINCTRL
=no
3953 DEFAULT_wxUSE_SPLITTER
=no
3954 DEFAULT_wxUSE_STATBMP
=no
3955 DEFAULT_wxUSE_STATBOX
=no
3956 DEFAULT_wxUSE_STATLINE
=no
3957 DEFAULT_wxUSE_STATUSBAR
=no
3958 DEFAULT_wxUSE_TAB_DIALOG
=no
3959 DEFAULT_wxUSE_TOOLBAR
=no
3960 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3961 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3962 DEFAULT_wxUSE_TOOLTIPS
=no
3963 DEFAULT_wxUSE_TREECTRL
=no
3967 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3968 echo "configure:3969: checking "for --enable-accel"" >&5
3970 # Check whether --enable-accel or --disable-accel was given.
3971 if test "${enable_accel+set}" = set; then
3972 enableval
="$enable_accel"
3974 if test "$enableval" = yes; then
3975 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3977 ac_cv_use_accel
='wxUSE_ACCEL=no'
3982 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x
; then
3984 eval "DEFAULT_$LINE"
3989 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3994 eval "$ac_cv_use_accel"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3999 if test "$wxUSE_ACCEL" = yes; then
4000 echo "$ac_t""yes" 1>&6
4002 echo "$ac_t""no" 1>&6
4006 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4007 echo "configure:4008: checking "for --enable-caret"" >&5
4009 # Check whether --enable-caret or --disable-caret was given.
4010 if test "${enable_caret+set}" = set; then
4011 enableval
="$enable_caret"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_caret
='wxUSE_CARET=yes'
4016 ac_cv_use_caret
='wxUSE_CARET=no'
4021 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4033 eval "$ac_cv_use_caret"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_CARET" = yes; then
4039 echo "$ac_t""yes" 1>&6
4041 echo "$ac_t""no" 1>&6
4045 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4046 echo "configure:4047: checking "for --enable-bmpbutton"" >&5
4048 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4049 if test "${enable_bmpbutton+set}" = set; then
4050 enableval
="$enable_bmpbutton"
4052 if test "$enableval" = yes; then
4053 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4055 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4060 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x
; then
4062 eval "DEFAULT_$LINE"
4067 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4072 eval "$ac_cv_use_bmpbutton"
4073 if test "$no_cache" != 1; then
4074 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4077 if test "$wxUSE_BMPBUTTON" = yes; then
4078 echo "$ac_t""yes" 1>&6
4080 echo "$ac_t""no" 1>&6
4084 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4085 echo "configure:4086: checking "for --enable-checkbox"" >&5
4087 # Check whether --enable-checkbox or --disable-checkbox was given.
4088 if test "${enable_checkbox+set}" = set; then
4089 enableval
="$enable_checkbox"
4091 if test "$enableval" = yes; then
4092 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4094 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4099 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x
; then
4101 eval "DEFAULT_$LINE"
4106 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4111 eval "$ac_cv_use_checkbox"
4112 if test "$no_cache" != 1; then
4113 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4116 if test "$wxUSE_CHECKBOX" = yes; then
4117 echo "$ac_t""yes" 1>&6
4119 echo "$ac_t""no" 1>&6
4123 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4124 echo "configure:4125: checking "for --enable-checklst"" >&5
4126 # Check whether --enable-checklst or --disable-checklst was given.
4127 if test "${enable_checklst+set}" = set; then
4128 enableval
="$enable_checklst"
4130 if test "$enableval" = yes; then
4131 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4133 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4138 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x
; then
4140 eval "DEFAULT_$LINE"
4145 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4150 eval "$ac_cv_use_checklst"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_CHECKLST" = yes; then
4156 echo "$ac_t""yes" 1>&6
4158 echo "$ac_t""no" 1>&6
4162 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4163 echo "configure:4164: checking "for --enable-choice"" >&5
4165 # Check whether --enable-choice or --disable-choice was given.
4166 if test "${enable_choice+set}" = set; then
4167 enableval
="$enable_choice"
4169 if test "$enableval" = yes; then
4170 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4172 ac_cv_use_choice
='wxUSE_CHOICE=no'
4177 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x
; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4189 eval "$ac_cv_use_choice"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_CHOICE" = yes; then
4195 echo "$ac_t""yes" 1>&6
4197 echo "$ac_t""no" 1>&6
4201 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4202 echo "configure:4203: checking "for --enable-combobox"" >&5
4204 # Check whether --enable-combobox or --disable-combobox was given.
4205 if test "${enable_combobox+set}" = set; then
4206 enableval
="$enable_combobox"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4211 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4216 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4228 eval "$ac_cv_use_combobox"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_COMBOBOX" = yes; then
4234 echo "$ac_t""yes" 1>&6
4236 echo "$ac_t""no" 1>&6
4240 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4241 echo "configure:4242: checking "for --enable-gauge"" >&5
4243 # Check whether --enable-gauge or --disable-gauge was given.
4244 if test "${enable_gauge+set}" = set; then
4245 enableval
="$enable_gauge"
4247 if test "$enableval" = yes; then
4248 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4250 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4255 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4256 if test "x$LINE" != x
; then
4257 eval "DEFAULT_$LINE"
4262 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4267 eval "$ac_cv_use_gauge"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_GAUGE" = yes; then
4273 echo "$ac_t""yes" 1>&6
4275 echo "$ac_t""no" 1>&6
4279 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4280 echo "configure:4281: checking "for --enable-grid"" >&5
4282 # Check whether --enable-grid or --disable-grid was given.
4283 if test "${enable_grid+set}" = set; then
4284 enableval
="$enable_grid"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_grid
='wxUSE_GRID=yes'
4289 ac_cv_use_grid
='wxUSE_GRID=no'
4294 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4306 eval "$ac_cv_use_grid"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_GRID" = yes; then
4312 echo "$ac_t""yes" 1>&6
4314 echo "$ac_t""no" 1>&6
4318 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4319 echo "configure:4320: checking "for --enable-newgrid"" >&5
4321 # Check whether --enable-newgrid or --disable-newgrid was given.
4322 if test "${enable_newgrid+set}" = set; then
4323 enableval
="$enable_newgrid"
4325 if test "$enableval" = yes; then
4326 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4328 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4333 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x
; then
4335 eval "DEFAULT_$LINE"
4340 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4345 eval "$ac_cv_use_newgrid"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4350 if test "$wxUSE_NEW_GRID" = yes; then
4351 echo "$ac_t""yes" 1>&6
4353 echo "$ac_t""no" 1>&6
4357 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4358 echo "configure:4359: checking "for --enable-imaglist"" >&5
4360 # Check whether --enable-imaglist or --disable-imaglist was given.
4361 if test "${enable_imaglist+set}" = set; then
4362 enableval
="$enable_imaglist"
4364 if test "$enableval" = yes; then
4365 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4367 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4372 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x
; then
4374 eval "DEFAULT_$LINE"
4379 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4384 eval "$ac_cv_use_imaglist"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4389 if test "$wxUSE_IMAGLIST" = yes; then
4390 echo "$ac_t""yes" 1>&6
4392 echo "$ac_t""no" 1>&6
4396 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4397 echo "configure:4398: checking "for --enable-listbox"" >&5
4399 # Check whether --enable-listbox or --disable-listbox was given.
4400 if test "${enable_listbox+set}" = set; then
4401 enableval
="$enable_listbox"
4403 if test "$enableval" = yes; then
4404 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4406 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4411 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x
; then
4413 eval "DEFAULT_$LINE"
4418 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4423 eval "$ac_cv_use_listbox"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4428 if test "$wxUSE_LISTBOX" = yes; then
4429 echo "$ac_t""yes" 1>&6
4431 echo "$ac_t""no" 1>&6
4435 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4436 echo "configure:4437: checking "for --enable-listctrl"" >&5
4438 # Check whether --enable-listctrl or --disable-listctrl was given.
4439 if test "${enable_listctrl+set}" = set; then
4440 enableval
="$enable_listctrl"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4445 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4450 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x
; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4462 eval "$ac_cv_use_listctrl"
4463 if test "$no_cache" != 1; then
4464 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4467 if test "$wxUSE_LISTCTRL" = yes; then
4468 echo "$ac_t""yes" 1>&6
4470 echo "$ac_t""no" 1>&6
4474 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4475 echo "configure:4476: checking "for --enable-notebook"" >&5
4477 # Check whether --enable-notebook or --disable-notebook was given.
4478 if test "${enable_notebook+set}" = set; then
4479 enableval
="$enable_notebook"
4481 if test "$enableval" = yes; then
4482 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4484 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4489 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x
; then
4491 eval "DEFAULT_$LINE"
4496 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4501 eval "$ac_cv_use_notebook"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4506 if test "$wxUSE_NOTEBOOK" = yes; then
4507 echo "$ac_t""yes" 1>&6
4509 echo "$ac_t""no" 1>&6
4513 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4514 echo "configure:4515: checking "for --enable-radiobox"" >&5
4516 # Check whether --enable-radiobox or --disable-radiobox was given.
4517 if test "${enable_radiobox+set}" = set; then
4518 enableval
="$enable_radiobox"
4520 if test "$enableval" = yes; then
4521 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4523 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4528 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x
; then
4530 eval "DEFAULT_$LINE"
4535 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4540 eval "$ac_cv_use_radiobox"
4541 if test "$no_cache" != 1; then
4542 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4545 if test "$wxUSE_RADIOBOX" = yes; then
4546 echo "$ac_t""yes" 1>&6
4548 echo "$ac_t""no" 1>&6
4552 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4553 echo "configure:4554: checking "for --enable-radiobtn"" >&5
4555 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4556 if test "${enable_radiobtn+set}" = set; then
4557 enableval
="$enable_radiobtn"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4562 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4567 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4579 eval "$ac_cv_use_radiobtn"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_RADIOBTN" = yes; then
4585 echo "$ac_t""yes" 1>&6
4587 echo "$ac_t""no" 1>&6
4591 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4592 echo "configure:4593: checking "for --enable-sash"" >&5
4594 # Check whether --enable-sash or --disable-sash was given.
4595 if test "${enable_sash+set}" = set; then
4596 enableval
="$enable_sash"
4598 if test "$enableval" = yes; then
4599 ac_cv_use_sash
='wxUSE_SASH=yes'
4601 ac_cv_use_sash
='wxUSE_SASH=no'
4606 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4607 if test "x$LINE" != x
; then
4608 eval "DEFAULT_$LINE"
4613 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4618 eval "$ac_cv_use_sash"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_SASH" = yes; then
4624 echo "$ac_t""yes" 1>&6
4626 echo "$ac_t""no" 1>&6
4630 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4631 echo "configure:4632: checking "for --enable-scrollbar"" >&5
4633 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4634 if test "${enable_scrollbar+set}" = set; then
4635 enableval
="$enable_scrollbar"
4637 if test "$enableval" = yes; then
4638 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4640 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4645 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4646 if test "x$LINE" != x
; then
4647 eval "DEFAULT_$LINE"
4652 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4657 eval "$ac_cv_use_scrollbar"
4658 if test "$no_cache" != 1; then
4659 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4662 if test "$wxUSE_SCROLLBAR" = yes; then
4663 echo "$ac_t""yes" 1>&6
4665 echo "$ac_t""no" 1>&6
4669 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4670 echo "configure:4671: checking "for --enable-slider"" >&5
4672 # Check whether --enable-slider or --disable-slider was given.
4673 if test "${enable_slider+set}" = set; then
4674 enableval
="$enable_slider"
4676 if test "$enableval" = yes; then
4677 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4679 ac_cv_use_slider
='wxUSE_SLIDER=no'
4684 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x
; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4696 eval "$ac_cv_use_slider"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_SLIDER" = yes; then
4702 echo "$ac_t""yes" 1>&6
4704 echo "$ac_t""no" 1>&6
4708 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4709 echo "configure:4710: checking "for --enable-spinbtn"" >&5
4711 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4712 if test "${enable_spinbtn+set}" = set; then
4713 enableval
="$enable_spinbtn"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4718 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4723 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4735 eval "$ac_cv_use_spinbtn"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_SPINBTN" = yes; then
4741 echo "$ac_t""yes" 1>&6
4743 echo "$ac_t""no" 1>&6
4747 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4748 echo "configure:4749: checking "for --enable-spinctrl"" >&5
4750 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4751 if test "${enable_spinctrl+set}" = set; then
4752 enableval
="$enable_spinctrl"
4754 if test "$enableval" = yes; then
4755 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4757 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4762 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x
; then
4764 eval "DEFAULT_$LINE"
4769 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4774 eval "$ac_cv_use_spinctrl"
4775 if test "$no_cache" != 1; then
4776 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4779 if test "$wxUSE_SPINCTRL" = yes; then
4780 echo "$ac_t""yes" 1>&6
4782 echo "$ac_t""no" 1>&6
4786 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4787 echo "configure:4788: checking "for --enable-splitter"" >&5
4789 # Check whether --enable-splitter or --disable-splitter was given.
4790 if test "${enable_splitter+set}" = set; then
4791 enableval
="$enable_splitter"
4793 if test "$enableval" = yes; then
4794 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4796 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4801 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4802 if test "x$LINE" != x
; then
4803 eval "DEFAULT_$LINE"
4808 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4813 eval "$ac_cv_use_splitter"
4814 if test "$no_cache" != 1; then
4815 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4818 if test "$wxUSE_SPLITTER" = yes; then
4819 echo "$ac_t""yes" 1>&6
4821 echo "$ac_t""no" 1>&6
4825 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4826 echo "configure:4827: checking "for --enable-statbmp"" >&5
4828 # Check whether --enable-statbmp or --disable-statbmp was given.
4829 if test "${enable_statbmp+set}" = set; then
4830 enableval
="$enable_statbmp"
4832 if test "$enableval" = yes; then
4833 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4835 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4840 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4847 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4852 eval "$ac_cv_use_statbmp"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4857 if test "$wxUSE_STATBMP" = yes; then
4858 echo "$ac_t""yes" 1>&6
4860 echo "$ac_t""no" 1>&6
4864 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4865 echo "configure:4866: checking "for --enable-statbox"" >&5
4867 # Check whether --enable-statbox or --disable-statbox was given.
4868 if test "${enable_statbox+set}" = set; then
4869 enableval
="$enable_statbox"
4871 if test "$enableval" = yes; then
4872 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4874 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4879 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4880 if test "x$LINE" != x
; then
4881 eval "DEFAULT_$LINE"
4886 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4891 eval "$ac_cv_use_statbox"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_STATBOX" = yes; then
4897 echo "$ac_t""yes" 1>&6
4899 echo "$ac_t""no" 1>&6
4903 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4904 echo "configure:4905: checking "for --enable-statline"" >&5
4906 # Check whether --enable-statline or --disable-statline was given.
4907 if test "${enable_statline+set}" = set; then
4908 enableval
="$enable_statline"
4910 if test "$enableval" = yes; then
4911 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4913 ac_cv_use_statline
='wxUSE_STATLINE=no'
4918 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x
; then
4920 eval "DEFAULT_$LINE"
4925 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4930 eval "$ac_cv_use_statline"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_STATLINE" = yes; then
4936 echo "$ac_t""yes" 1>&6
4938 echo "$ac_t""no" 1>&6
4942 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4943 echo "configure:4944: checking "for --enable-statusbar"" >&5
4945 # Check whether --enable-statusbar or --disable-statusbar was given.
4946 if test "${enable_statusbar+set}" = set; then
4947 enableval
="$enable_statusbar"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4952 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4957 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4969 eval "$ac_cv_use_statusbar"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_STATUSBAR" = yes; then
4975 echo "$ac_t""yes" 1>&6
4977 echo "$ac_t""no" 1>&6
4981 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4982 echo "configure:4983: checking "for --enable-tabdialog"" >&5
4984 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4985 if test "${enable_tabdialog+set}" = set; then
4986 enableval
="$enable_tabdialog"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4991 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4996 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5008 eval "$ac_cv_use_tabdialog"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5013 if test "$wxUSE_TABDIALOG" = yes; then
5014 echo "$ac_t""yes" 1>&6
5016 echo "$ac_t""no" 1>&6
5020 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5021 echo "configure:5022: checking "for --enable-toolbar"" >&5
5023 # Check whether --enable-toolbar or --disable-toolbar was given.
5024 if test "${enable_toolbar+set}" = set; then
5025 enableval
="$enable_toolbar"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5030 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5035 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x
; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5047 eval "$ac_cv_use_toolbar"
5048 if test "$no_cache" != 1; then
5049 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5052 if test "$wxUSE_TOOLBAR" = yes; then
5053 echo "$ac_t""yes" 1>&6
5055 echo "$ac_t""no" 1>&6
5059 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5060 echo "configure:5061: checking "for --enable-tbarnative"" >&5
5062 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5063 if test "${enable_tbarnative+set}" = set; then
5064 enableval
="$enable_tbarnative"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5069 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5074 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5086 eval "$ac_cv_use_tbarnative"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5092 echo "$ac_t""yes" 1>&6
5094 echo "$ac_t""no" 1>&6
5098 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5099 echo "configure:5100: checking "for --enable-tbarsmpl"" >&5
5101 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5102 if test "${enable_tbarsmpl+set}" = set; then
5103 enableval
="$enable_tbarsmpl"
5105 if test "$enableval" = yes; then
5106 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5108 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5113 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x
; then
5115 eval "DEFAULT_$LINE"
5120 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5125 eval "$ac_cv_use_tbarsmpl"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5130 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5131 echo "$ac_t""yes" 1>&6
5133 echo "$ac_t""no" 1>&6
5137 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5138 echo "configure:5139: checking "for --enable-treectrl"" >&5
5140 # Check whether --enable-treectrl or --disable-treectrl was given.
5141 if test "${enable_treectrl+set}" = set; then
5142 enableval
="$enable_treectrl"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5147 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5152 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x
; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5164 eval "$ac_cv_use_treectrl"
5165 if test "$no_cache" != 1; then
5166 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5169 if test "$wxUSE_TREECTRL" = yes; then
5170 echo "$ac_t""yes" 1>&6
5172 echo "$ac_t""no" 1>&6
5178 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5179 echo "configure:5180: checking "for --enable-commondlg"" >&5
5181 # Check whether --enable-commondlg or --disable-commondlg was given.
5182 if test "${enable_commondlg+set}" = set; then
5183 enableval
="$enable_commondlg"
5185 if test "$enableval" = yes; then
5186 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5188 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5193 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x
; then
5195 eval "DEFAULT_$LINE"
5200 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5205 eval "$ac_cv_use_commondlg"
5206 if test "$no_cache" != 1; then
5207 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5210 if test "$wxUSE_COMMONDLGS" = yes; then
5211 echo "$ac_t""yes" 1>&6
5213 echo "$ac_t""no" 1>&6
5217 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5218 echo "configure:5219: checking "for --enable-dirdlg"" >&5
5220 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5221 if test "${enable_dirdlg+set}" = set; then
5222 enableval
="$enable_dirdlg"
5224 if test "$enableval" = yes; then
5225 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5227 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5232 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x
; then
5234 eval "DEFAULT_$LINE"
5239 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5244 eval "$ac_cv_use_dirdlg"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5249 if test "$wxUSE_DIRDLG" = yes; then
5250 echo "$ac_t""yes" 1>&6
5252 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5257 echo "configure:5258: checking "for --enable-textdlg"" >&5
5259 # Check whether --enable-textdlg or --disable-textdlg was given.
5260 if test "${enable_textdlg+set}" = set; then
5261 enableval
="$enable_textdlg"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5266 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5271 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5283 eval "$ac_cv_use_textdlg"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_TEXTDLG" = yes; then
5289 echo "$ac_t""yes" 1>&6
5291 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5296 echo "configure:5297: checking "for --enable-tipdlg"" >&5
5298 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5299 if test "${enable_tipdlg+set}" = set; then
5300 enableval
="$enable_tipdlg"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5305 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5310 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5322 eval "$ac_cv_use_tipdlg"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_STARTUP_TIPS" = yes; then
5328 echo "$ac_t""yes" 1>&6
5330 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5335 echo "configure:5336: checking "for --enable-progressdlg"" >&5
5337 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5338 if test "${enable_progressdlg+set}" = set; then
5339 enableval
="$enable_progressdlg"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5344 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5349 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5361 eval "$ac_cv_use_progressdlg"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_PROGRESSDLG" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5374 echo "configure:5375: checking "for --enable-miniframe"" >&5
5376 # Check whether --enable-miniframe or --disable-miniframe was given.
5377 if test "${enable_miniframe+set}" = set; then
5378 enableval
="$enable_miniframe"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5383 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5388 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5400 eval "$ac_cv_use_miniframe"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_MINIFRAME" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5413 echo "configure:5414: checking "for --enable-html"" >&5
5415 # Check whether --enable-html or --disable-html was given.
5416 if test "${enable_html+set}" = set; then
5417 enableval
="$enable_html"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_html
='wxUSE_HTML=yes'
5422 ac_cv_use_html
='wxUSE_HTML=no'
5427 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5439 eval "$ac_cv_use_html"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_HTML" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5451 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5452 echo "configure:5453: checking "for --enable-tooltips"" >&5
5454 # Check whether --enable-tooltips or --disable-tooltips was given.
5455 if test "${enable_tooltips+set}" = set; then
5456 enableval
="$enable_tooltips"
5458 if test "$enableval" = yes; then
5459 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5461 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5466 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x
; then
5468 eval "DEFAULT_$LINE"
5473 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5478 eval "$ac_cv_use_tooltips"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_TOOLTIPS" = yes; then
5484 echo "$ac_t""yes" 1>&6
5486 echo "$ac_t""no" 1>&6
5490 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5491 echo "configure:5492: checking "for --enable-splines"" >&5
5493 # Check whether --enable-splines or --disable-splines was given.
5494 if test "${enable_splines+set}" = set; then
5495 enableval
="$enable_splines"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5500 ac_cv_use_splines
='wxUSE_SPLINES=no'
5505 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5517 eval "$ac_cv_use_splines"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5522 if test "$wxUSE_SPLINES" = yes; then
5523 echo "$ac_t""yes" 1>&6
5525 echo "$ac_t""no" 1>&6
5529 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5530 echo "configure:5531: checking "for --enable-validators"" >&5
5532 # Check whether --enable-validators or --disable-validators was given.
5533 if test "${enable_validators+set}" = set; then
5534 enableval
="$enable_validators"
5536 if test "$enableval" = yes; then
5537 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5539 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5544 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5545 if test "x$LINE" != x
; then
5546 eval "DEFAULT_$LINE"
5551 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5556 eval "$ac_cv_use_validators"
5557 if test "$no_cache" != 1; then
5558 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5561 if test "$wxUSE_VALIDATORS" = yes; then
5562 echo "$ac_t""yes" 1>&6
5564 echo "$ac_t""no" 1>&6
5568 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5569 echo "configure:5570: checking "for --enable-busyinfo"" >&5
5571 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5572 if test "${enable_busyinfo+set}" = set; then
5573 enableval
="$enable_busyinfo"
5575 if test "$enableval" = yes; then
5576 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5578 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5583 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5584 if test "x$LINE" != x
; then
5585 eval "DEFAULT_$LINE"
5590 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5595 eval "$ac_cv_use_busyinfo"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_BUSYINFO" = yes; then
5601 echo "$ac_t""yes" 1>&6
5603 echo "$ac_t""no" 1>&6
5609 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5610 echo "configure:5611: checking "for --enable-gif"" >&5
5612 # Check whether --enable-gif or --disable-gif was given.
5613 if test "${enable_gif+set}" = set; then
5614 enableval
="$enable_gif"
5616 if test "$enableval" = yes; then
5617 ac_cv_use_gif
='wxUSE_GIF=yes'
5619 ac_cv_use_gif
='wxUSE_GIF=no'
5624 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5625 if test "x$LINE" != x
; then
5626 eval "DEFAULT_$LINE"
5631 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5636 eval "$ac_cv_use_gif"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_GIF" = yes; then
5642 echo "$ac_t""yes" 1>&6
5644 echo "$ac_t""no" 1>&6
5648 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5649 echo "configure:5650: checking "for --enable-pcx"" >&5
5651 # Check whether --enable-pcx or --disable-pcx was given.
5652 if test "${enable_pcx+set}" = set; then
5653 enableval
="$enable_pcx"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_pcx
='wxUSE_PCX=yes'
5658 ac_cv_use_pcx
='wxUSE_PCX=no'
5663 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5675 eval "$ac_cv_use_pcx"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_PCX" = yes; then
5681 echo "$ac_t""yes" 1>&6
5683 echo "$ac_t""no" 1>&6
5687 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5688 echo "configure:5689: checking "for --enable-pnm"" >&5
5690 # Check whether --enable-pnm or --disable-pnm was given.
5691 if test "${enable_pnm+set}" = set; then
5692 enableval
="$enable_pnm"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_pnm
='wxUSE_PNM=yes'
5697 ac_cv_use_pnm
='wxUSE_PNM=no'
5702 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5714 eval "$ac_cv_use_pnm"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5719 if test "$wxUSE_PNM" = yes; then
5720 echo "$ac_t""yes" 1>&6
5722 echo "$ac_t""no" 1>&6
5727 echo "saving argument cache $wx_arg_cache_file"
5728 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5732 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5733 echo "configure:5734: checking for toolkit" >&5
5735 if test "$wxUSE_GUI" = "yes"; then
5737 if test "$TOOLKIT_GIVEN" = 1; then
5738 for toolkit
in `echo $ALL_TOOLKITS`; do
5740 eval "value=\$${var}"
5741 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5744 for toolkit
in `echo $ALL_TOOLKITS`; do
5745 if test "$has_toolkit_in_cache" != 1; then
5746 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5748 var
=DEFAULT_wxUSE_
$toolkit
5750 eval "wxUSE_$toolkit=\$${var}"
5754 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5756 case "$NUM_TOOLKITS" in
5760 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5763 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5766 for toolkit
in `echo $ALL_TOOLKITS`; do
5768 eval "value=\$${var}"
5769 if test "x$value" != x
; then
5770 cache_var
=CACHE_
$toolkit
5771 eval "cache=\$${cache_var}"
5772 if test "$cache" = 1; then
5773 echo "$var=$value" >> ${wx_arg_cache_file}
5775 if test "$value" = 1; then
5776 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5782 echo "$ac_t""base only" 1>&6
5786 cat > confcache
<<\EOF
5787 # This file is a shell script that caches the results of configure
5788 # tests run on this system so they can be shared between configure
5789 # scripts and configure runs. It is not useful on other systems.
5790 # If it contains results you don't want to keep, you may remove or edit it.
5792 # By default, configure uses ./config.cache as the cache file,
5793 # creating it if it does not exist already. You can give configure
5794 # the --cache-file=FILE option to use a different cache file; that is
5795 # what configure does when it calls configure scripts in
5796 # subdirectories, so they share the cache.
5797 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5798 # config.status only pays attention to the cache file if you give it the
5799 # --recheck option to rerun configure.
5802 # The following way of writing the cache mishandles newlines in values,
5803 # but we know of no workaround that is simple, portable, and efficient.
5804 # So, don't put newlines in cache variables' values.
5805 # Ultrix sh set writes to stderr and can't be redirected directly,
5806 # and sets the high bit in the cache file unless we assign to the vars.
5808 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5810 # `set' does not quote correctly, so add quotes (double-quote substitution
5811 # turns \\\\ into \\, and sed turns \\ into \).
5813 -e "s/'/'\\\\''/g" \
5814 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5817 # `set' quotes correctly as required by POSIX, so do not add quotes.
5818 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5821 if cmp -s $cache_file confcache
; then
5824 if test -w $cache_file; then
5825 echo "updating cache $cache_file"
5826 cat confcache
> $cache_file
5828 echo "not updating unwritable cache $cache_file"
5834 if eval "test $host != $build"; then
5835 if eval "test $host_alias != NONE"; then
5839 RANLIB
=$host_alias-ranlib
5840 DLLTOOL
=$host_alias-dlltool
5843 STRIP
=$host_alias-strip
5847 # Extract the first word of "gcc", so it can be a program name with args.
5848 set dummy gcc
; ac_word
=$2
5849 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5850 echo "configure:5851: checking for $ac_word" >&5
5851 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5852 echo $ac_n "(cached) $ac_c" 1>&6
5854 if test -n "$CC"; then
5855 ac_cv_prog_CC
="$CC" # Let the user override the test.
5857 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5859 for ac_dir
in $ac_dummy; do
5860 test -z "$ac_dir" && ac_dir
=.
5861 if test -f $ac_dir/$ac_word; then
5870 if test -n "$CC"; then
5871 echo "$ac_t""$CC" 1>&6
5873 echo "$ac_t""no" 1>&6
5876 if test -z "$CC"; then
5877 # Extract the first word of "cc", so it can be a program name with args.
5878 set dummy cc
; ac_word
=$2
5879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5880 echo "configure:5881: checking for $ac_word" >&5
5881 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5882 echo $ac_n "(cached) $ac_c" 1>&6
5884 if test -n "$CC"; then
5885 ac_cv_prog_CC
="$CC" # Let the user override the test.
5887 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5890 for ac_dir
in $ac_dummy; do
5891 test -z "$ac_dir" && ac_dir
=.
5892 if test -f $ac_dir/$ac_word; then
5893 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5894 ac_prog_rejected
=yes
5902 if test $ac_prog_rejected = yes; then
5903 # We found a bogon in the path, so make sure we never use it.
5904 set dummy
$ac_cv_prog_CC
5906 if test $# -gt 0; then
5907 # We chose a different compiler from the bogus one.
5908 # However, it has the same basename, so the bogon will be chosen
5909 # first if we set CC to just the basename; use the full file name.
5911 set dummy
"$ac_dir/$ac_word" "$@"
5919 if test -n "$CC"; then
5920 echo "$ac_t""$CC" 1>&6
5922 echo "$ac_t""no" 1>&6
5925 if test -z "$CC"; then
5926 case "`uname -s`" in
5928 # Extract the first word of "cl", so it can be a program name with args.
5929 set dummy cl
; ac_word
=$2
5930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5931 echo "configure:5932: checking for $ac_word" >&5
5932 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5933 echo $ac_n "(cached) $ac_c" 1>&6
5935 if test -n "$CC"; then
5936 ac_cv_prog_CC
="$CC" # Let the user override the test.
5938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5940 for ac_dir
in $ac_dummy; do
5941 test -z "$ac_dir" && ac_dir
=.
5942 if test -f $ac_dir/$ac_word; then
5951 if test -n "$CC"; then
5952 echo "$ac_t""$CC" 1>&6
5954 echo "$ac_t""no" 1>&6
5959 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5962 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5963 echo "configure:5964: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5967 ac_cpp
='$CPP $CPPFLAGS'
5968 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5969 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5970 cross_compiling
=$ac_cv_prog_cc_cross
5972 cat > conftest.
$ac_ext << EOF
5974 #line 5975 "configure"
5975 #include "confdefs.h"
5979 if { (eval echo configure
:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5980 ac_cv_prog_cc_works
=yes
5981 # If we can't run a trivial program, we are probably using a cross compiler.
5982 if (.
/conftest
; exit) 2>/dev
/null
; then
5983 ac_cv_prog_cc_cross
=no
5985 ac_cv_prog_cc_cross
=yes
5988 echo "configure: failed program was:" >&5
5989 cat conftest.
$ac_ext >&5
5990 ac_cv_prog_cc_works
=no
5994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5995 ac_cpp
='$CPP $CPPFLAGS'
5996 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5997 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5998 cross_compiling
=$ac_cv_prog_cc_cross
6000 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6001 if test $ac_cv_prog_cc_works = no
; then
6002 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6004 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6005 echo "configure:6006: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6006 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6007 cross_compiling
=$ac_cv_prog_cc_cross
6009 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6010 echo "configure:6011: checking whether we are using GNU C" >&5
6011 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6012 echo $ac_n "(cached) $ac_c" 1>&6
6014 cat > conftest.c
<<EOF
6019 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6026 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6028 if test $ac_cv_prog_gcc = yes; then
6034 ac_test_CFLAGS
="${CFLAGS+set}"
6035 ac_save_CFLAGS
="$CFLAGS"
6037 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6038 echo "configure:6039: checking whether ${CC-cc} accepts -g" >&5
6039 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6040 echo $ac_n "(cached) $ac_c" 1>&6
6042 echo 'void f(){}' > conftest.c
6043 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6052 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6053 if test "$ac_test_CFLAGS" = set; then
6054 CFLAGS
="$ac_save_CFLAGS"
6055 elif test $ac_cv_prog_cc_g = yes; then
6056 if test "$GCC" = yes; then
6062 if test "$GCC" = yes; then
6070 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6072 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6073 echo "configure:6074: checking how to run the C preprocessor" >&5
6074 # On Suns, sometimes $CPP names a directory.
6075 if test -n "$CPP" && test -d "$CPP"; then
6078 if test -z "$CPP"; then
6079 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6080 echo $ac_n "(cached) $ac_c" 1>&6
6082 # This must be in double quotes, not single quotes, because CPP may get
6083 # substituted into the Makefile and "${CC-cc}" will confuse make.
6085 # On the NeXT, cc -E runs the code through the compiler's parser,
6086 # not just through cpp.
6087 cat > conftest.
$ac_ext <<EOF
6088 #line 6089 "configure"
6089 #include "confdefs.h"
6093 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6094 { (eval echo configure
:6095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6095 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6096 if test -z "$ac_err"; then
6100 echo "configure: failed program was:" >&5
6101 cat conftest.
$ac_ext >&5
6103 CPP
="${CC-cc} -E -traditional-cpp"
6104 cat > conftest.
$ac_ext <<EOF
6105 #line 6106 "configure"
6106 #include "confdefs.h"
6110 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6111 { (eval echo configure
:6112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6112 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6113 if test -z "$ac_err"; then
6117 echo "configure: failed program was:" >&5
6118 cat conftest.
$ac_ext >&5
6120 CPP
="${CC-cc} -nologo -E"
6121 cat > conftest.
$ac_ext <<EOF
6122 #line 6123 "configure"
6123 #include "confdefs.h"
6127 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6128 { (eval echo configure
:6129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6129 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6130 if test -z "$ac_err"; then
6134 echo "configure: failed program was:" >&5
6135 cat conftest.
$ac_ext >&5
6144 ac_cv_prog_CPP
="$CPP"
6146 CPP
="$ac_cv_prog_CPP"
6148 ac_cv_prog_CPP
="$CPP"
6150 echo "$ac_t""$CPP" 1>&6
6153 if test $ac_cv_prog_gcc = yes; then
6154 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6155 echo "configure:6156: checking whether ${CC-cc} needs -traditional" >&5
6156 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6157 echo $ac_n "(cached) $ac_c" 1>&6
6159 ac_pattern
="Autoconf.*'x'"
6160 cat > conftest.
$ac_ext <<EOF
6161 #line 6162 "configure"
6162 #include "confdefs.h"
6166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6167 egrep "$ac_pattern" >/dev
/null
2>&1; then
6169 ac_cv_prog_gcc_traditional
=yes
6172 ac_cv_prog_gcc_traditional
=no
6177 if test $ac_cv_prog_gcc_traditional = no
; then
6178 cat > conftest.
$ac_ext <<EOF
6179 #line 6180 "configure"
6180 #include "confdefs.h"
6184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6185 egrep "$ac_pattern" >/dev
/null
2>&1; then
6187 ac_cv_prog_gcc_traditional
=yes
6194 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6195 if test $ac_cv_prog_gcc_traditional = yes; then
6196 CC
="$CC -traditional"
6203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6204 ac_cpp
='$CXXCPP $CPPFLAGS'
6205 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6206 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6207 cross_compiling
=$ac_cv_prog_cxx_cross
6210 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6212 # Extract the first word of "$ac_prog", so it can be a program name with args.
6213 set dummy
$ac_prog; ac_word
=$2
6214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6215 echo "configure:6216: checking for $ac_word" >&5
6216 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6217 echo $ac_n "(cached) $ac_c" 1>&6
6219 if test -n "$CXX"; then
6220 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6224 for ac_dir
in $ac_dummy; do
6225 test -z "$ac_dir" && ac_dir
=.
6226 if test -f $ac_dir/$ac_word; then
6227 ac_cv_prog_CXX
="$ac_prog"
6234 CXX
="$ac_cv_prog_CXX"
6235 if test -n "$CXX"; then
6236 echo "$ac_t""$CXX" 1>&6
6238 echo "$ac_t""no" 1>&6
6241 test -n "$CXX" && break
6243 test -n "$CXX" || CXX
="gcc"
6246 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6247 echo "configure:6248: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6251 ac_cpp
='$CXXCPP $CPPFLAGS'
6252 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6253 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6254 cross_compiling
=$ac_cv_prog_cxx_cross
6256 cat > conftest.
$ac_ext << EOF
6258 #line 6259 "configure"
6259 #include "confdefs.h"
6261 int main(){return(0);}
6263 if { (eval echo configure
:6264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6264 ac_cv_prog_cxx_works
=yes
6265 # If we can't run a trivial program, we are probably using a cross compiler.
6266 if (.
/conftest
; exit) 2>/dev
/null
; then
6267 ac_cv_prog_cxx_cross
=no
6269 ac_cv_prog_cxx_cross
=yes
6272 echo "configure: failed program was:" >&5
6273 cat conftest.
$ac_ext >&5
6274 ac_cv_prog_cxx_works
=no
6278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6279 ac_cpp
='$CXXCPP $CPPFLAGS'
6280 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6281 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6282 cross_compiling
=$ac_cv_prog_cxx_cross
6284 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6285 if test $ac_cv_prog_cxx_works = no
; then
6286 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6288 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6289 echo "configure:6290: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6290 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6291 cross_compiling
=$ac_cv_prog_cxx_cross
6293 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6294 echo "configure:6295: checking whether we are using GNU C++" >&5
6295 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6296 echo $ac_n "(cached) $ac_c" 1>&6
6298 cat > conftest.C
<<EOF
6303 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6310 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6312 if test $ac_cv_prog_gxx = yes; then
6318 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6319 ac_save_CXXFLAGS
="$CXXFLAGS"
6321 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6322 echo "configure:6323: checking whether ${CXX-g++} accepts -g" >&5
6323 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6324 echo $ac_n "(cached) $ac_c" 1>&6
6326 echo 'void f(){}' > conftest.cc
6327 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6328 ac_cv_prog_cxx_g
=yes
6336 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6337 if test "$ac_test_CXXFLAGS" = set; then
6338 CXXFLAGS
="$ac_save_CXXFLAGS"
6339 elif test $ac_cv_prog_cxx_g = yes; then
6340 if test "$GXX" = yes; then
6346 if test "$GXX" = yes; then
6354 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6355 echo "configure:6356: checking how to run the C++ preprocessor" >&5
6356 if test -z "$CXXCPP"; then
6357 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6358 echo $ac_n "(cached) $ac_c" 1>&6
6361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6362 ac_cpp
='$CXXCPP $CPPFLAGS'
6363 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6364 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6365 cross_compiling
=$ac_cv_prog_cxx_cross
6366 CXXCPP
="${CXX-g++} -E"
6367 cat > conftest.
$ac_ext <<EOF
6368 #line 6369 "configure"
6369 #include "confdefs.h"
6372 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6373 { (eval echo configure
:6374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6374 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6375 if test -z "$ac_err"; then
6379 echo "configure: failed program was:" >&5
6380 cat conftest.
$ac_ext >&5
6385 ac_cv_prog_CXXCPP
="$CXXCPP"
6387 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6388 ac_cpp
='$CXXCPP $CPPFLAGS'
6389 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6390 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6391 cross_compiling
=$ac_cv_prog_cxx_cross
6394 CXXCPP
="$ac_cv_prog_CXXCPP"
6395 echo "$ac_t""$CXXCPP" 1>&6
6398 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6402 ac_cpp
='$CPP $CPPFLAGS'
6403 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6404 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6405 cross_compiling
=$ac_cv_prog_cc_cross
6408 # Extract the first word of "ranlib", so it can be a program name with args.
6409 set dummy ranlib
; ac_word
=$2
6410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6411 echo "configure:6412: checking for $ac_word" >&5
6412 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6413 echo $ac_n "(cached) $ac_c" 1>&6
6415 if test -n "$RANLIB"; then
6416 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6420 for ac_dir
in $ac_dummy; do
6421 test -z "$ac_dir" && ac_dir
=.
6422 if test -f $ac_dir/$ac_word; then
6423 ac_cv_prog_RANLIB
="ranlib"
6428 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6431 RANLIB
="$ac_cv_prog_RANLIB"
6432 if test -n "$RANLIB"; then
6433 echo "$ac_t""$RANLIB" 1>&6
6435 echo "$ac_t""no" 1>&6
6439 # Extract the first word of "ar", so it can be a program name with args.
6440 set dummy
ar; ac_word
=$2
6441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6442 echo "configure:6443: checking for $ac_word" >&5
6443 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6444 echo $ac_n "(cached) $ac_c" 1>&6
6446 if test -n "$AR"; then
6447 ac_cv_prog_AR
="$AR" # Let the user override the test.
6449 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6451 for ac_dir
in $ac_dummy; do
6452 test -z "$ac_dir" && ac_dir
=.
6453 if test -f $ac_dir/$ac_word; then
6459 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6463 if test -n "$AR"; then
6464 echo "$ac_t""$AR" 1>&6
6466 echo "$ac_t""no" 1>&6
6470 # Find a good install program. We prefer a C program (faster),
6471 # so one script is as good as another. But avoid the broken or
6472 # incompatible versions:
6473 # SysV /etc/install, /usr/sbin/install
6474 # SunOS /usr/etc/install
6475 # IRIX /sbin/install
6477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6480 # ./install, which can be erroneously created by make from ./install.sh.
6481 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6482 echo "configure:6483: checking for a BSD compatible install" >&5
6483 if test -z "$INSTALL"; then
6484 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6485 echo $ac_n "(cached) $ac_c" 1>&6
6487 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6488 for ac_dir
in $PATH; do
6489 # Account for people who put trailing slashes in PATH elements.
6491 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6493 # OSF1 and SCO ODT 3.0 have their own names for install.
6494 # Don't use installbsd from OSF since it installs stuff as root
6496 for ac_prog
in ginstall scoinst
install; do
6497 if test -f $ac_dir/$ac_prog; then
6498 if test $ac_prog = install &&
6499 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6500 # AIX install. It has an incompatible calling convention.
6503 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6514 if test "${ac_cv_path_install+set}" = set; then
6515 INSTALL
="$ac_cv_path_install"
6517 # As a last resort, use the slow shell script. We don't cache a
6518 # path for INSTALL within a source directory, because that will
6519 # break other packages using the cache if that directory is
6520 # removed, or if the path is relative.
6521 INSTALL
="$ac_install_sh"
6524 echo "$ac_t""$INSTALL" 1>&6
6526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6527 # It thinks the first close brace ends the variable substitution.
6528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6532 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6535 # Extract the first word of "strip", so it can be a program name with args.
6536 set dummy strip
; ac_word
=$2
6537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6538 echo "configure:6539: checking for $ac_word" >&5
6539 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6540 echo $ac_n "(cached) $ac_c" 1>&6
6542 if test -n "$STRIP"; then
6543 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6545 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6547 for ac_dir
in $ac_dummy; do
6548 test -z "$ac_dir" && ac_dir
=.
6549 if test -f $ac_dir/$ac_word; then
6550 ac_cv_prog_STRIP
="strip"
6555 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6558 STRIP
="$ac_cv_prog_STRIP"
6559 if test -n "$STRIP"; then
6560 echo "$ac_t""$STRIP" 1>&6
6562 echo "$ac_t""no" 1>&6
6566 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6567 echo "configure:6568: checking "make for VPATH support
"" >&5
6568 cat - << EOF > confMake
6574 if test ! -d sub
; then
6577 echo dummy
> sub
/file
6578 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6580 rm -f sub
/file check final_file confMake
6582 if test "$RESULT" = 0; then
6583 echo "$ac_t""yes" 1>&6
6585 echo "$ac_t""no" 1>&6
6586 { echo "configure: error: You need a make-utility that is able to use the variable
6588 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6591 for ac_prog
in 'bison -y' byacc
6593 # Extract the first word of "$ac_prog", so it can be a program name with args.
6594 set dummy
$ac_prog; ac_word
=$2
6595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6596 echo "configure:6597: checking for $ac_word" >&5
6597 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6598 echo $ac_n "(cached) $ac_c" 1>&6
6600 if test -n "$YACC"; then
6601 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6603 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6605 for ac_dir
in $ac_dummy; do
6606 test -z "$ac_dir" && ac_dir
=.
6607 if test -f $ac_dir/$ac_word; then
6608 ac_cv_prog_YACC
="$ac_prog"
6615 YACC
="$ac_cv_prog_YACC"
6616 if test -n "$YACC"; then
6617 echo "$ac_t""$YACC" 1>&6
6619 echo "$ac_t""no" 1>&6
6622 test -n "$YACC" && break
6624 test -n "$YACC" || YACC
="yacc"
6627 # Extract the first word of "flex", so it can be a program name with args.
6628 set dummy flex
; ac_word
=$2
6629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6630 echo "configure:6631: checking for $ac_word" >&5
6631 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6632 echo $ac_n "(cached) $ac_c" 1>&6
6634 if test -n "$LEX"; then
6635 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6637 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6639 for ac_dir
in $ac_dummy; do
6640 test -z "$ac_dir" && ac_dir
=.
6641 if test -f $ac_dir/$ac_word; then
6642 ac_cv_prog_LEX
="flex"
6647 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6650 LEX
="$ac_cv_prog_LEX"
6651 if test -n "$LEX"; then
6652 echo "$ac_t""$LEX" 1>&6
6654 echo "$ac_t""no" 1>&6
6657 if test -z "$LEXLIB"
6663 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6664 echo "configure:6665: checking for yywrap in -l$ac_lib" >&5
6665 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6666 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6667 echo $ac_n "(cached) $ac_c" 1>&6
6669 ac_save_LIBS
="$LIBS"
6670 LIBS
="-l$ac_lib $LIBS"
6671 cat > conftest.
$ac_ext <<EOF
6672 #line 6673 "configure"
6673 #include "confdefs.h"
6674 /* Override any gcc2 internal prototype to avoid an error. */
6675 /* We use char because int might match the return type of a gcc2
6676 builtin and then its argument prototype would still apply. */
6683 if { (eval echo configure
:6684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6685 eval "ac_cv_lib_$ac_lib_var=yes"
6687 echo "configure: failed program was:" >&5
6688 cat conftest.
$ac_ext >&5
6690 eval "ac_cv_lib_$ac_lib_var=no"
6693 LIBS
="$ac_save_LIBS"
6696 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6697 echo "$ac_t""yes" 1>&6
6700 echo "$ac_t""no" 1>&6
6706 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6707 echo "configure:6708: checking whether ln -s works" >&5
6708 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6709 echo $ac_n "(cached) $ac_c" 1>&6
6712 if ln -s X conftestdata
2>/dev
/null
6715 ac_cv_prog_LN_S
="ln -s"
6720 LN_S
="$ac_cv_prog_LN_S"
6721 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6730 /usr/local/include \
6732 /usr/Motif-1.2/include \
6733 /usr/Motif-2.1/include \
6735 /usr/include/Motif1.2 \
6736 /opt/xpm/include/X11 \
6737 /opt/GBxpm/include/ \
6738 /opt/GBxpm/X11/include/ \
6740 /usr/Motif1.2/include \
6742 /usr/openwin/include \
6746 /usr/X11R6/include \
6747 /usr/X11R6.4/include \
6748 /usr/X11R5/include \
6749 /usr/X11R4/include \
6751 /usr/include/X11R6 \
6752 /usr/include/X11R5 \
6753 /usr/include/X11R4 \
6755 /usr/local/X11R6/include \
6756 /usr/local/X11R5/include \
6757 /usr/local/X11R4/include \
6759 /usr/local/include/X11R6 \
6760 /usr/local/include/X11R5 \
6761 /usr/local/include/X11R4 \
6765 /usr/local/X11/include \
6766 /usr/local/include/X11 \
6770 /usr/XFree86/include/X11 \
6773 /usr/local/include/gtk \
6775 /usr/local/include/glib \
6778 /usr/local/include/qt \
6780 /usr/include/windows \
6782 /usr/local/include/wine \
6784 /usr/unsupported/include \
6785 /usr/athena/include \
6786 /usr/local/x11r5/include \
6787 /usr/lpp/Xamples/include \
6789 /usr/openwin/share/include \
6793 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6796 cat > confcache
<<\EOF
6797 # This file is a shell script that caches the results of configure
6798 # tests run on this system so they can be shared between configure
6799 # scripts and configure runs. It is not useful on other systems.
6800 # If it contains results you don't want to keep, you may remove or edit it.
6802 # By default, configure uses ./config.cache as the cache file,
6803 # creating it if it does not exist already. You can give configure
6804 # the --cache-file=FILE option to use a different cache file; that is
6805 # what configure does when it calls configure scripts in
6806 # subdirectories, so they share the cache.
6807 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6808 # config.status only pays attention to the cache file if you give it the
6809 # --recheck option to rerun configure.
6812 # The following way of writing the cache mishandles newlines in values,
6813 # but we know of no workaround that is simple, portable, and efficient.
6814 # So, don't put newlines in cache variables' values.
6815 # Ultrix sh set writes to stderr and can't be redirected directly,
6816 # and sets the high bit in the cache file unless we assign to the vars.
6818 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6820 # `set' does not quote correctly, so add quotes (double-quote substitution
6821 # turns \\\\ into \\, and sed turns \\ into \).
6823 -e "s/'/'\\\\''/g" \
6824 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6827 # `set' quotes correctly as required by POSIX, so do not add quotes.
6828 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6831 if cmp -s $cache_file confcache
; then
6834 if test -w $cache_file; then
6835 echo "updating cache $cache_file"
6836 cat confcache
> $cache_file
6838 echo "not updating unwritable cache $cache_file"
6845 if test "$wxUSE_GUI" = "yes"; then
6863 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6864 if test "$cross_compiling" = "yes" ; then
6865 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6867 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6868 echo "configure:6869: checking for Windows headers" >&5
6871 for ac_dir
in $SEARCH_INCLUDE;
6873 if test -f "$ac_dir/windows.h"; then
6874 ac_find_includes
=$ac_dir
6879 if test "$ac_find_includes" != "" ; then
6880 echo "$ac_t""found $ac_find_includes" 1>&6
6881 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6883 echo "$ac_t""no" 1>&6
6884 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6888 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6889 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6891 if test "$wxUSE_MINGW" = 1; then
6892 LDFLAGS
="$LDFLAGS -mwindows"
6897 GUIOBJS
="\$(MSW_GUIOBJS)"
6898 GUIHEADERS
="\$(MSW_HEADERS)"
6899 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6900 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6906 if test "$wxUSE_GTK" = 1; then
6908 if test x
$gtk_config_exec_prefix != x
; then
6909 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6910 if test x
${GTK_CONFIG+set} != xset
; then
6911 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6914 if test x
$gtk_config_prefix != x
; then
6915 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6916 if test x
${GTK_CONFIG+set} != xset
; then
6917 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6921 # Extract the first word of "gtk-config", so it can be a program name with args.
6922 set dummy gtk
-config; ac_word
=$2
6923 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6924 echo "configure:6925: checking for $ac_word" >&5
6925 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6926 echo $ac_n "(cached) $ac_c" 1>&6
6928 case "$GTK_CONFIG" in
6930 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6933 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6936 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6938 for ac_dir
in $ac_dummy; do
6939 test -z "$ac_dir" && ac_dir
=.
6940 if test -f $ac_dir/$ac_word; then
6941 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6946 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6950 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6951 if test -n "$GTK_CONFIG"; then
6952 echo "$ac_t""$GTK_CONFIG" 1>&6
6954 echo "$ac_t""no" 1>&6
6957 min_gtk_version
=1.2.1
6958 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6959 echo "configure:6960: checking for GTK - version >= $min_gtk_version" >&5
6961 if test "$GTK_CONFIG" != "no" ; then
6962 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6963 GTK_LIBS
=`$GTK_CONFIG --libs`
6964 ac_save_CFLAGS
="$CFLAGS"
6965 ac_save_LIBS
="$LIBS"
6966 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6967 LIBS
="$LIBS $GTK_LIBS"
6968 if test "$cross_compiling" = yes; then
6969 echo $ac_n "cross compiling; assumed OK... $ac_c"
6971 cat > conftest.
$ac_ext <<EOF
6972 #line 6973 "configure"
6973 #include "confdefs.h"
6975 #include <gtk/gtk.h>
6976 #include <gtk/gtkfeatures.h>
6982 int major, minor, micro;
6984 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6985 printf("%s, bad version string\n", "$min_gtk_version");
6989 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6990 (GTK_MINOR_VERSION != gtk_minor_version) ||
6991 (GTK_MICRO_VERSION != gtk_micro_version)) {
6992 printf("Headers vs. library version mismatch!\n");
6996 if (gtk_minor_version == 1) return FALSE;
6998 return !((gtk_major_version > major) ||
6999 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7000 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7004 if { (eval echo configure
:7005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7008 echo "configure: failed program was:" >&5
7009 cat conftest.
$ac_ext >&5
7016 CFLAGS
="$ac_save_CFLAGS"
7017 LIBS
="$ac_save_LIBS"
7021 if test "x$no_gtk" = x
; then
7022 echo "$ac_t""yes" 1>&6
7025 echo "$ac_t""no" 1>&6
7028 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
7034 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7035 GUI_TK_LIBRARY
="$GTK_LIBS"
7038 GUIOBJS
="\$(GTK_GUIOBJS)"
7039 GUIHEADERS
="\$(GTK_HEADERS)"
7040 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7041 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7042 GUIDEPS
="\$(GTK_GUIDEPS)"
7043 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7044 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7045 UNIXOBJS
="\$(UNIX_OBJS)"
7046 UNIXDEPS
="\$(UNIX_DEPS)"
7049 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7050 echo "configure:7051: checking for gdk_im_open in -lgdk" >&5
7051 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7052 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7053 echo $ac_n "(cached) $ac_c" 1>&6
7055 ac_save_LIBS
="$LIBS"
7057 cat > conftest.
$ac_ext <<EOF
7058 #line 7059 "configure"
7059 #include "confdefs.h"
7060 /* Override any gcc2 internal prototype to avoid an error. */
7061 /* We use char because int might match the return type of a gcc2
7062 builtin and then its argument prototype would still apply. */
7069 if { (eval echo configure
:7070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7071 eval "ac_cv_lib_$ac_lib_var=yes"
7073 echo "configure: failed program was:" >&5
7074 cat conftest.
$ac_ext >&5
7076 eval "ac_cv_lib_$ac_lib_var=no"
7079 LIBS
="$ac_save_LIBS"
7082 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7083 echo "$ac_t""yes" 1>&6
7084 cat >> confdefs.h
<<\EOF
7089 echo "$ac_t""no" 1>&6
7095 if test "$wxUSE_WINE" = 1; then
7096 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7097 echo "configure:7098: checking for WINE includes" >&5
7100 for ac_dir
in $SEARCH_INCLUDE;
7102 if test -f "$ac_dir/windows.h"; then
7103 ac_find_includes
=$ac_dir
7108 if test "$ac_find_includes" != "" ; then
7109 echo "$ac_t""found $ac_find_includes" 1>&6
7110 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7112 echo "$ac_t""no" 1>&6
7113 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7117 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7118 echo "configure:7119: checking for Xpm library" >&5
7121 for ac_dir
in $SEARCH_LIB;
7123 for ac_extension
in a so sl
; do
7124 if test -f "$ac_dir/libXpm.$ac_extension"; then
7125 ac_find_libraries
=$ac_dir
7131 if test "$ac_find_libraries" != "" ; then
7132 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7134 cat >> confdefs.h
<<\EOF
7135 #define wxHAVE_LIB_XPM 1
7138 echo "$ac_t""found at $ac_find_libraries" 1>&6
7140 echo "$ac_t""no" 1>&6
7141 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7145 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7146 echo "configure:7147: checking for Mesa library" >&5
7149 for ac_dir
in $SEARCH_LIB;
7151 for ac_extension
in a so sl
; do
7152 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7153 ac_find_libraries
=$ac_dir
7159 if test "$ac_find_libraries" != "" ; then
7160 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7161 MESA_LINK
="-lMesaGL"
7162 echo "$ac_t""found at $ac_find_libraries" 1>&6
7164 { echo "configure: error: no" 1>&2; exit 1; }
7167 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7168 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7172 GUIHEADERS
="\$(MSW_HEADERS)"
7173 GUIOBJS
="\$(MSW_GUIOBJS)"
7174 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7175 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7176 GUIDEPS
="\$(MSW_GUIDEPS)"
7177 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7178 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7179 UNIXOBJS
="\$(UNIX_OBJS)"
7180 UNIXDEPS
="\$(UNIX_DEPS)"
7184 if test "$wxUSE_MOTIF" = 1; then
7185 # If we find X, set shell vars x_includes and x_libraries to the
7186 # paths, otherwise set no_x=yes.
7187 # Uses ac_ vars as temps to allow command line to override cache and checks.
7188 # --without-x overrides everything else, but does not touch the cache.
7189 echo $ac_n "checking for X""... $ac_c" 1>&6
7190 echo "configure:7191: checking for X" >&5
7192 # Check whether --with-x or --without-x was given.
7193 if test "${with_x+set}" = set; then
7198 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7199 if test "x$with_x" = xno
; then
7200 # The user explicitly disabled X.
7203 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7204 # Both variables are already set.
7207 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7208 echo $ac_n "(cached) $ac_c" 1>&6
7210 # One or both of the vars are not set, and there is no cached value.
7211 ac_x_includes
=NO ac_x_libraries
=NO
7213 if mkdir conftestdir
; then
7215 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7216 cat > Imakefile
<<'EOF'
7218 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7220 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7222 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7223 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7224 for ac_extension
in a so sl
; do
7225 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7226 test -f $ac_im_libdir/libX11.
$ac_extension; then
7227 ac_im_usrlibdir
=$ac_im_libdir; break
7230 # Screen out bogus values from the imake configuration. They are
7231 # bogus both because they are the default anyway, and because
7232 # using them would break gcc on systems where it needs fixed includes.
7233 case "$ac_im_incroot" in
7235 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7237 case "$ac_im_usrlibdir" in
7239 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7246 if test "$ac_x_includes" = NO
; then
7247 # Guess where to find include files, by looking for this one X11 .h file.
7248 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7250 # First, try using that file with no special directory specified.
7251 cat > conftest.
$ac_ext <<EOF
7252 #line 7253 "configure"
7253 #include "confdefs.h"
7254 #include <$x_direct_test_include>
7256 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7257 { (eval echo configure
:7258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7258 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7259 if test -z "$ac_err"; then
7261 # We can compile using X headers with no special include directory.
7265 echo "configure: failed program was:" >&5
7266 cat conftest.
$ac_ext >&5
7268 # Look for the header file in a standard set of common directories.
7269 # Check X11 before X11Rn because it is often a symlink to the current release.
7272 /usr
/X
11R
6/include \
7273 /usr
/X
11R
5/include \
7274 /usr
/X
11R
4/include \
7277 /usr
/include
/X11R6 \
7278 /usr
/include
/X11R5 \
7279 /usr
/include
/X11R4 \
7281 /usr
/local
/X
11/include \
7282 /usr
/local
/X
11R
6/include \
7283 /usr
/local
/X
11R
5/include \
7284 /usr
/local
/X
11R
4/include \
7286 /usr
/local
/include
/X11 \
7287 /usr
/local
/include
/X11R6 \
7288 /usr
/local
/include
/X11R5 \
7289 /usr
/local
/include
/X11R4 \
7293 /usr
/XFree
86/include
/X11 \
7296 /usr
/local
/include \
7297 /usr
/unsupported
/include \
7298 /usr
/athena
/include \
7299 /usr
/local
/x
11r
5/include \
7300 /usr
/lpp
/Xamples
/include \
7302 /usr
/openwin
/include \
7303 /usr
/openwin
/share
/include \
7306 if test -r "$ac_dir/$x_direct_test_include"; then
7307 ac_x_includes
=$ac_dir
7313 fi # $ac_x_includes = NO
7315 if test "$ac_x_libraries" = NO
; then
7316 # Check for the libraries.
7318 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7319 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7321 # See if we find them without any special options.
7322 # Don't add to $LIBS permanently.
7323 ac_save_LIBS
="$LIBS"
7324 LIBS
="-l$x_direct_test_library $LIBS"
7325 cat > conftest.
$ac_ext <<EOF
7326 #line 7327 "configure"
7327 #include "confdefs.h"
7330 ${x_direct_test_function}()
7333 if { (eval echo configure
:7334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7335 LIBS
="$ac_save_LIBS"
7336 # We can link X programs with no special library path.
7339 echo "configure: failed program was:" >&5
7340 cat conftest.
$ac_ext >&5
7342 LIBS
="$ac_save_LIBS"
7343 # First see if replacing the include by lib works.
7344 # Check X11 before X11Rn because it is often a symlink to the current release.
7345 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7356 /usr
/local
/X
11/lib \
7357 /usr
/local
/X
11R
6/lib \
7358 /usr
/local
/X
11R
5/lib \
7359 /usr
/local
/X
11R
4/lib \
7361 /usr
/local
/lib
/X11 \
7362 /usr
/local
/lib
/X11R6 \
7363 /usr
/local
/lib
/X11R5 \
7364 /usr
/local
/lib
/X11R4 \
7368 /usr
/XFree
86/lib
/X11 \
7372 /usr
/unsupported
/lib \
7374 /usr
/local
/x
11r
5/lib \
7375 /usr
/lpp
/Xamples
/lib \
7379 /usr
/openwin
/share
/lib \
7382 for ac_extension
in a so sl
; do
7383 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7384 ac_x_libraries
=$ac_dir
7391 fi # $ac_x_libraries = NO
7393 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7394 # Didn't find X anywhere. Cache the known absence of X.
7395 ac_cv_have_x
="have_x=no"
7397 # Record where we found X for the cache.
7398 ac_cv_have_x
="have_x=yes \
7399 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7403 eval "$ac_cv_have_x"
7406 if test "$have_x" != yes; then
7407 echo "$ac_t""$have_x" 1>&6
7410 # If each of the values was on the command line, it overrides each guess.
7411 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7412 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7413 # Update the cache value to reflect the command line values.
7414 ac_cv_have_x
="have_x=yes \
7415 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7416 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7419 if test "$no_x" = yes; then
7420 # Not all programs may use this symbol, but it does not hurt to define it.
7421 cat >> confdefs.h
<<\EOF
7422 #define X_DISPLAY_MISSING 1
7425 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7427 if test -n "$x_includes"; then
7428 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7431 # It would also be nice to do this for all -L options, not just this one.
7432 if test -n "$x_libraries"; then
7433 X_LIBS
="$X_LIBS -L$x_libraries"
7434 # For Solaris; some versions of Sun CC require a space after -R and
7435 # others require no space. Words are not sufficient . . . .
7436 case "`(uname -sr) 2>/dev/null`" in
7438 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7439 echo "configure:7440: checking whether -R must be followed by a space" >&5
7440 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7441 cat > conftest.
$ac_ext <<EOF
7442 #line 7443 "configure"
7443 #include "confdefs.h"
7449 if { (eval echo configure
:7450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7453 echo "configure: failed program was:" >&5
7454 cat conftest.
$ac_ext >&5
7459 if test $ac_R_nospace = yes; then
7460 echo "$ac_t""no" 1>&6
7461 X_LIBS
="$X_LIBS -R$x_libraries"
7463 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7464 cat > conftest.
$ac_ext <<EOF
7465 #line 7466 "configure"
7466 #include "confdefs.h"
7472 if { (eval echo configure
:7473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7476 echo "configure: failed program was:" >&5
7477 cat conftest.
$ac_ext >&5
7482 if test $ac_R_space = yes; then
7483 echo "$ac_t""yes" 1>&6
7484 X_LIBS
="$X_LIBS -R $x_libraries"
7486 echo "$ac_t""neither works" 1>&6
7489 LIBS
="$ac_xsave_LIBS"
7493 # Check for system-dependent libraries X programs must link with.
7494 # Do this before checking for the system-independent R6 libraries
7495 # (-lICE), since we may need -lsocket or whatever for X linking.
7497 if test "$ISC" = yes; then
7498 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7500 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7501 # libraries were built with DECnet support. And karl@cs.umb.edu says
7502 # the Alpha needs dnet_stub (dnet does not exist).
7503 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7504 echo "configure:7505: checking for dnet_ntoa in -ldnet" >&5
7505 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7507 echo $ac_n "(cached) $ac_c" 1>&6
7509 ac_save_LIBS
="$LIBS"
7511 cat > conftest.
$ac_ext <<EOF
7512 #line 7513 "configure"
7513 #include "confdefs.h"
7514 /* Override any gcc2 internal prototype to avoid an error. */
7515 /* We use char because int might match the return type of a gcc2
7516 builtin and then its argument prototype would still apply. */
7523 if { (eval echo configure
:7524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7525 eval "ac_cv_lib_$ac_lib_var=yes"
7527 echo "configure: failed program was:" >&5
7528 cat conftest.
$ac_ext >&5
7530 eval "ac_cv_lib_$ac_lib_var=no"
7533 LIBS
="$ac_save_LIBS"
7536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7537 echo "$ac_t""yes" 1>&6
7538 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7540 echo "$ac_t""no" 1>&6
7543 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7544 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7545 echo "configure:7546: checking for dnet_ntoa in -ldnet_stub" >&5
7546 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7548 echo $ac_n "(cached) $ac_c" 1>&6
7550 ac_save_LIBS
="$LIBS"
7551 LIBS
="-ldnet_stub $LIBS"
7552 cat > conftest.
$ac_ext <<EOF
7553 #line 7554 "configure"
7554 #include "confdefs.h"
7555 /* Override any gcc2 internal prototype to avoid an error. */
7556 /* We use char because int might match the return type of a gcc2
7557 builtin and then its argument prototype would still apply. */
7564 if { (eval echo configure
:7565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7566 eval "ac_cv_lib_$ac_lib_var=yes"
7568 echo "configure: failed program was:" >&5
7569 cat conftest.
$ac_ext >&5
7571 eval "ac_cv_lib_$ac_lib_var=no"
7574 LIBS
="$ac_save_LIBS"
7577 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7578 echo "$ac_t""yes" 1>&6
7579 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7581 echo "$ac_t""no" 1>&6
7586 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7587 # to get the SysV transport functions.
7588 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7590 # The nsl library prevents programs from opening the X display
7591 # on Irix 5.2, according to dickey@clark.net.
7592 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7593 echo "configure:7594: checking for gethostbyname" >&5
7594 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7595 echo $ac_n "(cached) $ac_c" 1>&6
7597 cat > conftest.
$ac_ext <<EOF
7598 #line 7599 "configure"
7599 #include "confdefs.h"
7600 /* System header to define __stub macros and hopefully few prototypes,
7601 which can conflict with char gethostbyname(); below. */
7603 /* Override any gcc2 internal prototype to avoid an error. */
7604 /* We use char because int might match the return type of a gcc2
7605 builtin and then its argument prototype would still apply. */
7606 char gethostbyname();
7610 /* The GNU C library defines this for functions which it implements
7611 to always fail with ENOSYS. Some functions are actually named
7612 something starting with __ and the normal name is an alias. */
7613 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7621 if { (eval echo configure
:7622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7623 eval "ac_cv_func_gethostbyname=yes"
7625 echo "configure: failed program was:" >&5
7626 cat conftest.
$ac_ext >&5
7628 eval "ac_cv_func_gethostbyname=no"
7633 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7634 echo "$ac_t""yes" 1>&6
7637 echo "$ac_t""no" 1>&6
7640 if test $ac_cv_func_gethostbyname = no
; then
7641 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7642 echo "configure:7643: checking for gethostbyname in -lnsl" >&5
7643 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7645 echo $ac_n "(cached) $ac_c" 1>&6
7647 ac_save_LIBS
="$LIBS"
7649 cat > conftest.
$ac_ext <<EOF
7650 #line 7651 "configure"
7651 #include "confdefs.h"
7652 /* Override any gcc2 internal prototype to avoid an error. */
7653 /* We use char because int might match the return type of a gcc2
7654 builtin and then its argument prototype would still apply. */
7655 char gethostbyname();
7661 if { (eval echo configure
:7662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7663 eval "ac_cv_lib_$ac_lib_var=yes"
7665 echo "configure: failed program was:" >&5
7666 cat conftest.
$ac_ext >&5
7668 eval "ac_cv_lib_$ac_lib_var=no"
7671 LIBS
="$ac_save_LIBS"
7674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7675 echo "$ac_t""yes" 1>&6
7676 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7678 echo "$ac_t""no" 1>&6
7683 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7684 # socket/setsockopt and other routines are undefined under SCO ODT
7685 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7686 # on later versions), says simon@lia.di.epfl.ch: it contains
7687 # gethostby* variants that don't use the nameserver (or something).
7688 # -lsocket must be given before -lnsl if both are needed.
7689 # We assume that if connect needs -lnsl, so does gethostbyname.
7690 echo $ac_n "checking for connect""... $ac_c" 1>&6
7691 echo "configure:7692: checking for connect" >&5
7692 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 cat > conftest.
$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7698 /* System header to define __stub macros and hopefully few prototypes,
7699 which can conflict with char connect(); below. */
7701 /* Override any gcc2 internal prototype to avoid an error. */
7702 /* We use char because int might match the return type of a gcc2
7703 builtin and then its argument prototype would still apply. */
7708 /* The GNU C library defines this for functions which it implements
7709 to always fail with ENOSYS. Some functions are actually named
7710 something starting with __ and the normal name is an alias. */
7711 #if defined (__stub_connect) || defined (__stub___connect)
7719 if { (eval echo configure
:7720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7721 eval "ac_cv_func_connect=yes"
7723 echo "configure: failed program was:" >&5
7724 cat conftest.
$ac_ext >&5
7726 eval "ac_cv_func_connect=no"
7731 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7732 echo "$ac_t""yes" 1>&6
7735 echo "$ac_t""no" 1>&6
7738 if test $ac_cv_func_connect = no
; then
7739 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7740 echo "configure:7741: checking for connect in -lsocket" >&5
7741 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7743 echo $ac_n "(cached) $ac_c" 1>&6
7745 ac_save_LIBS
="$LIBS"
7746 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7747 cat > conftest.
$ac_ext <<EOF
7748 #line 7749 "configure"
7749 #include "confdefs.h"
7750 /* Override any gcc2 internal prototype to avoid an error. */
7751 /* We use char because int might match the return type of a gcc2
7752 builtin and then its argument prototype would still apply. */
7759 if { (eval echo configure
:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7761 eval "ac_cv_lib_$ac_lib_var=yes"
7763 echo "configure: failed program was:" >&5
7764 cat conftest.
$ac_ext >&5
7766 eval "ac_cv_lib_$ac_lib_var=no"
7769 LIBS
="$ac_save_LIBS"
7772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7773 echo "$ac_t""yes" 1>&6
7774 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7776 echo "$ac_t""no" 1>&6
7781 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7782 echo $ac_n "checking for remove""... $ac_c" 1>&6
7783 echo "configure:7784: checking for remove" >&5
7784 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7785 echo $ac_n "(cached) $ac_c" 1>&6
7787 cat > conftest.
$ac_ext <<EOF
7788 #line 7789 "configure"
7789 #include "confdefs.h"
7790 /* System header to define __stub macros and hopefully few prototypes,
7791 which can conflict with char remove(); below. */
7793 /* Override any gcc2 internal prototype to avoid an error. */
7794 /* We use char because int might match the return type of a gcc2
7795 builtin and then its argument prototype would still apply. */
7800 /* The GNU C library defines this for functions which it implements
7801 to always fail with ENOSYS. Some functions are actually named
7802 something starting with __ and the normal name is an alias. */
7803 #if defined (__stub_remove) || defined (__stub___remove)
7811 if { (eval echo configure
:7812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7813 eval "ac_cv_func_remove=yes"
7815 echo "configure: failed program was:" >&5
7816 cat conftest.
$ac_ext >&5
7818 eval "ac_cv_func_remove=no"
7823 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7824 echo "$ac_t""yes" 1>&6
7827 echo "$ac_t""no" 1>&6
7830 if test $ac_cv_func_remove = no
; then
7831 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7832 echo "configure:7833: checking for remove in -lposix" >&5
7833 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7835 echo $ac_n "(cached) $ac_c" 1>&6
7837 ac_save_LIBS
="$LIBS"
7838 LIBS
="-lposix $LIBS"
7839 cat > conftest.
$ac_ext <<EOF
7840 #line 7841 "configure"
7841 #include "confdefs.h"
7842 /* Override any gcc2 internal prototype to avoid an error. */
7843 /* We use char because int might match the return type of a gcc2
7844 builtin and then its argument prototype would still apply. */
7851 if { (eval echo configure
:7852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7853 eval "ac_cv_lib_$ac_lib_var=yes"
7855 echo "configure: failed program was:" >&5
7856 cat conftest.
$ac_ext >&5
7858 eval "ac_cv_lib_$ac_lib_var=no"
7861 LIBS
="$ac_save_LIBS"
7864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7865 echo "$ac_t""yes" 1>&6
7866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7868 echo "$ac_t""no" 1>&6
7873 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7874 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7875 echo "configure:7876: checking for shmat" >&5
7876 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7877 echo $ac_n "(cached) $ac_c" 1>&6
7879 cat > conftest.
$ac_ext <<EOF
7880 #line 7881 "configure"
7881 #include "confdefs.h"
7882 /* System header to define __stub macros and hopefully few prototypes,
7883 which can conflict with char shmat(); below. */
7885 /* Override any gcc2 internal prototype to avoid an error. */
7886 /* We use char because int might match the return type of a gcc2
7887 builtin and then its argument prototype would still apply. */
7892 /* The GNU C library defines this for functions which it implements
7893 to always fail with ENOSYS. Some functions are actually named
7894 something starting with __ and the normal name is an alias. */
7895 #if defined (__stub_shmat) || defined (__stub___shmat)
7903 if { (eval echo configure
:7904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7905 eval "ac_cv_func_shmat=yes"
7907 echo "configure: failed program was:" >&5
7908 cat conftest.
$ac_ext >&5
7910 eval "ac_cv_func_shmat=no"
7915 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7916 echo "$ac_t""yes" 1>&6
7919 echo "$ac_t""no" 1>&6
7922 if test $ac_cv_func_shmat = no
; then
7923 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7924 echo "configure:7925: checking for shmat in -lipc" >&5
7925 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7927 echo $ac_n "(cached) $ac_c" 1>&6
7929 ac_save_LIBS
="$LIBS"
7931 cat > conftest.
$ac_ext <<EOF
7932 #line 7933 "configure"
7933 #include "confdefs.h"
7934 /* Override any gcc2 internal prototype to avoid an error. */
7935 /* We use char because int might match the return type of a gcc2
7936 builtin and then its argument prototype would still apply. */
7943 if { (eval echo configure
:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7945 eval "ac_cv_lib_$ac_lib_var=yes"
7947 echo "configure: failed program was:" >&5
7948 cat conftest.
$ac_ext >&5
7950 eval "ac_cv_lib_$ac_lib_var=no"
7953 LIBS
="$ac_save_LIBS"
7956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7957 echo "$ac_t""yes" 1>&6
7958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7960 echo "$ac_t""no" 1>&6
7966 # Check for libraries that X11R6 Xt/Xaw programs need.
7967 ac_save_LDFLAGS
="$LDFLAGS"
7968 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7969 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7970 # check for ICE first), but we must link in the order -lSM -lICE or
7971 # we get undefined symbols. So assume we have SM if we have ICE.
7972 # These have to be linked with before -lX11, unlike the other
7973 # libraries we check for below, so use a different variable.
7974 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7975 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7976 echo "configure:7977: checking for IceConnectionNumber in -lICE" >&5
7977 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7981 ac_save_LIBS
="$LIBS"
7982 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7983 cat > conftest.
$ac_ext <<EOF
7984 #line 7985 "configure"
7985 #include "confdefs.h"
7986 /* Override any gcc2 internal prototype to avoid an error. */
7987 /* We use char because int might match the return type of a gcc2
7988 builtin and then its argument prototype would still apply. */
7989 char IceConnectionNumber();
7992 IceConnectionNumber()
7995 if { (eval echo configure
:7996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7997 eval "ac_cv_lib_$ac_lib_var=yes"
7999 echo "configure: failed program was:" >&5
8000 cat conftest.
$ac_ext >&5
8002 eval "ac_cv_lib_$ac_lib_var=no"
8005 LIBS
="$ac_save_LIBS"
8008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8009 echo "$ac_t""yes" 1>&6
8010 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8012 echo "$ac_t""no" 1>&6
8015 LDFLAGS
="$ac_save_LDFLAGS"
8020 if test "$no_x" = "yes"; then
8021 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8024 GUI_TK_LIBRARY
="$X_LIBS"
8025 TOOLKIT_INCLUDE
="$X_CFLAGS"
8028 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8029 echo "configure:8030: checking for Motif/Lesstif headers" >&5
8032 for ac_dir
in $SEARCH_INCLUDE;
8034 if test -f "$ac_dir/Xm/Xm.h"; then
8035 ac_find_includes
=$ac_dir
8040 if test "$ac_find_includes" != "" ; then
8041 echo "$ac_t""found $ac_find_includes" 1>&6
8043 echo "$ac_t""no" 1>&6
8044 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8047 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8048 echo "configure:8049: checking for Motif/Lesstif library" >&5
8051 for ac_dir
in $SEARCH_LIB;
8053 for ac_extension
in a so sl
; do
8054 if test -f "$ac_dir/libXm.$ac_extension"; then
8055 ac_find_libraries
=$ac_dir
8061 if test "$ac_find_libraries" != "" ; then
8063 ac_path_to_include
=$ac_find_includes
8064 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8066 if test $result = 0; then
8067 ac_path_to_include
=""
8069 ac_path_to_include
="-I$ac_find_includes"
8073 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8075 if test $result = 0; then
8078 ac_path_to_link
="-L$ac_find_libraries"
8082 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8083 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8084 echo "$ac_t""found at $ac_find_libraries" 1>&6
8086 echo "$ac_t""no" 1>&6
8087 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8090 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
8091 echo "configure:8092: checking for Xt library" >&5
8094 for ac_dir
in $SEARCH_LIB;
8096 for ac_extension
in a so sl
; do
8097 if test -f "$ac_dir/libXt.$ac_extension"; then
8098 ac_find_libraries
=$ac_dir
8104 if test "$ac_find_libraries" != "" ; then
8106 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8108 if test $result = 0; then
8111 ac_path_to_link
="-L$ac_find_libraries"
8114 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8115 echo "$ac_t""found at $ac_find_libraries" 1>&6
8117 echo "$ac_t""no" 1>&6
8118 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
8122 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8123 echo "configure:8124: checking for Xpm library" >&5
8126 for ac_dir
in $SEARCH_LIB;
8128 for ac_extension
in a so sl
; do
8129 if test -f "$ac_dir/libXpm.$ac_extension"; then
8130 ac_find_libraries
=$ac_dir
8136 if test "$ac_find_libraries" != "" ; then
8138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8140 if test $result = 0; then
8143 ac_path_to_link
="-L$ac_find_libraries"
8146 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8148 cat >> confdefs.h
<<\EOF
8149 #define wxHAVE_LIB_XPM 1
8152 echo "$ac_t""found at $ac_find_libraries" 1>&6
8154 echo "$ac_t""no" 1>&6
8155 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8158 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8159 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8162 GUIHEADERS
="\$(MOTIF_HEADERS)"
8163 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8164 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8165 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8166 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8167 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8168 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8169 UNIXOBJS
="\$(UNIX_OBJS)"
8170 UNIXDEPS
="\$(UNIX_DEPS)"
8174 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8176 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8178 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8180 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(IODBCOBJS)"
8181 if test "$wxUSE_LIBJPEG" = "yes" ; then
8182 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8184 if test "$wxUSE_LIBTIFF" = "yes" ; then
8185 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8187 if test "$wxUSE_LIBPNG" = "yes" ; then
8188 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8190 if test "$wxUSE_ZLIB" = "yes" ; then
8191 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8193 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8194 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
8197 ALL_OBJECTS
="\$(BASE_OBJS)"
8198 ALL_DEPFILES
="\${BASE_DEPS}"
8199 ALL_HEADERS
="\${BASE_HEADERS}"
8204 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8206 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8208 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8210 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8211 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8212 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8220 if test "$wxUSE_SHARED" = "yes"; then
8223 if test "$GCC" = yes ; then
8224 SHARED_LD
="${CC} -shared -fPIC -o"
8227 SHARED_LD
="${CXX} -b -o"
8230 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8231 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8234 SHARED_LD
="${CC} -shared -o"
8236 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8237 WX_ALL
="CREATE_LINKS"
8239 *-*-irix5* | *-*-irix6* )
8240 if test "$GCC" = yes ; then
8241 SHARED_LD
="${CC} -shared -o"
8244 SHARED_LD
="${CXX} -shared -o"
8246 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8247 WX_ALL
="CREATE_LINKS"
8250 if test "$GCC" = yes ; then
8251 SHARED_LD
="${CC} -shared -o"
8254 SHARED_LD
="${CXX} -G -o"
8257 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8258 WX_ALL
="CREATE_LINKS"
8261 SHARED_LD
="${CC} -shared -o"
8263 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8264 WX_ALL
="CREATE_LINKS"
8266 *-*-freebsd* | *-*-netbsd*)
8267 SHARED_LD
="${CC} -shared -o"
8269 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8270 WX_ALL
="CREATE_LINKS"
8273 SHARED_LD
="${CXX} -shared -o"
8275 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8276 WX_ALL
="CREATE_LINKS"
8279 SHARED_LD
="${CXX} -shared -o"
8281 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8282 WX_ALL
="CREATE_LINKS"
8285 SHARED_LD
="${CC} -shared -o"
8287 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8288 WX_ALL
="CREATE_LINKS"
8291 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8292 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8295 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8296 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8299 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8300 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8305 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8308 if test "x$WX_TARGET_LIBRARY" = "x"; then
8309 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8312 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8313 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8317 for ac_hdr
in strings.h
8319 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8321 echo "configure:8322: checking for $ac_hdr" >&5
8322 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8323 echo $ac_n "(cached) $ac_c" 1>&6
8325 cat > conftest.
$ac_ext <<EOF
8326 #line 8327 "configure"
8327 #include "confdefs.h"
8330 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8331 { (eval echo configure
:8332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8332 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8333 if test -z "$ac_err"; then
8335 eval "ac_cv_header_$ac_safe=yes"
8338 echo "configure: failed program was:" >&5
8339 cat conftest.
$ac_ext >&5
8341 eval "ac_cv_header_$ac_safe=no"
8345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8346 echo "$ac_t""yes" 1>&6
8347 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8348 cat >> confdefs.h
<<EOF
8349 #define $ac_tr_hdr 1
8353 echo "$ac_t""no" 1>&6
8357 for ac_hdr
in unistd.h
8359 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8360 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8361 echo "configure:8362: checking for $ac_hdr" >&5
8362 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8363 echo $ac_n "(cached) $ac_c" 1>&6
8365 cat > conftest.
$ac_ext <<EOF
8366 #line 8367 "configure"
8367 #include "confdefs.h"
8370 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8371 { (eval echo configure
:8372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8372 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8373 if test -z "$ac_err"; then
8375 eval "ac_cv_header_$ac_safe=yes"
8378 echo "configure: failed program was:" >&5
8379 cat conftest.
$ac_ext >&5
8381 eval "ac_cv_header_$ac_safe=no"
8385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8386 echo "$ac_t""yes" 1>&6
8387 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8388 cat >> confdefs.h
<<EOF
8389 #define $ac_tr_hdr 1
8393 echo "$ac_t""no" 1>&6
8397 for ac_hdr
in wchar.h
8399 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8401 echo "configure:8402: checking for $ac_hdr" >&5
8402 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8403 echo $ac_n "(cached) $ac_c" 1>&6
8405 cat > conftest.
$ac_ext <<EOF
8406 #line 8407 "configure"
8407 #include "confdefs.h"
8410 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8411 { (eval echo configure
:8412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8412 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8413 if test -z "$ac_err"; then
8415 eval "ac_cv_header_$ac_safe=yes"
8418 echo "configure: failed program was:" >&5
8419 cat conftest.
$ac_ext >&5
8421 eval "ac_cv_header_$ac_safe=no"
8425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8426 echo "$ac_t""yes" 1>&6
8427 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8428 cat >> confdefs.h
<<EOF
8429 #define $ac_tr_hdr 1
8433 echo "$ac_t""no" 1>&6
8437 for ac_hdr
in wcstr.h
8439 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8441 echo "configure:8442: checking for $ac_hdr" >&5
8442 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8443 echo $ac_n "(cached) $ac_c" 1>&6
8445 cat > conftest.
$ac_ext <<EOF
8446 #line 8447 "configure"
8447 #include "confdefs.h"
8450 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8451 { (eval echo configure
:8452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8452 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8453 if test -z "$ac_err"; then
8455 eval "ac_cv_header_$ac_safe=yes"
8458 echo "configure: failed program was:" >&5
8459 cat conftest.
$ac_ext >&5
8461 eval "ac_cv_header_$ac_safe=no"
8465 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8466 echo "$ac_t""yes" 1>&6
8467 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8468 cat >> confdefs.h
<<EOF
8469 #define $ac_tr_hdr 1
8473 echo "$ac_t""no" 1>&6
8477 for ac_hdr
in fnmatch.h
8479 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8480 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8481 echo "configure:8482: checking for $ac_hdr" >&5
8482 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8483 echo $ac_n "(cached) $ac_c" 1>&6
8485 cat > conftest.
$ac_ext <<EOF
8486 #line 8487 "configure"
8487 #include "confdefs.h"
8490 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8491 { (eval echo configure
:8492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8492 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8493 if test -z "$ac_err"; then
8495 eval "ac_cv_header_$ac_safe=yes"
8498 echo "configure: failed program was:" >&5
8499 cat conftest.
$ac_ext >&5
8501 eval "ac_cv_header_$ac_safe=no"
8505 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8506 echo "$ac_t""yes" 1>&6
8507 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8508 cat >> confdefs.h
<<EOF
8509 #define $ac_tr_hdr 1
8513 echo "$ac_t""no" 1>&6
8518 if test "$wxUSE_GUI" = "yes"; then
8519 for ac_hdr
in X
11/XKBlib.h
8521 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8522 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8523 echo "configure:8524: checking for $ac_hdr" >&5
8524 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8525 echo $ac_n "(cached) $ac_c" 1>&6
8527 cat > conftest.
$ac_ext <<EOF
8528 #line 8529 "configure"
8529 #include "confdefs.h"
8532 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8533 { (eval echo configure
:8534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8534 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8535 if test -z "$ac_err"; then
8537 eval "ac_cv_header_$ac_safe=yes"
8540 echo "configure: failed program was:" >&5
8541 cat conftest.
$ac_ext >&5
8543 eval "ac_cv_header_$ac_safe=no"
8547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8548 echo "$ac_t""yes" 1>&6
8549 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8550 cat >> confdefs.h
<<EOF
8551 #define $ac_tr_hdr 1
8555 echo "$ac_t""no" 1>&6
8562 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8563 echo "configure:8564: checking for ANSI C header files" >&5
8564 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8565 echo $ac_n "(cached) $ac_c" 1>&6
8567 cat > conftest.
$ac_ext <<EOF
8568 #line 8569 "configure"
8569 #include "confdefs.h"
8575 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8576 { (eval echo configure
:8577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8577 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8578 if test -z "$ac_err"; then
8580 ac_cv_header_stdc
=yes
8583 echo "configure: failed program was:" >&5
8584 cat conftest.
$ac_ext >&5
8586 ac_cv_header_stdc
=no
8590 if test $ac_cv_header_stdc = yes; then
8591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8592 cat > conftest.
$ac_ext <<EOF
8593 #line 8594 "configure"
8594 #include "confdefs.h"
8597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8598 egrep "memchr" >/dev
/null
2>&1; then
8602 ac_cv_header_stdc
=no
8608 if test $ac_cv_header_stdc = yes; then
8609 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8610 cat > conftest.
$ac_ext <<EOF
8611 #line 8612 "configure"
8612 #include "confdefs.h"
8615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8616 egrep "free" >/dev
/null
2>&1; then
8620 ac_cv_header_stdc
=no
8626 if test $ac_cv_header_stdc = yes; then
8627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8628 if test "$cross_compiling" = yes; then
8631 cat > conftest.
$ac_ext <<EOF
8632 #line 8633 "configure"
8633 #include "confdefs.h"
8635 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8636 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8638 int main () { int i; for (i = 0; i < 256; i++)
8639 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8643 if { (eval echo configure
:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8647 echo "configure: failed program was:" >&5
8648 cat conftest.
$ac_ext >&5
8650 ac_cv_header_stdc
=no
8658 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8659 if test $ac_cv_header_stdc = yes; then
8660 cat >> confdefs.h
<<\EOF
8661 #define STDC_HEADERS 1
8666 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8667 echo "configure:8668: checking for mode_t" >&5
8668 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8669 echo $ac_n "(cached) $ac_c" 1>&6
8671 cat > conftest.
$ac_ext <<EOF
8672 #line 8673 "configure"
8673 #include "confdefs.h"
8674 #include <sys/types.h>
8680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8681 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8683 ac_cv_type_mode_t
=yes
8686 ac_cv_type_mode_t
=no
8691 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8692 if test $ac_cv_type_mode_t = no
; then
8693 cat >> confdefs.h
<<\EOF
8699 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8700 echo "configure:8701: checking for off_t" >&5
8701 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8702 echo $ac_n "(cached) $ac_c" 1>&6
8704 cat > conftest.
$ac_ext <<EOF
8705 #line 8706 "configure"
8706 #include "confdefs.h"
8707 #include <sys/types.h>
8713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8714 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8716 ac_cv_type_off_t
=yes
8724 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8725 if test $ac_cv_type_off_t = no
; then
8726 cat >> confdefs.h
<<\EOF
8732 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8733 echo "configure:8734: checking for pid_t" >&5
8734 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8735 echo $ac_n "(cached) $ac_c" 1>&6
8737 cat > conftest.
$ac_ext <<EOF
8738 #line 8739 "configure"
8739 #include "confdefs.h"
8740 #include <sys/types.h>
8746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8747 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8749 ac_cv_type_pid_t
=yes
8757 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8758 if test $ac_cv_type_pid_t = no
; then
8759 cat >> confdefs.h
<<\EOF
8765 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8766 echo "configure:8767: checking for size_t" >&5
8767 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8768 echo $ac_n "(cached) $ac_c" 1>&6
8770 cat > conftest.
$ac_ext <<EOF
8771 #line 8772 "configure"
8772 #include "confdefs.h"
8773 #include <sys/types.h>
8779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8780 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8782 ac_cv_type_size_t
=yes
8785 ac_cv_type_size_t
=no
8790 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8791 if test $ac_cv_type_size_t = no
; then
8792 cat >> confdefs.h
<<\EOF
8793 #define size_t unsigned
8798 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8799 echo "configure:8800: checking for uid_t in sys/types.h" >&5
8800 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8801 echo $ac_n "(cached) $ac_c" 1>&6
8803 cat > conftest.
$ac_ext <<EOF
8804 #line 8805 "configure"
8805 #include "confdefs.h"
8806 #include <sys/types.h>
8808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8809 egrep "uid_t" >/dev
/null
2>&1; then
8811 ac_cv_type_uid_t
=yes
8820 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8821 if test $ac_cv_type_uid_t = no
; then
8822 cat >> confdefs.h
<<\EOF
8826 cat >> confdefs.h
<<\EOF
8835 echo $ac_n "checking for working const""... $ac_c" 1>&6
8836 echo "configure:8837: checking for working const" >&5
8837 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8838 echo $ac_n "(cached) $ac_c" 1>&6
8840 cat > conftest.
$ac_ext <<EOF
8841 #line 8842 "configure"
8842 #include "confdefs.h"
8846 /* Ultrix mips cc rejects this. */
8847 typedef int charset[2]; const charset x;
8848 /* SunOS 4.1.1 cc rejects this. */
8849 char const *const *ccp;
8851 /* NEC SVR4.0.2 mips cc rejects this. */
8852 struct point {int x, y;};
8853 static struct point const zero = {0,0};
8854 /* AIX XL C 1.02.0.0 rejects this.
8855 It does not let you subtract one const X* pointer from another in an arm
8856 of an if-expression whose if-part is not a constant expression */
8857 const char *g = "string";
8858 ccp = &g + (g ? g-g : 0);
8859 /* HPUX 7.0 cc rejects these. */
8862 ccp = (char const *const *) p;
8863 { /* SCO 3.2v4 cc rejects this. */
8865 char const *s = 0 ? (char *) 0 : (char const *) 0;
8869 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8871 const int *foo = &x[0];
8874 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8875 typedef const int *iptr;
8879 { /* AIX XL C 1.02.0.0 rejects this saying
8880 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8881 struct s { int j; const int *ap[3]; };
8882 struct s *b; b->j = 5;
8884 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8890 if { (eval echo configure
:8891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8894 echo "configure: failed program was:" >&5
8895 cat conftest.
$ac_ext >&5
8902 echo "$ac_t""$ac_cv_c_const" 1>&6
8903 if test $ac_cv_c_const = no
; then
8904 cat >> confdefs.h
<<\EOF
8910 echo $ac_n "checking for inline""... $ac_c" 1>&6
8911 echo "configure:8912: checking for inline" >&5
8912 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8913 echo $ac_n "(cached) $ac_c" 1>&6
8916 for ac_kw
in inline __inline__ __inline
; do
8917 cat > conftest.
$ac_ext <<EOF
8918 #line 8919 "configure"
8919 #include "confdefs.h"
8925 if { (eval echo configure
:8926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8927 ac_cv_c_inline
=$ac_kw; break
8929 echo "configure: failed program was:" >&5
8930 cat conftest.
$ac_ext >&5
8937 echo "$ac_t""$ac_cv_c_inline" 1>&6
8938 case "$ac_cv_c_inline" in
8940 no
) cat >> confdefs.h
<<\EOF
8944 *) cat >> confdefs.h
<<EOF
8945 #define inline $ac_cv_c_inline
8951 echo $ac_n "checking size of char""... $ac_c" 1>&6
8952 echo "configure:8953: checking size of char" >&5
8953 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8954 echo $ac_n "(cached) $ac_c" 1>&6
8956 if test "$cross_compiling" = yes; then
8959 cat > conftest.
$ac_ext <<EOF
8960 #line 8961 "configure"
8961 #include "confdefs.h"
8965 FILE *f=fopen("conftestval", "w");
8967 fprintf(f, "%d\n", sizeof(char));
8971 if { (eval echo configure
:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8973 ac_cv_sizeof_char
=`cat conftestval`
8975 echo "configure: failed program was:" >&5
8976 cat conftest.
$ac_ext >&5
8984 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8985 cat >> confdefs.h
<<EOF
8986 #define SIZEOF_CHAR $ac_cv_sizeof_char
8990 echo $ac_n "checking size of short""... $ac_c" 1>&6
8991 echo "configure:8992: checking size of short" >&5
8992 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8993 echo $ac_n "(cached) $ac_c" 1>&6
8995 if test "$cross_compiling" = yes; then
8996 ac_cv_sizeof_short
=2
8998 cat > conftest.
$ac_ext <<EOF
8999 #line 9000 "configure"
9000 #include "confdefs.h"
9004 FILE *f=fopen("conftestval", "w");
9006 fprintf(f, "%d\n", sizeof(short));
9010 if { (eval echo configure
:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9012 ac_cv_sizeof_short
=`cat conftestval`
9014 echo "configure: failed program was:" >&5
9015 cat conftest.
$ac_ext >&5
9017 ac_cv_sizeof_short
=0
9023 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9024 cat >> confdefs.h
<<EOF
9025 #define SIZEOF_SHORT $ac_cv_sizeof_short
9029 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9030 echo "configure:9031: checking size of int *" >&5
9031 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9032 echo $ac_n "(cached) $ac_c" 1>&6
9034 if test "$cross_compiling" = yes; then
9035 ac_cv_sizeof_int_p
=4
9037 cat > conftest.
$ac_ext <<EOF
9038 #line 9039 "configure"
9039 #include "confdefs.h"
9043 FILE *f=fopen("conftestval", "w");
9045 fprintf(f, "%d\n", sizeof(int *));
9049 if { (eval echo configure
:9050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9051 ac_cv_sizeof_int_p
=`cat conftestval`
9053 echo "configure: failed program was:" >&5
9054 cat conftest.
$ac_ext >&5
9056 ac_cv_sizeof_int_p
=0
9062 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9063 cat >> confdefs.h
<<EOF
9064 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9068 echo $ac_n "checking size of int""... $ac_c" 1>&6
9069 echo "configure:9070: checking size of int" >&5
9070 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9071 echo $ac_n "(cached) $ac_c" 1>&6
9073 if test "$cross_compiling" = yes; then
9076 cat > conftest.
$ac_ext <<EOF
9077 #line 9078 "configure"
9078 #include "confdefs.h"
9082 FILE *f=fopen("conftestval", "w");
9084 fprintf(f, "%d\n", sizeof(int));
9088 if { (eval echo configure
:9089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9090 ac_cv_sizeof_int
=`cat conftestval`
9092 echo "configure: failed program was:" >&5
9093 cat conftest.
$ac_ext >&5
9101 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9102 cat >> confdefs.h
<<EOF
9103 #define SIZEOF_INT $ac_cv_sizeof_int
9107 echo $ac_n "checking size of long""... $ac_c" 1>&6
9108 echo "configure:9109: checking size of long" >&5
9109 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9110 echo $ac_n "(cached) $ac_c" 1>&6
9112 if test "$cross_compiling" = yes; then
9115 cat > conftest.
$ac_ext <<EOF
9116 #line 9117 "configure"
9117 #include "confdefs.h"
9121 FILE *f=fopen("conftestval", "w");
9123 fprintf(f, "%d\n", sizeof(long));
9127 if { (eval echo configure
:9128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9129 ac_cv_sizeof_long
=`cat conftestval`
9131 echo "configure: failed program was:" >&5
9132 cat conftest.
$ac_ext >&5
9140 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9141 cat >> confdefs.h
<<EOF
9142 #define SIZEOF_LONG $ac_cv_sizeof_long
9146 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9147 echo "configure:9148: checking size of long long" >&5
9148 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9149 echo $ac_n "(cached) $ac_c" 1>&6
9151 if test "$cross_compiling" = yes; then
9152 ac_cv_sizeof_long_long
=0
9154 cat > conftest.
$ac_ext <<EOF
9155 #line 9156 "configure"
9156 #include "confdefs.h"
9160 FILE *f=fopen("conftestval", "w");
9162 fprintf(f, "%d\n", sizeof(long long));
9166 if { (eval echo configure
:9167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9168 ac_cv_sizeof_long_long
=`cat conftestval`
9170 echo "configure: failed program was:" >&5
9171 cat conftest.
$ac_ext >&5
9173 ac_cv_sizeof_long_long
=0
9179 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9180 cat >> confdefs.h
<<EOF
9181 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9186 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9187 echo "configure:9188: checking whether byte ordering is bigendian" >&5
9188 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9189 echo $ac_n "(cached) $ac_c" 1>&6
9191 ac_cv_c_bigendian
=unknown
9192 # See if sys/param.h defines the BYTE_ORDER macro.
9193 cat > conftest.
$ac_ext <<EOF
9194 #line 9195 "configure"
9195 #include "confdefs.h"
9196 #include <sys/types.h>
9197 #include <sys/param.h>
9200 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9205 if { (eval echo configure
:9206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9207 # It does; now see whether it defined to BIG_ENDIAN or not.
9208 cat > conftest.
$ac_ext <<EOF
9209 #line 9210 "configure"
9210 #include "confdefs.h"
9211 #include <sys/types.h>
9212 #include <sys/param.h>
9215 #if BYTE_ORDER != BIG_ENDIAN
9220 if { (eval echo configure
:9221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9222 ac_cv_c_bigendian
=yes
9224 echo "configure: failed program was:" >&5
9225 cat conftest.
$ac_ext >&5
9227 ac_cv_c_bigendian
=no
9231 echo "configure: failed program was:" >&5
9232 cat conftest.
$ac_ext >&5
9235 if test $ac_cv_c_bigendian = unknown
; then
9236 if test "$cross_compiling" = yes; then
9237 ac_cv_c_bigendian
=unknown
9239 cat > conftest.
$ac_ext <<EOF
9240 #line 9241 "configure"
9241 #include "confdefs.h"
9243 /* Are we little or big endian? From Harbison&Steele. */
9247 char c[sizeof (long)];
9250 exit (u.c[sizeof (long) - 1] == 1);
9253 if { (eval echo configure
:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9255 ac_cv_c_bigendian
=no
9257 echo "configure: failed program was:" >&5
9258 cat conftest.
$ac_ext >&5
9260 ac_cv_c_bigendian
=yes
9268 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9269 if test $ac_cv_c_bigendian = unknown
; then
9270 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
9272 if test $ac_cv_c_bigendian = yes; then
9273 cat >> confdefs.h
<<\EOF
9274 #define WORDS_BIGENDIAN 1
9281 if test "$cross_compiling" = "yes"; then
9282 cat >> confdefs.h
<<\EOF
9283 #define wxUSE_IOSTREAMH 1
9289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9290 ac_cpp
='$CXXCPP $CPPFLAGS'
9291 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9292 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9293 cross_compiling
=$ac_cv_prog_cxx_cross
9296 for ac_hdr
in iostream
9298 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9299 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9300 echo "configure:9301: checking for $ac_hdr" >&5
9301 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9302 echo $ac_n "(cached) $ac_c" 1>&6
9304 cat > conftest.
$ac_ext <<EOF
9305 #line 9306 "configure"
9306 #include "confdefs.h"
9309 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9310 { (eval echo configure
:9311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9311 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9312 if test -z "$ac_err"; then
9314 eval "ac_cv_header_$ac_safe=yes"
9317 echo "configure: failed program was:" >&5
9318 cat conftest.
$ac_ext >&5
9320 eval "ac_cv_header_$ac_safe=no"
9324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9325 echo "$ac_t""yes" 1>&6
9326 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9327 cat >> confdefs.h
<<EOF
9328 #define $ac_tr_hdr 1
9332 echo "$ac_t""no" 1>&6
9337 if test "x$HAVE_IOSTREAM" = x
; then
9338 cat >> confdefs.h
<<\EOF
9339 #define wxUSE_IOSTREAMH 1
9347 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9348 ac_cpp
='$CPP $CPPFLAGS'
9349 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9350 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9351 cross_compiling
=$ac_cv_prog_cc_cross
9357 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9358 echo "configure:9359: checking if C++ compiler supports bool" >&5
9359 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9360 echo $ac_n "(cached) $ac_c" 1>&6
9365 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9366 ac_cpp
='$CXXCPP $CPPFLAGS'
9367 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9368 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9369 cross_compiling
=$ac_cv_prog_cxx_cross
9372 cat > conftest.
$ac_ext <<EOF
9373 #line 9374 "configure"
9374 #include "confdefs.h"
9385 if { (eval echo configure
:9386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9388 cat >> confdefs.h
<<\EOF
9395 echo "configure: failed program was:" >&5
9396 cat conftest.
$ac_ext >&5
9406 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9407 ac_cpp
='$CPP $CPPFLAGS'
9408 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9409 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9410 cross_compiling
=$ac_cv_prog_cc_cross
9415 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9417 if test "$wx_cv_cpp_bool" = "yes"; then
9418 cat >> confdefs.h
<<\EOF
9426 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9427 echo "configure:9428: checking if you need GNU extensions" >&5
9428 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9429 echo $ac_n "(cached) $ac_c" 1>&6
9432 cat > conftest.
$ac_ext <<EOF
9433 #line 9434 "configure"
9434 #include "confdefs.h"
9435 #include <features.h>
9439 #ifndef __GNU_LIBRARY__
9440 Compile error wanted
9446 if { (eval echo configure
:9447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9448 wx_cv_gnu_extensions
=yes
9450 echo "configure: failed program was:" >&5
9451 cat conftest.
$ac_ext >&5
9453 wx_cv_gnu_extensions
=no
9460 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9461 if test "$wx_cv_gnu_extensions" = "yes"; then
9462 cat >> confdefs.h
<<EOF
9463 #define _GNU_SOURCE 1
9470 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9471 echo "configure:9472: checking for wcslen in -lc" >&5
9472 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9473 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9474 echo $ac_n "(cached) $ac_c" 1>&6
9476 ac_save_LIBS
="$LIBS"
9478 cat > conftest.
$ac_ext <<EOF
9479 #line 9480 "configure"
9480 #include "confdefs.h"
9481 /* Override any gcc2 internal prototype to avoid an error. */
9482 /* We use char because int might match the return type of a gcc2
9483 builtin and then its argument prototype would still apply. */
9490 if { (eval echo configure
:9491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9492 eval "ac_cv_lib_$ac_lib_var=yes"
9494 echo "configure: failed program was:" >&5
9495 cat conftest.
$ac_ext >&5
9497 eval "ac_cv_lib_$ac_lib_var=no"
9500 LIBS
="$ac_save_LIBS"
9503 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9504 echo "$ac_t""yes" 1>&6
9506 cat >> confdefs.h
<<\EOF
9507 #define HAVE_WCSLEN 1
9513 echo "$ac_t""no" 1>&6
9515 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9516 echo "configure:9517: checking for wcslen in -lw" >&5
9517 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9518 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9519 echo $ac_n "(cached) $ac_c" 1>&6
9521 ac_save_LIBS
="$LIBS"
9523 cat > conftest.
$ac_ext <<EOF
9524 #line 9525 "configure"
9525 #include "confdefs.h"
9526 /* Override any gcc2 internal prototype to avoid an error. */
9527 /* We use char because int might match the return type of a gcc2
9528 builtin and then its argument prototype would still apply. */
9535 if { (eval echo configure
:9536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9537 eval "ac_cv_lib_$ac_lib_var=yes"
9539 echo "configure: failed program was:" >&5
9540 cat conftest.
$ac_ext >&5
9542 eval "ac_cv_lib_$ac_lib_var=no"
9545 LIBS
="$ac_save_LIBS"
9548 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9549 echo "$ac_t""yes" 1>&6
9551 cat >> confdefs.h
<<\EOF
9552 #define HAVE_WCSLEN 1
9558 echo "$ac_t""no" 1>&6
9565 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9566 echo "configure:9567: checking for vprintf" >&5
9567 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9568 echo $ac_n "(cached) $ac_c" 1>&6
9570 cat > conftest.
$ac_ext <<EOF
9571 #line 9572 "configure"
9572 #include "confdefs.h"
9573 /* System header to define __stub macros and hopefully few prototypes,
9574 which can conflict with char vprintf(); below. */
9576 /* Override any gcc2 internal prototype to avoid an error. */
9577 /* We use char because int might match the return type of a gcc2
9578 builtin and then its argument prototype would still apply. */
9583 /* The GNU C library defines this for functions which it implements
9584 to always fail with ENOSYS. Some functions are actually named
9585 something starting with __ and the normal name is an alias. */
9586 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9594 if { (eval echo configure
:9595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9596 eval "ac_cv_func_vprintf=yes"
9598 echo "configure: failed program was:" >&5
9599 cat conftest.
$ac_ext >&5
9601 eval "ac_cv_func_vprintf=no"
9606 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9607 echo "$ac_t""yes" 1>&6
9608 cat >> confdefs.h
<<\EOF
9609 #define HAVE_VPRINTF 1
9613 echo "$ac_t""no" 1>&6
9616 if test "$ac_cv_func_vprintf" != yes; then
9617 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9618 echo "configure:9619: checking for _doprnt" >&5
9619 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9620 echo $ac_n "(cached) $ac_c" 1>&6
9622 cat > conftest.
$ac_ext <<EOF
9623 #line 9624 "configure"
9624 #include "confdefs.h"
9625 /* System header to define __stub macros and hopefully few prototypes,
9626 which can conflict with char _doprnt(); below. */
9628 /* Override any gcc2 internal prototype to avoid an error. */
9629 /* We use char because int might match the return type of a gcc2
9630 builtin and then its argument prototype would still apply. */
9635 /* The GNU C library defines this for functions which it implements
9636 to always fail with ENOSYS. Some functions are actually named
9637 something starting with __ and the normal name is an alias. */
9638 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9646 if { (eval echo configure
:9647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9648 eval "ac_cv_func__doprnt=yes"
9650 echo "configure: failed program was:" >&5
9651 cat conftest.
$ac_ext >&5
9653 eval "ac_cv_func__doprnt=no"
9658 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9659 echo "$ac_t""yes" 1>&6
9660 cat >> confdefs.h
<<\EOF
9661 #define HAVE_DOPRNT 1
9665 echo "$ac_t""no" 1>&6
9671 for ac_func
in vsnprintf
9673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9674 echo "configure:9675: checking for $ac_func" >&5
9675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9676 echo $ac_n "(cached) $ac_c" 1>&6
9678 cat > conftest.
$ac_ext <<EOF
9679 #line 9680 "configure"
9680 #include "confdefs.h"
9681 /* System header to define __stub macros and hopefully few prototypes,
9682 which can conflict with char $ac_func(); below. */
9684 /* Override any gcc2 internal prototype to avoid an error. */
9685 /* We use char because int might match the return type of a gcc2
9686 builtin and then its argument prototype would still apply. */
9691 /* The GNU C library defines this for functions which it implements
9692 to always fail with ENOSYS. Some functions are actually named
9693 something starting with __ and the normal name is an alias. */
9694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9702 if { (eval echo configure
:9703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9704 eval "ac_cv_func_$ac_func=yes"
9706 echo "configure: failed program was:" >&5
9707 cat conftest.
$ac_ext >&5
9709 eval "ac_cv_func_$ac_func=no"
9714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9715 echo "$ac_t""yes" 1>&6
9716 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9717 cat >> confdefs.h
<<EOF
9718 #define $ac_tr_func 1
9720 cat >> confdefs.h
<<\EOF
9721 #define HAVE_VSNPRINTF 1
9725 echo "$ac_t""no" 1>&6
9726 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9735 ac_cpp
='$CXXCPP $CPPFLAGS'
9736 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9737 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9738 cross_compiling
=$ac_cv_prog_cxx_cross
9741 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9742 echo "configure:9743: checking for vsscanf" >&5
9743 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9744 echo $ac_n "(cached) $ac_c" 1>&6
9747 if test "$cross_compiling" = yes; then
9748 wx_cv_func_vsscanf
=no
9751 cat > conftest.
$ac_ext <<EOF
9752 #line 9753 "configure"
9753 #include "confdefs.h"
9755 extern "C" void exit(int);
9761 int try_vsscanf(const char *format, ...)
9764 va_start(ap, format);
9766 vsscanf("17", format, ap);
9774 try_vsscanf("%d", &i);
9775 return i == 17 ? 0 : 1;
9779 if { (eval echo configure
:9780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9782 cat >> confdefs.h
<<\EOF
9783 #define HAVE_VSSCANF 1
9786 wx_cv_func_vsscanf
=yes
9789 echo "configure: failed program was:" >&5
9790 cat conftest.
$ac_ext >&5
9792 wx_cv_func_vsscanf
=no
9800 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9803 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9804 ac_cpp
='$CPP $CPPFLAGS'
9805 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9806 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9807 cross_compiling
=$ac_cv_prog_cc_cross
9810 if test "$USE_UNIX" = 1; then
9812 for ac_func
in vfork
9814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9815 echo "configure:9816: checking for $ac_func" >&5
9816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9817 echo $ac_n "(cached) $ac_c" 1>&6
9819 cat > conftest.
$ac_ext <<EOF
9820 #line 9821 "configure"
9821 #include "confdefs.h"
9822 /* System header to define __stub macros and hopefully few prototypes,
9823 which can conflict with char $ac_func(); below. */
9825 /* Override any gcc2 internal prototype to avoid an error. */
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9832 /* The GNU C library defines this for functions which it implements
9833 to always fail with ENOSYS. Some functions are actually named
9834 something starting with __ and the normal name is an alias. */
9835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9843 if { (eval echo configure
:9844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9845 eval "ac_cv_func_$ac_func=yes"
9847 echo "configure: failed program was:" >&5
9848 cat conftest.
$ac_ext >&5
9850 eval "ac_cv_func_$ac_func=no"
9855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9856 echo "$ac_t""yes" 1>&6
9857 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9858 cat >> confdefs.h
<<EOF
9859 #define $ac_tr_func 1
9863 echo "$ac_t""no" 1>&6
9868 for ac_func
in timegm
9870 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9871 echo "configure:9872: checking for $ac_func" >&5
9872 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9873 echo $ac_n "(cached) $ac_c" 1>&6
9875 cat > conftest.
$ac_ext <<EOF
9876 #line 9877 "configure"
9877 #include "confdefs.h"
9878 /* System header to define __stub macros and hopefully few prototypes,
9879 which can conflict with char $ac_func(); below. */
9881 /* Override any gcc2 internal prototype to avoid an error. */
9882 /* We use char because int might match the return type of a gcc2
9883 builtin and then its argument prototype would still apply. */
9888 /* The GNU C library defines this for functions which it implements
9889 to always fail with ENOSYS. Some functions are actually named
9890 something starting with __ and the normal name is an alias. */
9891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9899 if { (eval echo configure
:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9901 eval "ac_cv_func_$ac_func=yes"
9903 echo "configure: failed program was:" >&5
9904 cat conftest.
$ac_ext >&5
9906 eval "ac_cv_func_$ac_func=no"
9911 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9912 echo "$ac_t""yes" 1>&6
9913 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9914 cat >> confdefs.h
<<EOF
9915 #define $ac_tr_func 1
9919 echo "$ac_t""no" 1>&6
9925 for ac_func
in nanosleep
9927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9928 echo "configure:9929: checking for $ac_func" >&5
9929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9930 echo $ac_n "(cached) $ac_c" 1>&6
9932 cat > conftest.
$ac_ext <<EOF
9933 #line 9934 "configure"
9934 #include "confdefs.h"
9935 /* System header to define __stub macros and hopefully few prototypes,
9936 which can conflict with char $ac_func(); below. */
9938 /* Override any gcc2 internal prototype to avoid an error. */
9939 /* We use char because int might match the return type of a gcc2
9940 builtin and then its argument prototype would still apply. */
9945 /* The GNU C library defines this for functions which it implements
9946 to always fail with ENOSYS. Some functions are actually named
9947 something starting with __ and the normal name is an alias. */
9948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9956 if { (eval echo configure
:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9958 eval "ac_cv_func_$ac_func=yes"
9960 echo "configure: failed program was:" >&5
9961 cat conftest.
$ac_ext >&5
9963 eval "ac_cv_func_$ac_func=no"
9968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9969 echo "$ac_t""yes" 1>&6
9970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9971 cat >> confdefs.h
<<EOF
9972 #define $ac_tr_func 1
9974 cat >> confdefs.h
<<\EOF
9975 #define HAVE_NANOSLEEP 1
9979 echo "$ac_t""no" 1>&6
9980 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9981 echo "configure:9982: checking for nanosleep in -lposix4" >&5
9982 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9984 echo $ac_n "(cached) $ac_c" 1>&6
9986 ac_save_LIBS
="$LIBS"
9987 LIBS
="-lposix4 $LIBS"
9988 cat > conftest.
$ac_ext <<EOF
9989 #line 9990 "configure"
9990 #include "confdefs.h"
9991 /* Override any gcc2 internal prototype to avoid an error. */
9992 /* We use char because int might match the return type of a gcc2
9993 builtin and then its argument prototype would still apply. */
10000 if { (eval echo configure
:10001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10002 eval "ac_cv_lib_$ac_lib_var=yes"
10004 echo "configure: failed program was:" >&5
10005 cat conftest.
$ac_ext >&5
10007 eval "ac_cv_lib_$ac_lib_var=no"
10010 LIBS
="$ac_save_LIBS"
10013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10014 echo "$ac_t""yes" 1>&6
10016 cat >> confdefs.h
<<\EOF
10017 #define HAVE_NANOSLEEP 1
10020 POSIX4_LINK
="-lposix4"
10023 echo "$ac_t""no" 1>&6
10025 for ac_func
in usleep
10027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10028 echo "configure:10029: checking for $ac_func" >&5
10029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10030 echo $ac_n "(cached) $ac_c" 1>&6
10032 cat > conftest.
$ac_ext <<EOF
10033 #line 10034 "configure"
10034 #include "confdefs.h"
10035 /* System header to define __stub macros and hopefully few prototypes,
10036 which can conflict with char $ac_func(); below. */
10037 #include <assert.h>
10038 /* Override any gcc2 internal prototype to avoid an error. */
10039 /* We use char because int might match the return type of a gcc2
10040 builtin and then its argument prototype would still apply. */
10045 /* The GNU C library defines this for functions which it implements
10046 to always fail with ENOSYS. Some functions are actually named
10047 something starting with __ and the normal name is an alias. */
10048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10056 if { (eval echo configure
:10057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10058 eval "ac_cv_func_$ac_func=yes"
10060 echo "configure: failed program was:" >&5
10061 cat conftest.
$ac_ext >&5
10063 eval "ac_cv_func_$ac_func=no"
10068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10069 echo "$ac_t""yes" 1>&6
10070 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10071 cat >> confdefs.h
<<EOF
10072 #define $ac_tr_func 1
10074 cat >> confdefs.h
<<\EOF
10075 #define HAVE_USLEEP 1
10079 echo "$ac_t""no" 1>&6
10080 echo "configure: warning: wxSleep() function will not work" 1>&2
10092 for ac_func
in uname gethostname
10094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10095 echo "configure:10096: checking for $ac_func" >&5
10096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10097 echo $ac_n "(cached) $ac_c" 1>&6
10099 cat > conftest.
$ac_ext <<EOF
10100 #line 10101 "configure"
10101 #include "confdefs.h"
10102 /* System header to define __stub macros and hopefully few prototypes,
10103 which can conflict with char $ac_func(); below. */
10104 #include <assert.h>
10105 /* Override any gcc2 internal prototype to avoid an error. */
10106 /* We use char because int might match the return type of a gcc2
10107 builtin and then its argument prototype would still apply. */
10112 /* The GNU C library defines this for functions which it implements
10113 to always fail with ENOSYS. Some functions are actually named
10114 something starting with __ and the normal name is an alias. */
10115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10123 if { (eval echo configure
:10124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10125 eval "ac_cv_func_$ac_func=yes"
10127 echo "configure: failed program was:" >&5
10128 cat conftest.
$ac_ext >&5
10130 eval "ac_cv_func_$ac_func=no"
10135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10136 echo "$ac_t""yes" 1>&6
10137 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10138 cat >> confdefs.h
<<EOF
10139 #define $ac_tr_func 1
10143 echo "$ac_t""no" 1>&6
10148 for ac_func
in strtok_r
10150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10151 echo "configure:10152: checking for $ac_func" >&5
10152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10153 echo $ac_n "(cached) $ac_c" 1>&6
10155 cat > conftest.
$ac_ext <<EOF
10156 #line 10157 "configure"
10157 #include "confdefs.h"
10158 /* System header to define __stub macros and hopefully few prototypes,
10159 which can conflict with char $ac_func(); below. */
10160 #include <assert.h>
10161 /* Override any gcc2 internal prototype to avoid an error. */
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10168 /* The GNU C library defines this for functions which it implements
10169 to always fail with ENOSYS. Some functions are actually named
10170 something starting with __ and the normal name is an alias. */
10171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10179 if { (eval echo configure
:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10181 eval "ac_cv_func_$ac_func=yes"
10183 echo "configure: failed program was:" >&5
10184 cat conftest.
$ac_ext >&5
10186 eval "ac_cv_func_$ac_func=no"
10191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10192 echo "$ac_t""yes" 1>&6
10193 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10194 cat >> confdefs.h
<<EOF
10195 #define $ac_tr_func 1
10199 echo "$ac_t""no" 1>&6
10205 for ac_func
in inet_addr
10207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10208 echo "configure:10209: checking for $ac_func" >&5
10209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10210 echo $ac_n "(cached) $ac_c" 1>&6
10212 cat > conftest.
$ac_ext <<EOF
10213 #line 10214 "configure"
10214 #include "confdefs.h"
10215 /* System header to define __stub macros and hopefully few prototypes,
10216 which can conflict with char $ac_func(); below. */
10217 #include <assert.h>
10218 /* Override any gcc2 internal prototype to avoid an error. */
10219 /* We use char because int might match the return type of a gcc2
10220 builtin and then its argument prototype would still apply. */
10225 /* The GNU C library defines this for functions which it implements
10226 to always fail with ENOSYS. Some functions are actually named
10227 something starting with __ and the normal name is an alias. */
10228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10236 if { (eval echo configure
:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10238 eval "ac_cv_func_$ac_func=yes"
10240 echo "configure: failed program was:" >&5
10241 cat conftest.
$ac_ext >&5
10243 eval "ac_cv_func_$ac_func=no"
10248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10249 echo "$ac_t""yes" 1>&6
10250 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10251 cat >> confdefs.h
<<EOF
10252 #define $ac_tr_func 1
10254 cat >> confdefs.h
<<\EOF
10255 #define HAVE_INET_ADDR 1
10259 echo "$ac_t""no" 1>&6
10260 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10261 echo "configure:10262: checking for inet_addr in -lnsl" >&5
10262 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10264 echo $ac_n "(cached) $ac_c" 1>&6
10266 ac_save_LIBS
="$LIBS"
10268 cat > conftest.
$ac_ext <<EOF
10269 #line 10270 "configure"
10270 #include "confdefs.h"
10271 /* Override any gcc2 internal prototype to avoid an error. */
10272 /* We use char because int might match the return type of a gcc2
10273 builtin and then its argument prototype would still apply. */
10280 if { (eval echo configure
:10281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10282 eval "ac_cv_lib_$ac_lib_var=yes"
10284 echo "configure: failed program was:" >&5
10285 cat conftest.
$ac_ext >&5
10287 eval "ac_cv_lib_$ac_lib_var=no"
10290 LIBS
="$ac_save_LIBS"
10293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10294 echo "$ac_t""yes" 1>&6
10297 echo "$ac_t""no" 1>&6
10298 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10299 echo "configure:10300: checking for inet_addr in -lresolv" >&5
10300 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10304 ac_save_LIBS
="$LIBS"
10305 LIBS
="-lresolv $LIBS"
10306 cat > conftest.
$ac_ext <<EOF
10307 #line 10308 "configure"
10308 #include "confdefs.h"
10309 /* Override any gcc2 internal prototype to avoid an error. */
10310 /* We use char because int might match the return type of a gcc2
10311 builtin and then its argument prototype would still apply. */
10318 if { (eval echo configure
:10319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10320 eval "ac_cv_lib_$ac_lib_var=yes"
10322 echo "configure: failed program was:" >&5
10323 cat conftest.
$ac_ext >&5
10325 eval "ac_cv_lib_$ac_lib_var=no"
10328 LIBS
="$ac_save_LIBS"
10331 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10332 echo "$ac_t""yes" 1>&6
10336 echo "$ac_t""no" 1>&6
10348 for ac_func
in inet_aton
10350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10351 echo "configure:10352: checking for $ac_func" >&5
10352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10353 echo $ac_n "(cached) $ac_c" 1>&6
10355 cat > conftest.
$ac_ext <<EOF
10356 #line 10357 "configure"
10357 #include "confdefs.h"
10358 /* System header to define __stub macros and hopefully few prototypes,
10359 which can conflict with char $ac_func(); below. */
10360 #include <assert.h>
10361 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10368 /* The GNU C library defines this for functions which it implements
10369 to always fail with ENOSYS. Some functions are actually named
10370 something starting with __ and the normal name is an alias. */
10371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10379 if { (eval echo configure
:10380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10381 eval "ac_cv_func_$ac_func=yes"
10383 echo "configure: failed program was:" >&5
10384 cat conftest.
$ac_ext >&5
10386 eval "ac_cv_func_$ac_func=no"
10391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10392 echo "$ac_t""yes" 1>&6
10393 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10394 cat >> confdefs.h
<<EOF
10395 #define $ac_tr_func 1
10397 cat >> confdefs.h
<<\EOF
10398 #define HAVE_INET_ATON 1
10402 echo "$ac_t""no" 1>&6
10403 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10404 echo "configure:10405: checking for inet_aton in -l$INET_LINK" >&5
10405 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10407 echo $ac_n "(cached) $ac_c" 1>&6
10409 ac_save_LIBS
="$LIBS"
10410 LIBS
="-l$INET_LINK $LIBS"
10411 cat > conftest.
$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10414 /* Override any gcc2 internal prototype to avoid an error. */
10415 /* We use char because int might match the return type of a gcc2
10416 builtin and then its argument prototype would still apply. */
10423 if { (eval echo configure
:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10425 eval "ac_cv_lib_$ac_lib_var=yes"
10427 echo "configure: failed program was:" >&5
10428 cat conftest.
$ac_ext >&5
10430 eval "ac_cv_lib_$ac_lib_var=no"
10433 LIBS
="$ac_save_LIBS"
10436 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10437 echo "$ac_t""yes" 1>&6
10438 cat >> confdefs.h
<<\EOF
10439 #define HAVE_INET_ATON 1
10443 echo "$ac_t""no" 1>&6
10451 if test "x$INET_LINK" != "x"; then
10452 cat >> confdefs.h
<<\EOF
10453 #define HAVE_INET_ADDR 1
10456 INET_LINK
="-l$INET_LINK"
10462 cat > confcache
<<\EOF
10463 # This file is a shell script that caches the results of configure
10464 # tests run on this system so they can be shared between configure
10465 # scripts and configure runs. It is not useful on other systems.
10466 # If it contains results you don't want to keep, you may remove or edit it.
10468 # By default, configure uses ./config.cache as the cache file,
10469 # creating it if it does not exist already. You can give configure
10470 # the --cache-file=FILE option to use a different cache file; that is
10471 # what configure does when it calls configure scripts in
10472 # subdirectories, so they share the cache.
10473 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10474 # config.status only pays attention to the cache file if you give it the
10475 # --recheck option to rerun configure.
10478 # The following way of writing the cache mishandles newlines in values,
10479 # but we know of no workaround that is simple, portable, and efficient.
10480 # So, don't put newlines in cache variables' values.
10481 # Ultrix sh set writes to stderr and can't be redirected directly,
10482 # and sets the high bit in the cache file unless we assign to the vars.
10484 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10486 # `set' does not quote correctly, so add quotes (double-quote substitution
10487 # turns \\\\ into \\, and sed turns \\ into \).
10489 -e "s/'/'\\\\''/g" \
10490 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10493 # `set' quotes correctly as required by POSIX, so do not add quotes.
10494 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10497 if cmp -s $cache_file confcache
; then
10500 if test -w $cache_file; then
10501 echo "updating cache $cache_file"
10502 cat confcache
> $cache_file
10504 echo "not updating unwritable cache $cache_file"
10511 if test "$USE_UNIX" = 1; then
10517 if test "$wxUSE_THREADS" = "yes" ; then
10518 if test "$wxUSE_WINE" = 1 ; then
10519 echo "configure: warning: Threads are not supported under WINE" 1>&2
10524 if test "$wxUSE_THREADS" = "yes" ; then
10526 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10527 echo "configure:10528: checking for pthread_create in -lpthread" >&5
10528 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10530 echo $ac_n "(cached) $ac_c" 1>&6
10532 ac_save_LIBS
="$LIBS"
10533 LIBS
="-lpthread $LIBS"
10534 cat > conftest.
$ac_ext <<EOF
10535 #line 10536 "configure"
10536 #include "confdefs.h"
10537 /* Override any gcc2 internal prototype to avoid an error. */
10538 /* We use char because int might match the return type of a gcc2
10539 builtin and then its argument prototype would still apply. */
10540 char pthread_create();
10546 if { (eval echo configure
:10547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10548 eval "ac_cv_lib_$ac_lib_var=yes"
10550 echo "configure: failed program was:" >&5
10551 cat conftest.
$ac_ext >&5
10553 eval "ac_cv_lib_$ac_lib_var=no"
10556 LIBS
="$ac_save_LIBS"
10559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10560 echo "$ac_t""yes" 1>&6
10562 THREADS_OBJ
="threadpsx.lo"
10563 THREADS_LINK
="pthread"
10566 echo "$ac_t""no" 1>&6
10568 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10569 echo "configure:10570: checking for pthread_create in -lc_r" >&5
10570 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10571 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10572 echo $ac_n "(cached) $ac_c" 1>&6
10574 ac_save_LIBS
="$LIBS"
10576 cat > conftest.
$ac_ext <<EOF
10577 #line 10578 "configure"
10578 #include "confdefs.h"
10579 /* Override any gcc2 internal prototype to avoid an error. */
10580 /* We use char because int might match the return type of a gcc2
10581 builtin and then its argument prototype would still apply. */
10582 char pthread_create();
10588 if { (eval echo configure
:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10590 eval "ac_cv_lib_$ac_lib_var=yes"
10592 echo "configure: failed program was:" >&5
10593 cat conftest.
$ac_ext >&5
10595 eval "ac_cv_lib_$ac_lib_var=no"
10598 LIBS
="$ac_save_LIBS"
10601 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10602 echo "$ac_t""yes" 1>&6
10604 THREADS_OBJ
="threadpsx.lo"
10608 echo "$ac_t""no" 1>&6
10610 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10611 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10612 echo "configure:10613: checking for sys/prctl.h" >&5
10613 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10614 echo $ac_n "(cached) $ac_c" 1>&6
10616 cat > conftest.
$ac_ext <<EOF
10617 #line 10618 "configure"
10618 #include "confdefs.h"
10619 #include <sys/prctl.h>
10621 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10622 { (eval echo configure
:10623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10623 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10624 if test -z "$ac_err"; then
10626 eval "ac_cv_header_$ac_safe=yes"
10629 echo "configure: failed program was:" >&5
10630 cat conftest.
$ac_ext >&5
10632 eval "ac_cv_header_$ac_safe=no"
10636 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10637 echo "$ac_t""yes" 1>&6
10639 THREADS_OBJ
="threadsgi.lo"
10642 echo "$ac_t""no" 1>&6
10652 if test -z "$THREADS_OBJ" ; then
10654 echo "configure: warning: No thread support on this system" 1>&2
10658 if test "$wxUSE_THREADS" = "yes" ; then
10659 for ac_func
in thr_setconcurrency
10661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10662 echo "configure:10663: checking for $ac_func" >&5
10663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10664 echo $ac_n "(cached) $ac_c" 1>&6
10666 cat > conftest.
$ac_ext <<EOF
10667 #line 10668 "configure"
10668 #include "confdefs.h"
10669 /* System header to define __stub macros and hopefully few prototypes,
10670 which can conflict with char $ac_func(); below. */
10671 #include <assert.h>
10672 /* Override any gcc2 internal prototype to avoid an error. */
10673 /* We use char because int might match the return type of a gcc2
10674 builtin and then its argument prototype would still apply. */
10679 /* The GNU C library defines this for functions which it implements
10680 to always fail with ENOSYS. Some functions are actually named
10681 something starting with __ and the normal name is an alias. */
10682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10690 if { (eval echo configure
:10691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10692 eval "ac_cv_func_$ac_func=yes"
10694 echo "configure: failed program was:" >&5
10695 cat conftest.
$ac_ext >&5
10697 eval "ac_cv_func_$ac_func=no"
10702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10703 echo "$ac_t""yes" 1>&6
10704 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10705 cat >> confdefs.h
<<EOF
10706 #define $ac_tr_func 1
10710 echo "$ac_t""no" 1>&6
10716 for ac_hdr
in sched.h
10718 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10720 echo "configure:10721: checking for $ac_hdr" >&5
10721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10722 echo $ac_n "(cached) $ac_c" 1>&6
10724 cat > conftest.
$ac_ext <<EOF
10725 #line 10726 "configure"
10726 #include "confdefs.h"
10729 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10730 { (eval echo configure
:10731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10731 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10732 if test -z "$ac_err"; then
10734 eval "ac_cv_header_$ac_safe=yes"
10737 echo "configure: failed program was:" >&5
10738 cat conftest.
$ac_ext >&5
10740 eval "ac_cv_header_$ac_safe=no"
10744 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10745 echo "$ac_t""yes" 1>&6
10746 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10747 cat >> confdefs.h
<<EOF
10748 #define $ac_tr_hdr 1
10752 echo "$ac_t""no" 1>&6
10757 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10758 echo "configure:10759: checking for sched_yield in -l$THREADS_LINK" >&5
10759 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10761 echo $ac_n "(cached) $ac_c" 1>&6
10763 ac_save_LIBS
="$LIBS"
10764 LIBS
="-l$THREADS_LINK $LIBS"
10765 cat > conftest.
$ac_ext <<EOF
10766 #line 10767 "configure"
10767 #include "confdefs.h"
10768 /* Override any gcc2 internal prototype to avoid an error. */
10769 /* We use char because int might match the return type of a gcc2
10770 builtin and then its argument prototype would still apply. */
10771 char sched_yield();
10777 if { (eval echo configure
:10778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10779 eval "ac_cv_lib_$ac_lib_var=yes"
10781 echo "configure: failed program was:" >&5
10782 cat conftest.
$ac_ext >&5
10784 eval "ac_cv_lib_$ac_lib_var=no"
10787 LIBS
="$ac_save_LIBS"
10790 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10791 echo "$ac_t""yes" 1>&6
10792 cat >> confdefs.h
<<\EOF
10793 #define HAVE_SCHED_YIELD 1
10797 echo "$ac_t""no" 1>&6
10798 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10799 echo "configure:10800: checking for sched_yield in -l"posix4
"" >&5
10800 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10801 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10802 echo $ac_n "(cached) $ac_c" 1>&6
10804 ac_save_LIBS
="$LIBS"
10805 LIBS
="-l"posix4
" $LIBS"
10806 cat > conftest.
$ac_ext <<EOF
10807 #line 10808 "configure"
10808 #include "confdefs.h"
10809 /* Override any gcc2 internal prototype to avoid an error. */
10810 /* We use char because int might match the return type of a gcc2
10811 builtin and then its argument prototype would still apply. */
10812 char sched_yield();
10818 if { (eval echo configure
:10819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10820 eval "ac_cv_lib_$ac_lib_var=yes"
10822 echo "configure: failed program was:" >&5
10823 cat conftest.
$ac_ext >&5
10825 eval "ac_cv_lib_$ac_lib_var=no"
10828 LIBS
="$ac_save_LIBS"
10831 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10832 echo "$ac_t""yes" 1>&6
10833 cat >> confdefs.h
<<\EOF
10834 #define HAVE_SCHED_YIELD 1
10836 POSIX4_LINK
="-lposix4"
10838 echo "$ac_t""no" 1>&6
10839 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10847 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10848 echo "configure:10849: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10849 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10850 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10851 echo $ac_n "(cached) $ac_c" 1>&6
10853 ac_save_LIBS
="$LIBS"
10854 LIBS
="-l$THREADS_LINK $LIBS"
10855 cat > conftest.
$ac_ext <<EOF
10856 #line 10857 "configure"
10857 #include "confdefs.h"
10858 /* Override any gcc2 internal prototype to avoid an error. */
10859 /* We use char because int might match the return type of a gcc2
10860 builtin and then its argument prototype would still apply. */
10861 char pthread_attr_getschedpolicy();
10864 pthread_attr_getschedpolicy()
10867 if { (eval echo configure
:10868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10869 eval "ac_cv_lib_$ac_lib_var=yes"
10871 echo "configure: failed program was:" >&5
10872 cat conftest.
$ac_ext >&5
10874 eval "ac_cv_lib_$ac_lib_var=no"
10877 LIBS
="$ac_save_LIBS"
10880 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10881 echo "$ac_t""yes" 1>&6
10882 cat >> confdefs.h
<<\EOF
10883 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10887 echo "$ac_t""no" 1>&6
10888 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10889 echo "configure:10890: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10890 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10891 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10892 echo $ac_n "(cached) $ac_c" 1>&6
10894 ac_save_LIBS
="$LIBS"
10895 LIBS
="-l"posix4
" $LIBS"
10896 cat > conftest.
$ac_ext <<EOF
10897 #line 10898 "configure"
10898 #include "confdefs.h"
10899 /* Override any gcc2 internal prototype to avoid an error. */
10900 /* We use char because int might match the return type of a gcc2
10901 builtin and then its argument prototype would still apply. */
10902 char pthread_attr_getschedpolicy();
10905 pthread_attr_getschedpolicy()
10908 if { (eval echo configure
:10909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10910 eval "ac_cv_lib_$ac_lib_var=yes"
10912 echo "configure: failed program was:" >&5
10913 cat conftest.
$ac_ext >&5
10915 eval "ac_cv_lib_$ac_lib_var=no"
10918 LIBS
="$ac_save_LIBS"
10921 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10922 echo "$ac_t""yes" 1>&6
10923 cat >> confdefs.h
<<\EOF
10924 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10926 POSIX4_LINK
="-lposix4"
10928 echo "$ac_t""no" 1>&6
10929 echo "configure: warning: Setting thread priority will not work" 1>&2
10937 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10938 echo "configure:10939: checking for pthread_cancel in -l$THREADS_LINK" >&5
10939 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10940 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10941 echo $ac_n "(cached) $ac_c" 1>&6
10943 ac_save_LIBS
="$LIBS"
10944 LIBS
="-l$THREADS_LINK $LIBS"
10945 cat > conftest.
$ac_ext <<EOF
10946 #line 10947 "configure"
10947 #include "confdefs.h"
10948 /* Override any gcc2 internal prototype to avoid an error. */
10949 /* We use char because int might match the return type of a gcc2
10950 builtin and then its argument prototype would still apply. */
10951 char pthread_cancel();
10957 if { (eval echo configure
:10958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10959 eval "ac_cv_lib_$ac_lib_var=yes"
10961 echo "configure: failed program was:" >&5
10962 cat conftest.
$ac_ext >&5
10964 eval "ac_cv_lib_$ac_lib_var=no"
10967 LIBS
="$ac_save_LIBS"
10970 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10971 echo "$ac_t""yes" 1>&6
10972 cat >> confdefs.h
<<\EOF
10973 #define HAVE_PTHREAD_CANCEL 1
10977 echo "$ac_t""no" 1>&6
10978 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10982 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10983 echo "configure:10984: checking for pthread_cleanup_push/pop" >&5
10984 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10985 echo $ac_n "(cached) $ac_c" 1>&6
10988 cat > conftest.
$ac_ext <<EOF
10989 #line 10990 "configure"
10990 #include "confdefs.h"
10991 #include <pthread.h>
10994 pthread_cleanup_push(NULL, NULL);
10995 pthread_cleanup_pop(0);
10999 if { (eval echo configure
:11000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11002 wx_cv_func_pthread_cleanup_push
=yes
11003 cat >> confdefs.h
<<\EOF
11004 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11009 echo "configure: failed program was:" >&5
11010 cat conftest.
$ac_ext >&5
11013 wx_cv_func_pthread_cleanup_push
=no
11020 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11022 THREADS_LINK
="-l$THREADS_LINK"
11027 if test "$wxUSE_THREADS" = "yes"; then
11028 cat >> confdefs.h
<<\EOF
11029 #define wxUSE_THREADS 1
11033 CFLAGS
="${CFLAGS} -D_REENTRANT"
11034 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11038 if test "$ac_cv_func_strtok_r" = "yes"; then
11039 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11040 echo "configure:11041: checking if -D_REENTRANT is needed" >&5
11041 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11042 CFLAGS
="${CFLAGS} -D_REENTRANT"
11043 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11044 echo "$ac_t""yes" 1>&6
11046 echo "$ac_t""no" 1>&6
11051 if test "$WXGTK12" = 1 ; then
11052 cat >> confdefs.h
<<EOF
11053 #define __WXGTK12__ $WXGTK12
11058 if test "$WXWINE" = 1 ; then
11059 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11062 if test "$wxUSE_CYGWIN" = 1 ; then
11063 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11068 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11073 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11074 wxUSE_DEBUG_INFO
=yes
11078 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11079 cat >> confdefs.h
<<\EOF
11083 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11085 if test "$wxUSE_GTK" = 1 ; then
11086 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11090 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11091 cat >> confdefs.h
<<\EOF
11092 #define wxUSE_MEMORY_TRACING 1
11095 cat >> confdefs.h
<<\EOF
11096 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11102 if test "$wxUSE_DMALLOC" = "yes" ; then
11103 DMALLOC_LINK
="-ldmalloc"
11107 if test "$wxUSE_PROFILE" = "yes" ; then
11112 if test "$GCC" = yes ; then
11113 if test "$wxUSE_NO_RTTI" = "yes" ; then
11114 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
11116 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11117 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
11119 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11120 CFLAGS
="${CFLAGS} -fpermissive"
11121 CXXFLAGS
="${CXXFLAGS} -fpermissive"
11123 if test "$wxUSE_NO_DEPS" = "no" ; then
11124 DEP_INFO_FLAGS
="-MMD"
11129 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11130 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11131 if test "$wxUSE_OPTIMISE" = "no" ; then
11134 if test "$GCC" = yes ; then
11137 i586
-*-*|i686
-*-* )
11138 OPTIMISE
="${OPTIMISE} "
11148 if test "$wxUSE_ZLIB" = "yes" ; then
11149 cat >> confdefs.h
<<\EOF
11150 #define wxUSE_ZLIB 1
11153 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11157 if test "$wxUSE_LIBPNG" = "yes" ; then
11158 cat >> confdefs.h
<<\EOF
11159 #define wxUSE_LIBPNG 1
11162 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11167 if test "$wxUSE_LIBJPEG" = "yes" ; then
11168 cat >> confdefs.h
<<\EOF
11169 #define wxUSE_LIBJPEG 1
11172 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11176 if test "$wxUSE_LIBTIFF" = "yes" ; then
11177 cat >> confdefs.h
<<\EOF
11178 #define wxUSE_LIBTIFF 1
11181 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11184 if test "$wxUSE_OPENGL" = "yes"; then
11185 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11186 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11187 echo "configure:11188: checking for GL/gl.h" >&5
11188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11189 echo $ac_n "(cached) $ac_c" 1>&6
11191 cat > conftest.
$ac_ext <<EOF
11192 #line 11193 "configure"
11193 #include "confdefs.h"
11196 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11197 { (eval echo configure
:11198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11198 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11199 if test -z "$ac_err"; then
11201 eval "ac_cv_header_$ac_safe=yes"
11204 echo "configure: failed program was:" >&5
11205 cat conftest.
$ac_ext >&5
11207 eval "ac_cv_header_$ac_safe=no"
11211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11212 echo "$ac_t""yes" 1>&6
11214 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11215 echo "configure:11216: checking for glInitNames in -lGL" >&5
11216 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11218 echo $ac_n "(cached) $ac_c" 1>&6
11220 ac_save_LIBS
="$LIBS"
11221 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11222 cat > conftest.
$ac_ext <<EOF
11223 #line 11224 "configure"
11224 #include "confdefs.h"
11225 /* Override any gcc2 internal prototype to avoid an error. */
11226 /* We use char because int might match the return type of a gcc2
11227 builtin and then its argument prototype would still apply. */
11228 char glInitNames();
11234 if { (eval echo configure
:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11236 eval "ac_cv_lib_$ac_lib_var=yes"
11238 echo "configure: failed program was:" >&5
11239 cat conftest.
$ac_ext >&5
11241 eval "ac_cv_lib_$ac_lib_var=no"
11244 LIBS
="$ac_save_LIBS"
11247 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11248 echo "$ac_t""yes" 1>&6
11251 cat >> confdefs.h
<<\EOF
11252 #define wxUSE_OPENGL 1
11255 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11258 echo "$ac_t""no" 1>&6
11260 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11261 echo "configure:11262: checking for glInitNames in -lMesaGL" >&5
11262 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11264 echo $ac_n "(cached) $ac_c" 1>&6
11266 ac_save_LIBS
="$LIBS"
11267 LIBS
="-lMesaGL $LIBS"
11268 cat > conftest.
$ac_ext <<EOF
11269 #line 11270 "configure"
11270 #include "confdefs.h"
11271 /* Override any gcc2 internal prototype to avoid an error. */
11272 /* We use char because int might match the return type of a gcc2
11273 builtin and then its argument prototype would still apply. */
11274 char glInitNames();
11280 if { (eval echo configure
:11281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11282 eval "ac_cv_lib_$ac_lib_var=yes"
11284 echo "configure: failed program was:" >&5
11285 cat conftest.
$ac_ext >&5
11287 eval "ac_cv_lib_$ac_lib_var=no"
11290 LIBS
="$ac_save_LIBS"
11293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11294 echo "$ac_t""yes" 1>&6
11296 OPENGL_LINK
="-lMesaGL"
11297 cat >> confdefs.h
<<\EOF
11298 #define wxUSE_OPENGL 1
11301 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11304 echo "$ac_t""no" 1>&6
11313 echo "$ac_t""no" 1>&6
11320 if test "$wxUSE_GUI" = "yes"; then
11321 cat >> confdefs.h
<<\EOF
11322 #define wxUSE_GUI 1
11327 cat >> confdefs.h
<<\EOF
11328 #define wxUSE_NOGUI 1
11334 if test "$wxUSE_UNIX" = "yes"; then
11335 cat >> confdefs.h
<<\EOF
11336 #define wxUSE_UNIX 1
11342 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11343 cat >> confdefs.h
<<\EOF
11344 #define wxUSE_APPLE_IEEE 1
11349 if test "$wxUSE_WAVE" = "yes"; then
11350 cat >> confdefs.h
<<\EOF
11351 #define wxUSE_WAVE 1
11356 if test "$wxUSE_FILE" = "yes"; then
11357 cat >> confdefs.h
<<\EOF
11358 #define wxUSE_FILE 1
11363 if test "$wxUSE_FS_INET" = "yes"; then
11364 cat >> confdefs.h
<<\EOF
11365 #define wxUSE_FS_INET 1
11370 if test "$wxUSE_FS_ZIP" = "yes"; then
11371 cat >> confdefs.h
<<\EOF
11372 #define wxUSE_FS_ZIP 1
11377 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11378 cat >> confdefs.h
<<\EOF
11379 #define wxUSE_ZIPSTREAM 1
11384 if test "$wxUSE_BUSYINFO" = "yes"; then
11385 cat >> confdefs.h
<<\EOF
11386 #define wxUSE_BUSYINFO 1
11391 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11392 cat >> confdefs.h
<<\EOF
11393 #define wxUSE_STD_IOSTREAM 1
11398 if test "$wxUSE_TEXTFILE" = "yes"; then
11399 if test "$wxUSE_FILE" != "yes"; then
11400 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11402 cat >> confdefs.h
<<\EOF
11403 #define wxUSE_TEXTFILE 1
11409 if test "$wxUSE_CONFIG" = "yes" ; then
11410 if test "$wxUSE_TEXTFILE" != "yes"; then
11411 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11413 cat >> confdefs.h
<<\EOF
11414 #define wxUSE_CONFIG 1
11417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11421 if test "$wxUSE_INTL" = "yes" ; then
11422 if test "$wxUSE_FILE" != "yes"; then
11423 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11425 cat >> confdefs.h
<<\EOF
11426 #define wxUSE_INTL 1
11429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11433 if test "$wxUSE_LOG" = "yes"; then
11434 cat >> confdefs.h
<<\EOF
11435 #define wxUSE_LOG 1
11440 if test "$wxUSE_LONGLONG" = "yes"; then
11441 cat >> confdefs.h
<<\EOF
11442 #define wxUSE_LONGLONG 1
11447 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11448 cat >> confdefs.h
<<\EOF
11449 #define wxUSE_DIALUP_MANAGER 1
11452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nettest"
11455 if test "$wxUSE_STREAMS" = "yes" ; then
11456 cat >> confdefs.h
<<\EOF
11457 #define wxUSE_STREAMS 1
11462 if test "$wxUSE_SERIAL" = "yes" ; then
11463 cat >> confdefs.h
<<\EOF
11464 #define wxUSE_SERIAL 1
11470 if test "$wxUSE_TIMEDATE" = "yes"; then
11471 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11472 echo "configure:11473: checking for timezone variable in <time.h>" >&5
11473 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11474 echo $ac_n "(cached) $ac_c" 1>&6
11477 cat > conftest.
$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11490 if { (eval echo configure
:11491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11493 wx_cv_var_timezone
=__timezone
11496 echo "configure: failed program was:" >&5
11497 cat conftest.
$ac_ext >&5
11500 cat > conftest.
$ac_ext <<EOF
11501 #line 11502 "configure"
11502 #include "confdefs.h"
11513 if { (eval echo configure
:11514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11516 wx_cv_var_timezone
=_timezone
11519 echo "configure: failed program was:" >&5
11520 cat conftest.
$ac_ext >&5
11522 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11534 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11536 cat >> confdefs.h
<<EOF
11537 #define WX_TIMEZONE $wx_cv_var_timezone
11541 for ac_func
in localtime gettimeofday ftime
11543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11544 echo "configure:11545: checking for $ac_func" >&5
11545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11546 echo $ac_n "(cached) $ac_c" 1>&6
11548 cat > conftest.
$ac_ext <<EOF
11549 #line 11550 "configure"
11550 #include "confdefs.h"
11551 /* System header to define __stub macros and hopefully few prototypes,
11552 which can conflict with char $ac_func(); below. */
11553 #include <assert.h>
11554 /* Override any gcc2 internal prototype to avoid an error. */
11555 /* We use char because int might match the return type of a gcc2
11556 builtin and then its argument prototype would still apply. */
11561 /* The GNU C library defines this for functions which it implements
11562 to always fail with ENOSYS. Some functions are actually named
11563 something starting with __ and the normal name is an alias. */
11564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11572 if { (eval echo configure
:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11574 eval "ac_cv_func_$ac_func=yes"
11576 echo "configure: failed program was:" >&5
11577 cat conftest.
$ac_ext >&5
11579 eval "ac_cv_func_$ac_func=no"
11584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11585 echo "$ac_t""yes" 1>&6
11586 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11587 cat >> confdefs.h
<<EOF
11588 #define $ac_tr_func 1
11592 echo "$ac_t""no" 1>&6
11597 if test "$ac_cv_func_localtime" = "yes"; then
11598 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11599 echo "configure:11600: checking for tm_gmtoff in struct tm" >&5
11600 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11601 echo $ac_n "(cached) $ac_c" 1>&6
11604 cat > conftest.
$ac_ext <<EOF
11605 #line 11606 "configure"
11606 #include "confdefs.h"
11617 if { (eval echo configure
:11618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11620 wx_cv_struct_tm_has_gmtoff
=yes
11621 cat >> confdefs.h
<<\EOF
11622 #define WX_GMTOFF_IN_TM 1
11627 echo "configure: failed program was:" >&5
11628 cat conftest.
$ac_ext >&5
11630 wx_cv_struct_tm_has_gmtoff
=no
11637 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11638 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11639 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11640 echo "configure:11641: checking whether gettimeofday takes two arguments" >&5
11641 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11648 ac_cpp
='$CXXCPP $CPPFLAGS'
11649 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11650 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11651 cross_compiling
=$ac_cv_prog_cxx_cross
11654 cat > conftest.
$ac_ext <<EOF
11655 #line 11656 "configure"
11656 #include "confdefs.h"
11658 #include <sys/time.h>
11659 #include <unistd.h>
11664 struct timezone tz;
11665 gettimeofday(&tv, &tz);
11669 if { (eval echo configure
:11670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11671 wx_cv_func_gettimeofday_has_2_args
=yes
11673 echo "configure: failed program was:" >&5
11674 cat conftest.
$ac_ext >&5
11676 cat > conftest.
$ac_ext <<EOF
11677 #line 11678 "configure"
11678 #include "confdefs.h"
11680 #include <sys/time.h>
11681 #include <unistd.h>
11690 if { (eval echo configure
:11691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11692 wx_cv_func_gettimeofday_has_2_args
=no
11694 echo "configure: failed program was:" >&5
11695 cat conftest.
$ac_ext >&5
11697 wx_cv_func_gettimeofday_has_2_args
=unknown
11705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11706 ac_cpp
='$CPP $CPPFLAGS'
11707 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11708 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11709 cross_compiling
=$ac_cv_prog_cc_cross
11714 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11716 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11717 cat >> confdefs.h
<<\EOF
11718 #define WX_GETTIMEOFDAY_NO_TZ 1
11724 cat >> confdefs.h
<<\EOF
11725 #define wxUSE_TIMEDATE 1
11728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11732 if test "$wxUSE_SOCKETS" = "yes"; then
11733 echo $ac_n "checking for socket""... $ac_c" 1>&6
11734 echo "configure:11735: checking for socket" >&5
11735 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11736 echo $ac_n "(cached) $ac_c" 1>&6
11738 cat > conftest.
$ac_ext <<EOF
11739 #line 11740 "configure"
11740 #include "confdefs.h"
11741 /* System header to define __stub macros and hopefully few prototypes,
11742 which can conflict with char socket(); below. */
11743 #include <assert.h>
11744 /* Override any gcc2 internal prototype to avoid an error. */
11745 /* We use char because int might match the return type of a gcc2
11746 builtin and then its argument prototype would still apply. */
11751 /* The GNU C library defines this for functions which it implements
11752 to always fail with ENOSYS. Some functions are actually named
11753 something starting with __ and the normal name is an alias. */
11754 #if defined (__stub_socket) || defined (__stub___socket)
11762 if { (eval echo configure
:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11764 eval "ac_cv_func_socket=yes"
11766 echo "configure: failed program was:" >&5
11767 cat conftest.
$ac_ext >&5
11769 eval "ac_cv_func_socket=no"
11774 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11775 echo "$ac_t""yes" 1>&6
11778 echo "$ac_t""no" 1>&6
11779 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11780 echo "configure:11781: checking for socket in -lsocket" >&5
11781 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11783 echo $ac_n "(cached) $ac_c" 1>&6
11785 ac_save_LIBS
="$LIBS"
11786 LIBS
="-lsocket $LIBS"
11787 cat > conftest.
$ac_ext <<EOF
11788 #line 11789 "configure"
11789 #include "confdefs.h"
11790 /* Override any gcc2 internal prototype to avoid an error. */
11791 /* We use char because int might match the return type of a gcc2
11792 builtin and then its argument prototype would still apply. */
11799 if { (eval echo configure
:11800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11801 eval "ac_cv_lib_$ac_lib_var=yes"
11803 echo "configure: failed program was:" >&5
11804 cat conftest.
$ac_ext >&5
11806 eval "ac_cv_lib_$ac_lib_var=no"
11809 LIBS
="$ac_save_LIBS"
11812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11813 echo "$ac_t""yes" 1>&6
11814 INET_LINK
="$INET_LINK -lsocket"
11816 echo "$ac_t""no" 1>&6
11818 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11829 if test "$wxUSE_SOCKETS" = "yes" ; then
11832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11833 ac_cpp
='$CXXCPP $CPPFLAGS'
11834 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11835 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11836 cross_compiling
=$ac_cv_prog_cxx_cross
11838 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11839 echo "configure:11840: checking the type of the third argument of getsockname" >&5
11840 cat > conftest.
$ac_ext <<EOF
11841 #line 11842 "configure"
11842 #include "confdefs.h"
11843 #include <sys/socket.h>
11845 socklen_t len; getsockname(0, 0, &len);
11848 if { (eval echo configure
:11849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11850 cat >> confdefs.h
<<\EOF
11851 #define SOCKLEN_T socklen_t
11853 echo "$ac_t""socklen_t" 1>&6
11855 echo "configure: failed program was:" >&5
11856 cat conftest.
$ac_ext >&5
11858 cat > conftest.
$ac_ext <<EOF
11859 #line 11860 "configure"
11860 #include "confdefs.h"
11861 #include <sys/socket.h>
11863 size_t len; getsockname(0, 0, &len);
11866 if { (eval echo configure
:11867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11868 cat >> confdefs.h
<<\EOF
11869 #define SOCKLEN_T size_t
11871 echo "$ac_t""size_t" 1>&6
11873 echo "configure: failed program was:" >&5
11874 cat conftest.
$ac_ext >&5
11876 cat > conftest.
$ac_ext <<EOF
11877 #line 11878 "configure"
11878 #include "confdefs.h"
11879 #include <sys/socket.h>
11881 int len; getsockname(0, 0, &len);
11884 if { (eval echo configure
:11885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11886 cat >> confdefs.h
<<\EOF
11887 #define SOCKLEN_T int
11889 echo "$ac_t""int" 1>&6
11891 echo "configure: failed program was:" >&5
11892 cat conftest.
$ac_ext >&5
11894 echo "$ac_t""unknown" 1>&6
11905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11906 ac_cpp
='$CPP $CPPFLAGS'
11907 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11908 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11909 cross_compiling
=$ac_cv_prog_cc_cross
11912 cat >> confdefs.h
<<\EOF
11913 #define wxUSE_SOCKETS 1
11916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11917 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11921 if test "$wxUSE_JOYSTICK" = 1; then
11922 for ac_hdr
in linux
/joystick.h
11924 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11925 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11926 echo "configure:11927: checking for $ac_hdr" >&5
11927 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11928 echo $ac_n "(cached) $ac_c" 1>&6
11930 cat > conftest.
$ac_ext <<EOF
11931 #line 11932 "configure"
11932 #include "confdefs.h"
11935 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11936 { (eval echo configure
:11937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11937 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11938 if test -z "$ac_err"; then
11940 eval "ac_cv_header_$ac_safe=yes"
11943 echo "configure: failed program was:" >&5
11944 cat conftest.
$ac_ext >&5
11946 eval "ac_cv_header_$ac_safe=no"
11950 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11951 echo "$ac_t""yes" 1>&6
11952 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11953 cat >> confdefs.h
<<EOF
11954 #define $ac_tr_hdr 1
11958 echo "$ac_t""no" 1>&6
11962 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11963 cat >> confdefs.h
<<\EOF
11964 #define wxUSE_JOYSTICK 1
11967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11974 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11975 for ac_func
in dlopen
11977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11978 echo "configure:11979: checking for $ac_func" >&5
11979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11980 echo $ac_n "(cached) $ac_c" 1>&6
11982 cat > conftest.
$ac_ext <<EOF
11983 #line 11984 "configure"
11984 #include "confdefs.h"
11985 /* System header to define __stub macros and hopefully few prototypes,
11986 which can conflict with char $ac_func(); below. */
11987 #include <assert.h>
11988 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11995 /* The GNU C library defines this for functions which it implements
11996 to always fail with ENOSYS. Some functions are actually named
11997 something starting with __ and the normal name is an alias. */
11998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12006 if { (eval echo configure
:12007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12008 eval "ac_cv_func_$ac_func=yes"
12010 echo "configure: failed program was:" >&5
12011 cat conftest.
$ac_ext >&5
12013 eval "ac_cv_func_$ac_func=no"
12018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12019 echo "$ac_t""yes" 1>&6
12020 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12021 cat >> confdefs.h
<<EOF
12022 #define $ac_tr_func 1
12025 cat >> confdefs.h
<<\EOF
12026 #define HAVE_DLOPEN 1
12032 echo "$ac_t""no" 1>&6
12033 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12034 echo "configure:12035: checking for dlopen in -ldl" >&5
12035 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12036 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12037 echo $ac_n "(cached) $ac_c" 1>&6
12039 ac_save_LIBS
="$LIBS"
12041 cat > conftest.
$ac_ext <<EOF
12042 #line 12043 "configure"
12043 #include "confdefs.h"
12044 /* Override any gcc2 internal prototype to avoid an error. */
12045 /* We use char because int might match the return type of a gcc2
12046 builtin and then its argument prototype would still apply. */
12053 if { (eval echo configure
:12054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12055 eval "ac_cv_lib_$ac_lib_var=yes"
12057 echo "configure: failed program was:" >&5
12058 cat conftest.
$ac_ext >&5
12060 eval "ac_cv_lib_$ac_lib_var=no"
12063 LIBS
="$ac_save_LIBS"
12066 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12067 echo "$ac_t""yes" 1>&6
12069 cat >> confdefs.h
<<\EOF
12070 #define HAVE_DLOPEN 1
12077 echo "$ac_t""no" 1>&6
12079 for ac_func
in shl_load
12081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12082 echo "configure:12083: checking for $ac_func" >&5
12083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12084 echo $ac_n "(cached) $ac_c" 1>&6
12086 cat > conftest.
$ac_ext <<EOF
12087 #line 12088 "configure"
12088 #include "confdefs.h"
12089 /* System header to define __stub macros and hopefully few prototypes,
12090 which can conflict with char $ac_func(); below. */
12091 #include <assert.h>
12092 /* Override any gcc2 internal prototype to avoid an error. */
12093 /* We use char because int might match the return type of a gcc2
12094 builtin and then its argument prototype would still apply. */
12099 /* The GNU C library defines this for functions which it implements
12100 to always fail with ENOSYS. Some functions are actually named
12101 something starting with __ and the normal name is an alias. */
12102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12110 if { (eval echo configure
:12111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12112 eval "ac_cv_func_$ac_func=yes"
12114 echo "configure: failed program was:" >&5
12115 cat conftest.
$ac_ext >&5
12117 eval "ac_cv_func_$ac_func=no"
12122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12123 echo "$ac_t""yes" 1>&6
12124 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12125 cat >> confdefs.h
<<EOF
12126 #define $ac_tr_func 1
12129 cat >> confdefs.h
<<\EOF
12130 #define HAVE_SHL_LOAD 1
12136 echo "$ac_t""no" 1>&6
12148 if test "$HAVE_DL_FUNCS" = 0; then
12149 if test "$HAVE_SHL_FUNCS" = 0; then
12150 if test "$USE_UNIX" = 1; then
12151 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
12153 wxUSE_DYNLIB_CLASS
=no
12155 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
12161 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12162 cat >> confdefs.h
<<\EOF
12163 #define wxUSE_DYNLIB_CLASS 1
12169 if test "$wxUSE_UNICODE" = "yes" ; then
12170 cat >> confdefs.h
<<\EOF
12171 #define wxUSE_UNICODE 1
12176 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12177 cat >> confdefs.h
<<\EOF
12178 #define wxUSE_WCSRTOMBS 1
12183 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12184 cat >> confdefs.h
<<\EOF
12185 #define wxUSE_EXPERIMENTAL_PRINTF 1
12192 if test "$wxUSE_ODBC" = "yes" ; then
12193 cat >> confdefs.h
<<\EOF
12194 #define wxUSE_ODBC 1
12197 WXODBCFLAG
="-D_IODBC_"
12198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12199 IODBCOBJS
="\$(IODBC_OBJS)"
12205 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12206 cat >> confdefs.h
<<\EOF
12207 #define wxUSE_POSTSCRIPT 1
12212 cat >> confdefs.h
<<\EOF
12213 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12217 cat >> confdefs.h
<<\EOF
12218 #define wxUSE_NORMALIZED_PS_FONTS 1
12223 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12224 cat >> confdefs.h
<<\EOF
12225 #define wxUSE_CONSTRAINTS 1
12228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12231 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12232 cat >> confdefs.h
<<\EOF
12233 #define wxUSE_MDI_ARCHITECTURE 1
12236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12239 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12240 cat >> confdefs.h
<<\EOF
12241 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12245 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12250 if test "$wxUSE_HELP" = "yes"; then
12251 cat >> confdefs.h
<<\EOF
12252 #define wxUSE_HELP 1
12255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12258 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12259 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12260 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12262 cat >> confdefs.h
<<\EOF
12263 #define wxUSE_PRINTING_ARCHITECTURE 1
12267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12270 if test "$wxUSE_PROLOGIO" = "yes" ; then
12271 cat >> confdefs.h
<<\EOF
12272 #define wxUSE_PROLOGIO 1
12277 if test "$wxUSE_RESOURCES" = "yes" ; then
12278 if test "$wxUSE_PROLOGIO" = "yes" ; then
12279 cat >> confdefs.h
<<\EOF
12280 #define wxUSE_RESOURCES 1
12283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12285 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12289 if test "$wxUSE_X_RESOURCES" = "yes"; then
12290 cat >> confdefs.h
<<\EOF
12291 #define wxUSE_X_RESOURCES 1
12297 if test "$wxUSE_IPC" = "yes"; then
12298 cat >> confdefs.h
<<\EOF
12299 #define wxUSE_IPC 1
12304 if test "$wxUSE_CLIPBOARD" = "yes"; then
12305 cat >> confdefs.h
<<\EOF
12306 #define wxUSE_CLIPBOARD 1
12311 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12312 if test "$wxUSE_GTK" = 1; then
12313 if test "$WXGTK12" != 1; then
12314 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12315 wxUSE_DRAG_AND_DROP
=no
12319 if test "$wxUSE_MOTIF" = 1; then
12320 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12321 wxUSE_DRAG_AND_DROP
=no
12324 if test "$USE_WIN32" = 1; then
12325 for ac_hdr
in ole2.h
12327 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12328 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12329 echo "configure:12330: checking for $ac_hdr" >&5
12330 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12331 echo $ac_n "(cached) $ac_c" 1>&6
12333 cat > conftest.
$ac_ext <<EOF
12334 #line 12335 "configure"
12335 #include "confdefs.h"
12338 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12339 { (eval echo configure
:12340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12340 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12341 if test -z "$ac_err"; then
12343 eval "ac_cv_header_$ac_safe=yes"
12346 echo "configure: failed program was:" >&5
12347 cat conftest.
$ac_ext >&5
12349 eval "ac_cv_header_$ac_safe=no"
12353 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12354 echo "$ac_t""yes" 1>&6
12355 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12356 cat >> confdefs.h
<<EOF
12357 #define $ac_tr_hdr 1
12361 echo "$ac_t""no" 1>&6
12365 if test "x$HAVE_OLE2_H" = x
; then
12366 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12367 wxUSE_DRAG_AND_DROP
=no
12371 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12372 cat >> confdefs.h
<<\EOF
12373 #define wxUSE_DRAG_AND_DROP 1
12376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12381 if test "$wxUSE_SPLINES" = "yes" ; then
12382 cat >> confdefs.h
<<\EOF
12383 #define wxUSE_SPLINES 1
12389 if test "$wxUSE_ACCEL" = "yes"; then
12390 cat >> confdefs.h
<<\EOF
12391 #define wxUSE_ACCEL 1
12396 if test "$wxUSE_CARET" = "yes"; then
12397 cat >> confdefs.h
<<\EOF
12398 #define wxUSE_CARET 1
12401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12404 if test "$wxUSE_COMBOBOX" = "yes"; then
12405 cat >> confdefs.h
<<\EOF
12406 #define wxUSE_COMBOBOX 1
12411 if test "$wxUSE_CHOICE" = "yes"; then
12412 cat >> confdefs.h
<<\EOF
12413 #define wxUSE_CHOICE 1
12418 if test "$wxUSE_BMPBUTTON" = "yes"; then
12419 cat >> confdefs.h
<<\EOF
12420 #define wxUSE_BMPBUTTON 1
12425 if test "$wxUSE_CHECKBOX" = "yes"; then
12426 cat >> confdefs.h
<<\EOF
12427 #define wxUSE_CHECKBOX 1
12432 if test "$wxUSE_CHECKLST" = "yes"; then
12433 cat >> confdefs.h
<<\EOF
12434 #define wxUSE_CHECKLISTBOX 1
12437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12440 if test "$wxUSE_GAUGE" = "yes"; then
12441 cat >> confdefs.h
<<\EOF
12442 #define wxUSE_GAUGE 1
12447 if test "$wxUSE_GRID" = "yes"; then
12448 cat >> confdefs.h
<<\EOF
12449 #define wxUSE_GRID 1
12452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12455 if test "$wxUSE_NEW_GRID" = "yes"; then
12456 cat >> confdefs.h
<<\EOF
12457 #define wxUSE_NEW_GRID 1
12460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12463 if test "$wxUSE_IMAGLIST" = "yes"; then
12464 cat >> confdefs.h
<<\EOF
12465 #define wxUSE_IMAGLIST 1
12470 if test "$wxUSE_LISTBOX" = "yes"; then
12471 cat >> confdefs.h
<<\EOF
12472 #define wxUSE_LISTBOX 1
12477 if test "$wxUSE_LISTCTRL" = "yes"; then
12478 if test "$wxUSE_IMAGLIST" = "yes"; then
12479 cat >> confdefs.h
<<\EOF
12480 #define wxUSE_LISTCTRL 1
12483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12485 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12489 if test "$wxUSE_NOTEBOOK" = "yes"; then
12490 cat >> confdefs.h
<<\EOF
12491 #define wxUSE_NOTEBOOK 1
12494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12497 if test "$wxUSE_RADIOBOX" = "yes"; then
12498 cat >> confdefs.h
<<\EOF
12499 #define wxUSE_RADIOBOX 1
12504 if test "$wxUSE_RADIOBTN" = "yes"; then
12505 cat >> confdefs.h
<<\EOF
12506 #define wxUSE_RADIOBTN 1
12511 if test "$wxUSE_SASH" = "yes"; then
12512 cat >> confdefs.h
<<\EOF
12513 #define wxUSE_SASH 1
12516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12519 if test "$wxUSE_SCROLLBAR" = "yes"; then
12520 cat >> confdefs.h
<<\EOF
12521 #define wxUSE_SCROLLBAR 1
12524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12527 if test "$wxUSE_SLIDER" = "yes"; then
12528 cat >> confdefs.h
<<\EOF
12529 #define wxUSE_SLIDER 1
12534 if test "$wxUSE_SPINBTN" = "yes"; then
12535 cat >> confdefs.h
<<\EOF
12536 #define wxUSE_SPINBTN 1
12541 if test "$wxUSE_SPINCTRL" = "yes"; then
12542 cat >> confdefs.h
<<\EOF
12543 #define wxUSE_SPINCTRL 1
12548 if test "$wxUSE_SPLITTER" = "yes"; then
12549 cat >> confdefs.h
<<\EOF
12550 #define wxUSE_SPLITTER 1
12553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12556 if test "$wxUSE_STATBMP" = "yes"; then
12557 cat >> confdefs.h
<<\EOF
12558 #define wxUSE_STATBMP 1
12563 if test "$wxUSE_STATBOX" = "yes"; then
12564 cat >> confdefs.h
<<\EOF
12565 #define wxUSE_STATBOX 1
12570 if test "$wxUSE_STATLINE" = "yes"; then
12571 if test "$wxUSE_WINE" = 1 ; then
12572 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12574 cat >> confdefs.h
<<\EOF
12575 #define wxUSE_STATLINE 1
12581 if test "$wxUSE_STATUSBAR" = "yes"; then
12582 cat >> confdefs.h
<<\EOF
12583 #define wxUSE_STATUSBAR 1
12588 if test "$wxUSE_TABDIALOG" = "yes"; then
12589 cat >> confdefs.h
<<\EOF
12590 #define wxUSE_TAB_DIALOG 1
12593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12596 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
12597 cat >> confdefs.h
<<\EOF
12598 #define wxUSE_TOOLBAR_SIMPLE 1
12601 wxUSE_TOOLBAR
="yes"
12604 if test "$wxUSE_TOOLBAR" = "yes"; then
12605 cat >> confdefs.h
<<\EOF
12606 #define wxUSE_TOOLBAR 1
12610 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
12611 wxUSE_TOOLBAR_NATIVE
="yes"
12614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12617 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
12618 cat >> confdefs.h
<<\EOF
12619 #define wxUSE_TOOLBAR_NATIVE 1
12624 if test "$wxUSE_TOOLTIPS" = "yes"; then
12625 if test "$wxUSE_MOTIF" = 1; then
12626 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12628 if test "$wxUSE_WINE" = 1; then
12629 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12631 cat >> confdefs.h
<<\EOF
12632 #define wxUSE_TOOLTIPS 1
12639 if test "$wxUSE_TREECTRL" = "yes"; then
12640 if test "$wxUSE_IMAGLIST" = "yes"; then
12641 cat >> confdefs.h
<<\EOF
12642 #define wxUSE_TREECTRL 1
12645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12647 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12653 if test "$wxUSE_METAFILE" = "yes"; then
12654 cat >> confdefs.h
<<\EOF
12655 #define wxUSE_METAFILE 1
12660 if test "$wxUSE_DIRDLG" = "yes"; then
12661 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12662 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12664 if test "$wxUSE_TREECTRL" != "yes"; then
12665 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12667 cat >> confdefs.h
<<\EOF
12668 #define wxUSE_DIRDLG 1
12675 if test "$wxUSE_TEXTDLG" = "yes"; then
12676 cat >> confdefs.h
<<\EOF
12677 #define wxUSE_TEXTDLG 1
12682 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12683 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12684 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12686 cat >> confdefs.h
<<\EOF
12687 #define wxUSE_STARTUP_TIPS 1
12693 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12694 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12695 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12697 cat >> confdefs.h
<<\EOF
12698 #define wxUSE_PROGRESSDLG 1
12704 if test "$wxUSE_MINIFRAME" = "yes"; then
12705 cat >> confdefs.h
<<\EOF
12706 #define wxUSE_MINIFRAME 1
12709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12712 if test "$wxUSE_HTML" = "yes"; then
12713 cat >> confdefs.h
<<\EOF
12714 #define wxUSE_HTML 1
12717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12718 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12721 if test "$wxUSE_VALIDATORS" = "yes"; then
12722 cat >> confdefs.h
<<\EOF
12723 #define wxUSE_VALIDATORS 1
12726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12729 if test "$wxUSE_GIF" = "yes" ; then
12730 cat >> confdefs.h
<<\EOF
12731 #define wxUSE_GIF 1
12736 if test "$wxUSE_PCX" = "yes" ; then
12737 cat >> confdefs.h
<<\EOF
12738 #define wxUSE_PCX 1
12743 if test "$wxUSE_PNM" = "yes" ; then
12744 cat >> confdefs.h
<<\EOF
12745 #define wxUSE_PNM 1
12751 OSINFO
=`uname -s -r -m`
12752 OSINFO
="\"$OSINFO\""
12753 cat >> confdefs.h
<<EOF
12754 #define WXWIN_OS_DESCRIPTION $OSINFO
12759 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12761 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12762 if test "$wxUSE_GUI" = "yes"; then
12763 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12766 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12768 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
12770 if test "$GXX" = yes ; then
12771 CXXWARNINGS
="-Wall"
12773 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12775 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12776 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12778 LDFLAGS
="$LDFLAGS $PROFILE"
12780 if test "$wxUSE_GUI" = "yes"; then
12782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12783 font forty fractal image minimal richedit wxpoem"
12788 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12845 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12846 echo "configure:12847: checking whether ${MAKE-make} sets \${MAKE}" >&5
12847 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12848 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftestmake
<<\EOF
12853 @
echo 'ac_maketemp="${MAKE}"'
12855 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12856 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12857 if test -n "$ac_maketemp"; then
12858 eval ac_cv_prog_make_
${ac_make}_set
=yes
12860 eval ac_cv_prog_make_
${ac_make}_set
=no
12864 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12865 echo "$ac_t""yes" 1>&6
12868 echo "$ac_t""no" 1>&6
12869 SET_MAKE
="MAKE=${MAKE-make}"
12875 if test "${TOOLKIT_DIR}" = "msw" ; then
12876 GL_TOOLKIT_DIR
="win"
12878 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12883 cat > confcache
<<\EOF
12884 # This file is a shell script that caches the results of configure
12885 # tests run on this system so they can be shared between configure
12886 # scripts and configure runs. It is not useful on other systems.
12887 # If it contains results you don't want to keep, you may remove or edit it.
12889 # By default, configure uses ./config.cache as the cache file,
12890 # creating it if it does not exist already. You can give configure
12891 # the --cache-file=FILE option to use a different cache file; that is
12892 # what configure does when it calls configure scripts in
12893 # subdirectories, so they share the cache.
12894 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12895 # config.status only pays attention to the cache file if you give it the
12896 # --recheck option to rerun configure.
12899 # The following way of writing the cache mishandles newlines in values,
12900 # but we know of no workaround that is simple, portable, and efficient.
12901 # So, don't put newlines in cache variables' values.
12902 # Ultrix sh set writes to stderr and can't be redirected directly,
12903 # and sets the high bit in the cache file unless we assign to the vars.
12905 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12907 # `set' does not quote correctly, so add quotes (double-quote substitution
12908 # turns \\\\ into \\, and sed turns \\ into \).
12910 -e "s/'/'\\\\''/g" \
12911 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12914 # `set' quotes correctly as required by POSIX, so do not add quotes.
12915 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12918 if cmp -s $cache_file confcache
; then
12921 if test -w $cache_file; then
12922 echo "updating cache $cache_file"
12923 cat confcache
> $cache_file
12925 echo "not updating unwritable cache $cache_file"
12930 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12932 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12933 # Let make expand exec_prefix.
12934 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12936 # Any assignment to VPATH causes Sun make to only execute
12937 # the first set of double-colon rules, so remove it if not needed.
12938 # If there is a colon in the path, we need to keep it.
12939 if test "x$srcdir" = x.
; then
12940 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12943 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12945 DEFS
=-DHAVE_CONFIG_H
12947 # Without the "./", some shells look in PATH for config.status.
12948 : ${CONFIG_STATUS=./config.status}
12950 echo creating
$CONFIG_STATUS
12951 rm -f $CONFIG_STATUS
12952 cat > $CONFIG_STATUS <<EOF
12954 # Generated automatically by configure.
12955 # Run this file to recreate the current configuration.
12956 # This directory was configured as follows,
12957 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12959 # $0 $ac_configure_args
12961 # Compiler output produced by configure, useful for debugging
12962 # configure, is in ./config.log if it exists.
12964 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12967 case "\$ac_option" in
12968 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12969 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12970 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12971 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12972 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12974 -help | --help | --hel | --he | --h)
12975 echo "\$ac_cs_usage"; exit 0 ;;
12976 *) echo "\$ac_cs_usage"; exit 1 ;;
12980 ac_given_srcdir=$srcdir
12981 ac_given_INSTALL="$INSTALL"
12983 trap 'rm -fr `echo "
12990 samples/bombs/Makefile
12991 samples/caret/Makefile
12992 samples/checklst/Makefile
12993 samples/config/Makefile
12994 samples/controls/Makefile
12995 samples/console/Makefile
12996 samples/db/Makefile
12997 samples/dialogs/Makefile
12998 samples/docview/Makefile
12999 samples/docvwmdi/Makefile
13000 samples/dnd/Makefile
13001 samples/drawing/Makefile
13002 samples/forty/Makefile
13003 samples/font/Makefile
13004 samples/fractal/Makefile
13005 samples/image/Makefile
13006 samples/internat/Makefile
13007 samples/layout/Makefile
13008 samples/listctrl/Makefile
13009 samples/mdi/Makefile
13010 samples/minifram/Makefile
13011 samples/minimal/Makefile
13012 samples/nettest/Makefile
13013 samples/newgrid/Makefile
13014 samples/notebook/Makefile
13015 samples/png/Makefile
13016 samples/printing/Makefile
13017 samples/proplist/Makefile
13018 samples/richedit/Makefile
13019 samples/resource/Makefile
13020 samples/sashtest/Makefile
13021 samples/scroll/Makefile
13022 samples/scrollsub/Makefile
13023 samples/splitter/Makefile
13024 samples/text/Makefile
13025 samples/thread/Makefile
13026 samples/toolbar/Makefile
13027 samples/treectrl/Makefile
13028 samples/typetest/Makefile
13029 samples/validate/Makefile
13030 samples/wxpoem/Makefile
13031 samples/wxsocket/Makefile
13032 samples/wizard/Makefile
13033 samples/html/Makefile
13034 samples/html/about/Makefile
13035 samples/html/help/Makefile
13036 samples/html/printing/Makefile
13037 samples/html/helpview/Makefile
13038 samples/html/test/Makefile
13039 samples/html/zip/Makefile
13040 samples/html/virtual/Makefile
13041 samples/html/widget/Makefile
13043 utils/wxMMedia2/Makefile
13044 utils/wxMMedia2/lib/Makefile
13045 utils/wxMMedia2/sample/Makefile
13046 utils/glcanvas/Makefile
13047 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13049 utils/ogl/src/Makefile
13050 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13052 cat >> $CONFIG_STATUS <<EOF
13054 # Protect against being on the right side of a sed subst in config.status.
13055 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13056 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13060 s%@CFLAGS@%$CFLAGS%g
13061 s%@CPPFLAGS@%$CPPFLAGS%g
13062 s%@CXXFLAGS@%$CXXFLAGS%g
13063 s%@FFLAGS@%$FFLAGS%g
13065 s%@LDFLAGS@%$LDFLAGS%g
13067 s%@exec_prefix@%$exec_prefix%g
13068 s%@prefix@%$prefix%g
13069 s%@program_transform_name@%$program_transform_name%g
13070 s%@bindir@%$bindir%g
13071 s%@sbindir@%$sbindir%g
13072 s%@libexecdir@%$libexecdir%g
13073 s%@datadir@%$datadir%g
13074 s%@sysconfdir@%$sysconfdir%g
13075 s%@sharedstatedir@%$sharedstatedir%g
13076 s%@localstatedir@%$localstatedir%g
13077 s%@libdir@%$libdir%g
13078 s%@includedir@%$includedir%g
13079 s%@oldincludedir@%$oldincludedir%g
13080 s%@infodir@%$infodir%g
13081 s%@mandir@%$mandir%g
13083 s%@host_alias@%$host_alias%g
13084 s%@host_cpu@%$host_cpu%g
13085 s%@host_vendor@%$host_vendor%g
13086 s%@host_os@%$host_os%g
13087 s%@target@%$target%g
13088 s%@target_alias@%$target_alias%g
13089 s%@target_cpu@%$target_cpu%g
13090 s%@target_vendor@%$target_vendor%g
13091 s%@target_os@%$target_os%g
13093 s%@build_alias@%$build_alias%g
13094 s%@build_cpu@%$build_cpu%g
13095 s%@build_vendor@%$build_vendor%g
13096 s%@build_os@%$build_os%g
13100 s%@CXXCPP@%$CXXCPP%g
13101 s%@RANLIB@%$RANLIB%g
13103 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13104 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13105 s%@INSTALL_DATA@%$INSTALL_DATA%g
13109 s%@LEXLIB@%$LEXLIB%g
13111 s%@GTK_CONFIG@%$GTK_CONFIG%g
13112 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13113 s%@GTK_LIBS@%$GTK_LIBS%g
13114 s%@X_CFLAGS@%$X_CFLAGS%g
13115 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13116 s%@X_LIBS@%$X_LIBS%g
13117 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13118 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13119 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13120 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13121 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13122 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13123 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13124 s%@WX_LIBRARY@%$WX_LIBRARY%g
13125 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13126 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13127 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13128 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13129 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13130 s%@WX_ALL@%$WX_ALL%g
13131 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13132 s%@SHARED_LD@%$SHARED_LD%g
13133 s%@PIC_FLAG@%$PIC_FLAG%g
13134 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13135 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13136 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13137 s%@TOOLKIT@%$TOOLKIT%g
13138 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13139 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13140 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13141 s%@GUIHEADERS@%$GUIHEADERS%g
13142 s%@GUIOBJS@%$GUIOBJS%g
13143 s%@COMMONOBJS@%$COMMONOBJS%g
13144 s%@GENERICOBJS@%$GENERICOBJS%g
13145 s%@GUIDEPS@%$GUIDEPS%g
13146 s%@COMMONDEPS@%$COMMONDEPS%g
13147 s%@GENERICDEPS@%$GENERICDEPS%g
13148 s%@IODBCOBJS@%$IODBCOBJS%g
13149 s%@UNIXOBJS@%$UNIXOBJS%g
13150 s%@UNIXDEPS@%$UNIXDEPS%g
13151 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13152 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13153 s%@ALL_HEADERS@%$ALL_HEADERS%g
13154 s%@GUIDIST@%$GUIDIST%g
13155 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13156 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13157 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13158 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13159 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13160 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13161 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13162 s%@LD_LIBS@%$LD_LIBS%g
13163 s%@SET_MAKE@%$SET_MAKE%g
13164 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13169 cat >> $CONFIG_STATUS <<\EOF
13171 # Split the substitutions into bite-sized pieces for seds with
13172 # small command number limits, like on Digital OSF/1 and HP-UX.
13173 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13174 ac_file
=1 # Number of current file.
13175 ac_beg
=1 # First line for current file.
13176 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13179 while $ac_more_lines; do
13180 if test $ac_beg -gt 1; then
13181 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13183 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13185 if test ! -s conftest.s
$ac_file; then
13186 ac_more_lines
=false
13187 rm -f conftest.s
$ac_file
13189 if test -z "$ac_sed_cmds"; then
13190 ac_sed_cmds
="sed -f conftest.s$ac_file"
13192 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13194 ac_file
=`expr $ac_file + 1`
13196 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13199 if test -z "$ac_sed_cmds"; then
13204 cat >> $CONFIG_STATUS <<EOF
13206 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13212 samples/bombs/Makefile
13213 samples/caret/Makefile
13214 samples/checklst/Makefile
13215 samples/config/Makefile
13216 samples/controls/Makefile
13217 samples/console/Makefile
13218 samples/db/Makefile
13219 samples/dialogs/Makefile
13220 samples/docview/Makefile
13221 samples/docvwmdi/Makefile
13222 samples/dnd/Makefile
13223 samples/drawing/Makefile
13224 samples/forty/Makefile
13225 samples/font/Makefile
13226 samples/fractal/Makefile
13227 samples/image/Makefile
13228 samples/internat/Makefile
13229 samples/layout/Makefile
13230 samples/listctrl/Makefile
13231 samples/mdi/Makefile
13232 samples/minifram/Makefile
13233 samples/minimal/Makefile
13234 samples/nettest/Makefile
13235 samples/newgrid/Makefile
13236 samples/notebook/Makefile
13237 samples/png/Makefile
13238 samples/printing/Makefile
13239 samples/proplist/Makefile
13240 samples/richedit/Makefile
13241 samples/resource/Makefile
13242 samples/sashtest/Makefile
13243 samples/scroll/Makefile
13244 samples/scrollsub/Makefile
13245 samples/splitter/Makefile
13246 samples/text/Makefile
13247 samples/thread/Makefile
13248 samples/toolbar/Makefile
13249 samples/treectrl/Makefile
13250 samples/typetest/Makefile
13251 samples/validate/Makefile
13252 samples/wxpoem/Makefile
13253 samples/wxsocket/Makefile
13254 samples/wizard/Makefile
13255 samples/html/Makefile
13256 samples/html/about/Makefile
13257 samples/html/help/Makefile
13258 samples/html/printing/Makefile
13259 samples/html/helpview/Makefile
13260 samples/html/test/Makefile
13261 samples/html/zip/Makefile
13262 samples/html/virtual/Makefile
13263 samples/html/widget/Makefile
13265 utils/wxMMedia2/Makefile
13266 utils/wxMMedia2/lib/Makefile
13267 utils/wxMMedia2/sample/Makefile
13268 utils/glcanvas/Makefile
13269 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13271 utils/ogl/src/Makefile
13274 cat >> $CONFIG_STATUS <<\EOF
13275 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13276 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13278 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13279 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13280 *) ac_file_in
="${ac_file}.in" ;;
13283 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13285 # Remove last slash and all that follows it. Not all systems have dirname.
13286 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13287 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13288 # The file is in a subdirectory.
13289 test ! -d "$ac_dir" && mkdir "$ac_dir"
13290 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13291 # A "../" for each directory in $ac_dir_suffix.
13292 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13294 ac_dir_suffix
= ac_dots
=
13297 case "$ac_given_srcdir" in
13299 if test -z "$ac_dots"; then top_srcdir
=.
13300 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13301 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13302 *) # Relative path.
13303 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13304 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13307 case "$ac_given_INSTALL" in
13308 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13309 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13312 echo creating
"$ac_file"
13314 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13316 *Makefile
*) ac_comsub
="1i\\
13317 # $configure_input" ;;
13321 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13323 s%@configure_input@%$configure_input%g
13324 s%@srcdir@%$srcdir%g
13325 s%@top_srcdir@%$top_srcdir%g
13326 s%@INSTALL@%$INSTALL%g
13327 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13331 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13332 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13334 # ac_d sets the value in "#define NAME VALUE" lines.
13335 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13336 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13339 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13340 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13341 ac_uB
='\([ ]\)%\1#\2define\3'
13344 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13345 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13346 ac_eB
='$%\1#\2define\3'
13350 if test "${CONFIG_HEADERS+set}" != set; then
13352 cat >> $CONFIG_STATUS <<EOF
13353 CONFIG_HEADERS="setup.h:setup.h.in"
13355 cat >> $CONFIG_STATUS <<\EOF
13357 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13358 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13360 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13361 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13362 *) ac_file_in
="${ac_file}.in" ;;
13365 echo creating
$ac_file
13367 rm -f conftest.frag conftest.
in conftest.out
13368 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13369 cat $ac_file_inputs > conftest.
in
13373 # Transform confdefs.h into a sed script conftest.vals that substitutes
13374 # the proper values into config.h.in to produce config.h. And first:
13375 # Protect against being on the right side of a sed subst in config.status.
13376 # Protect against being in an unquoted here document in config.status.
13377 rm -f conftest.vals
13378 cat > conftest.hdr
<<\EOF
13381 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13385 sed -n -f conftest.hdr confdefs.h > conftest.vals
13388 # This sed command replaces #undef with comments. This is necessary, for
13389 # example, in the case of _POSIX_SOURCE, which is predefined and required
13390 # on some systems where configure will not decide to define it.
13391 cat >> conftest.vals <<\EOF
13392 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13395 # Break up conftest.vals because some shells have a limit on
13396 # the size of here documents, and old seds have small limits too.
13398 rm -f conftest.tail
13401 ac_lines=`grep -c . conftest.vals
`
13402 # grep -c gives empty output for an empty file on some AIX systems.
13403 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13404 # Write a limited-size here document to conftest.frag.
13405 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13406 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13408 sed -f conftest.frag conftest.in > conftest.out
13410 mv conftest.out conftest.in
13411 ' >> $CONFIG_STATUS
13412 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13413 rm -f conftest.vals
13414 mv conftest.tail conftest.vals
13416 rm -f conftest.vals
13418 cat >> $CONFIG_STATUS <<\EOF
13419 rm -f conftest.frag conftest.h
13420 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13421 cat conftest.in >> conftest.h
13423 if cmp -s $ac_file conftest.h 2>/dev/null; then
13424 echo "$ac_file is unchanged"
13427 # Remove last slash and all that follows it. Not all systems have dirname.
13428 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13429 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13430 # The file is in a subdirectory.
13431 test ! -d "$ac_dir" && mkdir "$ac_dir"
13434 mv conftest.h $ac_file
13439 cat >> $CONFIG_STATUS <<EOF
13441 TOOLKIT_DIR="${TOOLKIT_DIR}"
13445 cat >> $CONFIG_STATUS <<\EOF
13448 if test ! -d include; then
13451 if test ! -d include/wx; then
13454 if test ! -d include/wx/${TOOLKIT_DIR}; then
13455 mkdir include/wx/${TOOLKIT_DIR}
13457 if test -f setup.h; then
13458 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13463 chmod +x $CONFIG_STATUS
13464 rm -fr confdefs* $ac_clean_files
13465 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1